r134: Heroine Virtual's release 1.1.8
[cinelerra_cv/mob.git] / hvirtual / quicktime / configure
blob6d30b522d88040aa3cd579d888f8fc80271f88ff
1 # configuration is being done in a script because starting with GCC-3.2
2 # the compiler flags are changing too much between minor releases to detect
3 # with Makefile scripts alone.  For now it just tells you if you have the
4 # prerequisite compilers.
6 ERROR=0
8 # test for nasm
10 if [ -x /usr/bin/nasm -o -x /usr/local/bin/nasm ]; then HAVE_NASM=y; else HAVE_NASM=n; fi
12 if [ $HAVE_NASM == n ]; 
13 then echo " *** Nasm is required.  Download it from nasm.sourceforge.net"; 
14 ERROR=1
22 # test for -msse support
24 rm -f a.out
25 cat > conftest.c << EOF
26 int main()
28         return 0;
30 EOF
32 gcc -msse conftest.c >& /dev/null
34 if [ -x a.out ]; then HAVE_GCC=y; else HAVE_GCC=n; fi
36 rm -f a.out conftest.c
38 if [ $HAVE_GCC == n ]; 
39 then echo " *** GCC 3.2.2 or greater is required.  Download it from gcc.gnu.org"; 
40 ERROR=1
48 # success
49 if [ $ERROR == 0 ];
50 then echo "Configured successfully.  Type 'make' to build it.";