autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

$(MAKE) set by make detection


From: Ronald Landheer-Cieslak
Subject: $(MAKE) set by make detection
Date: Thu, 13 Mar 2003 18:42:08 +0100 (CET)

Hello all,

I am currently having a slight problem that the patches below fix. In
fact, Bash (on Cygwin, fresh install) seems to be confused by the single
quotes around the argument to @echo. Replacing them with m4 quotes fixes
the problem and makes configure rightly detect that GNU make sets $(MAKE)

Hope this helps

rlc


--- share/autoconf/autoconf/autoconf.m4f~       2002-12-05 21:51:41.000000000 
+0100
+++ share/autoconf/autoconf/autoconf.m4f        2003-03-13 18:20:40.000000000 
+0100
@@ -1440,7 +1440,7 @@
 AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
 [cat >conftest.make <<\_ACEOF
 all:
-       @echo 'ac_maketemp="$(MAKE)"'
+       @echo [ac_maketemp="$(MAKE)"]
 _ACEOF
 # GNU make sometimes prints "make[1]: Entering...", which would confuse 
us.
 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`

--- share/autoconf/autoconf/programs.m4~        2002-12-05 21:51:39.000000000 
+0100
+++ share/autoconf/autoconf/programs.m4 2003-03-13 18:20:55.000000000 +0100
@@ -462,7 +462,7 @@
 AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
 [cat >conftest.make <<\_ACEOF
 all:
-       @echo 'ac_maketemp="$(MAKE)"'
+       @echo [ac_maketemp="$(MAKE)"]
 _ACEOF
 # GNU make sometimes prints "make[1]: Entering...", which would confuse 
us.
 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`






reply via email to

[Prev in Thread] Current Thread [Next in Thread]