[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use expr where possible
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] Use expr where possible |
Date: |
Sun, 19 Jun 2005 10:11:53 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Paul, others,
* Paul Eggert wrote on Thu, Jun 16, 2005 at 10:10:57AM CEST:
> "Peter O'Gorman" <address@hidden> writes:
>
> I've worked around this by avoiding expr entirely here (as well as
> echo | sed). Here's what I installed into Autoconf CVS:
This patch is broken. One of its symptoms are that libtool won't create
shared libraries any more. Proposed fix below.
> 2005-06-16 Paul Eggert <address@hidden>
>
> * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
> on Mac OS X 10.4 reported by Peter O'Gorman in:
> http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
> * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
> Use shell builtins rather than 'expr', to work around expr bug.
Regards,
Ralf
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
Index: lib/autoconf/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.865
diff -u -r1.865 general.m4
--- lib/autoconf/general.m4 16 Jun 2005 07:24:43 -0000 1.865
+++ lib/autoconf/general.m4 19 Jun 2005 08:08:19 -0000
@@ -1684,7 +1684,7 @@
*)
shift; shift; shift
for ac_arg
- do $1_os=$1_os-$ac_arg
+ do $1_os=[$]$1_os-$ac_arg
done;;
esac
- Re: [PATCH] Use expr where possible, Peter O'Gorman, 2005/06/15
- Re: [PATCH] Use expr where possible, Paul Eggert, 2005/06/15
- Re: [PATCH] Use expr where possible, Peter O'Gorman, 2005/06/15
- Re: [PATCH] Use expr where possible, Peter O'Gorman, 2005/06/15
- Re: [PATCH] Use expr where possible, Akim Demaille, 2005/06/16
- Re: [PATCH] Use expr where possible, Paul Eggert, 2005/06/16
- Re: [PATCH] Use expr where possible, Akim Demaille, 2005/06/16
- Re: [PATCH] Use expr where possible, Peter O'Gorman, 2005/06/16
- Re: [PATCH] Use expr where possible,
Ralf Wildenhues <=
- Re: [PATCH] Use expr where possible, Stepan Kasal, 2005/06/22