diff options
| author | filliatr | 1999-12-10 14:51:04 +0000 |
|---|---|---|
| committer | filliatr | 1999-12-10 14:51:04 +0000 |
| commit | 1f2ec6429da2b09b58480c35e175428e39c1c37b (patch) | |
| tree | 0b0149b5dd52c524ae7601d19b667fa1ea8f064a /configure | |
| parent | ba569318fee9055745b6bc191d97add351900e74 (diff) | |
- erreurs Pretype
- Write / Restore State
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@230 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -27,6 +27,7 @@ coq_debug_flag= coq_profile_flag= byte_opt_tools=opt +local=false bindir_spec=no libdir_spec=no mandir_spec=no @@ -49,8 +50,9 @@ while : ; do mandir_spec=yes mandir=$2/man shift;; - -local|--local) bindir_spec=yes - bindir=$COQTOP/bin/${arch-`arch`} + -local|--local) local=true + bindir_spec=yes + bindir=$COQTOP libdir_spec=yes libdir=$COQTOP mandir_spec=yes @@ -365,7 +367,8 @@ rm -f $COQTOP/config/Makefile case $ARCH in win32) - sed -e "s|COQTOPDIRECTORY|$COQTOP|" \ + sed -e "s|LOCALINSTALLATION|$local|" \ + -e "s|COQTOPDIRECTORY|$COQTOP|" \ -e "s|COQVERSION|$VERSION|" \ -e "s|BINDIRDIRECTORY|`echo $BINDIR |sed -e 's|\\\|/|g'`|" \ -e "s|COQLIBDIRECTORY|`echo $LIBDIR |sed -e 's|\\\|/|g'`|" \ @@ -389,7 +392,8 @@ case $ARCH in -e "s|STRIPCOMMAND|$STRIPCOMMAND|" \ $COQTOP/config/Makefile.template > $COQTOP/config/Makefile;; *) - sed -e "s|COQTOPDIRECTORY|$COQTOP|" \ + sed -e "s|LOCALINSTALLATION|$local|" \ + -e "s|COQTOPDIRECTORY|$COQTOP|" \ -e "s|COQVERSION|$VERSION|" \ -e "s|BINDIRDIRECTORY|$BINDIR|" \ -e "s|COQLIBDIRECTORY|$LIBDIR|" \ @@ -423,6 +427,7 @@ rm -f $mlconfig_file cat << END_OF_COQ_CONFIG > $mlconfig_file (* DO NOT EDIT THIS FILE: automatically generated by ../configure *) +let local = $local let bindir = "$BINDIR" let coqlib = "$LIBDIR" let coqtop = "$COQTOP" |
