From ad212cc6ba2de57ca69367e37e2a38199d7e4eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 31 Oct 2009 15:58:44 +0000 Subject: [PATCH] configure: simplify STRIP setting in config.mak Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 7 +++---- 1 file 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