[Top][All Lists]

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

[PATCH 2/3] build: fix unneeded workaround for AC_CONFIG_LINKS old bud

From: Stefano Lattarini
Subject: [PATCH 2/3] build: fix unneeded workaround for AC_CONFIG_LINKS old bud
Date: Fri, 16 Nov 2012 11:37:24 +0100

* The Automake NEWS entry for version 1.11 states that

    For AC_CONFIG_LINKS, if source and destination are equal, do
    not remove the file in a non-VPATH build.  Such setups work
    with Autoconf 2.62 or newer.

Since our build system requires autoconf >= 2.62 and automake >= 1.11
already, we can get rid of the workaround for that long-fixed bug.

Signed-off-by: Stefano Lattarini <address@hidden>
--- | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/ b/
index c6291b3..3452218 100644
--- a/
+++ b/
@@ -205,13 +205,7 @@ AC_PROG_MAKE_CASE_SENSITIVE
 ## ------------ ##
 dnl Allow maintainer rules under GNU make even in VPATH builds.
-dnl Meanwhile, we must use a shell variable so that we bypass automake's
-dnl attempts to remove the sole copy of GNUmakefile in a non-VPATH build
-dnl during 'make distclean'.
-dnl TODO avoid the shell variable once automake is fixed.
-AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
-                [GNUmakefile=$GNUmakefile])
 AC_CONFIG_FILES([Makefile doc/Makefile
                 lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile

reply via email to

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