initial commit
[goodguy/history.git] / cinelerra-5.0 / libzmpeg3 / configure
1 #!/bin/sh
2
3 # configuration is being done in a script because starting with GCC-3.2
4 # the compiler flags are changing too much between minor releases to detect
5 # with Makefile scripts alone.  For now it just tells you if you have the
6 # prerequisite compilers.
7
8 ERROR=0
9
10 # test for nasm
11
12 if [ `uname -m` = i686 ];
13 then
14
15         if [ -x /usr/bin/nasm -o -x /usr/local/bin/nasm ]; then HAVE_NASM=y; else HAVE_NASM=n; fi
16
17         if [ $HAVE_NASM = n ]; 
18         then echo " *** Nasm is required.  Download it from nasm.sourceforge.net"; 
19         ERROR=1
20         fi
21
22 fi
23
24 if [ $ERROR -ne 0 ]; then
25   exit 1
26 fi
27