[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 10 failures in recent automake checkout testsuite under Solaris 9
From: |
Ralf Wildenhues |
Subject: |
Re: 10 failures in recent automake checkout testsuite under Solaris 9 |
Date: |
Tue, 13 Jun 2006 19:02:50 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
[ moving from bug-automake to autoconf-patches ]
* Ralf Wildenhues wrote on Fri, Jun 09, 2006 at 04:32:46PM CEST:
>
> And while testing I also found a bug in AC_PROG_MAKE_SET: the cache
> variable isn't computed right if $MAKE contains a path name... needs
> to be fixed in Autoconf.
I have applied this patch as hopefully very obvious. Ts ts...
It fixes this error:
$ cat configure.ac
AC_INIT
AC_PROG_MAKE_SET
$ autoconf
$ ./configure MAKE=/usr/bin/make
| ./configure: line 1605: ac_cv_prog_make_/usr/bin/make_set=yes: No such file
or directory
Cheers,
Ralf
* lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation
in sed regular expression.
Index: lib/autoconf/programs.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/programs.m4,v
retrieving revision 1.60
diff -u -r1.60 programs.m4
--- lib/autoconf/programs.m4 31 May 2006 20:52:38 -0000 1.60
+++ lib/autoconf/programs.m4 13 Jun 2006 17:02:52 -0000
@@ -780,7 +780,7 @@
AN_PROGRAM([make], [AC_PROG_MAKE_SET])
AC_DEFUN([AC_PROG_MAKE_SET],
[AC_MSG_CHECKING([whether ${MAKE-make} sets \$(MAKE)])
-set x ${MAKE-make}; ac_make=`echo "$[2]" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+set x ${MAKE-make}; ac_make=`echo "$[2]" | sed 's/+/p/g;
s/[[^a-zA-Z0-9_]]/_/g'`
AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
[cat >conftest.make <<\_ACEOF
SHELL = /bin/sh