[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot build 2.54 & CVS
From: |
Paul Eggert |
Subject: |
Re: cannot build 2.54 & CVS |
Date: |
Tue, 8 Oct 2002 16:19:05 -0700 (PDT) |
> From: Nathan Sidwell <address@hidden>
> Date: Tue, 08 Oct 2002 20:45:02 +0100
> oo, I just found it. If you have POSIXLY_CORRECT set, you get the
> problem
POSIXLY_CORRECT breaks a lot of things, unfortunately. I installed
the following patches to work around your particular problem, and one
other that I ran into, but no doubt others remain.
2002-10-08 Paul Eggert <address@hidden>
Work around problems found when POSIXLY_CORRECT=1 is set.
None of this seems to have anything to do with POSIX, really,
but it's how Perl getopt works.
* bin/autom4te.in (parse_args): Configure GetOpt with
"permute", too.
* doc/autoconf.texi (Invoking autom4te):
--warning -> --warnings.
* lib/autom4te.in: --warning -> --warnings.
Index: bin/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autom4te.in,v
retrieving revision 1.70
diff -p -u -r1.70 autom4te.in
--- bin/autom4te.in 3 Sep 2002 06:09:30 -0000 1.70
+++ bin/autom4te.in 8 Oct 2002 22:58:06 -0000
@@ -472,7 +472,7 @@ sub parse_args ()
do {
@language = ();
use Getopt::Long;
- Getopt::Long::Configure ("pass_through");
+ Getopt::Long::Configure ("pass_through", "permute");
GetOptions ("l|language=s" => address@hidden);
foreach (@language)
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.685
diff -p -u -r1.685 autoconf.texi
--- doc/autoconf.texi 28 Sep 2002 16:40:49 -0000 1.685
+++ doc/autoconf.texi 8 Oct 2002 22:58:11 -0000
@@ -7475,7 +7475,7 @@ the language-specific files before any t
As an example, if Autoconf is installed in its default location,
@file{/usr/local}, running @samp{autom4te -l m4sugar foo.m4} is
strictly equivalent to running @samp{autom4te --prepend-include
-/usr/local/share/autoconf m4sugar/m4sugar.m4f --warning syntax foo.m4}.
+/usr/local/share/autoconf m4sugar/m4sugar.m4f --warnings syntax foo.m4}.
Recursive expansion applies: running @samp{autom4te -l m4sh foo.m4}
is the same as @samp{autom4te --language M4sugar m4sugar/m4sh.m4f
foo.m4}, i.e., @samp{autom4te --prepend-include /usr/local/share/autoconf
Index: lib/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autom4te.in,v
retrieving revision 1.14
diff -p -u -r1.14 autom4te.in
--- lib/autom4te.in 28 Sep 2002 16:39:22 -0000 1.14
+++ lib/autom4te.in 8 Oct 2002 22:58:11 -0000
@@ -206,5 +206,5 @@ end-language: "M4sh"
begin-language: "M4sugar"
args: --prepend-include @datadir@
args: m4sugar/m4sugar.m4f
-args: --warning syntax
+args: --warnings syntax
end-language: "M4sugar"