summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-11-16 11:27:55 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-11-16 11:27:55 +0100
commit54bce5436802b27de84b184ecc86bdde7c8e1403 (patch)
treedf7d87c6f3d210a0bd6b1a07d1c817ce655680ee /configure.ac
parent7b32e415ffb6665908ddbb99e2e8ce42e4dab483 (diff)
downloadautoconf-54bce5436802b27de84b184ecc86bdde7c8e1403.tar.gz
build: fix unneeded workaround for AC_CONFIG_LINKS old bud
* configure.ac: 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 <stefano.lattarini@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index c6291b30..34522184 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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.
-GNUmakefile=GNUmakefile
-AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
- [GNUmakefile=$GNUmakefile])
+AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])
AC_CONFIG_FILES([Makefile doc/Makefile
lib/Makefile lib/Autom4te/Makefile lib/autoscan/Makefile