projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed config for direct mplayer build compatibility
[libav.git]
/
configure
diff --git
a/configure
b/configure
index
f22c837
..
df3087a
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-53,23
+53,24
@@
echo "CPU $cpu"
echo "MMX enabled $mmx"
echo "gprof enabled $gprof"
echo "MMX enabled $mmx"
echo "gprof enabled $gprof"
-echo "Creating config.mk and config.h"
+echo "Creating config.m
a
k and config.h"
-echo "# Automatically generated by configure - do not modify" > config.mk
+echo "# Automatically generated by configure - do not modify" > config.m
a
k
echo "/* Automatically generated by configure - do not modify */" > config.h
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
if [ "$cpu" = "x86" ] ; then
- echo "
CONFIG_CPU_X86=y" >> config.m
k
- echo "#define
CONFIG_CPU
_X86 1" >> config.h
+ echo "
TARGET_ARCH_X86=yes" >> config.ma
k
+ echo "#define
ARCH
_X86 1" >> config.h
fi
if [ "$mmx" = "yes" ] ; then
fi
if [ "$mmx" = "yes" ] ; then
- echo "
CONFIG_MMX=y" >> config.m
k
- echo "#define
CONFIG
_MMX 1" >> config.h
+ echo "
TARGET_MMX=yes" >> config.ma
k
+ echo "#define
HAVE
_MMX 1" >> config.h
fi
if [ "$gprof" = "yes" ] ; then
fi
if [ "$gprof" = "yes" ] ; then
- echo "
CONFIG_GPROF=y" >> config.m
k
- echo "#define
CONFIG
_GPROF 1" >> config.h
+ echo "
TARGET_GPROF=yes" >> config.ma
k
+ echo "#define
HAVE
_GPROF 1" >> config.h
fi
fi