From 1cd5872ca94f1b3c998850646b1f101394aa6bad Mon Sep 17 00:00:00 2001 From: glondu Date: Tue, 26 Jan 2010 13:41:56 +0000 Subject: 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 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index fad222fdb6..c3aaa241a7 100755 --- a/configure +++ b/configure @@ -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 " + 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 -- cgit v1.2.3