ref: bf5457c6dd2d1e5b70ada7931b509a5159b00e25
parent: b53dfb1e173e586475caa2f26cdfeb14f8c04fec
author: rrt <rrt>
date: Mon Nov 10 18:37:17 EST 2008
Fix libltdl usage.
--- a/configure.ac
+++ b/configure.ac
@@ -48,8 +48,8 @@
fi
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-AC_CONFIG_SUBDIRS(libltdl)
if test "$using_libltdl" != "no"; then
+ AC_WITH_LTDL
AC_SUBST(LIBLTDL)
AC_SUBST(LTDLINCL)
AC_CHECK_HEADERS(ltdl.h, AC_DEFINE([HAVE_LIBLTDL], 1, [Define to 1 if you have libltdl]), [using_libltdl=no])