autoconf-patches
[Top][All Lists]
Advanced

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

Re: 2.54: fail to build with SunOS make


From: Paul Eggert
Subject: Re: 2.54: fail to build with SunOS make
Date: Tue, 24 Sep 2002 17:31:25 -0700 (PDT)

> From: Alexandre Duret-Lutz <address@hidden>
> Date: Tue, 24 Sep 2002 11:12:56 +0200
> 
> ../../tests/autom4te: /tmp/adl/autoconf-2.54/bin/autom4te: not found
> ...
> One could probably claim it's not a bug in Solaris make

Yes, I tend to agree.  Thanks.  I tested the following patch on
Solaris 8 and then installed it.

(I didn't install a patch for bin/Makefile.in, and I guess that it and
 perhaps some other files need to be regenerated and installed for a
 CVS checkout to work out of the box now, but I don't exactly know how
 to do that quite yet.)


2002-09-24  Paul Eggert  <address@hidden>

        Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
        make handles suffix-rules differently from GNU make.

        * bin/Makefile.am (SUFFIXES, .in): Remove.
        (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
        Move the body of the old .in rule here.

diff -pru autoconf-2.54/bin/Makefile.am autoconf-fix/bin/Makefile.am
--- autoconf-2.54/bin/Makefile.am       2002-09-05 02:23:12.000000000 -0700
+++ autoconf-fix/bin/Makefile.am        2002-09-24 17:16:26.662544994 -0700
@@ -54,11 +54,9 @@ $(srcdir)/autoconf.in: $(srcdir)/autocon
 
 ## All the files below depend on Makefile so that they are rebuilt
 ## when the prefix etc. changes.
-SUFFIXES = .in
 autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te: Makefile
-.in:
        rm -f $@ address@hidden
-       $(edit) $< >address@hidden
+       $(edit) address@hidden >address@hidden
        chmod +x address@hidden
        mv address@hidden $@
 




reply via email to

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