bug-autoconf
[Top][All Lists]
Advanced

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

Re: Autoconf-2.59 fails to build on QNX


From: Paul Eggert
Subject: Re: Autoconf-2.59 fails to build on QNX
Date: Thu, 19 Feb 2004 12:03:10 -0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (usg-unix-v)

"Stephen Rasku" <address@hidden> writes:

> make breaks with same error.

OK, thanks, I think I tracked it down.  The problem was indeed an
internal dependency issue: autoconf-2.59/tests/wrapper.in was built by
an old, buggy version of Autoconf.

Can you please try working around the problem by hand by replacing
'((MAIL=60' with '( (MAIL=60' in tests/wrapper.in just after unpacking
autoconf?

I installed the following patch to CVS autoconf to try to fix the
underlying issue.

2004-02-18  Paul Eggert  <address@hidden>

            Fix a dependencies problem, stemming from a Autoconf 2.59 build
            problem on QNX reported by Stephen Rasku in
            
<http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.

            * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
            $(m4sh_m4f_dependencies); this removes a FIXME.
            * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
            (MAINTAINERCLEANFILES): Split into pieces,
            one per related section.  Add $(srcdir)/wrapper.in.

Index: bin/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/Makefile.am,v
retrieving revision 1.16
diff -p -u -r1.16 Makefile.am
--- bin/Makefile.am     5 Jan 2004 08:18:24 -0000       1.16
+++ bin/Makefile.am     18 Feb 2004 21:31:46 -0000
@@ -54,7 +54,7 @@ edit = sed \
 
 # autoconf is written in M4sh.
 AUTOM4SH = $(top_builddir)/tests/autom4te --language M4sh --cache ''
-$(srcdir)/autoconf.in: $(srcdir)/autoconf.as # FIXME: $(m4sh_m4f_dependencies)
+$(srcdir)/autoconf.in: $(srcdir)/autoconf.as $(m4sh_m4f_dependencies)
                        $(AUTOM4SH) $(srcdir)/autoconf.as -o $@
 
 ## All the files below depend on Makefile so that they are rebuilt
Index: tests/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/Makefile.am,v
retrieving revision 1.85
diff -p -u -r1.85 Makefile.am
--- tests/Makefile.am   5 Jan 2004 07:05:22 -0000       1.85
+++ tests/Makefile.am   18 Feb 2004 21:31:46 -0000
@@ -27,6 +27,7 @@ EXTRA_DIST = $(TESTSUITE_AT) local.at mk
 check_SCRIPTS = autoconf autoheader autoreconf autom4te autoscan autoupdate 
ifnames
 
 DISTCLEANFILES = atconfig atlocal $(TESTSUITE) $(check_SCRIPTS)
+MAINTAINERCLEANFILES = Makefile.in 
 
 # Import the dependencies on Autotest and M4sh.
 include ../lib/freeze.mk
@@ -52,7 +53,9 @@ $(srcdir)/package.m4: $(top_srcdir)/conf
 ## Wrappers.  ##
 ## ---------- ##
 
-$(srcdir)/wrapper.in: $(srcdir)/wrapper.as
+MAINTAINERCLEANFILES += $(srcdir)/wrapper.in
+
+$(srcdir)/wrapper.in: $(srcdir)/wrapper.as $(m4sh_m4f_dependencies)
                       ./autom4te --language=M4sh $(srcdir)/wrapper.as -o $@
 
 
@@ -111,7 +114,7 @@ installcheck-local:
 ## Maintainer rules.  ##
 ## ------------------ ##
 
-MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE_GENERATED_AT)
+MAINTAINERCLEANFILES += $(TESTSUITE_GENERATED_AT)
 
 ## Producing the test files.
 




reply via email to

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