mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r20386: remove unneeded dlopen related configure checks and includes
this is done by libreplace...
this hopefully fixes the build on HPUX 11.00
metze
(This used to be commit eed50e1047
)
This commit is contained in:
parent
0b24e3d021
commit
e1d4e31c44
@ -860,7 +860,7 @@ AC_CHECK_HEADERS(sys/mman.h sys/filio.h sys/priv.h sys/shm.h string.h strings.h
|
||||
AC_CHECK_HEADERS(sys/un.h)
|
||||
AC_CHECK_HEADERS(sys/mount.h sys/vfs.h sys/fs/s5param.h sys/filsys.h termios.h termio.h)
|
||||
AC_CHECK_HEADERS(sys/termio.h sys/statfs.h sys/dustat.h sys/statvfs.h stdarg.h sys/sockio.h)
|
||||
AC_CHECK_HEADERS(sys/sysmacros.h dlfcn.h)
|
||||
AC_CHECK_HEADERS(sys/sysmacros.h)
|
||||
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
|
||||
AC_CHECK_HEADERS(langinfo.h locale.h)
|
||||
AC_CHECK_HEADERS(xfs/libxfs.h)
|
||||
@ -977,11 +977,6 @@ if test x$enable_iprint != xno; then
|
||||
fi
|
||||
fi
|
||||
|
||||
############################################
|
||||
# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
|
||||
AC_SEARCH_LIBS(dlopen, [dl])
|
||||
# dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
|
||||
|
||||
############################################
|
||||
# check if the compiler can do immediate structures
|
||||
AC_CACHE_CHECK([if the compiler will optimize out function calls],samba_cv_optimize_out_funcation_calls, [
|
||||
@ -1223,7 +1218,7 @@ if test x"$ac_cv_func_execl" = x"no"; then
|
||||
EXTRA_BIN_PROGS="$EXTRA_BIN_PROGS bin/smbrun\$(EXEEXT)"
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNCS(dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strnlen strerror chown fchown chmod fchmod chroot link mknod mknod64)
|
||||
AC_CHECK_FUNCS(waitpid getcwd strdup strndup strnlen strerror chown fchown chmod fchmod chroot link mknod mknod64)
|
||||
AC_CHECK_FUNCS(strtol strtoll strtoul strtoull strtouq __strtoull)
|
||||
AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync memset strlcpy strlcat setpgid)
|
||||
AC_CHECK_FUNCS(memmove vsnprintf snprintf asprintf vasprintf setsid glob strpbrk pipe crypt16 getauthuid)
|
||||
|
@ -894,12 +894,6 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
|
||||
#define DEFAULT_SOCKET_OPTIONS ""
|
||||
#endif
|
||||
|
||||
/* Load header file for dynamic linking stuff */
|
||||
|
||||
#ifdef HAVE_DLFCN_H
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
/* dmalloc -- free heap debugger (dmalloc.org). This should be near
|
||||
* the *bottom* of include files so as not to conflict. */
|
||||
#ifdef ENABLE_DMALLOC
|
||||
|
Loading…
Reference in New Issue
Block a user