X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=configure;h=df3087a3a7ca1b63d74a771c1b0504bdecdc7ca2;hp=f22c837398486be436fa19837726e3144c0f2761;hb=980fc7b83458fe6bbd58910813ba7ad3faf6cf76;hpb=d78647e8b4ae46352d689179079a65cc7e1d1efe diff --git a/configure b/configure index f22c837398..df3087a3a7 100755 --- a/configure +++ b/configure @@ -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