diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2011-07-28 17:35:00 +0400 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-07-29 13:50:37 +0200 |
commit | 8f4923bcaa66809aa247859b48f2d67d8950097e (patch) | |
tree | 9d1e27c33f52910c27f948d1b057f5245d0b7499 | |
parent | b1b63063e0da8518e89b485bc4d2827ba2e3fdcf (diff) |
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for dlopen() to fix on *BSD.
https://bugs.freedesktop.org/show_bug.cgi?id=39622
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 26e86fe..45330f4 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AM_PROG_CC_C_O dnl Checks for libraries. AC_CHECK_LIB(pthread, pthread_mutex_lock,, [AC_MSG_ERROR([could not find pthread_mutex_lock])]) -AC_CHECK_LIB(dl, dlopen,, +AC_SEARCH_LIBS([dlopen], [dl dld], [], [AC_MSG_ERROR([could not find dlopen])]) |