1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>

Jeremy.
(This used to be commit 44ed8abb2a9f2197b18565dd23a2795faf8fe241)
This commit is contained in:
Jeremy Allison 2000-10-07 00:26:04 +00:00
parent 077c41cc60
commit f601ecdda2
4 changed files with 496 additions and 382 deletions

View File

@ -119,3 +119,4 @@
#undef SYSCONF_SC_NGROUPS_MAX
#undef HAVE_UX_UT_SYSLEN
#undef COMPILER_SUPPORTS_LL
#undef HAVE_YP_GET_DEFAULT_DOMAIN

866
source3/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -349,6 +349,14 @@ if test x"$ac_cv_func_connect" = x"no"; then
fi
fi
###############################################
# test for where we get get_yp_default_domain() from
AC_CHECK_FUNCS(yp_get_default_domain)
if test x"$ac_cv_func_yp_get_default_domain" = x"no"; then
AC_CHECK_LIB(nsl, yp_get_default_domain, [LIBS="$LIBS -lnsl";
AC_DEFINE(HAVE_YP_GET_DEFAULT_DOMAIN)])
fi
# Check if we have execl, if not we need to compile smbrun.
AC_CHECK_FUNCS(execl)
if test x"$ac_cv_func_execl" = x"no"; then
@ -364,7 +372,7 @@ AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getne
AC_CHECK_FUNCS(initgroups select poll rdchk getgrnam getgrent pathconf)
AC_CHECK_FUNCS(setpriv setgidx setuidx setgroups sysconf mktime rename ftruncate stat64 fstat64)
AC_CHECK_FUNCS(lstat64 fopen64 atexit grantpt dup2 lseek64 ftruncate64 readdir64)
AC_CHECK_FUNCS(fseek64 fseeko64 ftell64 ftello64 setluid yp_get_default_domain getpwanam)
AC_CHECK_FUNCS(fseek64 fseeko64 ftell64 ftello64 setluid getpwanam)
AC_CHECK_FUNCS(srandom random srand rand setenv usleep strcasecmp fcvt fcvtl)
# syscall() is needed for smbwrapper.

View File

@ -182,6 +182,7 @@
#undef SYSCONF_SC_NGROUPS_MAX
#undef HAVE_UX_UT_SYSLEN
#undef COMPILER_SUPPORTS_LL
#undef HAVE_YP_GET_DEFAULT_DOMAIN
/* The number of bytes in a int. */
#undef SIZEOF_INT