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.
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