Re: problems compiling autoconf

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

 



"Kevin P. Fleming" <kpfleming@xxxxxxxxxxxxxxxxxxxx> writes:

> GNU software usually requires GNU make.

Actually GNU software is supposed to be portable to traditional make.
The only reason this hasn't been noticed before is that most
traditional 'make' programs don't warn about the misuse of $<.  I
installed this patch to fix the problem, along with another one I
noticed at the same time.

2004-03-03  Paul Eggert  <eggert@xxxxxxxxxxx>

	* bin/Makefile.am (edit): Don't use $< in a context where
	POSIX doesn't require support for it.  Use $@.in instead.
	Problem reported by Anthony N. Frasso in
	<http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
	* bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.

Index: bin/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/Makefile.am,v
retrieving revision 1.17
diff -p -u -r1.17 Makefile.am
--- bin/Makefile.am	18 Feb 2004 21:34:44 -0000	1.17
+++ bin/Makefile.am	3 Mar 2004 21:35:14 -0000
@@ -50,7 +50,7 @@ edit = sed \
 	-e 's,@AWK\@,$(AWK),g' \
 	-e 's,@VERSION\@,$(VERSION),g' \
 	-e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g' \
-	-e 's,@configure_input\@,Generated from $<; do not edit by hand.,g'
+	-e 's,@configure_input\@,Generated from $@.in; do not edit by hand.,g'
 
 # autoconf is written in M4sh.
 AUTOM4SH = $(top_builddir)/tests/autom4te --language M4sh --cache ''
Index: bin/autoscan.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoscan.in,v
retrieving revision 1.97
diff -p -u -r1.97 autoscan.in
--- bin/autoscan.in	27 Jan 2004 19:02:51 -0000	1.97
+++ bin/autoscan.in	3 Mar 2004 21:35:16 -0000
@@ -1,7 +1,9 @@
 #! @PERL@ -w
 # -*- perl -*-
+# @configure_input@
+
 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
-# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003
+# Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004
 #  Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
Index: bin/autoupdate.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autoupdate.in,v
retrieving revision 1.51
diff -p -u -r1.51 autoupdate.in
--- bin/autoupdate.in	3 Feb 2004 09:00:27 -0000	1.51
+++ bin/autoupdate.in	3 Mar 2004 21:35:17 -0000
@@ -1,5 +1,7 @@
 #! @PERL@ -w
 # -*- perl -*-
+# @configure_input@
+
 # autoupdate - modernize an Autoconf file.
 # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003, 2004
 # Free Software Foundation, Inc.



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux