You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
370 B

  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -453,7 +453,10 @@ PHP_CHECK_FUNC(gethostname, nsl)
  4. PHP_CHECK_FUNC(gethostbyaddr, nsl)
  5. PHP_CHECK_FUNC(yp_get_default_domain, nsl)
  6. -PHP_CHECK_FUNC(dlopen, dl)
  7. +PHP_ADD_LIBRARY(dl)
  8. +PHP_DEF_HAVE(dlopen)
  9. +PHP_DEF_HAVE(libdl)
  10. +ac_cv_func_dlopen=yes
  11. if test "$ac_cv_func_dlopen" = "yes"; then
  12. AC_DEFINE(HAVE_LIBDL, 1, [ ])
  13. fi