apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject [PATCH] allow using GNU make on BSDi
Date Mon, 19 Feb 2001 22:14:13 GMT
Hi,

This copes with BSDi installations where the default make has been
replaced with GNU make:

--- configure.in	2001/02/18 15:52:12	1.228
+++ configure.in	2001/02/19 22:10:05
@@ -920,7 +920,13 @@
 dnl
 case "$host_alias" in
 *bsdi*)
-    INCLUDE_RULES=".include \"$apr_builders/rules.mk\""
+    # Check whether they've installed GNU make
+    if make --version > /dev/null 2>&1; then 
+	INCLUDE_RULES="include $apr_builders/rules.mk"
+    else
+	# BSDi make
+	INCLUDE_RULES=".include \"$apr_builders/rules.mk\""
+    fi
     ;;
 *)
     INCLUDE_RULES="include $apr_builders/rules.mk"

Mime
View raw message