mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
r18124: Keep right libs when looking for dl*() functions
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
e84b6c70a1
commit
12ce4cef2f
@@ -144,11 +144,11 @@ dnl dummies provided by dlfcn.c if not available
|
||||
save_LIBS="$LIBS"
|
||||
LIBS=""
|
||||
AC_SEARCH_LIBS(dlopen, dl)
|
||||
AC_CHECK_HEADERS(dlfcn.h)
|
||||
AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
|
||||
LIBDL="$LIBS"
|
||||
AC_SUBST(LIBDL)
|
||||
LIBS="$save_LIBS"
|
||||
AC_CHECK_HEADERS(dlfcn.h)
|
||||
AC_CHECK_FUNCS(dlopen dlsym dlerror dlclose)
|
||||
|
||||
AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
|
||||
[AC_MSG_ERROR([Required function not found])])
|
||||
|
||||
Reference in New Issue
Block a user