diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-07-23 20:06:54 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-07-23 20:06:54 +0000 |
commit | 980fc7b83458fe6bbd58910813ba7ad3faf6cf76 (patch) | |
tree | 54215c0a4172d6a0490478d6e83685c0851884e7 /configure | |
parent | d78647e8b4ae46352d689179079a65cc7e1d1efe (diff) | |
download | ffmpeg-980fc7b83458fe6bbd58910813ba7ad3faf6cf76.tar.gz |
fixed config for direct mplayer build compatibility
Originally committed as revision 8 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -53,23 +53,24 @@ echo "CPU $cpu" echo "MMX enabled $mmx" echo "gprof enabled $gprof" -echo "Creating config.mk and config.h" +echo "Creating config.mak and config.h" -echo "# Automatically generated by configure - do not modify" > config.mk +echo "# Automatically generated by configure - do not modify" > config.mak echo "/* Automatically generated by configure - do not modify */" > config.h -echo "PREFIX=$prefix" >> config.mk -echo "CC=$cc" >> config.mk -echo "AR=$ar" >> config.mk +echo "prefix=$prefix" >> config.mak +echo "CC=$cc" >> config.mak +echo "AR=$ar" >> config.mak +echo "OPTFLAGS=-O2" >> config.mak if [ "$cpu" = "x86" ] ; then - echo "CONFIG_CPU_X86=y" >> config.mk - echo "#define CONFIG_CPU_X86 1" >> config.h + echo "TARGET_ARCH_X86=yes" >> config.mak + echo "#define ARCH_X86 1" >> config.h fi if [ "$mmx" = "yes" ] ; then - echo "CONFIG_MMX=y" >> config.mk - echo "#define CONFIG_MMX 1" >> config.h + echo "TARGET_MMX=yes" >> config.mak + echo "#define HAVE_MMX 1" >> config.h fi if [ "$gprof" = "yes" ] ; then - echo "CONFIG_GPROF=y" >> config.mk - echo "#define CONFIG_GPROF 1" >> config.h + echo "TARGET_GPROF=yes" >> config.mak + echo "#define HAVE_GPROF 1" >> config.h fi |