aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-02-04 15:57:57 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-02-04 15:57:57 +0000
commit1a91f499dd4955bceb82097156bad94a01b3858c (patch)
tree20383bcdb1dbaa91ec51881099dc1b7fd48dd0a0 /configure
parentd7bd04208c20c41f6cb7fd4b3996d2c583ab5bde (diff)
MAJ pour windows
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3656 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index d646ec0ab..dfa3e329d 100755
--- a/configure
+++ b/configure
@@ -302,10 +302,15 @@ CAMLLIB=`"$CAMLC" -v | sed -n -e 's|.*directory:* *\(.*\)$|\1|p' `
# Camlp4 (greatly simplified since merged with ocaml)
-# CAMLP4LIB=+camlp4
-CAMLP4LIB=${CAMLLIB}/camlp4
CAMLP4BIN=${CAMLBIN}
+case $OS in
+ Win32)
+ CAMLP4LIB=+camlp4;;
+ *)
+ CAMLP4LIB=${CAMLLIB}/camlp4
+esac
+
# Tell on windows if ocaml understands cygwin or windows path formats
"$CAMLC" -o config/giveostype config/giveostype.ml
@@ -329,7 +334,7 @@ echo ""
echo " Coq top directory : $COQTOP"
echo " Architecture : $ARCH"
if test ! -z "$OS" ; then
- echo " Operating system : $OS"
+ echo " Operating system : $OS"
fi
echo " OS dependent libraries : $OSDEPLIBS"
echo " Objective-Caml/Camlp4 version : $CAMLVERSION"