autoconf
[Top][All Lists]
Advanced

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

Re: Success (mostly) with the testsuite


From: Akim Demaille
Subject: Re: Success (mostly) with the testsuite
Date: 18 Oct 2000 14:24:39 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

>>>>> "David" == David Morgan <address@hidden> writes:

David> ac_file=tests/atconfig echo "X"$ac_file"" | sed '
David> /^X\(.*^/\)\/\/*^/^/*\/*$/{ s//\1/p; q; }'

Thanks a lot.  That's an actual bug in Autoconf, but which is
exhibited only on machines on which `expr' fails, which is probably
your case.

Here is what I'm currently checking in:

2000-10-18  Akim Demaille  <address@hidden>

        * acgeneral.m4 (_AC_SHELL_DIRNAME): The `sed' fall back was not
        quoted.

Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.579
diff -u -r1.579 acgeneral.m4
--- acgeneral.m4 2000/10/17 16:34:10 1.579
+++ acgeneral.m4 2000/10/18 12:15:57
@@ -926,12 +926,12 @@
       X$1 : 'X\(//\)$' \| \
       X$1 : 'X\(/\)' \| \
       .   : '\(.\)' 2>/dev/null ||
-echo "X$1" | sed '
+echo "X$1" | sed ['
            /^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/p; q; }
            /^X\(\/\/\)[^/].*/{ s//\1/p; q; }
            /^X\(\/\/\)$/{ s//\1/p; q; }
            /^X\(\/\).*/{ s//\1/p; q; }
-           s/.*/./p; q'])
+           s/.*/./p; q']])


 ## --------------------------------------------------- ##



reply via email to

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