commit 34ddbd35d1efff0d3761a85fa39adfe9d1eaf3fb
parent 8356ed2554295540230afbcd2251e163a244bc82
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 20 Feb 2016 11:27:55 +0000
-fix path detection for -ltdl check
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
@@ -258,12 +258,14 @@ AC_ARG_WITH(ltdl,
ltdl=1))
;;
*)
- AM_LDFLAGS="-L$with_ltdl/lib $AM_LDFLAGS"
+ OLD_LIBS="$LIBS"
+ LIBS="-L$with_ltdl/lib $LIBS"
AM_CPPFLAGS="-I$with_ltdl/include $AM_CPPFLAGS"
AC_CHECK_HEADERS(ltdl.h,
AC_CHECK_LIB([ltdl], [lt_dlopenext],
EXT_LIB_PATH="-L$with_ltdl/lib $EXT_LIB_PATH"
ltdl=1))
+ LIBS="$OLD_LIBS"
;;
esac
],