diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-04-08 14:35:47 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-04-15 10:31:19 +0200 |
commit | e8c73c1cf0058803d285f49b09ab5072eb8fcef0 (patch) | |
tree | 821243f001f7a1c01ed12df0782c01db14cc5261 | |
parent | 960632ffb07ebd266110531360cb8bcc62a0466a (diff) | |
download | strongswan-e8c73c1cf0058803d285f49b09ab5072eb8fcef0.tar.bz2 strongswan-e8c73c1cf0058803d285f49b09ab5072eb8fcef0.tar.xz |
configure: Replace two remaining usages of AC_HAVE_LIBRARY with AC_CHECK_LIB
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index a08e03b6f..5db044f12 100644 --- a/configure.ac +++ b/configure.ac @@ -917,9 +917,9 @@ if test x$curl = xtrue; then fi if test x$unbound = xtrue; then - AC_HAVE_LIBRARY([ldns],[LIBS="$LIBS"],[AC_MSG_ERROR([UNBOUND library ldns not found])]) + AC_CHECK_LIB([ldns],[main],[LIBS="$LIBS"],[AC_MSG_ERROR([UNBOUND library ldns not found])],[]) AC_CHECK_HEADER([ldns/ldns.h],,[AC_MSG_ERROR([UNBOUND header ldns/ldns.h not found!])]) - AC_HAVE_LIBRARY([unbound],[LIBS="$LIBS"],[AC_MSG_ERROR([UNBOUND library libunbound not found])]) + AC_CHECK_LIB([unbound],[main],[LIBS="$LIBS"],[AC_MSG_ERROR([UNBOUND library libunbound not found])],[]) AC_CHECK_HEADER([unbound.h],,[AC_MSG_ERROR([UNBOUND header unbound.h not found!])]) fi |