bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.59


From: Akim Demaille
Subject: Re: autoconf 2.59
Date: Wed, 19 Nov 2003 14:19:56 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > Hi,
 > I'm trying to build not yet announced autoconf 2.59 from 
 > http://www.lrde.epita.fr/~akim/download/autoconf-2.59.tar.gz
 > but I'm getting this one after unpacking + ./configure && make:
 > ake[3]: Entering directory `/home/users/misiek/test/autoconf-2.59/lib'
 > rm -f autom4te.cfg autom4te.tmp
 > sed -e 's,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 
 > 's,@bindir\@,/usr/local/bin,g' -e 's,@datadir\@,/usr/local/share/autoconf,g' 
 > -e 's,@prefix\@,/usr/local,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 
 > 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' 
 > -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 
 > 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 
 > 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >autom4te.tmp
 > chmod -w autom4te.tmp
 > mv autom4te.tmp autom4te.cfg
 > make[3]: Leaving directory `/home/users/misiek/test/autoconf-2.59/lib'
 > ../../tests/autom4te                            \
 >         --language=m4sugar                      \
 >         --freeze                        \
 >         --output=m4sugar.m4f
 > ../../tests/autom4te[18]: syntax error: `if' unmatched
 > make[2]: *** [m4sugar.m4f] Error 1
 > make[2]: Leaving directory 
 > `/home/users/misiek/test/autoconf-2.59/lib/m4sugar'
 > make[1]: *** [all-recursive] Error 1
 > make[1]: Leaving directory `/home/users/misiek/test/autoconf-2.59/lib'
 > make: *** [all-recursive] Błąd 1

 > starting from 17 line:
 > # Support unset when possible.
 > if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 >   as_unset=unset
 > else
 >   as_unset=false
 > fi

 > This happens with pdksh as /bin/sh and doesn't happen with bash as /bin/sh.

 > Seems that changing it to
 > if ( ( MAIL=60; unset MAIL ) || exit ) >/dev/null 2>&1; then
 > fixes the problem (note spaces between ,,('' ,,('' ).

Heck.  Paul, this one is probably enough to warrant a 2.60, don't you
think?

I'm installing the following.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/Makefile.am ($(srcdir)/wrapper.in): Make sure we depend
        upon m4sh's dependencies.

Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/Makefile.am,v
retrieving revision 1.84
diff -u -u -r1.84 Makefile.am
--- tests/Makefile.am 23 Jun 2003 11:11:42 -0000 1.84
+++ tests/Makefile.am 19 Nov 2003 13:17:11 -0000
@@ -24,7 +24,8 @@
             atlocal.in package.m4 wrapper.as
 
 # Running the uninstalled scripts.
-check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate 
ifnames
+check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan \
+                autoupdate ifnames
 
 DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
 
@@ -52,7 +53,7 @@
 ## Wrappers.  ##
 ## ---------- ##
 
-$(srcdir)/wrapper.in: $(srcdir)/wrapper.as
+$(srcdir)/wrapper.in: $(srcdir)/wrapper.as $(m4sh_m4f_dependencies)
        ./autom4te --language=M4sh $(srcdir)/wrapper.as -o $@
 
 
Index: tests/Makefile.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/Makefile.in,v
retrieving revision 1.143
diff -u -u -r1.143 Makefile.in
--- tests/Makefile.in 5 Nov 2003 11:59:00 -0000 1.143
+++ tests/Makefile.in 19 Nov 2003 13:17:11 -0000
@@ -114,7 +114,9 @@
 
 
 # Running the uninstalled scripts.
-check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate 
ifnames
+check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan \
+                autoupdate ifnames
+
 DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
 SUFFIXES = .m4 .m4f
 
@@ -441,7 +443,7 @@
          echo 'm4_define([AT_PACKAGE_BUGREPORT], address@hidden@])'; \
        } >$(srcdir)/package.m4
 
-$(srcdir)/wrapper.in: $(srcdir)/wrapper.as
+$(srcdir)/wrapper.in: $(srcdir)/wrapper.as $(m4sh_m4f_dependencies)
        ./autom4te --language=M4sh $(srcdir)/wrapper.as -o $@
 $(TESTSUITE): $(srcdir)/package.m4 \
              local.at \
Index: tests/wrapper.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/wrapper.in,v
retrieving revision 1.4
diff -u -u -r1.4 wrapper.in
--- tests/wrapper.in 25 Sep 2003 09:30:35 -0000 1.4
+++ tests/wrapper.in 19 Nov 2003 13:17:11 -0000
@@ -13,9 +13,10 @@
 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   set -o posix
 fi
+DUALCASE=1; export DUALCASE # for MKS sh
 
 # Support unset when possible.
-if ((MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   as_unset=unset
 else
   as_unset=false




reply via email to

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