allow ffmpeg video to resample curr_pos, add bluray format
[goodguy/history.git] / cinelerra-5.0 / quicktime / configure
1 #!/bin/sh
2
3 ERROR=0
4 TOPDIR=`pwd`
5
6 # test for nasm
7 if [ -x /usr/bin/nasm -o -x /usr/local/bin/nasm ]; then HAVE_NASM=y; else HAVE_NASM=n; fi
8
9 # test for yasm
10 if [ -x /usr/bin/yasm -o -x /usr/local/bin/yasm ]; then HAVE_YASM=y; else HAVE_YASM=n; fi
11
12 if [ `uname -m` = i686 ]; then
13   if [ $HAVE_NASM = n ]; then
14     echo " *** Nasm is required.  Download it from nasm.sourceforge.net"; 
15     ERROR=1
16   fi
17 fi
18
19 if [ $HAVE_YASM = n ]; then
20   echo " *** Yasm is required.  Download it from www.tortall.net/projects/yasm/"; 
21   ERROR=1
22 fi
23
24 # test for -msse support
25
26 rm -f a.out
27 cat > conftest.c << EOF
28 int main()
29 {
30   return 0;
31 }
32 EOF
33
34 gcc -msse conftest.c > /dev/null 2>&1
35
36 if [ -x a.out ]; then HAVE_GCC=y; else HAVE_GCC=n; fi
37
38 rm -f a.out conftest.c
39
40 if [ $HAVE_GCC = n ]; then
41   echo " *** GCC 3.2.2 or greater is required.  Download it from gcc.gnu.org"; 
42   ERROR=1
43 fi
44
45 if [ $ERROR -ne 0 ]; then
46   exit 1
47 fi
48