diff options
author | Nick Kurshev <nickols_k@mail.ru> | 2001-07-30 09:04:34 +0000 |
---|---|---|
committer | Nick Kurshev <nickols_k@mail.ru> | 2001-07-30 09:04:34 +0000 |
commit | a9b3f63084e59715da3a1dd5b365a2638aa54a1e (patch) | |
tree | 8ef3b4c9b514609ef68105dfcdf0e0ad0d519791 /configure | |
parent | 3bb4e23a8aa15fc93b91b92d8c6437358fd71113 (diff) | |
download | ffmpeg-a9b3f63084e59715da3a1dd5b365a2638aa54a1e.tar.gz |
Sync with mplayer's stuff
Originally committed as revision 14 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -58,10 +58,15 @@ echo "Creating config.mak and config.h" echo "# Automatically generated by configure - do not modify" > config.mak echo "/* Automatically generated by configure - do not modify */" > config.h +# Checking for CFLAGS +if test -z "$CFLAGS"; then + CFLAGS="-O2" +fi + echo "prefix=$prefix" >> config.mak echo "CC=$cc" >> config.mak echo "AR=$ar" >> config.mak -echo "OPTFLAGS=-O2" >> config.mak +echo "OPTFLAGS=$CFLAGS" >> config.mak if [ "$cpu" = "x86" ] ; then echo "TARGET_ARCH_X86=yes" >> config.mak echo "#define ARCH_X86 1" >> config.h @@ -74,6 +79,7 @@ if [ "$gprof" = "yes" ] ; then echo "TARGET_GPROF=yes" >> config.mak echo "#define HAVE_GPROF 1" >> config.h fi +echo "#define BIN_PORTABILITY 1 /*undefine it if you want to get maximal performance*/" >> config.h # if you do not want to use encoders, disable that. echo "#define CONFIG_ENCODERS 1" >> config.h |