]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/configure.in (with_auxdir): Do not use it as the
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Thu, 16 Dec 1999 10:42:07 +0000 (10:42 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 16 Dec 1999 10:42:07 +0000 (10:42 +0000)
argument of AC_CONFIG_AUX_DIR, automake requires a literal here.
Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.

ChangeLog
libltdl/configure.in

index 7ce64f942ccde4ab443ef0fed1332a9611db5a1f..d4f62091e98286435ba62489f845319193eb4e87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-12-16  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
+       * libltdl/configure.in (with_auxdir): Do not use it as the
+       argument of AC_CONFIG_AUX_DIR, automake requires a literal here.
+       Use AC_CONFIG_AUX_DIRS/DIR_DEFAULT instead.
+
        * libltdl/Makefile.am (ACLOCAL): Define with `-I .', as in
        bootstrap.
 
index 803dd919747c396c622c253222d8a1a37a0832d3..ef9a1b2b428223a6a934f3ccd9fe66aa956b63a1 100644 (file)
@@ -1,10 +1,13 @@
 dnl Process this file with autoconf to create configure.
 
 AC_INIT(ltdl.c)
+
+dnl We shouldn't be using these internal macros of autoconf,
+dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
 AC_ARG_WITH(auxdir,
-[  --with-auxdir=DIR   path to autoconf auxiliary files],,
-[if test -f ../config.sub; then with_auxdir=..; else with_auxdir=../..; fi])
-AC_CONFIG_AUX_DIR($with_auxdir)
+[  --with-auxdir=DIR   path to autoconf auxiliary files],
+[AC_CONFIG_AUX_DIRS($with_auxdir)],
+[AC_CONFIG_AUX_DIR_DEFAULT])
 
 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
   if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then