diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-25 21:17:20 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-25 21:17:20 +0000 |
commit | 6acb4b68f68d516e2ac3c47e500f5600d653435e (patch) | |
tree | 4417f4c67b94192480fe5139f5c62923f203d15e /source/configure.in | |
parent | 68342a29a892e515cf2b22d759476d61944bcd59 (diff) | |
download | samba-6acb4b68f68d516e2ac3c47e500f5600d653435e.tar.gz samba-6acb4b68f68d516e2ac3c47e500f5600d653435e.tar.xz samba-6acb4b68f68d516e2ac3c47e500f5600d653435e.zip |
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.
Jeremy.
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 88 |
1 files changed, 14 insertions, 74 deletions
diff --git a/source/configure.in b/source/configure.in index f0befe74004..b888d099caf 100644 --- a/source/configure.in +++ b/source/configure.in @@ -186,14 +186,14 @@ if test x"$ac_cv_func_connect" = x"no"; then fi -AC_CHECK_FUNCS(waitpid getcwd strdup strerror chown chmod chroot) +AC_CHECK_FUNCS(waitpid getcwd strdup strtoul strerror chown chmod chroot) AC_CHECK_FUNCS(fstat strchr utime utimes getrlimit fsync execl bzero memset) AC_CHECK_FUNCS(memmove vsnprintf snprintf setsid glob strpbrk pipe crypt16 getauthuid) AC_CHECK_FUNCS(strftime sigprocmask sigblock sigaction innetgr setnetgrent getnetgrent endnetgrent) -AC_CHECK_FUNCS(initgroups select rdchk getgrnam pathconf putprpwnam) +AC_CHECK_FUNCS(initgroups select rdchk getgrnam pathconf) AC_CHECK_FUNCS(setuidx setgroups mktime rename ftruncate stat64 fstat64 lstat64 fopen64) -AC_CHECK_FUNCS(set_auth_parameters atexit grantpt getspnam dup2 lseek64 ftruncate64) -AC_CHECK_FUNCS(fseek64 ftell64 bigcrypt getprpwnam setluid yp_get_default_domain getpwanam) +AC_CHECK_FUNCS(atexit grantpt dup2 lseek64 ftruncate64) +AC_CHECK_FUNCS(fseek64 ftell64 setluid yp_get_default_domain getpwanam) AC_CHECK_FUNCS(srandom random srand rand setenv mmap64) # syscall() is needed for smbwrapper. AC_CHECK_FUNCS(syscall) @@ -219,80 +219,20 @@ AC_CHECK_FUNCS(open64 _open64 __open64 creat64) # Needed for OSF1 and HPUX. # -if test x"$ac_cv_func_putprpwnam" = x"no"; then - case "$LIBS" in - *-lsecurity*) ;; - *) AC_CHECK_LIB(security, putprpwnam) ;; - esac - case "$LIBS" in - *-lsec*) ;; - *) AC_CHECK_LIB(sec, putprpwnam) ;; - esac - if test x"$ac_cv_lib_security_putprpwnam" = x"yes" || - test x"$ac_cv_lib_sec_putprpwnam" = x"yes"; then - AC_DEFINE(HAVE_PUTPRPWNAM) - fi -fi +AC_LIBTESTFUNC(security, putprpwnam) +AC_LIBTESTFUNC(sec, putprpwnam) -if test x"$ac_cv_func_set_auth_parameters" = x"no"; then - case "$LIBS" in - *-lsecurity*) ;; - *) AC_CHECK_LIB(security, set_auth_parameters) ;; - esac - case "$LIBS" in - *-lsec*) ;; - *) AC_CHECK_LIB(sec, set_auth_parameters) ;; - esac - if test x"$ac_cv_lib_security_set_auth_parameters" = x"yes" || - test x"$ac_cv_lib_sec_set_auth_parameters" = x"yes"; then - AC_DEFINE(HAVE_SET_AUTH_PARAMETERS) - fi -fi +AC_LIBTESTFUNC(security, set_auth_parameters) +AC_LIBTESTFUNC(sec, set_auth_parameters) -if test x"$ac_cv_func_getspnam" = x"no"; then - case "$LIBS" in - *-lsecurity*) ;; - *) AC_CHECK_LIB(security, getspnam) ;; - esac - case "$LIBS" in - *-lsec*) ;; - *) AC_CHECK_LIB(sec, getspnam) ;; - esac - if test x"$ac_cv_lib_security_getspnam" = x"yes" || - test x"$ac_cv_lib_sec_getspnam" = x"yes"; then - AC_DEFINE(HAVE_GETSPNAM) - fi -fi +AC_LIBTESTFUNC(security, getspnam) +AC_LIBTESTFUNC(sec, getspnam) -if test x"$ac_cv_func_bigcrypt" = x"no"; then - case "$LIBS" in - *-lsecurity*) ;; - *) AC_CHECK_LIB(security, bigcrypt) ;; - esac - case "$LIBS" in - *-lsec*) ;; - *) AC_CHECK_LIB(sec, bigcrypt) ;; - esac - if test x"$ac_cv_lib_security_bigcrypt" = x"yes" || - test x"$ac_cv_lib_sec_bigcrypt" = x"yes"; then - AC_DEFINE(HAVE_BIGCRYPT) - fi -fi +AC_LIBTESTFUNC(security, bigcrypt) +AC_LIBTESTFUNC(sec, bigcrypt) -if test x"$ac_cv_func_getprpwnam" = x"no"; then - case "$LIBS" in - *-lsecurity*) ;; - *) AC_CHECK_LIB(security, getprpwnam) ;; - esac - case "$LIBS" in - *-lsec*) ;; - *) AC_CHECK_LIB(sec, getprpwnam) ;; - esac - if test x"$ac_cv_lib_security_getprpwnam" = x"yes" || - test x"$ac_cv_lib_sec_getprpwnam" = x"yes"; then - AC_DEFINE(HAVE_GETPRPWNAM) - fi -fi +AC_LIBTESTFUNC(security, getprpwnam) +AC_LIBTESTFUNC(sec, getprpwnam) # this bit needs to be modified for each OS that is suported by # smbwrapper. You need to specify how to created a shared library and |