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 | f02999dbf7971b4ea05050d7206205d7737a78b2 (patch) | |
tree | 8e1e928b3a7b4b54186c1a6e535eb36742e090f1 /source/configure.in | |
parent | 67d9b3733f7f3ffab0ff6e78de7638fb469195e6 (diff) | |
download | samba-f02999dbf7971b4ea05050d7206205d7737a78b2.tar.gz samba-f02999dbf7971b4ea05050d7206205d7737a78b2.tar.xz samba-f02999dbf7971b4ea05050d7206205d7737a78b2.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.
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/configure.in b/source/configure.in index 40af4a30e35..61af9f76ec1 100644 --- a/source/configure.in +++ b/source/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" |