Fixes for autoconf2.67
authorAlan T. DeKok <aland@freeradius.org>
Tue, 16 Nov 2010 17:25:03 +0000 (18:25 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 16 Nov 2010 17:25:03 +0000 (18:25 +0100)
The symptom of not including this is strange; with autoconf 2.67, some
of the libtool variables in config.status are incorrectly quoted and
configure crashes.

configure.in

index f9cf3a8..3514d80 100644 (file)
@@ -94,7 +94,8 @@ AC_SUBST(LTDL_SUBDIRS)
 dnl use system-wide libtool, if it exists
 AC_ARG_WITH(system-libtool,
 [  --with-system-libtool   Use the libtool installed in your system (default=use our own)],
-[ AC_PATH_PROG(LIBTOOL, libtool,,$PATH:/usr/local/bin) ],
+[ AC_PATH_PROG(LIBTOOL, libtool,,$PATH:/usr/local/bin) AC_LIBTOOL_DLOPEN
+ AC_PROG_LIBTOOL],
 [
   LIBTOOL="`pwd`/libtool"
   AC_SUBST(LIBTOOL)