summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-02-20 11:27:55 +0000
committerChristian Grothoff <christian@grothoff.org>2016-02-20 11:27:55 +0000
commit34ddbd35d1efff0d3761a85fa39adfe9d1eaf3fb (patch)
treef95e51bfaaefd7c78abdca32a330bc92d0fce5c8
parent8356ed2554295540230afbcd2251e163a244bc82 (diff)
downloadlibextractor-34ddbd35d1efff0d3761a85fa39adfe9d1eaf3fb.tar.gz
libextractor-34ddbd35d1efff0d3761a85fa39adfe9d1eaf3fb.zip
-fix path detection for -ltdl check
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 87c85a6..9198ae5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -258,12 +258,14 @@ AC_ARG_WITH(ltdl,
258 ltdl=1)) 258 ltdl=1))
259 ;; 259 ;;
260 *) 260 *)
261 AM_LDFLAGS="-L$with_ltdl/lib $AM_LDFLAGS" 261 OLD_LIBS="$LIBS"
262 LIBS="-L$with_ltdl/lib $LIBS"
262 AM_CPPFLAGS="-I$with_ltdl/include $AM_CPPFLAGS" 263 AM_CPPFLAGS="-I$with_ltdl/include $AM_CPPFLAGS"
263 AC_CHECK_HEADERS(ltdl.h, 264 AC_CHECK_HEADERS(ltdl.h,
264 AC_CHECK_LIB([ltdl], [lt_dlopenext], 265 AC_CHECK_LIB([ltdl], [lt_dlopenext],
265 EXT_LIB_PATH="-L$with_ltdl/lib $EXT_LIB_PATH" 266 EXT_LIB_PATH="-L$with_ltdl/lib $EXT_LIB_PATH"
266 ltdl=1)) 267 ltdl=1))
268 LIBS="$OLD_LIBS"
267 ;; 269 ;;
268 esac 270 esac
269 ], 271 ],