configure: simplify STRIP setting in config.mak

Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-10-31 15:58:44 +00:00
parent a48289c7b7
commit ad212cc6ba

7
configure vendored
View File

@ -2648,6 +2648,8 @@ echo "License: $license"
echo "Creating config.mak and config.h..."
enabled stripping || strip="echo skipping strip"
echo "# Automatically generated by configure - do not modify!" > config.mak
echo "ifndef FFMPEG_CONFIG_MAK" >> config.mak
echo "FFMPEG_CONFIG_MAK=1" >> config.mak
@ -2671,10 +2673,7 @@ echo "YASM=$yasmexe" >> config.mak
echo "AR=$ar" >> config.mak
echo "RANLIB=$ranlib" >> config.mak
echo "LN_S=$ln_s" >> config.mak
enabled stripping &&
echo "STRIP=$strip" >> config.mak ||
echo "STRIP=echo ignoring strip" >> config.mak
echo "STRIP=$strip" >> config.mak
echo "CPPFLAGS=$CPPFLAGS" >> config.mak
echo "CFLAGS=$CFLAGS" >> config.mak
echo "ASFLAGS=$ASFLAGS" >> config.mak