summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichel Bardiaux <mbardiaux@peaktime.be>2004-10-01 13:32:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-01 13:32:13 +0000
commit65d1bea201823178fced4ed1429485eca527e733 (patch)
treebaa27b5083229113847f541e22d18b4676d44ada /configure
parent71c32f19b346f565c23d282f327e84a6af39edc7 (diff)
downloadffmpeg-65d1bea201823178fced4ed1429485eca527e733.tar.gz
Help debugging by keeping symbols ans line numbers patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 3545 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure b/configure
index 84cd39e857..48cd59ad60 100755
--- a/configure
+++ b/configure
@@ -65,6 +65,7 @@ echo " --disable-ffplay disable ffplay build"
echo " --disable-risky disables patent encumbered codecs"
echo " --enable-small optimize for size instead of speed"
echo " --enable-memalign-hack emulate memalign, interferes with memory debuggers"
+echo " --disable-strip disable stripping of executables and shared libraries"
echo ""
echo "NOTE: The object files are build at the place where configure is launched"
exit 1
@@ -155,6 +156,7 @@ os2="no"
lshared="no"
optimize="yes"
debug="yes"
+dostrip="yes"
extralibs="-lm"
simpleidct="yes"
bigendian="no"
@@ -439,6 +441,8 @@ for opt do
;;
--enable-memalign-hack) memalignhack="yes"
;;
+ --disable-strip) dostrip="no"
+ ;;
esac
done
@@ -1004,6 +1008,7 @@ echo "a52 dlopened $a52bin"
echo "dts support $dts"
echo "pp support $pp"
echo "debug symbols $debug"
+echo "strip symbols $dostrip"
echo "optimize $optimize"
echo "shared pp $shared_pp"
echo "Video hooking $vhook"
@@ -1040,7 +1045,13 @@ echo "MAKE=$make" >> config.mak
echo "CC=$cc" >> config.mak
echo "AR=$ar" >> config.mak
echo "RANLIB=$ranlib" >> config.mak
+if test "$dostrip" = "yes" ; then
echo "STRIP=$strip" >> config.mak
+echo "INSTALLSTRIP=-s" >> config.mak
+else
+echo "STRIP=echo ignoring strip" >> config.mak
+echo "INSTALLSTRIP=" >> config.mak
+fi
# SHCFLAGS is a copy of CFLAGS without -mdynamic-no-pic. Used when building
# shared modules on OS/X (vhook/Makefile).