mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r18124: Keep right libs when looking for dl*() functions
(This used to be commit 12ce4cef2f)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ca720634dd
commit
7e251d1f11
@@ -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