diff options
author | Sascha Schumann <sas@php.net> | 2000-05-05 11:23:12 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-05 11:23:12 +0000 |
commit | f51b56cfed860d5f5db143e44269f751146cd6c6 (patch) | |
tree | 9a2439a3dc15ecfc848aa3c024226e1dab7e2902 /configure.in | |
parent | 8570e0e3ba5c4753abc8bf86db759ad01fdc07a3 (diff) | |
download | php-git-f51b56cfed860d5f5db143e44269f751146cd6c6.tar.gz |
Move dlopen in -ldl check to configure.in. This should ensure that if libdl
exists, it will be always found. We define HAVE_LIBDL now always, if the
function dlopen is found.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 6d57d58cee..3d62a060f2 100644 --- a/configure.in +++ b/configure.in @@ -203,6 +203,8 @@ AC_CHECK_LIB(crypt, crypt, [ AC_ADD_LIBRARY(crypt) AC_DEFINE(HAVE_LIBCRYPT,1,[ ]) ], []) +AC_CHECK_LIB(dl, dlopen,[AC_ADD_LIBRARY(dl)]) + dnl The sin may be in a library which need not be specifed dnl as well as res_search resides in libsocket AC_CHECK_LIB(m, sin) |