r931: Fix a race when closing window
[cinelerra_cv/mob.git] / libmpeg3 / configure
blobc4edb2b3243fc41440eecfd673b8cc90aecfe138
1 #!/bin/sh
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.
8 ERROR=0
10 # test for nasm
12 if [ `arch` == i686 ];
13 then
15 if [ -x /usr/bin/nasm -o -x /usr/local/bin/nasm ]; then HAVE_NASM=y; else HAVE_NASM=n; fi
17 if [ $HAVE_NASM == n ];
18 then echo " *** Nasm is required. Download it from nasm.sourceforge.net";
19 ERROR=1
26 # success
27 if [ $ERROR == 0 ];
28 then echo "Configured successfully. Type 'make' to build it.";