diff options
author | Jeremy Allison <jra@samba.org> | 2000-03-22 19:03:12 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-03-22 19:03:12 +0000 |
commit | 8f1620125dcb9c29c223f4efb6485528ece70f11 (patch) | |
tree | 358b480ac6e0f7e80aace7701c7e2399dacb9d4b /source3/configure.in | |
parent | c90a455f32ef8ab6eec6aaeb1fffeb00ce67fa2e (diff) | |
download | samba-8f1620125dcb9c29c223f4efb6485528ece70f11.tar.gz samba-8f1620125dcb9c29c223f4efb6485528ece70f11.tar.bz2 samba-8f1620125dcb9c29c223f4efb6485528ece70f11.zip |
acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.
include/byteorder.h: Added alignment macros.
include/nameserv.h: Added defines for msg_type field options - from rfc1002.
lib/time.c: Typo fix.
lib/util_unistr.c: Updates from UNICODE branch.
printing/nt_printing.c: bzero -> memset.
smbd/connection.c: Added check for UT_SYSLEN for utmp code.
Other fixes : Rollback of unapproved commit from Luke.
Please *ask* next time before doing large changes to HEAD.
Jeremy.
(This used to be commit f02999dbf7971b4ea05050d7206205d7737a78b2)
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index 40af4a30e3..61af9f76ec 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -688,6 +688,14 @@ if test x"$samba_cv_HAVE_UTIMBUF" = x"yes"; then AC_DEFINE(HAVE_UTIMBUF) fi +AC_CACHE_CHECK([for ut_syslen in utmpx],samba_cv_HAVE_UX_UT_SYSLEN,[ +AC_TRY_COMPILE([#include <utmpx.h>], +[struct utmpx ux; ux.ut_syslen = 0;], +samba_cv_HAVE_UX_UT_SYSLEN=yes,samba_cv_HAVE_UX_UT_SYSLEN=no,samba_cv_HAVE_UX_UT_SYSLEN=cross)]) +if test x"$samba_cv_HAVE_UX_UT_SYSLEN" = x"yes"; then + AC_DEFINE(HAVE_UX_UT_SYSLEN) +fi + AC_CACHE_CHECK([for kernel oplock type definitions],samba_cv_HAVE_KERNEL_OPLOCKS,[ AC_TRY_COMPILE([#include <sys/types.h> #include <fcntl.h>], @@ -1138,7 +1146,7 @@ AC_ARG_WITH(dfs, AC_MSG_CHECKING(whether to use Kerberos IV) AC_ARG_WITH(krb4, [ --with-krb4=base-dir Include Kerberos IV support - --without-krb4 Don't include Kerbers IV support (default)], + --without-krb4 Don't include Kerberos IV support (default)], [ AC_MSG_RESULT(yes) AC_DEFINE(KRB4_AUTH) AC_CHECK_LIB(resolv, dn_expand) @@ -1153,7 +1161,7 @@ AC_ARG_WITH(krb4, AC_MSG_CHECKING(whether to use Kerberos 5) AC_ARG_WITH(krb5, [ --with-krb5=base-dir Include Kerberos 5 support - --without-krb5 Don't include Kerbers 5 support (default)], + --without-krb5 Don't include Kerberos 5 support (default)], [ AC_MSG_RESULT(yes) AC_DEFINE(KRB5_AUTH) LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err" |