--- configure.in.old 2006-08-31 14:17:54.000000000 +0200 +++ configure.in.old 2008-05-16 19:19:25.000000000 +0200 @@ -126,14 +126,6 @@ *) AC_MSG_ERROR(bad value ${enableval} for --enable-stats) ;; esac],[stats=$semh]) -AC_ARG_ENABLE( rtldgroup, -[ --enable-rtldgroup build with RTLD_GROUP passed to dlopen (when supported) [default=yes]], -[ case "${enableval}" in - yes) rtldgroup=true ;; - no) rtldgroup=false ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-rltdgroup) ;; - esac],[rtldgroup=true]) - AC_ARG_ENABLE( ltdllib, [ --enable-ltdllib Use system libltdl.so (if found) [default=no]], [ case "${enableval}" in @@ -148,15 +140,6 @@ INCLTDL="" LIBLTDL="" -AC_MSG_CHECKING( Have we enabled using RTLD_GROUP ) -if test "x$rtldgroup" = "xtrue"; then -AC_MSG_RESULT( yes ) -AC_LIBLTDL_CONVENIENCE -else -AC_MSG_RESULT( no ); -AC_LIBLTDL_CONVENIENCE_G -fi - dnl Check for dlopen support AC_LIBTOOL_DLOPEN @@ -164,7 +147,7 @@ AM_PROG_LIBTOOL dnl Configure libltdl -AC_CONFIG_SUBDIRS(libltdl) +AC_WITH_LTDL use_builtin_libtool="no"