aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2000-06-27 12:23:51 +0000
committerherbelin2000-06-27 12:23:51 +0000
commit1bae9189f92f394ab891f6398d94a6f58c7b47ef (patch)
treee9408089827eb8d3f27172d351401537227deb6f
parent918bb3ed96f87a6046a8b759af9124d8a806bc51 (diff)
Retrait du 'strip' en cas de profiling
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@518 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--config/Makefile.template5
-rwxr-xr-xconfigure6
2 files changed, 8 insertions, 3 deletions
diff --git a/config/Makefile.template b/config/Makefile.template
index 52c054372b..07e9089c85 100644
--- a/config/Makefile.template
+++ b/config/Makefile.template
@@ -104,9 +104,10 @@ INSTALL=COQTOPDIRECTORY/bin/ARCHITECTURE/coqinstallEXECUTEEXTENSION
MKDIR=mkdir -p
#the command STRIP
-# Unix systems: strip
+# Unix systems and profiling: true
+# Unix systems and no profiling: strip
# Win32 systems: true (actually strip is bogus)
STRIP=STRIPCOMMAND
# make or sed are bogus and believe lines not terminating by a return
-# are inexistent \ No newline at end of file
+# are inexistent
diff --git a/configure b/configure
index 46c49daa87..3c890cf90d 100755
--- a/configure
+++ b/configure
@@ -342,7 +342,11 @@ case $ARCH in
win32)
STRIPCOMMAND="true";;
*)
- STRIPCOMMAND="strip";;
+ if test $coq_profile_flag = "-p" ; then
+ STRIPCOMMAND="true"
+ else
+ STRIPCOMMAND="strip"
+ fi
esac
# Summary of the configuration