aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-31 15:58:44 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-31 15:58:44 +0000
commitad212cc6ba2de57ca69367e37e2a38199d7e4eb7 (patch)
treec67c10aec1e9013e661b3b7da528db897b39519d
parenta48289c7b7ceb392d2d077dc46325e63a1a4ea08 (diff)
downloadffmpeg-ad212cc6ba2de57ca69367e37e2a38199d7e4eb7.tar.gz
configure: simplify STRIP setting in config.mak
Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure b/configure
index 12d91a4e72..7861c25d5d 100755
--- a/configure
+++ b/configure
@@ -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