summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 5e63907..4d029fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,15 +58,13 @@ AC_CHECK_LIB([z], [compress], [],
])
AC_CHECK_LIB([dl], [dlopen],
[
- LINKED_LDLIB="-ldl"
+ LIBS="-ldl $LIBS"
USE_RDYNAMIC="-rdynamic"
AC_DEFINE(HAVE_LIBDL, 1, [Define to 1 if you have the `dl' library (-ldl).])
],
[
- LINKED_LDLIB=""
USE_RDYNAMIC=""
])
-AC_SUBST(LINKED_LDLIB)
AC_SUBST(USE_RDYNAMIC)
AC_CHECK_LIB([pthread], [pthread_create], [], [])
AC_CHECK_LIB([socket], [socket], [], [])