Commit 99a6d06f authored by Aurelien Jacobs's avatar Aurelien Jacobs

generate ENABLE_* defines also for ARCH_*

Originally committed as revision 9321 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4f74c585
...@@ -663,6 +663,23 @@ HAVE_LIST=" ...@@ -663,6 +663,23 @@ HAVE_LIST="
threads threads
" "
ARCH_LIST='
alpha
armv4l
bfin
ia64
m68k
mips
parisc
powerpc
s390
sh4
sparc
sparc64
x86_32
x86_64
'
TARGET_LIST=' TARGET_LIST='
altivec altivec
armv5te armv5te
...@@ -1959,7 +1976,7 @@ echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak ...@@ -1959,7 +1976,7 @@ echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak
ucarch=`toupper $arch` ucarch=`toupper $arch`
echo "TARGET_ARCH_${ucarch}=yes" >> config.mak echo "TARGET_ARCH_${ucarch}=yes" >> config.mak
echo "#define ARCH_${ucarch} 1" >> $TMPH enable $arch
# special cases # special cases
case "$arch" in case "$arch" in
...@@ -2024,6 +2041,7 @@ fi ...@@ -2024,6 +2041,7 @@ fi
echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
echo "EXTRALIBS=$extralibs" >> config.mak echo "EXTRALIBS=$extralibs" >> config.mak
print_config_enable ARCH_ $TMPH config.mak $ARCH_LIST
print_config_enable HAVE_ $TMPH config.mak $HAVE_LIST print_config_enable HAVE_ $TMPH config.mak $HAVE_LIST
print_config TARGET_ $TMPH config.mak $TARGET_LIST print_config TARGET_ $TMPH config.mak $TARGET_LIST
print_config_enable CONFIG_ $TMPH config.mak $CONFIG_LIST \ print_config_enable CONFIG_ $TMPH config.mak $CONFIG_LIST \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment