[PATCH] Remove AC_CONFIG_AUX_DIR

23 views
Skip to first unread message

Earnestly

unread,
Apr 19, 2016, 9:31:49 AM4/19/16
to cloog-de...@googlegroups.com
This patch removed the AC_CONFIG_AUX_DIR definition in configure.ac as
when attempting to run ./configure after autoreconf -fi (which is
recommended over autogen.sh/bootstrap.sh-like scripts[0]) I get the
following error:

configure.ac:73: error: required file 'autoconf/ltmain.sh' not found

For some reason autoreconf -fi was not moving ltmain.sh to the autoconf
directory, so I ended up manually moving ltmain.sh every build.

Looking at other projects such as mpfr I noticed they didn't bother with
the AUX_DIR so I replicated it here and it allows ./configure to succeed
without any intervention.

Signed-off-by: Earnestly <zib...@gmail.com>
---
configure.ac | 1 -
1 file changed, 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b3448f7..68d6117 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,6 @@ AC_PREREQ(2.53)
AC_INIT([cloog], [version_major.version_minor.version_revision],
[cloog-de...@googlegroups.com])
AC_CONFIG_SRCDIR(source/cloog.c)
-AC_CONFIG_AUX_DIR(autoconf)
AC_CONFIG_MACRO_DIR([m4])

VERSION_MAJOR=version_major
--
2.8.0

Reply all
Reply to author
Forward
0 new messages