diff options
author | glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-01-26 13:41:56 +0000 |
---|---|---|
committer | glondu <glondu@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-01-26 13:41:56 +0000 |
commit | 1cd5872ca94f1b3c998850646b1f101394aa6bad (patch) | |
tree | 3911f5cd79fcb9ccf5758edc1555a932d9b7c87c /configure | |
parent | 5bcc4bbe41762856c1406c2cde12f57659dd046f (diff) |
Add -makecmd configure option
This allows choosing gmake on *BSD (patch from Nima Hoda).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12689 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -85,6 +85,8 @@ usage () { printf "\tAdd profiling information in the Coq executables\n" echo "-annotate" printf "\tCompiles Coq with -dtypes option\n" + echo "-makecmd <command>" + printf "\tName of GNU Make command.\n" } @@ -239,6 +241,8 @@ while : ; do ranlib_spec=yes ranlib_exec=$2 shift;; + -makecmd|--makecmd) makecmd="$2" + shift;; -byte-only|-byteonly|--byteonly|--byte-only) best_compiler=byte;; -debug|--debug) coq_debug_flag=-g;; -profile|--profile) coq_profile_flag=-p;; @@ -319,7 +323,7 @@ fi # make command -MAKE=`which make` +MAKE=`which ${makecmd:-make}` if [ "$MAKE" != "" ]; then MAKEVERSION=`$MAKE -v | head -1` case $MAKEVERSION in |