summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-10-21 19:21:41 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-10-21 19:21:41 +0000
commit0013983d486d388f16594ce1d861c5cf8a3b95a8 (patch)
treeeb6acc46d55029948c7b19a53515faf2040bd61a /source3
parent6c82e994d9d796a6ffd6061eb2b5a368edfa8969 (diff)
downloadsamba-0013983d486d388f16594ce1d861c5cf8a3b95a8.tar.gz
samba-0013983d486d388f16594ce1d861c5cf8a3b95a8.tar.bz2
samba-0013983d486d388f16594ce1d861c5cf8a3b95a8.zip
Remove obsolete acconfig.h - we now use comments in AC_DEFINE()
(This used to be commit dc4fcb71edc22f36cd1f6d78a211d09c418f3309)
Diffstat (limited to 'source3')
-rw-r--r--source3/acconfig.h237
-rw-r--r--source3/aclocal.m44
-rwxr-xr-xsource3/configure647
-rw-r--r--source3/configure.in415
-rw-r--r--source3/include/config.h.in746
5 files changed, 1144 insertions, 905 deletions
diff --git a/source3/acconfig.h b/source3/acconfig.h
deleted file mode 100644
index 7b05525571..0000000000
--- a/source3/acconfig.h
+++ /dev/null
@@ -1,237 +0,0 @@
-#undef HAVE_VOLATILE
-#undef HAVE_BROKEN_READDIR
-#undef HAVE_C99_VSNPRINTF
-#undef HAVE_ERRNO_DECL
-#undef HAVE_LONGLONG
-#undef HAVE_OFF64_T
-#undef HAVE_REMSH
-#undef HAVE_UNSIGNED_CHAR
-#undef HAVE_UTIMBUF
-#undef HAVE_SIG_ATOMIC_T_TYPE
-#undef HAVE_SOCKLEN_T_TYPE
-#undef ssize_t
-#undef ino_t
-#undef ssize_t
-#undef loff_t
-#undef offset_t
-#undef aclent_t
-#undef wchar_t
-#undef HAVE_CONNECT
-#undef HAVE_SHORT_INO_T
-#undef WITH_SMBWRAPPER
-#undef WITH_AFS
-#undef WITH_DFS
-#undef SUNOS5
-#undef SUNOS4
-#undef LINUX
-#undef AIX
-#undef BSD
-#undef IRIX
-#undef UNIXWARE
-#undef SYSV
-#undef IRIX6
-#undef HPUX
-#undef QNX
-#undef SCO
-#undef OSF1
-#undef NEXT2
-#undef RELIANTUNIX
-#undef HAVE_MMAP
-#undef HAVE_FCNTL_LOCK
-#undef HAVE_FTRUNCATE_EXTEND
-#undef FTRUNCATE_NEEDS_ROOT
-#undef HAVE_TRAPDOOR_UID
-#undef HAVE_ROOT
-#undef HAVE_GETTIMEOFDAY_TZ
-#undef HAVE_SOCK_SIN_LEN
-#undef STAT_READ_FILSYS
-#undef STAT_STATFS2_BSIZE
-#undef STAT_STATFS2_FSIZE
-#undef STAT_STATFS2_FS_DATA
-#undef STAT_STATFS3_OSF1
-#undef STAT_STATFS4
-#undef STAT_STATVFS
-#undef STAT_STATVFS64
-#undef HAVE_IFACE_AIX
-#undef HAVE_IFACE_IFCONF
-#undef HAVE_IFACE_IFREQ
-#undef HAVE_CRYPT
-#undef HAVE_PUTPRPWNAM
-#undef HAVE_SET_AUTH_PARAMETERS
-#undef WITH_SYSLOG
-#undef WITH_PROFILE
-#undef WITH_PAM
-#undef WITH_NISPLUS_HOME
-#undef WITH_AUTOMOUNT
-#undef WITH_SMBMOUNT
-#undef WITH_QUOTAS
-#undef WITH_WINBIND
-#undef HAVE_BROKEN_GETGROUPS
-#undef REPLACE_GETPASS
-#undef REPLACE_INET_NTOA
-#undef HAVE_FILE_MACRO
-#undef HAVE_FUNCTION_MACRO
-#undef HAVE_VA_COPY
-#undef HAVE_SETRESUID_DECL
-#undef HAVE_SETRESUID
-#undef WITH_NETATALK
-#undef WITH_UTMP
-#undef WITH_MSDFS
-#undef WITH_LIBICONV
-#undef HAVE_INO64_T
-#undef HAVE_DEV64_T
-#undef HAVE_STRUCT_FLOCK64
-#undef SIZEOF_INO_T
-#undef SIZEOF_OFF_T
-#undef STAT_STATVFS64
-#undef HAVE_LIBREADLINE
-#undef HAVE_KERNEL_SHARE_MODES
-#undef HAVE_KERNEL_OPLOCKS_IRIX
-#undef HAVE_KERNEL_OPLOCKS_LINUX
-#undef HAVE_KERNEL_CHANGE_NOTIFY
-#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
-#undef HAVE_INT16_FROM_RPC_RPC_H
-#undef HAVE_UINT16_FROM_RPC_RPC_H
-#undef HAVE_INT32_FROM_RPC_RPC_H
-#undef HAVE_UINT32_FROM_RPC_RPC_H
-#undef KRB4_AUTH
-#undef KRB5_AUTH
-#undef KRB4_DIR
-#undef KRB5_DIR
-#undef SEEKDIR_RETURNS_VOID
-#undef HAVE_DIRENT_D_OFF
-#undef HAVE_GETSPNAM
-#undef HAVE_BIGCRYPT
-#undef HAVE_GETPRPWNAM
-#undef HAVE_FSTAT64
-#undef HAVE_LSTAT64
-#undef HAVE_STAT64
-#undef HAVE_SETRESGID
-#undef HAVE_SETRESGID_DECL
-#undef HAVE_SHADOW_H
-#undef HAVE_CUPS
-#undef HAVE_MEMSET
-#undef HAVE_STRCASECMP
-#undef HAVE_STRUCT_DIRENT64
-#undef HAVE_TRUNCATED_SALT
-#undef BROKEN_NISPLUS_INCLUDE_FILES
-#undef HAVE_RPC_AUTH_ERROR_CONFLICT
-#undef HAVE_EXPLICIT_LARGEFILE_SUPPORT
-#undef USE_BOTH_CRYPT_CALLS
-#undef HAVE_BROKEN_FCNTL64_LOCKS
-#undef HAVE_SECURE_MKSTEMP
-#undef HAVE_FNMATCH
-#undef USE_SETEUID
-#undef USE_SETRESUID
-#undef USE_SETREUID
-#undef USE_SETUIDX
-#undef HAVE_DLOPEN
-#undef HAVE_DLCLOSE
-#undef HAVE_DLSYM
-#undef HAVE_DLERROR
-#undef SYSCONF_SC_NGROUPS_MAX
-#undef HAVE_UT_UT_NAME
-#undef HAVE_UT_UT_USER
-#undef HAVE_UT_UT_ID
-#undef HAVE_UT_UT_HOST
-#undef HAVE_UT_UT_TIME
-#undef HAVE_UT_UT_TV
-#undef HAVE_UT_UT_TYPE
-#undef HAVE_UT_UT_PID
-#undef HAVE_UT_UT_EXIT
-#undef HAVE_UT_UT_ADDR
-#undef HAVE_UX_UT_SYSLEN
-#undef PUTUTLINE_RETURNS_UTMP
-#undef COMPILER_SUPPORTS_LL
-#undef HAVE_YP_GET_DEFAULT_DOMAIN
-#undef USE_SPINLOCKS
-#undef SPARC_SPINLOCKS
-#undef INTEL_SPINLOCKS
-#undef MIPS_SPINLOCKS
-#undef POWERPC_SPINLOCKS
-#undef HAVE_POSIX_ACLS
-#undef HAVE_ACL_GET_PERM_NP
-#undef HAVE_UNIXWARE_ACLS
-#undef HAVE_SOLARIS_ACLS
-#undef HAVE_HPUX_ACLS
-#undef HAVE_IRIX_ACLS
-#undef HAVE_AIX_ACLS
-#undef HAVE_TRU64_ACLS
-#undef HAVE_NO_ACLS
-#undef HAVE_LIBPAM
-#undef HAVE_ASPRINTF_DECL
-#undef HAVE_VASPRINTF_DECL
-#undef HAVE_SNPRINTF_DECL
-#undef HAVE_VSNPRINTF_DECL
-#undef HAVE_NATIVE_ICONV
-#undef HAVE_UNIXSOCKET
-#undef MMAP_BLACKLIST
-#undef HAVE_IMMEDIATE_STRUCTURES
-#undef HAVE_CUPS
-#undef WITH_SAM
-#undef WITH_LDAP_SAMCONFIG
-#undef WITH_NISPLUS_SAM
-#undef WITH_TDB_SAM
-#undef LINUX_QUOTAS_1
-#undef LINUX_QUOTAS_2
-#undef PACKAGE
-#undef VERSION
-#undef HAVE_LC_MESSAGES
-#undef ENABLE_NLS
-#undef HAVE_CATGETS
-#undef HAVE_GETTEXT
-#undef HAVE_STPCPY
-#undef I18N_SWAT
-#undef I18N_DEFAULT_PREF_LANG
-#undef HAVE_KRB5
-#undef HAVE_GSSAPI
-#undef BROKEN_REDHAT_7_SYSTEM_HEADERS
-#undef HAVE_LDAP
-#undef HAVE_STAT_ST_BLOCKS
-#undef STAT_ST_BLOCKSIZE
-#undef HAVE_STAT_ST_BLKSIZE
-#undef HAVE_DEVICE_MAJOR_FN
-#undef HAVE_DEVICE_MINOR_FN
-#undef HAVE_PASSWD_PW_COMMENT
-#undef HAVE_PASSWD_PW_AGE
-/*
- * Add these definitions to allow VFS modules to
- * see the CPPFLAGS defines.
- */
-#ifndef _HPUX_SOURCE
-#undef _HPUX_SOURCE
-#endif
-#ifndef _POSIX_SOURCE
-#undef _POSIX_SOURCE
-#endif
-#ifndef _LARGEFILE64_SOURCE
-#undef _LARGEFILE64_SOURCE
-#endif
-#ifndef _ALIGNMENT_REQUIRED
-#undef _ALIGNMENT_REQUIRED
-#endif
-#ifndef _MAX_ALIGNMENT
-#undef _MAX_ALIGNMENT
-#endif
-#ifndef _LARGE_FILES
-#undef _LARGE_FILES
-#endif
-#ifndef _FILE_OFFSET_BITS
-#undef _FILE_OFFSET_BITS
-#endif
-#ifndef _GNU_SOURCE
-#undef _GNU_SOURCE
-#endif
-
-#undef LDAP_SET_REBIND_PROC_ARGS
-#undef HAVE_SENDFILE
-#undef HAVE_SENDFILE64
-#undef LINUX_SENDFILE_API
-#undef LINUX_BROKEN_SENDFILE_API
-#undef WITH_SENDFILE
-#undef FREEBSD_SENDFILE_API
-#undef HPUX_SENDFILE_API
-#undef WITH_ADS
-#undef HAVE_SENDFILEV
-#undef HAVE_SENDFILEV64
-#undef SOLARIS_SENDFILE_API
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 4ae5336a4b..f04ec9d50d 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -32,7 +32,7 @@ AC_DEFUN(AC_DIRENT_D_OFF,
#include <dirent.h>], [struct dirent d; d.d_off;],
ac_cv_dirent_d_off=yes, ac_cv_dirent_d_off=no)])
if test $ac_cv_dirent_d_off = yes; then
- AC_DEFINE(HAVE_DIRENT_D_OFF)
+ AC_DEFINE(HAVE_DIRENT_D_OFF,1,[Whether dirent has a d_off member])
fi
])
@@ -58,7 +58,7 @@ AC_DEFUN(AC_HAVE_DECL,
AC_TRY_COMPILE([$2],[int i = (int)$1],
ac_cv_have_$1_decl=yes,ac_cv_have_$1_decl=no)])
if test x"$ac_cv_have_$1_decl" = x"yes"; then
- AC_DEFINE([HAVE_]translit([$1], [a-z], [A-Z])[_DECL])
+ AC_DEFINE([HAVE_]translit([$1], [a-z], [A-Z])[_DECL],1,[Whether $1() is available])
fi
])
diff --git a/source3/configure b/source3/configure
index 58a8bfa68e..e3237c9f26 100755
--- a/source3/configure
+++ b/source3/configure
@@ -2704,7 +2704,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_volatile" >&5
echo "${ECHO_T}$samba_cv_volatile" >&6
if test x"$samba_cv_volatile" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_VOLATILE 1
_ACEOF
@@ -2853,7 +2854,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_Ae" >&5
echo "${ECHO_T}$ac_cv_prog_cc_Ae" >&6
# mmap on HPUX is completely broken...
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define MMAP_BLACKLIST 1
_ACEOF
@@ -2868,50 +2870,61 @@ _ACEOF
case `uname -r` in
*9*|*10*)
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_BOTH_CRYPT_CALLS 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _HPUX_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _POSIX_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _ALIGNMENT_REQUIRED 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _MAX_ALIGNMENT 4
_ACEOF
;;
*11*)
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_BOTH_CRYPT_CALLS 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _HPUX_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _POSIX_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _ALIGNMENT_REQUIRED 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _MAX_ALIGNMENT 4
_ACEOF
@@ -2936,7 +2949,8 @@ echo "${ECHO_T}disabling const" >&6
echo "$as_me:$LINENO: result: enabling large file support" >&5
echo "${ECHO_T}enabling large file support" >&6
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGE_FILES 1
_ACEOF
@@ -2965,18 +2979,21 @@ echo "${ECHO_T}enabling large file support" >&6
case "$ac_cv_gcc_compiler_version_number" in
*"gcc version 2.6"*|*"gcc version 2.7"*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
;;
*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _FILE_OFFSET_BITS 64
_ACEOF
@@ -2984,11 +3001,13 @@ _ACEOF
esac
else
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _FILE_OFFSET_BITS 64
_ACEOF
@@ -3045,7 +3064,8 @@ fi
CPPFLAGS="$old_CPPFLAGS"
if test x$SINIX_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE $CPPFLAGS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
@@ -3131,15 +3151,18 @@ fi
CPPFLAGS="$old_CPPFLAGS"
if test x$LINUX_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _FILE_OFFSET_BITS 64
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
@@ -3193,11 +3216,13 @@ fi
CPPFLAGS="$old_CPPFLAGS"
if test x$GLIBC_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
@@ -5146,7 +5171,8 @@ ac_cv_header_shadow_h=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
if test x"$ac_cv_header_shadow_h" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SHADOW_H 1
_ACEOF
@@ -7858,7 +7884,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_dirent_d_off" >&5
echo "${ECHO_T}$ac_cv_dirent_d_off" >&6
if test $ac_cv_dirent_d_off = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_DIRENT_D_OFF 1
_ACEOF
@@ -8176,7 +8203,8 @@ fi
if test "x$CUPS_CONFIG" != x; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CUPS 1
_ACEOF
@@ -8187,7 +8215,7 @@ _ACEOF
fi
############################################
-# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the new VFS code
+# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
for ac_func in dlopen
do
@@ -8310,7 +8338,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
if test $ac_cv_lib_dl_dlopen = yes; then
LIBS="$LIBS -ldl";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_DLOPEN 1
_ACEOF
@@ -8373,7 +8402,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_immediate_structures" >&5
echo "${ECHO_T}$samba_cv_immediate_structures" >&6
if test x"$samba_cv_immediate_structures" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IMMEDIATE_STRUCTURES 1
_ACEOF
@@ -8430,7 +8460,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_unixsocket" >&5
echo "${ECHO_T}$samba_cv_unixsocket" >&6
if test x"$samba_cv_unixsocket" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UNIXSOCKET 1
_ACEOF
@@ -8484,7 +8515,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_socklen_t" >&5
echo "${ECHO_T}$samba_cv_socklen_t" >&6
if test x"$samba_cv_socklen_t" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SOCKLEN_T_TYPE 1
_ACEOF
@@ -8537,7 +8569,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_sig_atomic_t" >&5
echo "${ECHO_T}$samba_cv_sig_atomic_t" >&6
if test x"$samba_cv_sig_atomic_t" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SIG_ATOMIC_T_TYPE 1
_ACEOF
@@ -8586,7 +8619,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_errno_decl" >&5
echo "${ECHO_T}$ac_cv_have_errno_decl" >&6
if test x"$ac_cv_have_errno_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_ERRNO_DECL 1
_ACEOF
@@ -8634,7 +8668,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_setresuid_decl" >&5
echo "${ECHO_T}$ac_cv_have_setresuid_decl" >&6
if test x"$ac_cv_have_setresuid_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SETRESUID_DECL 1
_ACEOF
@@ -8682,7 +8717,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_setresgid_decl" >&5
echo "${ECHO_T}$ac_cv_have_setresgid_decl" >&6
if test x"$ac_cv_have_setresgid_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SETRESGID_DECL 1
_ACEOF
@@ -8730,7 +8766,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_asprintf_decl" >&5
echo "${ECHO_T}$ac_cv_have_asprintf_decl" >&6
if test x"$ac_cv_have_asprintf_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_ASPRINTF_DECL 1
_ACEOF
@@ -8778,7 +8815,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_vasprintf_decl" >&5
echo "${ECHO_T}$ac_cv_have_vasprintf_decl" >&6
if test x"$ac_cv_have_vasprintf_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_VASPRINTF_DECL 1
_ACEOF
@@ -8826,7 +8864,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_vsnprintf_decl" >&5
echo "${ECHO_T}$ac_cv_have_vsnprintf_decl" >&6
if test x"$ac_cv_have_vsnprintf_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_VSNPRINTF_DECL 1
_ACEOF
@@ -8874,7 +8913,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_have_snprintf_decl" >&5
echo "${ECHO_T}$ac_cv_have_snprintf_decl" >&6
if test x"$ac_cv_have_snprintf_decl" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SNPRINTF_DECL 1
_ACEOF
@@ -8923,7 +8963,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_have_setresuid" >&5
echo "${ECHO_T}$samba_cv_have_setresuid" >&6
if test x"$samba_cv_have_setresuid" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SETRESUID 1
_ACEOF
@@ -8972,7 +9013,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_have_setresgid" >&5
echo "${ECHO_T}$samba_cv_have_setresgid" >&6
if test x"$samba_cv_have_setresgid" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SETRESGID 1
_ACEOF
@@ -9173,7 +9215,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
if test $ac_cv_lib_crypt_crypt = yes; then
AUTHLIBS="$AUTHLIBS -lcrypt";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CRYPT 1
_ACEOF
@@ -9647,7 +9690,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_callback_handler_install" >
echo "${ECHO_T}$ac_cv_lib_readline_rl_callback_handler_install" >&6
if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
TERMLIBS="-lreadline $TERMLIBS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBREADLINE 1
_ACEOF
@@ -10130,7 +10174,8 @@ if test $ac_cv_lib_readline_rl_callback_handler_install = yes; then
TERMCPPFLAGS="-I$with_readline/include"
CPPFLAGS="-I$with_readline/include $CPPFLAGS"
TERMLIBS="-lreadline $TERMLIBS"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBREADLINE 1
_ACEOF
@@ -10545,7 +10590,8 @@ fi
test x"$ac_cv_lib_inet_connect" = x"yes"; then
# ac_cv_func_connect=yes
# don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CONNECT 1
_ACEOF
@@ -10676,7 +10722,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
LIBS="$LIBS -lnsl";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_YP_GET_DEFAULT_DOMAIN 1
_ACEOF
@@ -12783,7 +12830,8 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_cv_func_stat64" >&5
echo "${ECHO_T}$ac_cv_func_stat64" >&6
if test x$ac_cv_func_stat64 = xyes ; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STAT64 1
_ACEOF
@@ -12832,7 +12880,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "${ECHO_T}$ac_cv_func_lstat64" >&6
if test x$ac_cv_func_lstat64 = xyes ; then
cat >>confdefs.h <<\_ACEOF
-#define HAVE_LSTAT64 1
+#define HAVE_LSTAT64 Whether lstat64() is available
_ACEOF
fi
@@ -12879,7 +12927,8 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_cv_func_fstat64" >&5
echo "${ECHO_T}$ac_cv_func_fstat64" >&6
if test x$ac_cv_func_fstat64 = xyes ; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_FSTAT64 1
_ACEOF
@@ -15214,7 +15263,8 @@ echo $ECHO_N "checking ability to build shared libraries... $ECHO_C" >&6
# and these are for particular systems
case "$host_os" in
- *linux*) cat >>confdefs.h <<\_ACEOF
+ *linux*)
+cat >>confdefs.h <<\_ACEOF
#define LINUX 1
_ACEOF
@@ -15228,7 +15278,8 @@ _ACEOF
_ACEOF
;;
- *solaris*) cat >>confdefs.h <<\_ACEOF
+ *solaris*)
+cat >>confdefs.h <<\_ACEOF
#define SUNOS5 1
_ACEOF
@@ -15248,12 +15299,14 @@ _ACEOF
POBAD_CC=""
PICSUFFIX="po.o"
fi
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE 512
_ACEOF
;;
- *sunos*) cat >>confdefs.h <<\_ACEOF
+ *sunos*)
+cat >>confdefs.h <<\_ACEOF
#define SUNOS4 1
_ACEOF
@@ -15267,7 +15320,8 @@ _ACEOF
DYNEXP="-Wl,--export-dynamic"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC -DPIC"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE 512
_ACEOF
@@ -15277,17 +15331,20 @@ _ACEOF
DYNEXP="-Wl,-Bdynamic"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE 512
_ACEOF
;;
- *irix*) cat >>confdefs.h <<\_ACEOF
+ *irix*)
+cat >>confdefs.h <<\_ACEOF
#define IRIX 1
_ACEOF
case "$host_os" in
- *irix6*) cat >>confdefs.h <<\_ACEOF
+ *irix6*)
+cat >>confdefs.h <<\_ACEOF
#define IRIX6 1
_ACEOF
@@ -15303,12 +15360,14 @@ _ACEOF
else
PICFLAG="-KPIC"
fi
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE 512
_ACEOF
;;
- *aix*) cat >>confdefs.h <<\_ACEOF
+ *aix*)
+cat >>confdefs.h <<\_ACEOF
#define AIX 1
_ACEOF
@@ -15321,12 +15380,14 @@ _ACEOF
CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
fi
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE DEV_BSIZE
_ACEOF
;;
- *hpux*) cat >>confdefs.h <<\_ACEOF
+ *hpux*)
+cat >>confdefs.h <<\_ACEOF
#define HPUX 1
_ACEOF
@@ -15340,16 +15401,19 @@ _ACEOF
PICFLAG="+z"
fi
DYNEXP="-Wl,-E"
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_ST_BLOCKSIZE 8192
_ACEOF
;;
- *qnx*) cat >>confdefs.h <<\_ACEOF
+ *qnx*)
+cat >>confdefs.h <<\_ACEOF
#define QNX 1
_ACEOF
;;
- *osf*) cat >>confdefs.h <<\_ACEOF
+ *osf*)
+cat >>confdefs.h <<\_ACEOF
#define OSF1 1
_ACEOF
@@ -15358,11 +15422,13 @@ _ACEOF
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
;;
- *sco*) cat >>confdefs.h <<\_ACEOF
+ *sco*)
+cat >>confdefs.h <<\_ACEOF
#define SCO 1
_ACEOF
;;
- *unixware*) cat >>confdefs.h <<\_ACEOF
+ *unixware*)
+cat >>confdefs.h <<\_ACEOF
#define UNIXWARE 1
_ACEOF
@@ -15371,7 +15437,8 @@ _ACEOF
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-KPIC"
;;
- *next2*) cat >>confdefs.h <<\_ACEOF
+ *next2*)
+cat >>confdefs.h <<\_ACEOF
#define NEXT2 1
_ACEOF
;;
@@ -15410,13 +15477,15 @@ else
echo "${ECHO_T}no" >&6
fi
;;
- *sysv4*) cat >>confdefs.h <<\_ACEOF
+ *sysv4*)
+cat >>confdefs.h <<\_ACEOF
#define SYSV 1
_ACEOF
case "$host" in
*-univel-*) if test "$GCC" != yes ; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_MEMSET 1
_ACEOF
@@ -15424,29 +15493,28 @@ _ACEOF
LDSHFLAGS="-G"
DYNEXP="-Bexport"
;;
- *mips-sni-sysv4*) cat >>confdefs.h <<\_ACEOF
+ *mips-sni-sysv4*)
+cat >>confdefs.h <<\_ACEOF
#define RELIANTUNIX 1
_ACEOF
;;
esac
;;
- *sysv5*) cat >>confdefs.h <<\_ACEOF
+ *sysv5*)
+cat >>confdefs.h <<\_ACEOF
#define SYSV 1
_ACEOF
if test "$GCC" != yes ; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_MEMSET 1
_ACEOF
fi
LDSHFLAGS="-G"
;;
- *sysv*) cat >>confdefs.h <<\_ACEOF
-#define SYSV 1
-_ACEOF
-;;
esac
echo "$as_me:$LINENO: result: $BLDSHARED" >&5
@@ -15534,7 +15602,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_have_longlong" >&5
echo "${ECHO_T}$samba_cv_have_longlong" >&6
if test x"$samba_cv_have_longlong" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LONGLONG 1
_ACEOF
@@ -15585,7 +15654,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_compiler_supports_ll" >&5
echo "${ECHO_T}$samba_cv_compiler_supports_ll" >&6
if test x"$samba_cv_compiler_supports_ll" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define COMPILER_SUPPORTS_LL 1
_ACEOF
@@ -15633,7 +15703,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_OFF_T" >&5
echo "${ECHO_T}$samba_cv_SIZEOF_OFF_T" >&6
if test x"$samba_cv_SIZEOF_OFF_T" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SIZEOF_OFF_T 8
_ACEOF
@@ -15684,7 +15755,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_OFF64_T" >&5
echo "${ECHO_T}$samba_cv_HAVE_OFF64_T" >&6
if test x"$samba_cv_HAVE_OFF64_T" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_OFF64_T 1
_ACEOF
@@ -15731,7 +15803,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_SIZEOF_INO_T" >&5
echo "${ECHO_T}$samba_cv_SIZEOF_INO_T" >&6
if test x"$samba_cv_SIZEOF_INO_T" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SIZEOF_INO_T 8
_ACEOF
@@ -15782,7 +15855,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_INO64_T" >&5
echo "${ECHO_T}$samba_cv_HAVE_INO64_T" >&6
if test x"$samba_cv_HAVE_INO64_T" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_INO64_T 1
_ACEOF
@@ -15833,7 +15907,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEV64_T" >&5
echo "${ECHO_T}$samba_cv_HAVE_DEV64_T" >&6
if test x"$samba_cv_HAVE_DEV64_T" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_DEV64_T 1
_ACEOF
@@ -15885,7 +15960,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_DIRENT64" >&5
echo "${ECHO_T}$samba_cv_HAVE_STRUCT_DIRENT64" >&6
if test x"$samba_cv_HAVE_STRUCT_DIRENT64" = x"yes" && test x"$ac_cv_func_readdir64" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_DIRENT64 1
_ACEOF
@@ -15935,7 +16011,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MAJOR_FN" >&5
echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MAJOR_FN" >&6
if test x"$samba_cv_HAVE_DEVICE_MAJOR_FN" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_DEVICE_MAJOR_FN 1
_ACEOF
@@ -15985,7 +16062,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_DEVICE_MINOR_FN" >&5
echo "${ECHO_T}$samba_cv_HAVE_DEVICE_MINOR_FN" >&6
if test x"$samba_cv_HAVE_DEVICE_MINOR_FN" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_DEVICE_MINOR_FN 1
_ACEOF
@@ -16031,7 +16109,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UNSIGNED_CHAR" >&5
echo "${ECHO_T}$samba_cv_HAVE_UNSIGNED_CHAR" >&6
if test x"$samba_cv_HAVE_UNSIGNED_CHAR" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UNSIGNED_CHAR 1
_ACEOF
@@ -16080,7 +16159,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_SOCK_SIN_LEN" >&5
echo "${ECHO_T}$samba_cv_HAVE_SOCK_SIN_LEN" >&6
if test x"$samba_cv_HAVE_SOCK_SIN_LEN" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SOCK_SIN_LEN 1
_ACEOF
@@ -16129,7 +16209,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_SEEKDIR_RETURNS_VOID" >&5
echo "${ECHO_T}$samba_cv_SEEKDIR_RETURNS_VOID" >&6
if test x"$samba_cv_SEEKDIR_RETURNS_VOID" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SEEKDIR_RETURNS_VOID 1
_ACEOF
@@ -16176,7 +16257,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_FILE_MACRO" >&5
echo "${ECHO_T}$samba_cv_HAVE_FILE_MACRO" >&6
if test x"$samba_cv_HAVE_FILE_MACRO" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_FILE_MACRO 1
_ACEOF
@@ -16223,7 +16305,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_FUNCTION_MACRO" >&5
echo "${ECHO_T}$samba_cv_HAVE_FUNCTION_MACRO" >&6
if test x"$samba_cv_HAVE_FUNCTION_MACRO" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_FUNCTION_MACRO 1
_ACEOF
@@ -16271,7 +16354,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_GETTIMEOFDAY_TZ" >&5
echo "${ECHO_T}$samba_cv_HAVE_GETTIMEOFDAY_TZ" >&6
if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_GETTIMEOFDAY_TZ 1
_ACEOF
@@ -16319,7 +16403,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_VA_COPY" >&5
echo "${ECHO_T}$samba_cv_HAVE_VA_COPY" >&6
if test x"$samba_cv_HAVE_VA_COPY" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_VA_COPY 1
_ACEOF
@@ -16387,7 +16472,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_C99_VSNPRINTF" >&5
echo "${ECHO_T}$samba_cv_HAVE_C99_VSNPRINTF" >&6
if test x"$samba_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_C99_VSNPRINTF 1
_ACEOF
@@ -16436,7 +16522,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_READDIR" >&5
echo "${ECHO_T}$samba_cv_HAVE_BROKEN_READDIR" >&6
if test x"$samba_cv_HAVE_BROKEN_READDIR" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_BROKEN_READDIR 1
_ACEOF
@@ -16484,7 +16571,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UTIMBUF" >&5
echo "${ECHO_T}$samba_cv_HAVE_UTIMBUF" >&6
if test x"$samba_cv_HAVE_UTIMBUF" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UTIMBUF 1
_ACEOF
@@ -16608,7 +16696,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_NAME" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_NAME" >&6
if test x"$samba_cv_HAVE_UT_UT_NAME" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_NAME 1
_ACEOF
@@ -16656,7 +16745,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_USER" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_USER" >&6
if test x"$samba_cv_HAVE_UT_UT_USER" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_USER 1
_ACEOF
@@ -16704,7 +16794,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ID" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ID" >&6
if test x"$samba_cv_HAVE_UT_UT_ID" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_ID 1
_ACEOF
@@ -16752,7 +16843,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_HOST" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_HOST" >&6
if test x"$samba_cv_HAVE_UT_UT_HOST" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_HOST 1
_ACEOF
@@ -16800,7 +16892,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TIME" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TIME" >&6
if test x"$samba_cv_HAVE_UT_UT_TIME" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_TIME 1
_ACEOF
@@ -16848,7 +16941,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TV" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TV" >&6
if test x"$samba_cv_HAVE_UT_UT_TV" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_TV 1
_ACEOF
@@ -16896,7 +16990,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_TYPE" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_TYPE" >&6
if test x"$samba_cv_HAVE_UT_UT_TYPE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_TYPE 1
_ACEOF
@@ -16944,7 +17039,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_PID" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_PID" >&6
if test x"$samba_cv_HAVE_UT_UT_PID" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_PID 1
_ACEOF
@@ -16992,7 +17088,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_EXIT" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_EXIT" >&6
if test x"$samba_cv_HAVE_UT_UT_EXIT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_EXIT 1
_ACEOF
@@ -17040,7 +17137,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UT_UT_ADDR" >&5
echo "${ECHO_T}$samba_cv_HAVE_UT_UT_ADDR" >&6
if test x"$samba_cv_HAVE_UT_UT_ADDR" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UT_UT_ADDR 1
_ACEOF
@@ -17089,7 +17187,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_PUTUTLINE_RETURNS_UTMP" >&5
echo "${ECHO_T}$samba_cv_PUTUTLINE_RETURNS_UTMP" >&6
if test x"$samba_cv_PUTUTLINE_RETURNS_UTMP" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define PUTUTLINE_RETURNS_UTMP 1
_ACEOF
@@ -17138,7 +17237,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UX_UT_SYSLEN" >&5
echo "${ECHO_T}$samba_cv_HAVE_UX_UT_SYSLEN" >&6
if test x"$samba_cv_HAVE_UX_UT_SYSLEN" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UX_UT_SYSLEN 1
_ACEOF
@@ -17222,7 +17322,8 @@ _ACEOF
fi
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<_ACEOF
#define WITH_LIBICONV "${withval}"
_ACEOF
@@ -17283,7 +17384,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_NATIVE_ICONV" >&5
echo "${ECHO_T}$samba_cv_HAVE_NATIVE_ICONV" >&6
if test x"$samba_cv_HAVE_NATIVE_ICONV" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_NATIVE_ICONV 1
_ACEOF
@@ -17339,7 +17441,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&5
echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" >&6
if test x"$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_KERNEL_OPLOCKS_LINUX 1
_ACEOF
@@ -17394,7 +17497,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&5
echo "${ECHO_T}$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" >&6
if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_KERNEL_CHANGE_NOTIFY 1
_ACEOF
@@ -17451,7 +17555,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_SHARE_MODES" >&5
echo "${ECHO_T}$samba_cv_HAVE_KERNEL_SHARE_MODES" >&6
if test x"$samba_cv_HAVE_KERNEL_SHARE_MODES" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_KERNEL_SHARE_MODES 1
_ACEOF
@@ -17502,7 +17607,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&5
echo "${ECHO_T}$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" >&6
if test x"$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_KERNEL_OPLOCKS_IRIX 1
_ACEOF
@@ -17558,7 +17664,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&5
echo "${ECHO_T}$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" >&6
if test x"$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IRIX_SPECIFIC_CAPABILITIES 1
_ACEOF
@@ -17613,7 +17720,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&5
echo "${ECHO_T}$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" >&6
if test x"$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_INT16_FROM_RPC_RPC_H 1
_ACEOF
@@ -17663,7 +17771,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&5
echo "${ECHO_T}$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" >&6
if test x"$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UINT16_FROM_RPC_RPC_H 1
_ACEOF
@@ -17713,7 +17822,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&5
echo "${ECHO_T}$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" >&6
if test x"$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_INT32_FROM_RPC_RPC_H 1
_ACEOF
@@ -17763,7 +17873,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&5
echo "${ECHO_T}$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" >&6
if test x"$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UINT32_FROM_RPC_RPC_H 1
_ACEOF
@@ -17818,7 +17929,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&5
echo "${ECHO_T}$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" >&6
if test x"$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_RPC_AUTH_ERROR_CONFLICT 1
_ACEOF
@@ -17899,7 +18011,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_FTRUNCATE_EXTEND" >&5
echo "${ECHO_T}$samba_cv_HAVE_FTRUNCATE_EXTEND" >&6
if test x"$samba_cv_HAVE_FTRUNCATE_EXTEND" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_FTRUNCATE_EXTEND 1
_ACEOF
@@ -17991,7 +18104,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_GETGROUPS" >&5
echo "${ECHO_T}$samba_cv_HAVE_BROKEN_GETGROUPS" >&6
if test x"$samba_cv_HAVE_BROKEN_GETGROUPS" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_BROKEN_GETGROUPS 1
_ACEOF
@@ -18048,7 +18162,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_REPLACE_GETPASS" >&5
echo "${ECHO_T}$samba_cv_REPLACE_GETPASS" >&6
if test x"$samba_cv_REPLACE_GETPASS" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define REPLACE_GETPASS 1
_ACEOF
@@ -18103,7 +18218,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_REPLACE_INET_NTOA" >&5
echo "${ECHO_T}$samba_cv_REPLACE_INET_NTOA" >&6
if test x"$samba_cv_REPLACE_INET_NTOA" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define REPLACE_INET_NTOA 1
_ACEOF
@@ -18161,7 +18277,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_SECURE_MKSTEMP" >&5
echo "${ECHO_T}$samba_cv_HAVE_SECURE_MKSTEMP" >&6
if test x"$samba_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SECURE_MKSTEMP 1
_ACEOF
@@ -18207,7 +18324,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_SYSCONF_SC_NGROUPS_MAX" >&5
echo "${ECHO_T}$samba_cv_SYSCONF_SC_NGROUPS_MAX" >&6
if test x"$samba_cv_SYSCONF_SC_NGROUPS_MAX" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SYSCONF_SC_NGROUPS_MAX 1
_ACEOF
@@ -18252,7 +18370,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_ROOT" >&5
echo "${ECHO_T}$samba_cv_HAVE_ROOT" >&6
if test x"$samba_cv_HAVE_ROOT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_ROOT 1
_ACEOF
@@ -18307,7 +18426,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_AIX" >&5
echo "${ECHO_T}$samba_cv_HAVE_IFACE_AIX" >&6
if test x"$samba_cv_HAVE_IFACE_AIX" = x"yes"; then
- iface=yes;cat >>confdefs.h <<\_ACEOF
+ iface=yes;
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IFACE_AIX 1
_ACEOF
@@ -18357,7 +18477,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFCONF" >&5
echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFCONF" >&6
if test x"$samba_cv_HAVE_IFACE_IFCONF" = x"yes"; then
- iface=yes;cat >>confdefs.h <<\_ACEOF
+ iface=yes;
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IFACE_IFCONF 1
_ACEOF
@@ -18408,7 +18529,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_IFACE_IFREQ" >&5
echo "${ECHO_T}$samba_cv_HAVE_IFACE_IFREQ" >&6
if test x"$samba_cv_HAVE_IFACE_IFREQ" = x"yes"; then
- iface=yes;cat >>confdefs.h <<\_ACEOF
+ iface=yes;
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IFACE_IFREQ 1
_ACEOF
@@ -18463,7 +18585,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_USE_SETRESUID" >&5
echo "${ECHO_T}$samba_cv_USE_SETRESUID" >&6
if test x"$samba_cv_USE_SETRESUID" = x"yes"; then
- seteuid=yes;cat >>confdefs.h <<\_ACEOF
+ seteuid=yes;
+cat >>confdefs.h <<\_ACEOF
#define USE_SETRESUID 1
_ACEOF
@@ -18515,7 +18638,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_USE_SETREUID" >&5
echo "${ECHO_T}$samba_cv_USE_SETREUID" >&6
if test x"$samba_cv_USE_SETREUID" = x"yes"; then
- seteuid=yes;cat >>confdefs.h <<\_ACEOF
+ seteuid=yes;
+cat >>confdefs.h <<\_ACEOF
#define USE_SETREUID 1
_ACEOF
@@ -18566,7 +18690,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_USE_SETEUID" >&5
echo "${ECHO_T}$samba_cv_USE_SETEUID" >&6
if test x"$samba_cv_USE_SETEUID" = x"yes"; then
- seteuid=yes;cat >>confdefs.h <<\_ACEOF
+ seteuid=yes;
+cat >>confdefs.h <<\_ACEOF
#define USE_SETEUID 1
_ACEOF
@@ -18617,7 +18742,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_USE_SETUIDX" >&5
echo "${ECHO_T}$samba_cv_USE_SETUIDX" >&6
if test x"$samba_cv_USE_SETUIDX" = x"yes"; then
- seteuid=yes;cat >>confdefs.h <<\_ACEOF
+ seteuid=yes;
+cat >>confdefs.h <<\_ACEOF
#define USE_SETUIDX 1
_ACEOF
@@ -18664,7 +18790,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_MMAP" >&5
echo "${ECHO_T}$samba_cv_HAVE_MMAP" >&6
if test x"$samba_cv_HAVE_MMAP" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_MMAP 1
_ACEOF
@@ -18709,7 +18836,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_FTRUNCATE_NEEDS_ROOT" >&5
echo "${ECHO_T}$samba_cv_FTRUNCATE_NEEDS_ROOT" >&6
if test x"$samba_cv_FTRUNCATE_NEEDS_ROOT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define FTRUNCATE_NEEDS_ROOT 1
_ACEOF
@@ -18754,7 +18882,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_FCNTL_LOCK" >&5
echo "${ECHO_T}$samba_cv_HAVE_FCNTL_LOCK" >&6
if test x"$samba_cv_HAVE_FCNTL_LOCK" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_FCNTL_LOCK 1
_ACEOF
@@ -18799,7 +18928,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&5
echo "${ECHO_T}$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" >&6
if test x"$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_BROKEN_FCNTL64_LOCKS 1
_ACEOF
@@ -18867,7 +18997,8 @@ echo "$as_me:$LINENO: result: $samba_cv_HAVE_STRUCT_FLOCK64" >&5
echo "${ECHO_T}$samba_cv_HAVE_STRUCT_FLOCK64" >&6
if test x"$samba_cv_HAVE_STRUCT_FLOCK64" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_FLOCK64 1
_ACEOF
@@ -18917,7 +19048,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLOCKS" >&5
echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLOCKS" >&6
if test x"$samba_cv_HAVE_STAT_ST_BLOCKS" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STAT_ST_BLOCKS 1
_ACEOF
@@ -18966,7 +19098,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_STAT_ST_BLKSIZE" >&5
echo "${ECHO_T}$samba_cv_HAVE_STAT_ST_BLKSIZE" >&6
if test x"$samba_cv_HAVE_STAT_ST_BLKSIZE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STAT_ST_BLKSIZE 1
_ACEOF
@@ -19022,7 +19155,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&5
echo "${ECHO_T}$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" >&6
if test x"$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define BROKEN_REDHAT_7_SYSTEM_HEADERS 1
_ACEOF
@@ -19074,7 +19208,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&5
echo "${ECHO_T}$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" >&6
if test x"$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define BROKEN_NISPLUS_INCLUDE_FILES 1
_ACEOF
@@ -19093,7 +19228,8 @@ if test "${with_smbwrapper+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SMBWRAPPER 1
_ACEOF
@@ -19144,7 +19280,8 @@ if test "${with_afs+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_AFS 1
_ACEOF
@@ -19173,7 +19310,8 @@ if test "${with_dfs+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_DFS 1
_ACEOF
@@ -19208,7 +19346,8 @@ if test "${with_ads+set}" = set; then
fi;
if test x"$with_ads_support" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_ADS 1
_ACEOF
@@ -19667,7 +19806,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_mk_req_extended" >&5
echo "${ECHO_T}$ac_cv_lib_krb5_krb5_mk_req_extended" >&6
if test $ac_cv_lib_krb5_krb5_mk_req_extended = yes; then
LIBS="$LIBS -lkrb5";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_KRB5 1
_ACEOF
@@ -19727,7 +19867,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_display_status" >&5
echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_display_status" >&6
if test $ac_cv_lib_gssapi_krb5_gss_display_status = yes; then
LIBS="$LIBS -lgssapi_krb5";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_GSSAPI 1
_ACEOF
@@ -19869,7 +20010,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_domain2hostlist" >&5
echo "${ECHO_T}$ac_cv_lib_ldap_ldap_domain2hostlist" >&6
if test $ac_cv_lib_ldap_ldap_domain2hostlist = yes; then
LIBS="$LIBS -lldap";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LDAP 1
_ACEOF
@@ -19991,7 +20133,8 @@ rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $pam_ldap_cv_ldap_set_rebind_proc" >&5
echo "${ECHO_T}$pam_ldap_cv_ldap_set_rebind_proc" >&6
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<_ACEOF
#define LDAP_SET_REBIND_PROC_ARGS $pam_ldap_cv_ldap_set_rebind_proc
_ACEOF
@@ -20010,7 +20153,8 @@ if test "${with_automount+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_AUTOMOUNT 1
_ACEOF
@@ -20040,7 +20184,8 @@ if test "${with_smbmount+set}" = set; then
*linux*)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SMBMOUNT 1
_ACEOF
@@ -20080,7 +20225,8 @@ if test "${with_pam+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_PAM 1
_ACEOF
@@ -20149,7 +20295,8 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_get_data" >&5
echo "${ECHO_T}$ac_cv_lib_pam_pam_get_data" >&6
if test $ac_cv_lib_pam_pam_get_data = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBPAM 1
_ACEOF
@@ -20321,7 +20468,8 @@ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
if test $ac_cv_lib_crypt_crypt = yes; then
AUTHLIBS="$AUTHLIBS -lcrypt";
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_CRYPT 1
_ACEOF
@@ -20379,7 +20527,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_TRUNCATED_SALT" >&5
echo "${ECHO_T}$samba_cv_HAVE_TRUNCATED_SALT" >&6
if test x"$samba_cv_HAVE_TRUNCATED_SALT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_TRUNCATED_SALT 1
_ACEOF
@@ -20398,7 +20547,8 @@ if test "${with_sam+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SAM 1
_ACEOF
@@ -20433,7 +20583,8 @@ if test "${with_ldapsam+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_LDAP_SAMCONFIG 1
_ACEOF
@@ -20461,7 +20612,8 @@ if test "${with_tdbsam+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_TDB_SAM 1
_ACEOF
@@ -20489,7 +20641,8 @@ if test "${with_nisplussam+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_NISPLUS_SAM 1
_ACEOF
@@ -20523,7 +20676,8 @@ if test "${with_nisplus_home+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_NISPLUS_HOME 1
_ACEOF
@@ -20551,7 +20705,8 @@ if test "${with_syslog+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SYSLOG 1
_ACEOF
@@ -20579,7 +20734,8 @@ if test "${with_profiling_data+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_PROFILE 1
_ACEOF
@@ -20659,12 +20815,14 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_linux_2_4_quota_braindamage" >&5
echo "${ECHO_T}$samba_cv_linux_2_4_quota_braindamage" >&6
if test x"$samba_cv_linux_2_4_quota_braindamage" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LINUX_QUOTAS_2 1
_ACEOF
else
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LINUX_QUOTAS_1 1
_ACEOF
@@ -20674,7 +20832,8 @@ fi
;;
esac
QUOTAOBJS=smbd/quotas.o
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_QUOTAS 1
_ACEOF
@@ -20704,7 +20863,8 @@ if test "${with_utmp+set}" = set; then
yes)
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_UTMP 1
_ACEOF
@@ -20844,7 +21004,8 @@ echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs64" >&5
echo "${ECHO_T}$fu_cv_sys_stat_statvfs64" >&6
if test $fu_cv_sys_stat_statvfs64 = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATVFS64 1
_ACEOF
@@ -20901,7 +21062,8 @@ echo "$as_me:$LINENO: result: $fu_cv_sys_stat_statvfs" >&5
echo "${ECHO_T}$fu_cv_sys_stat_statvfs" >&6
if test $fu_cv_sys_stat_statvfs = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATVFS 1
_ACEOF
@@ -20959,7 +21121,8 @@ fi
echo "${ECHO_T}$fu_cv_sys_stat_statfs3_osf1" >&6
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS3_OSF1 1
_ACEOF
@@ -21023,7 +21186,8 @@ fi
echo "${ECHO_T}$fu_cv_sys_stat_statfs2_bsize" >&6
if test $fu_cv_sys_stat_statfs2_bsize = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_BSIZE 1
_ACEOF
@@ -21078,7 +21242,8 @@ fi
echo "${ECHO_T}$fu_cv_sys_stat_statfs4" >&6
if test $fu_cv_sys_stat_statfs4 = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS4 1
_ACEOF
@@ -21139,7 +21304,8 @@ fi
echo "${ECHO_T}$fu_cv_sys_stat_statfs2_fsize" >&6
if test $fu_cv_sys_stat_statfs2_fsize = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_FSIZE 1
_ACEOF
@@ -21204,7 +21370,8 @@ fi
echo "${ECHO_T}$fu_cv_sys_stat_fs_data" >&6
if test $fu_cv_sys_stat_fs_data = yes; then
space=yes
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define STAT_STATFS2_FS_DATA 1
_ACEOF
@@ -21259,7 +21426,8 @@ samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
if test x"$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_EXPLICIT_LARGEFILE_SUPPORT 1
_ACEOF
@@ -21274,35 +21442,40 @@ if test "${with_spinlocks+set}" = set; then
fi;
if test "x$with_spinlocks" = "xyes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define USE_SPINLOCKS 1
_ACEOF
case "$host_cpu" in
sparc)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SPARC_SPINLOCKS 1
_ACEOF
;;
i386|i486|i586|i686)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define INTEL_SPINLOCKS 1
_ACEOF
;;
mips)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define MIPS_SPINLOCKS 1
_ACEOF
;;
powerpc)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define POWERPC_SPINLOCKS 1
_ACEOF
@@ -21326,7 +21499,8 @@ if test "${with_acl_support+set}" = set; then
*sysv5*)
echo "$as_me:$LINENO: result: Using UnixWare ACLs" >&5
echo "${ECHO_T}Using UnixWare ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_UNIXWARE_ACLS 1
_ACEOF
@@ -21334,7 +21508,8 @@ _ACEOF
*solaris*)
echo "$as_me:$LINENO: result: Using solaris ACLs" >&5
echo "${ECHO_T}Using solaris ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SOLARIS_ACLS 1
_ACEOF
@@ -21342,7 +21517,8 @@ _ACEOF
*hpux*)
echo "$as_me:$LINENO: result: Using HPUX ACLs" >&5
echo "${ECHO_T}Using HPUX ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_HPUX_ACLS 1
_ACEOF
@@ -21350,7 +21526,8 @@ _ACEOF
*irix*)
echo "$as_me:$LINENO: result: Using IRIX ACLs" >&5
echo "${ECHO_T}Using IRIX ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_IRIX_ACLS 1
_ACEOF
@@ -21358,7 +21535,8 @@ _ACEOF
*aix*)
echo "$as_me:$LINENO: result: Using AIX ACLs" >&5
echo "${ECHO_T}Using AIX ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_AIX_ACLS 1
_ACEOF
@@ -21366,7 +21544,8 @@ _ACEOF
*osf*)
echo "$as_me:$LINENO: result: Using Tru64 ACLs" >&5
echo "${ECHO_T}Using Tru64 ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_TRU64_ACLS 1
_ACEOF
@@ -21476,7 +21655,8 @@ echo "${ECHO_T}$samba_cv_HAVE_POSIX_ACLS" >&6
if test x"$samba_cv_HAVE_POSIX_ACLS" = x"yes"; then
echo "$as_me:$LINENO: result: Using posix ACLs" >&5
echo "${ECHO_T}Using posix ACLs" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_POSIX_ACLS 1
_ACEOF
@@ -21522,7 +21702,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_ACL_GET_PERM_NP" >&5
echo "${ECHO_T}$samba_cv_HAVE_ACL_GET_PERM_NP" >&6
if test x"$samba_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_ACL_GET_PERM_NP 1
_ACEOF
@@ -21534,14 +21715,16 @@ _ACEOF
*)
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_NO_ACLS 1
_ACEOF
;;
esac
else
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_NO_ACLS 1
_ACEOF
@@ -21712,37 +21895,45 @@ echo "$as_me:$LINENO: result: $samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&5
echo "${ECHO_T}$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" >&6
if test x"$samba_cv_HAVE_SENDFILE64" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILE64 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LINUX_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
elif test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LINUX_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
elif test x"$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define LINUX_BROKEN_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -21810,15 +22001,18 @@ echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define FREEBSD_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -21883,15 +22077,18 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE64" >&5
echo "${ECHO_T}$samba_cv_HAVE_SENDFILE64" >&6
if test x"$samba_cv_HAVE_SENDFILE64" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILE64 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HPUX_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -21954,15 +22151,18 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILE" >&5
echo "${ECHO_T}$samba_cv_HAVE_SENDFILE" >&6
if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILE 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HPUX_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -22036,15 +22236,18 @@ echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV64" >&5
echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV64" >&6
if test x"$samba_cv_HAVE_SENDFILEV64" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILEV64 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SOLARIS_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -22115,15 +22318,18 @@ echo "$as_me:$LINENO: result: $samba_cv_HAVE_SENDFILEV" >&5
echo "${ECHO_T}$samba_cv_HAVE_SENDFILEV" >&6
if test x"$samba_cv_HAVE_SENDFILEV" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_SENDFILEV 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define SOLARIS_SENDFILE_API 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SENDFILE 1
_ACEOF
@@ -22215,7 +22421,8 @@ WINBIND_PAM_PROGS=""
if test x"$HAVE_WINBIND" = x"yes"; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_WINBIND 1
_ACEOF
@@ -22293,7 +22500,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_comment" >&5
echo "${ECHO_T}$samba_cv_passwd_pw_comment" >&6
if test x"$samba_cv_passwd_pw_comment" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PASSWD_PW_COMMENT 1
_ACEOF
@@ -22344,7 +22552,8 @@ fi
echo "$as_me:$LINENO: result: $samba_cv_passwd_pw_age" >&5
echo "${ECHO_T}$samba_cv_passwd_pw_age" >&6
if test x"$samba_cv_passwd_pw_age" = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PASSWD_PW_AGE 1
_ACEOF
diff --git a/source3/configure.in b/source3/configure.in
index 6f50314cf1..206a9edb50 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -205,7 +205,7 @@ AC_CACHE_CHECK([that the C compiler understands volatile],samba_cv_volatile, [
AC_TRY_COMPILE([#include <sys/types.h>],[volatile int i = 0],
samba_cv_volatile=yes,samba_cv_volatile=no)])
if test x"$samba_cv_volatile" = x"yes"; then
- AC_DEFINE(HAVE_VOLATILE)
+ AC_DEFINE(HAVE_VOLATILE, 1, [Whether the C compiler understands volatile])
fi
@@ -231,7 +231,7 @@ case "$host_os" in
AC_PROG_CC_FLAG(Ae)
# mmap on HPUX is completely broken...
- AC_DEFINE(MMAP_BLACKLIST)
+ AC_DEFINE(MMAP_BLACKLIST, 1, [Whether MMAP is broken])
if test $ac_cv_prog_cc_Ae = yes; then
CPPFLAGS="$CPPFLAGS -Ae"
fi
@@ -243,20 +243,20 @@ case "$host_os" in
case `uname -r` in
*9*|*10*)
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
- AC_DEFINE(USE_BOTH_CRYPT_CALLS)
- AC_DEFINE(_HPUX_SOURCE)
- AC_DEFINE(_POSIX_SOURCE)
- AC_DEFINE(_ALIGNMENT_REQUIRED,1)
- AC_DEFINE(_MAX_ALIGNMENT,4)
+ AC_DEFINE(USE_BOTH_CRYPT_CALLS, 1, [Whether to use both of HPUX' crypt calls])
+ AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
+ AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])
+ AC_DEFINE(_ALIGNMENT_REQUIRED,1,[Required alignment])
+ AC_DEFINE(_MAX_ALIGNMENT,4,[Maximum alignment])
;;
*11*)
CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4"
- AC_DEFINE(USE_BOTH_CRYPT_CALLS)
- AC_DEFINE(_HPUX_SOURCE)
- AC_DEFINE(_POSIX_SOURCE)
- AC_DEFINE(_LARGEFILE64_SOURCE)
- AC_DEFINE(_ALIGNMENT_REQUIRED,1)
- AC_DEFINE(_MAX_ALIGNMENT,4)
+ AC_DEFINE(USE_BOTH_CRYPT_CALLS, 1, [Whether to use both of HPUX' crypt calls])
+ AC_DEFINE(_HPUX_SOURCE, 1, [Whether to use HPUX extensions])
+ AC_DEFINE(_POSIX_SOURCE, 1, [Whether to use POSIX compatible functions])
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to use large file support])
+ AC_DEFINE(_ALIGNMENT_REQUIRED, 1, [Required alignment])
+ AC_DEFINE(_MAX_ALIGNMENT, 4, [Maximum alignment])
;;
esac
DYNEXP="-Wl,-E"
@@ -276,7 +276,7 @@ case "$host_os" in
*aix4*)
AC_MSG_RESULT([enabling large file support])
CPPFLAGS="$CPPFLAGS -D_LARGE_FILES"
- AC_DEFINE(_LARGE_FILES)
+ AC_DEFINE(_LARGE_FILES, 1, [Whether to enable large file support])
;;
#
# Defines needed for Solaris 2.6/2.7 aka 7.0 to make it admit
@@ -300,18 +300,18 @@ case "$host_os" in
case "$ac_cv_gcc_compiler_version_number" in
*"gcc version 2.6"*|*"gcc version 2.7"*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
- AC_DEFINE(_LARGEFILE64_SOURCE)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
;;
*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- AC_DEFINE(_LARGEFILE64_SOURCE)
- AC_DEFINE(_FILE_OFFSET_BITS,64)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
+ AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
;;
esac
else
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
- AC_DEFINE(_LARGEFILE64_SOURCE)
- AC_DEFINE(_FILE_OFFSET_BITS,64)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
+ AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
fi
;;
esac
@@ -336,7 +336,7 @@ exit(1);
CPPFLAGS="$old_CPPFLAGS"
if test x$SINIX_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE $CPPFLAGS"
- AC_DEFINE(_LARGEFILE64_SOURCE)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
CFLAGS="`getconf LFS64_CFLAGS` $CFLAGS"
LDFLAGS="`getconf LFS64_LDFLAGS` $LDFLAGS"
LIBS="`getconf LFS64_LIBS` $LIBS"
@@ -389,9 +389,9 @@ main() {
CPPFLAGS="$old_CPPFLAGS"
if test x$LINUX_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
- AC_DEFINE(_LARGEFILE64_SOURCE)
- AC_DEFINE(_FILE_OFFSET_BITS,64)
- AC_DEFINE(_GNU_SOURCE)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
+ AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
+ AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
fi
AC_MSG_RESULT([$LINUX_LFS_SUPPORT])
;;
@@ -412,8 +412,8 @@ exit(1);
CPPFLAGS="$old_CPPFLAGS"
if test x$GLIBC_LFS_SUPPORT = xyes ; then
CPPFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS"
- AC_DEFINE(_LARGEFILE64_SOURCE)
- AC_DEFINE(_GNU_SOURCE)
+ AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
+ AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
fi
AC_MSG_RESULT([$GLIBC_LFS_SUPPORT])
;;
@@ -444,7 +444,7 @@ case "$host_os" in
AC_TRY_COMPILE([#include <shadow.h>],[struct spwd testme],
ac_cv_header_shadow_h=yes,ac_cv_header_shadow_h=no)
if test x"$ac_cv_header_shadow_h" = x"yes"; then
- AC_DEFINE(HAVE_SHADOW_H)
+ AC_DEFINE(HAVE_SHADOW_H,1,[Whether we have shadow.h])
fi
;;
esac
@@ -496,7 +496,7 @@ if test x$enable_cups != xno; then
AC_PATH_PROG(CUPS_CONFIG, cups-config)
if test "x$CUPS_CONFIG" != x; then
- AC_DEFINE(HAVE_CUPS)
+ AC_DEFINE(HAVE_CUPS,1,[Whether we have CUPS])
CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
PRINTLIBS="$PRINTLIBS `$CUPS_CONFIG --libs`"
@@ -504,11 +504,11 @@ if test x$enable_cups != xno; then
fi
############################################
-# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the new VFS code
+# we need dlopen/dlclose/dlsym/dlerror for PAM, the password database plugins and the plugin loading code
AC_CHECK_FUNCS(dlopen)
if test x"$ac_cv_func_dlopen" = x"no"; then
AC_CHECK_LIB(dl, dlopen, [LIBS="$LIBS -ldl";
- AC_DEFINE(HAVE_DLOPEN)])
+ AC_DEFINE(HAVE_DLOPEN,1,[Whether we have dlopen()])])
fi
# dlopen/dlclose/dlsym/dlerror will be checked again later and defines will be set then
@@ -530,7 +530,7 @@ AC_CACHE_CHECK([for immediate structures],samba_cv_immediate_structures, [
],
samba_cv_immediate_structures=yes,samba_cv_immediate_structures=no)])
if test x"$samba_cv_immediate_structures" = x"yes"; then
- AC_DEFINE(HAVE_IMMEDIATE_STRUCTURES)
+ AC_DEFINE(HAVE_IMMEDIATE_STRUCTURES,1,[Whether the compiler supports immediate structures])
fi
############################################
@@ -548,7 +548,7 @@ AC_CACHE_CHECK([for unix domain sockets],samba_cv_unixsocket, [
],
samba_cv_unixsocket=yes,samba_cv_unixsocket=no)])
if test x"$samba_cv_unixsocket" = x"yes"; then
- AC_DEFINE(HAVE_UNIXSOCKET)
+ AC_DEFINE(HAVE_UNIXSOCKET,1,[If we need to build with unixscoket support])
fi
@@ -562,7 +562,7 @@ AC_CACHE_CHECK([for socklen_t type],samba_cv_socklen_t, [
#include <sys/socket.h>],[socklen_t i = 0],
samba_cv_socklen_t=yes,samba_cv_socklen_t=no)])
if test x"$samba_cv_socklen_t" = x"yes"; then
- AC_DEFINE(HAVE_SOCKLEN_T_TYPE)
+ AC_DEFINE(HAVE_SOCKLEN_T_TYPE,1,[Whether we have the variable type socklen_t])
fi
AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
@@ -575,7 +575,7 @@ AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [
#include <signal.h>],[sig_atomic_t i = 0],
samba_cv_sig_atomic_t=yes,samba_cv_sig_atomic_t=no)])
if test x"$samba_cv_sig_atomic_t" = x"yes"; then
- AC_DEFINE(HAVE_SIG_ATOMIC_T_TYPE)
+ AC_DEFINE(HAVE_SIG_ATOMIC_T_TYPE,1,[Whether we have the atomic_t variable type])
fi
# stupid headers have the functions but no declaration. grrrr.
@@ -594,7 +594,7 @@ AC_CACHE_CHECK([for real setresuid],samba_cv_have_setresuid,[
main() { setresuid(1,1,1); setresuid(2,2,2); exit(errno==EPERM?0:1);}],
samba_cv_have_setresuid=yes,samba_cv_have_setresuid=no,samba_cv_have_setresuid=cross)])
if test x"$samba_cv_have_setresuid" = x"yes"; then
- AC_DEFINE(HAVE_SETRESUID)
+ AC_DEFINE(HAVE_SETRESUID,1,[Whether the system has setresuid])
fi
# Do the same check for setresguid...
@@ -605,7 +605,7 @@ AC_CACHE_CHECK([for real setresgid],samba_cv_have_setresgid,[
main() { errno = 0; setresgid(1,1,1); exit(errno != 0 ? (errno==EPERM ? 0 : 1) : 0);}],
samba_cv_have_setresgid=yes,samba_cv_have_setresgid=no,samba_cv_have_setresgid=cross)])
if test x"$samba_cv_have_setresgid" = x"yes"; then
- AC_DEFINE(HAVE_SETRESGID)
+ AC_DEFINE(HAVE_SETRESGID,1,[Whether the system has setresgid])
fi
AC_FUNC_MEMCMP
@@ -615,7 +615,7 @@ AC_FUNC_MEMCMP
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt, [AUTHLIBS="$AUTHLIBS -lcrypt";
- AC_DEFINE(HAVE_CRYPT)])
+ AC_DEFINE(HAVE_CRYPT,1,[Whether the system has the crypt() function])])
fi
@@ -640,7 +640,7 @@ AC_ARG_WITH(readline,
done
AC_CHECK_LIB(readline, rl_callback_handler_install,
[TERMLIBS="-lreadline $TERMLIBS"
- AC_DEFINE(HAVE_LIBREADLINE)
+ AC_DEFINE(HAVE_LIBREADLINE,1,[Whether the system has readline])
break], [TERMLIBS=], $TERMLIBS)])
;;
no)
@@ -670,7 +670,7 @@ AC_ARG_WITH(readline,
TERMCPPFLAGS="-I$with_readline/include"
CPPFLAGS="-I$with_readline/include $CPPFLAGS"
TERMLIBS="-lreadline $TERMLIBS"
- AC_DEFINE(HAVE_LIBREADLINE)
+ AC_DEFINE(HAVE_LIBREADLINE,1,[Whether the system has readline])
break], [TERMLIBS= CPPFLAGS=$_cppflags], $TERMLIBS)])
LDFLAGS=$_ldflags
@@ -720,7 +720,7 @@ if test x"$ac_cv_func_connect" = x"no"; then
test x"$ac_cv_lib_inet_connect" = x"yes"; then
# ac_cv_func_connect=yes
# don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
- AC_DEFINE(HAVE_CONNECT)
+ AC_DEFINE(HAVE_CONNECT,1,[Whether the system has connect()])
fi
fi
@@ -729,7 +729,7 @@ fi
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)])
+ AC_DEFINE(HAVE_YP_GET_DEFAULT_DOMAIN,1,[Whether the system has yp_get_default_domain()])])
fi
# Check if we have execl, if not we need to compile smbrun.
@@ -785,7 +785,7 @@ if test x$ac_cv_func_stat64 = xno ; then
], [struct stat64 st64; exit(stat64(".",&st64));], [ac_cv_func_stat64=yes])
AC_MSG_RESULT([$ac_cv_func_stat64])
if test x$ac_cv_func_stat64 = xyes ; then
- AC_DEFINE(HAVE_STAT64)
+ AC_DEFINE(HAVE_STAT64,1,[Whether stat64() is available])
fi
fi
@@ -799,7 +799,7 @@ if test x$ac_cv_func_lstat64 = xno ; then
], [struct stat64 st64; exit(lstat64(".",&st64));], [ac_cv_func_lstat64=yes])
AC_MSG_RESULT([$ac_cv_func_lstat64])
if test x$ac_cv_func_lstat64 = xyes ; then
- AC_DEFINE(HAVE_LSTAT64)
+ AC_DEFINE(HAVE_LSTAT64,[Whether lstat64() is available])
fi
fi
@@ -813,7 +813,7 @@ if test x$ac_cv_func_fstat64 = xno ; then
], [struct stat64 st64; exit(fstat64(0,&st64));], [ac_cv_func_fstat64=yes])
AC_MSG_RESULT([$ac_cv_func_fstat64])
if test x$ac_cv_func_fstat64 = xyes ; then
- AC_DEFINE(HAVE_FSTAT64)
+ AC_DEFINE(HAVE_FSTAT64,1,[Whether fstat64() is available])
fi
fi
@@ -864,7 +864,7 @@ AC_MSG_CHECKING([ability to build shared libraries])
# and these are for particular systems
case "$host_os" in
- *linux*) AC_DEFINE(LINUX)
+ *linux*) AC_DEFINE(LINUX,1,[Whether the host os is linux])
BLDSHARED="true"
LDSHFLAGS="-shared"
DYNEXP="-Wl,--export-dynamic"
@@ -872,7 +872,7 @@ case "$host_os" in
SONAMEFLAG="-Wl,-soname="
AC_DEFINE(STAT_ST_BLOCKSIZE,512)
;;
- *solaris*) AC_DEFINE(SUNOS5)
+ *solaris*) AC_DEFINE(SUNOS5,1,[Whether the host os is solaris])
BLDSHARED="true"
LDSHFLAGS="-G"
SONAMEFLAG="-h "
@@ -889,9 +889,9 @@ case "$host_os" in
POBAD_CC=""
PICSUFFIX="po.o"
fi
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
;;
- *sunos*) AC_DEFINE(SUNOS4)
+ *sunos*) AC_DEFINE(SUNOS4,1,[Whether the host os is sunos4])
BLDSHARED="true"
LDSHFLAGS="-G"
SONAMEFLAG="-Wl,-h,"
@@ -902,18 +902,18 @@ case "$host_os" in
DYNEXP="-Wl,--export-dynamic"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC -DPIC"
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
;;
*openbsd*) BLDSHARED="true"
LDSHFLAGS="-shared"
DYNEXP="-Wl,-Bdynamic"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
;;
- *irix*) AC_DEFINE(IRIX)
+ *irix*) AC_DEFINE(IRIX,1,[Whether the host os is irix])
case "$host_os" in
- *irix6*) AC_DEFINE(IRIX6)
+ *irix6*) AC_DEFINE(IRIX6,1,[Whether the host os is irix6])
;;
esac
ATTEMPT_WRAP32_BUILD=yes
@@ -926,9 +926,9 @@ case "$host_os" in
else
PICFLAG="-KPIC"
fi
- AC_DEFINE(STAT_ST_BLOCKSIZE,512)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
;;
- *aix*) AC_DEFINE(AIX)
+ *aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
BLDSHARED="true"
LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry"
DYNEXP="-Wl,-brtl,-bexpall"
@@ -938,9 +938,9 @@ case "$host_os" in
CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000"
fi
- AC_DEFINE(STAT_ST_BLOCKSIZE,DEV_BSIZE)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,DEV_BSIZE,[The size of a block])
;;
- *hpux*) AC_DEFINE(HPUX)
+ *hpux*) AC_DEFINE(HPUX,1,[Whether the host os is HPUX])
SHLIBEXT="sl"
# Use special PIC flags for the native HP-UX compiler.
if test $ac_cv_prog_cc_Ae = yes; then
@@ -951,43 +951,42 @@ case "$host_os" in
PICFLAG="+z"
fi
DYNEXP="-Wl,-E"
- AC_DEFINE(STAT_ST_BLOCKSIZE,8192)
+ AC_DEFINE(STAT_ST_BLOCKSIZE,8192,[The size of a block])
;;
- *qnx*) AC_DEFINE(QNX);;
- *osf*) AC_DEFINE(OSF1)
+ *qnx*) AC_DEFINE(QNX,1,[Whether the host os is qnx]);;
+ *osf*) AC_DEFINE(OSF1,1,[Whether the host os is osf1])
BLDSHARED="true"
LDSHFLAGS="-shared"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-fPIC"
;;
- *sco*) AC_DEFINE(SCO);;
- *unixware*) AC_DEFINE(UNIXWARE)
+ *sco*) AC_DEFINE(SCO,1,[Whether the host os is sco unix]);;
+ *unixware*) AC_DEFINE(UNIXWARE,1,[Whether the host os is unixware])
BLDSHARED="true"
LDSHFLAGS="-shared"
SONAMEFLAG="-Wl,-soname,"
PICFLAG="-KPIC"
;;
- *next2*) AC_DEFINE(NEXT2);;
+ *next2*) AC_DEFINE(NEXT2,1,[Whether the host os is NeXT v2]);;
*dgux*) AC_CHECK_PROG( ROFF, groff, [groff -etpsR -Tascii -man]);;
- *sysv4*) AC_DEFINE(SYSV)
+ *sysv4*) AC_DEFINE(SYSV,1,[Whether this is a system V system])
case "$host" in
*-univel-*) if [ test "$GCC" != yes ]; then
- AC_DEFINE(HAVE_MEMSET)
+ AC_DEFINE(HAVE_MEMSET,1,[Whether memset() is available])
fi
LDSHFLAGS="-G"
DYNEXP="-Bexport"
;;
- *mips-sni-sysv4*) AC_DEFINE(RELIANTUNIX);;
+ *mips-sni-sysv4*) AC_DEFINE(RELIANTUNIX,1,[Whether the host os is reliantunix]);;
esac
;;
- *sysv5*) AC_DEFINE(SYSV)
+ *sysv5*) AC_DEFINE(SYSV,1,[Whether this is a system V system])
if [ test "$GCC" != yes ]; then
- AC_DEFINE(HAVE_MEMSET)
+ AC_DEFINE(HAVE_MEMSET,1,[Whether memset() is available])
fi
LDSHFLAGS="-G"
;;
- *sysv*) AC_DEFINE(SYSV);;
esac
AC_SUBST(DYNEXP)
AC_MSG_RESULT($BLDSHARED)
@@ -1028,7 +1027,7 @@ AC_TRY_RUN([#include <stdio.h>
main() { long long x = 1000000; x *= x; exit(((x/1000000) == 1000000)? 0: 1); }],
samba_cv_have_longlong=yes,samba_cv_have_longlong=no,samba_cv_have_longlong=cross)])
if test x"$samba_cv_have_longlong" = x"yes"; then
- AC_DEFINE(HAVE_LONGLONG)
+ AC_DEFINE(HAVE_LONGLONG,1,[Whether the host supports long long's])
fi
#
@@ -1039,7 +1038,7 @@ AC_CACHE_CHECK([for LL suffix on long long integers],samba_cv_compiler_supports_
AC_TRY_COMPILE([#include <stdio.h>],[long long i = 0x8000000000LL],
samba_cv_compiler_supports_ll=yes,samba_cv_compiler_supports_ll=no)])
if test x"$samba_cv_compiler_supports_ll" = x"yes"; then
- AC_DEFINE(COMPILER_SUPPORTS_LL)
+ AC_DEFINE(COMPILER_SUPPORTS_LL,1,[Whether the compiler supports the LL prefix on long long integers])
fi
@@ -1049,7 +1048,7 @@ AC_TRY_RUN([#include <stdio.h>
main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
samba_cv_SIZEOF_OFF_T=yes,samba_cv_SIZEOF_OFF_T=no,samba_cv_SIZEOF_OFF_T=cross)])
if test x"$samba_cv_SIZEOF_OFF_T" = x"yes"; then
- AC_DEFINE(SIZEOF_OFF_T,8)
+ AC_DEFINE(SIZEOF_OFF_T,8,[The size of the 'off_t' type])
fi
AC_CACHE_CHECK([for off64_t],samba_cv_HAVE_OFF64_T,[
@@ -1062,7 +1061,7 @@ AC_TRY_RUN([
main() { struct stat64 st; off64_t s; if (sizeof(off_t) == sizeof(off64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }],
samba_cv_HAVE_OFF64_T=yes,samba_cv_HAVE_OFF64_T=no,samba_cv_HAVE_OFF64_T=cross)])
if test x"$samba_cv_HAVE_OFF64_T" = x"yes"; then
- AC_DEFINE(HAVE_OFF64_T)
+ AC_DEFINE(HAVE_OFF64_T,1,[Whether off64_t is available])
fi
AC_CACHE_CHECK([for 64 bit ino_t],samba_cv_SIZEOF_INO_T,[
@@ -1071,7 +1070,7 @@ AC_TRY_RUN([#include <stdio.h>
main() { exit((sizeof(ino_t) == 8) ? 0 : 1); }],
samba_cv_SIZEOF_INO_T=yes,samba_cv_SIZEOF_INO_T=no,samba_cv_SIZEOF_INO_T=cross)])
if test x"$samba_cv_SIZEOF_INO_T" = x"yes"; then
- AC_DEFINE(SIZEOF_INO_T,8)
+ AC_DEFINE(SIZEOF_INO_T,8,[The size of the 'ino_t' type])
fi
AC_CACHE_CHECK([for ino64_t],samba_cv_HAVE_INO64_T,[
@@ -1084,7 +1083,7 @@ AC_TRY_RUN([
main() { struct stat64 st; ino64_t s; if (sizeof(ino_t) == sizeof(ino64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }],
samba_cv_HAVE_INO64_T=yes,samba_cv_HAVE_INO64_T=no,samba_cv_HAVE_INO64_T=cross)])
if test x"$samba_cv_HAVE_INO64_T" = x"yes"; then
- AC_DEFINE(HAVE_INO64_T)
+ AC_DEFINE(HAVE_INO64_T,1,[Whether the 'ino64_t' type is available])
fi
AC_CACHE_CHECK([for dev64_t],samba_cv_HAVE_DEV64_T,[
@@ -1097,7 +1096,7 @@ AC_TRY_RUN([
main() { struct stat64 st; dev64_t s; if (sizeof(dev_t) == sizeof(dev64_t)) exit(1); exit((lstat64("/dev/null", &st)==0)?0:1); }],
samba_cv_HAVE_DEV64_T=yes,samba_cv_HAVE_DEV64_T=no,samba_cv_HAVE_DEV64_T=cross)])
if test x"$samba_cv_HAVE_DEV64_T" = x"yes"; then
- AC_DEFINE(HAVE_DEV64_T)
+ AC_DEFINE(HAVE_DEV64_T,1,[Whether the 'dev64_t' type is available])
fi
AC_CACHE_CHECK([for struct dirent64],samba_cv_HAVE_STRUCT_DIRENT64,[
@@ -1110,7 +1109,7 @@ AC_TRY_COMPILE([
[struct dirent64 de;],
samba_cv_HAVE_STRUCT_DIRENT64=yes,samba_cv_HAVE_STRUCT_DIRENT64=no)])
if test x"$samba_cv_HAVE_STRUCT_DIRENT64" = x"yes" && test x"$ac_cv_func_readdir64" = x"yes"; then
- AC_DEFINE(HAVE_STRUCT_DIRENT64)
+ AC_DEFINE(HAVE_STRUCT_DIRENT64,1,[Whether the 'dirent64' struct is available])
fi
AC_CACHE_CHECK([for major macro],samba_cv_HAVE_DEVICE_MAJOR_FN,[
@@ -1122,7 +1121,7 @@ AC_TRY_RUN([
main() { dev_t dev; int i = major(dev); return 0; }],
samba_cv_HAVE_DEVICE_MAJOR_FN=yes,samba_cv_HAVE_DEVICE_MAJOR_FN=no,samba_cv_HAVE_DEVICE_MAJOR_FN=cross)])
if test x"$samba_cv_HAVE_DEVICE_MAJOR_FN" = x"yes"; then
- AC_DEFINE(HAVE_DEVICE_MAJOR_FN)
+ AC_DEFINE(HAVE_DEVICE_MAJOR_FN,1,[Whether the major macro for dev_t is available])
fi
AC_CACHE_CHECK([for minor macro],samba_cv_HAVE_DEVICE_MINOR_FN,[
@@ -1134,7 +1133,7 @@ AC_TRY_RUN([
main() { dev_t dev; int i = minor(dev); return 0; }],
samba_cv_HAVE_DEVICE_MINOR_FN=yes,samba_cv_HAVE_DEVICE_MINOR_FN=no,samba_cv_HAVE_DEVICE_MINOR_FN=cross)])
if test x"$samba_cv_HAVE_DEVICE_MINOR_FN" = x"yes"; then
- AC_DEFINE(HAVE_DEVICE_MINOR_FN)
+ AC_DEFINE(HAVE_DEVICE_MINOR_FN,1,[Whether the minor macro for dev_t is available])
fi
AC_CACHE_CHECK([for unsigned char],samba_cv_HAVE_UNSIGNED_CHAR,[
@@ -1142,7 +1141,7 @@ AC_TRY_RUN([#include <stdio.h>
main() { char c; c=250; exit((c > 0)?0:1); }],
samba_cv_HAVE_UNSIGNED_CHAR=yes,samba_cv_HAVE_UNSIGNED_CHAR=no,samba_cv_HAVE_UNSIGNED_CHAR=cross)])
if test x"$samba_cv_HAVE_UNSIGNED_CHAR" = x"yes"; then
- AC_DEFINE(HAVE_UNSIGNED_CHAR)
+ AC_DEFINE(HAVE_UNSIGNED_CHAR,1,[Whether the 'unsigned char' type is available])
fi
AC_CACHE_CHECK([for sin_len in sock],samba_cv_HAVE_SOCK_SIN_LEN,[
@@ -1152,7 +1151,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct sockaddr_in sock; sock.sin_len = sizeof(sock);],
samba_cv_HAVE_SOCK_SIN_LEN=yes,samba_cv_HAVE_SOCK_SIN_LEN=no)])
if test x"$samba_cv_HAVE_SOCK_SIN_LEN" = x"yes"; then
- AC_DEFINE(HAVE_SOCK_SIN_LEN)
+ AC_DEFINE(HAVE_SOCK_SIN_LEN,1,[Whether the sockaddr_in struct has a sin_len property])
fi
AC_CACHE_CHECK([whether seekdir returns void],samba_cv_SEEKDIR_RETURNS_VOID,[
@@ -1161,21 +1160,21 @@ AC_TRY_COMPILE([#include <sys/types.h>
void seekdir(DIR *d, long loc) { return; }],[return 0;],
samba_cv_SEEKDIR_RETURNS_VOID=yes,samba_cv_SEEKDIR_RETURNS_VOID=no)])
if test x"$samba_cv_SEEKDIR_RETURNS_VOID" = x"yes"; then
- AC_DEFINE(SEEKDIR_RETURNS_VOID)
+ AC_DEFINE(SEEKDIR_RETURNS_VOID,1,[Whether seekdir returns void])
fi
AC_CACHE_CHECK([for __FILE__ macro],samba_cv_HAVE_FILE_MACRO,[
AC_TRY_COMPILE([#include <stdio.h>], [printf("%s\n", __FILE__);],
samba_cv_HAVE_FILE_MACRO=yes,samba_cv_HAVE_FILE_MACRO=no)])
if test x"$samba_cv_HAVE_FILE_MACRO" = x"yes"; then
- AC_DEFINE(HAVE_FILE_MACRO)
+ AC_DEFINE(HAVE_FILE_MACRO,1,[Whether there is a __FILE__ macro])
fi
AC_CACHE_CHECK([for __FUNCTION__ macro],samba_cv_HAVE_FUNCTION_MACRO,[
AC_TRY_COMPILE([#include <stdio.h>], [printf("%s\n", __FUNCTION__);],
samba_cv_HAVE_FUNCTION_MACRO=yes,samba_cv_HAVE_FUNCTION_MACRO=no)])
if test x"$samba_cv_HAVE_FUNCTION_MACRO" = x"yes"; then
- AC_DEFINE(HAVE_FUNCTION_MACRO)
+ AC_DEFINE(HAVE_FUNCTION_MACRO,1,[Whether there is a __FUNCTION__ macro])
fi
AC_CACHE_CHECK([if gettimeofday takes tz argument],samba_cv_HAVE_GETTIMEOFDAY_TZ,[
@@ -1185,7 +1184,7 @@ AC_TRY_RUN([
main() { struct timeval tv; exit(gettimeofday(&tv, NULL));}],
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes,samba_cv_HAVE_GETTIMEOFDAY_TZ=no,samba_cv_HAVE_GETTIMEOFDAY_TZ=cross)])
if test x"$samba_cv_HAVE_GETTIMEOFDAY_TZ" = x"yes"; then
- AC_DEFINE(HAVE_GETTIMEOFDAY_TZ)
+ AC_DEFINE(HAVE_GETTIMEOFDAY_TZ,1,[Whether gettimeofday() is available])
fi
AC_CACHE_CHECK([for __va_copy],samba_cv_HAVE_VA_COPY,[
@@ -1193,7 +1192,7 @@ AC_TRY_LINK([#include <stdarg.h>
va_list ap1,ap2;], [__va_copy(ap1,ap2);],
samba_cv_HAVE_VA_COPY=yes,samba_cv_HAVE_VA_COPY=no)])
if test x"$samba_cv_HAVE_VA_COPY" = x"yes"; then
- AC_DEFINE(HAVE_VA_COPY)
+ AC_DEFINE(HAVE_VA_COPY,1,[Whether __va_copy() is available])
fi
AC_CACHE_CHECK([for C99 vsnprintf],samba_cv_HAVE_C99_VSNPRINTF,[
@@ -1223,7 +1222,7 @@ main() { foo("hello"); }
],
samba_cv_HAVE_C99_VSNPRINTF=yes,samba_cv_HAVE_C99_VSNPRINTF=no,samba_cv_HAVE_C99_VSNPRINTF=cross)])
if test x"$samba_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
- AC_DEFINE(HAVE_C99_VSNPRINTF)
+ AC_DEFINE(HAVE_C99_VSNPRINTF,1,[Whether there is a C99 compliant vsnprintf])
fi
AC_CACHE_CHECK([for broken readdir],samba_cv_HAVE_BROKEN_READDIR,[
@@ -1234,7 +1233,7 @@ if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
di->d_name[0] == 0) exit(0); exit(1);} ],
samba_cv_HAVE_BROKEN_READDIR=yes,samba_cv_HAVE_BROKEN_READDIR=no,samba_cv_HAVE_BROKEN_READDIR=cross)])
if test x"$samba_cv_HAVE_BROKEN_READDIR" = x"yes"; then
- AC_DEFINE(HAVE_BROKEN_READDIR)
+ AC_DEFINE(HAVE_BROKEN_READDIR,1,[Whether readdir() is broken])
fi
AC_CACHE_CHECK([for utimbuf],samba_cv_HAVE_UTIMBUF,[
@@ -1243,7 +1242,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));],
samba_cv_HAVE_UTIMBUF=yes,samba_cv_HAVE_UTIMBUF=no,samba_cv_HAVE_UTIMBUF=cross)])
if test x"$samba_cv_HAVE_UTIMBUF" = x"yes"; then
- AC_DEFINE(HAVE_UTIMBUF)
+ AC_DEFINE(HAVE_UTIMBUF,1,[Whether struct utimbuf is available])
fi
dnl utmp and utmpx come in many flavours
@@ -1259,7 +1258,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_name[0] = 'a';],
samba_cv_HAVE_UT_UT_NAME=yes,samba_cv_HAVE_UT_UT_NAME=no,samba_cv_HAVE_UT_UT_NAME=cross)])
if test x"$samba_cv_HAVE_UT_UT_NAME" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_NAME)
+ AC_DEFINE(HAVE_UT_UT_NAME,1,[Whether the utmp struct has a property ut_name])
fi
AC_CACHE_CHECK([for ut_user in utmp],samba_cv_HAVE_UT_UT_USER,[
@@ -1268,7 +1267,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_user[0] = 'a';],
samba_cv_HAVE_UT_UT_USER=yes,samba_cv_HAVE_UT_UT_USER=no,samba_cv_HAVE_UT_UT_USER=cross)])
if test x"$samba_cv_HAVE_UT_UT_USER" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_USER)
+ AC_DEFINE(HAVE_UT_UT_USER,1,[Whether the utmp struct has a property ut_user])
fi
AC_CACHE_CHECK([for ut_id in utmp],samba_cv_HAVE_UT_UT_ID,[
@@ -1277,7 +1276,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_id[0] = 'a';],
samba_cv_HAVE_UT_UT_ID=yes,samba_cv_HAVE_UT_UT_ID=no,samba_cv_HAVE_UT_UT_ID=cross)])
if test x"$samba_cv_HAVE_UT_UT_ID" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_ID)
+ AC_DEFINE(HAVE_UT_UT_ID,1,[Whether the utmp struct has a property ut_id])
fi
AC_CACHE_CHECK([for ut_host in utmp],samba_cv_HAVE_UT_UT_HOST,[
@@ -1286,7 +1285,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_host[0] = 'a';],
samba_cv_HAVE_UT_UT_HOST=yes,samba_cv_HAVE_UT_UT_HOST=no,samba_cv_HAVE_UT_UT_HOST=cross)])
if test x"$samba_cv_HAVE_UT_UT_HOST" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_HOST)
+ AC_DEFINE(HAVE_UT_UT_HOST,1,[Whether the utmp struct has a property ut_host])
fi
AC_CACHE_CHECK([for ut_time in utmp],samba_cv_HAVE_UT_UT_TIME,[
@@ -1295,7 +1294,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; time_t t; ut.ut_time = t;],
samba_cv_HAVE_UT_UT_TIME=yes,samba_cv_HAVE_UT_UT_TIME=no,samba_cv_HAVE_UT_UT_TIME=cross)])
if test x"$samba_cv_HAVE_UT_UT_TIME" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_TIME)
+ AC_DEFINE(HAVE_UT_UT_TIME,1,[Whether the utmp struct has a property ut_time])
fi
AC_CACHE_CHECK([for ut_tv in utmp],samba_cv_HAVE_UT_UT_TV,[
@@ -1304,7 +1303,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; struct timeval tv; ut.ut_tv = tv;],
samba_cv_HAVE_UT_UT_TV=yes,samba_cv_HAVE_UT_UT_TV=no,samba_cv_HAVE_UT_UT_TV=cross)])
if test x"$samba_cv_HAVE_UT_UT_TV" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_TV)
+ AC_DEFINE(HAVE_UT_UT_TV,1,[Whether the utmp struct has a property ut_tv])
fi
AC_CACHE_CHECK([for ut_type in utmp],samba_cv_HAVE_UT_UT_TYPE,[
@@ -1313,7 +1312,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_type = 0;],
samba_cv_HAVE_UT_UT_TYPE=yes,samba_cv_HAVE_UT_UT_TYPE=no,samba_cv_HAVE_UT_UT_TYPE=cross)])
if test x"$samba_cv_HAVE_UT_UT_TYPE" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_TYPE)
+ AC_DEFINE(HAVE_UT_UT_TYPE,1,[Whether the utmp struct has a property ut_type])
fi
AC_CACHE_CHECK([for ut_pid in utmp],samba_cv_HAVE_UT_UT_PID,[
@@ -1322,7 +1321,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_pid = 0;],
samba_cv_HAVE_UT_UT_PID=yes,samba_cv_HAVE_UT_UT_PID=no,samba_cv_HAVE_UT_UT_PID=cross)])
if test x"$samba_cv_HAVE_UT_UT_PID" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_PID)
+ AC_DEFINE(HAVE_UT_UT_PID,1,[Whether the utmp struct has a property ut_pid])
fi
AC_CACHE_CHECK([for ut_exit in utmp],samba_cv_HAVE_UT_UT_EXIT,[
@@ -1331,7 +1330,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_exit.e_exit = 0;],
samba_cv_HAVE_UT_UT_EXIT=yes,samba_cv_HAVE_UT_UT_EXIT=no,samba_cv_HAVE_UT_UT_EXIT=cross)])
if test x"$samba_cv_HAVE_UT_UT_EXIT" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_EXIT)
+ AC_DEFINE(HAVE_UT_UT_EXIT,1,[Whether the utmp struct has a property ut_exit])
fi
AC_CACHE_CHECK([for ut_addr in utmp],samba_cv_HAVE_UT_UT_ADDR,[
@@ -1340,7 +1339,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct utmp ut; ut.ut_addr = 0;],
samba_cv_HAVE_UT_UT_ADDR=yes,samba_cv_HAVE_UT_UT_ADDR=no,samba_cv_HAVE_UT_UT_ADDR=cross)])
if test x"$samba_cv_HAVE_UT_UT_ADDR" = x"yes"; then
- AC_DEFINE(HAVE_UT_UT_ADDR)
+ AC_DEFINE(HAVE_UT_UT_ADDR,1,[Whether the utmp struct has a property ut_addr])
fi
if test x$ac_cv_func_pututline = xyes ; then
@@ -1350,7 +1349,7 @@ if test x$ac_cv_func_pututline = xyes ; then
[struct utmp utarg; struct utmp *utreturn; utreturn = pututline(&utarg);],
samba_cv_PUTUTLINE_RETURNS_UTMP=yes,samba_cv_PUTUTLINE_RETURNS_UTMP=no)])
if test x"$samba_cv_PUTUTLINE_RETURNS_UTMP" = x"yes"; then
- AC_DEFINE(PUTUTLINE_RETURNS_UTMP)
+ AC_DEFINE(PUTUTLINE_RETURNS_UTMP,1,[Whether pututline returns pointer])
fi
fi
@@ -1360,7 +1359,7 @@ AC_TRY_COMPILE([#include <sys/types.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)
+ AC_DEFINE(HAVE_UX_UT_SYSLEN,1,[Whether the utmpx struct has a property ut_syslen])
fi
@@ -1378,7 +1377,7 @@ AC_ARG_WITH(libiconv,
CFLAGS="$CFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"
AC_CHECK_LIB(iconv, iconv_open)
- AC_DEFINE_UNQUOTED(WITH_LIBICONV, "${withval}")
+ AC_DEFINE_UNQUOTED(WITH_LIBICONV, "${withval}",[Path to iconv])
;;
esac ],
AC_MSG_RESULT(no)
@@ -1398,7 +1397,7 @@ main() {
],
samba_cv_HAVE_NATIVE_ICONV=yes,samba_cv_HAVE_NATIVE_ICONV=no,samba_cv_HAVE_NATIVE_ICONV=cross)])
if test x"$samba_cv_HAVE_NATIVE_ICONV" = x"yes"; then
- AC_DEFINE(HAVE_NATIVE_ICONV)
+ AC_DEFINE(HAVE_NATIVE_ICONV,1,[Whether to use native iconv])
fi
@@ -1416,7 +1415,7 @@ main() {
],
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes,samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no,samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=cross)])
if test x"$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" = x"yes"; then
- AC_DEFINE(HAVE_KERNEL_OPLOCKS_LINUX)
+ AC_DEFINE(HAVE_KERNEL_OPLOCKS_LINUX,1,[Whether to use linux kernel oplocks])
fi
AC_CACHE_CHECK([for kernel change notify support],samba_cv_HAVE_KERNEL_CHANGE_NOTIFY,[
@@ -1433,7 +1432,7 @@ main() {
],
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes,samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no,samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=cross)])
if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes"; then
- AC_DEFINE(HAVE_KERNEL_CHANGE_NOTIFY)
+ AC_DEFINE(HAVE_KERNEL_CHANGE_NOTIFY,1,[Whether kernel notifies changes])
fi
AC_CACHE_CHECK([for kernel share modes],samba_cv_HAVE_KERNEL_SHARE_MODES,[
@@ -1452,7 +1451,7 @@ main() {
],
samba_cv_HAVE_KERNEL_SHARE_MODES=yes,samba_cv_HAVE_KERNEL_SHARE_MODES=no,samba_cv_HAVE_KERNEL_SHARE_MODES=cross)])
if test x"$samba_cv_HAVE_KERNEL_SHARE_MODES" = x"yes"; then
- AC_DEFINE(HAVE_KERNEL_SHARE_MODES)
+ AC_DEFINE(HAVE_KERNEL_SHARE_MODES,1,[Whether the kernel supports share modes])
fi
@@ -1464,7 +1463,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[oplock_stat_t t; t.os_state = OP_REVOKE; t.os_dev = 1; t.os_ino = 1;],
samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=yes,samba_cv_HAVE_KERNEL_OPLOCKS_IRIX=no)])
if test x"$samba_cv_HAVE_KERNEL_OPLOCKS_IRIX" = x"yes"; then
- AC_DEFINE(HAVE_KERNEL_OPLOCKS_IRIX)
+ AC_DEFINE(HAVE_KERNEL_OPLOCKS_IRIX,1,[Whether IRIX kernel oplock type definitions are available])
fi
AC_CACHE_CHECK([for irix specific capabilities],samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES,[
@@ -1482,7 +1481,7 @@ main() {
],
samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=yes,samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no,samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=cross)])
if test x"$samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES" = x"yes"; then
- AC_DEFINE(HAVE_IRIX_SPECIFIC_CAPABILITIES)
+ AC_DEFINE(HAVE_IRIX_SPECIFIC_CAPABILITIES,1,[Whether IRIX specific capabilities are available])
fi
#
@@ -1498,7 +1497,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[int16 testvar;],
samba_cv_HAVE_INT16_FROM_RPC_RPC_H=yes,samba_cv_HAVE_INT16_FROM_RPC_RPC_H=no)])
if test x"$samba_cv_HAVE_INT16_FROM_RPC_RPC_H" = x"yes"; then
- AC_DEFINE(HAVE_INT16_FROM_RPC_RPC_H)
+ AC_DEFINE(HAVE_INT16_FROM_RPC_RPC_H,1,[Whether int16 typedef is included by rpc/rpc.h])
fi
AC_CACHE_CHECK([for uint16 typedef included by rpc/rpc.h],samba_cv_HAVE_UINT16_FROM_RPC_RPC_H,[
@@ -1509,7 +1508,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[uint16 testvar;],
samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=yes,samba_cv_HAVE_UINT16_FROM_RPC_RPC_H=no)])
if test x"$samba_cv_HAVE_UINT16_FROM_RPC_RPC_H" = x"yes"; then
- AC_DEFINE(HAVE_UINT16_FROM_RPC_RPC_H)
+ AC_DEFINE(HAVE_UINT16_FROM_RPC_RPC_H,1,[Whether uint16 typedef is included by rpc/rpc.h])
fi
AC_CACHE_CHECK([for int32 typedef included by rpc/rpc.h],samba_cv_HAVE_INT32_FROM_RPC_RPC_H,[
@@ -1520,7 +1519,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[int32 testvar;],
samba_cv_HAVE_INT32_FROM_RPC_RPC_H=yes,samba_cv_HAVE_INT32_FROM_RPC_RPC_H=no)])
if test x"$samba_cv_HAVE_INT32_FROM_RPC_RPC_H" = x"yes"; then
- AC_DEFINE(HAVE_INT32_FROM_RPC_RPC_H)
+ AC_DEFINE(HAVE_INT32_FROM_RPC_RPC_H,1,[Whether int32 typedef is included by rpc/rpc.h])
fi
AC_CACHE_CHECK([for uint32 typedef included by rpc/rpc.h],samba_cv_HAVE_UINT32_FROM_RPC_RPC_H,[
@@ -1531,7 +1530,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[uint32 testvar;],
samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=yes,samba_cv_HAVE_UINT32_FROM_RPC_RPC_H=no)])
if test x"$samba_cv_HAVE_UINT32_FROM_RPC_RPC_H" = x"yes"; then
- AC_DEFINE(HAVE_UINT32_FROM_RPC_RPC_H)
+ AC_DEFINE(HAVE_UINT32_FROM_RPC_RPC_H,1,[Whether uint32 typedef is included by rpc/rpc.h])
fi
dnl
@@ -1553,7 +1552,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[int testvar;],
samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=no,samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT=yes)])
if test x"$samba_cv_HAVE_RPC_AUTH_ERROR_CONFLICT" = x"yes"; then
- AC_DEFINE(HAVE_RPC_AUTH_ERROR_CONFLICT)
+ AC_DEFINE(HAVE_RPC_AUTH_ERROR_CONFLICT,1,[Whether there is a conflicting AUTH_ERROR define in rpc/rpc.h])
fi
AC_MSG_CHECKING([for test routines])
@@ -1566,7 +1565,7 @@ AC_CACHE_CHECK([for ftruncate extend],samba_cv_HAVE_FTRUNCATE_EXTEND,[
AC_TRY_RUN([#include "${srcdir-.}/tests/ftruncate.c"],
samba_cv_HAVE_FTRUNCATE_EXTEND=yes,samba_cv_HAVE_FTRUNCATE_EXTEND=no,samba_cv_HAVE_FTRUNCATE_EXTEND=cross)])
if test x"$samba_cv_HAVE_FTRUNCATE_EXTEND" = x"yes"; then
- AC_DEFINE(HAVE_FTRUNCATE_EXTEND)
+ AC_DEFINE(HAVE_FTRUNCATE_EXTEND,1,[Truncate extend])
fi
AC_CACHE_CHECK([for AF_LOCAL socket support], samba_cv_HAVE_WORKING_AF_LOCAL, [
@@ -1583,7 +1582,7 @@ AC_CACHE_CHECK([for broken getgroups],samba_cv_HAVE_BROKEN_GETGROUPS,[
AC_TRY_RUN([#include "${srcdir-.}/tests/getgroups.c"],
samba_cv_HAVE_BROKEN_GETGROUPS=yes,samba_cv_HAVE_BROKEN_GETGROUPS=no,samba_cv_HAVE_BROKEN_GETGROUPS=cross)])
if test x"$samba_cv_HAVE_BROKEN_GETGROUPS" = x"yes"; then
- AC_DEFINE(HAVE_BROKEN_GETGROUPS)
+ AC_DEFINE(HAVE_BROKEN_GETGROUPS,1,[Whether getgroups is broken])
fi
AC_CACHE_CHECK([whether getpass should be replaced],samba_cv_REPLACE_GETPASS,[
@@ -1599,7 +1598,7 @@ AC_TRY_COMPILE([
CPPFLAGS="$SAVE_CPPFLAGS"
])
if test x"$samba_cv_REPLACE_GETPASS" = x"yes"; then
- AC_DEFINE(REPLACE_GETPASS)
+ AC_DEFINE(REPLACE_GETPASS,1,[Whether getpass should be replaced])
fi
AC_CACHE_CHECK([for broken inet_ntoa],samba_cv_REPLACE_INET_NTOA,[
@@ -1616,7 +1615,7 @@ if (strcmp(inet_ntoa(ip),"18.52.86.120") &&
exit(1);}],
samba_cv_REPLACE_INET_NTOA=yes,samba_cv_REPLACE_INET_NTOA=no,samba_cv_REPLACE_INET_NTOA=cross)])
if test x"$samba_cv_REPLACE_INET_NTOA" = x"yes"; then
- AC_DEFINE(REPLACE_INET_NTOA)
+ AC_DEFINE(REPLACE_INET_NTOA,1,[Whether inet_ntoa should be replaced])
fi
AC_CACHE_CHECK([for secure mkstemp],samba_cv_HAVE_SECURE_MKSTEMP,[
@@ -1638,7 +1637,7 @@ samba_cv_HAVE_SECURE_MKSTEMP=yes,
samba_cv_HAVE_SECURE_MKSTEMP=no,
samba_cv_HAVE_SECURE_MKSTEMP=cross)])
if test x"$samba_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
- AC_DEFINE(HAVE_SECURE_MKSTEMP)
+ AC_DEFINE(HAVE_SECURE_MKSTEMP,1,[Whether mkstemp is secure])
fi
AC_CACHE_CHECK([for sysconf(_SC_NGROUPS_MAX)],samba_cv_SYSCONF_SC_NGROUPS_MAX,[
@@ -1646,14 +1645,14 @@ AC_TRY_RUN([#include <unistd.h>
main() { exit(sysconf(_SC_NGROUPS_MAX) == -1 ? 1 : 0); }],
samba_cv_SYSCONF_SC_NGROUPS_MAX=yes,samba_cv_SYSCONF_SC_NGROUPS_MAX=no,samba_cv_SYSCONF_SC_NGROUPS_MAX=cross)])
if test x"$samba_cv_SYSCONF_SC_NGROUPS_MAX" = x"yes"; then
- AC_DEFINE(SYSCONF_SC_NGROUPS_MAX)
+ AC_DEFINE(SYSCONF_SC_NGROUPS_MAX,1,[Whether sysconf(_SC_NGROUPS_MAX) is available])
fi
AC_CACHE_CHECK([for root],samba_cv_HAVE_ROOT,[
AC_TRY_RUN([main() { exit(getuid() != 0); }],
samba_cv_HAVE_ROOT=yes,samba_cv_HAVE_ROOT=no,samba_cv_HAVE_ROOT=cross)])
if test x"$samba_cv_HAVE_ROOT" = x"yes"; then
- AC_DEFINE(HAVE_ROOT)
+ AC_DEFINE(HAVE_ROOT,1,[Whether current user is root])
else
AC_MSG_WARN(running as non-root will disable some tests)
fi
@@ -1669,7 +1668,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/interfaces.c"],
samba_cv_HAVE_IFACE_AIX=yes,samba_cv_HAVE_IFACE_AIX=no,samba_cv_HAVE_IFACE_AIX=cross)])
if test x"$samba_cv_HAVE_IFACE_AIX" = x"yes"; then
- iface=yes;AC_DEFINE(HAVE_IFACE_AIX)
+ iface=yes;AC_DEFINE(HAVE_IFACE_AIX,1,[Whether iface AIX is available])
fi
if test $iface = no; then
@@ -1681,7 +1680,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/interfaces.c"],
samba_cv_HAVE_IFACE_IFCONF=yes,samba_cv_HAVE_IFACE_IFCONF=no,samba_cv_HAVE_IFACE_IFCONF=cross)])
if test x"$samba_cv_HAVE_IFACE_IFCONF" = x"yes"; then
- iface=yes;AC_DEFINE(HAVE_IFACE_IFCONF)
+ iface=yes;AC_DEFINE(HAVE_IFACE_IFCONF,1,[Whether iface ifconf is available])
fi
fi
@@ -1694,7 +1693,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/interfaces.c"],
samba_cv_HAVE_IFACE_IFREQ=yes,samba_cv_HAVE_IFACE_IFREQ=no,samba_cv_HAVE_IFACE_IFREQ=cross)])
if test x"$samba_cv_HAVE_IFACE_IFREQ" = x"yes"; then
- iface=yes;AC_DEFINE(HAVE_IFACE_IFREQ)
+ iface=yes;AC_DEFINE(HAVE_IFACE_IFREQ,1,[Whether iface ifreq is available])
fi
fi
@@ -1711,7 +1710,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/util_sec.c"],
samba_cv_USE_SETRESUID=yes,samba_cv_USE_SETRESUID=no,samba_cv_USE_SETRESUID=cross)])
if test x"$samba_cv_USE_SETRESUID" = x"yes"; then
- seteuid=yes;AC_DEFINE(USE_SETRESUID)
+ seteuid=yes;AC_DEFINE(USE_SETRESUID,1,[Whether setresuid() is available])
fi
fi
@@ -1725,7 +1724,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/util_sec.c"],
samba_cv_USE_SETREUID=yes,samba_cv_USE_SETREUID=no,samba_cv_USE_SETREUID=cross)])
if test x"$samba_cv_USE_SETREUID" = x"yes"; then
- seteuid=yes;AC_DEFINE(USE_SETREUID)
+ seteuid=yes;AC_DEFINE(USE_SETREUID,1,[Whether setreuid() is available])
fi
fi
@@ -1738,7 +1737,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/util_sec.c"],
samba_cv_USE_SETEUID=yes,samba_cv_USE_SETEUID=no,samba_cv_USE_SETEUID=cross)])
if test x"$samba_cv_USE_SETEUID" = x"yes"; then
- seteuid=yes;AC_DEFINE(USE_SETEUID)
+ seteuid=yes;AC_DEFINE(USE_SETEUID,1,[Whether seteuid() is available])
fi
fi
@@ -1751,7 +1750,7 @@ AC_TRY_RUN([
#include "${srcdir-.}/lib/util_sec.c"],
samba_cv_USE_SETUIDX=yes,samba_cv_USE_SETUIDX=no,samba_cv_USE_SETUIDX=cross)])
if test x"$samba_cv_USE_SETUIDX" = x"yes"; then
- seteuid=yes;AC_DEFINE(USE_SETUIDX)
+ seteuid=yes;AC_DEFINE(USE_SETUIDX,1,[Whether setuidx() is available])
fi
fi
@@ -1760,28 +1759,28 @@ AC_CACHE_CHECK([for working mmap],samba_cv_HAVE_MMAP,[
AC_TRY_RUN([#include "${srcdir-.}/tests/shared_mmap.c"],
samba_cv_HAVE_MMAP=yes,samba_cv_HAVE_MMAP=no,samba_cv_HAVE_MMAP=cross)])
if test x"$samba_cv_HAVE_MMAP" = x"yes"; then
- AC_DEFINE(HAVE_MMAP)
+ AC_DEFINE(HAVE_MMAP,1,[Whether mmap works])
fi
AC_CACHE_CHECK([for ftruncate needs root],samba_cv_FTRUNCATE_NEEDS_ROOT,[
AC_TRY_RUN([#include "${srcdir-.}/tests/ftruncroot.c"],
samba_cv_FTRUNCATE_NEEDS_ROOT=yes,samba_cv_FTRUNCATE_NEEDS_ROOT=no,samba_cv_FTRUNCATE_NEEDS_ROOT=cross)])
if test x"$samba_cv_FTRUNCATE_NEEDS_ROOT" = x"yes"; then
- AC_DEFINE(FTRUNCATE_NEEDS_ROOT)
+ AC_DEFINE(FTRUNCATE_NEEDS_ROOT,1,[Whether ftruncate() needs root])
fi
AC_CACHE_CHECK([for fcntl locking],samba_cv_HAVE_FCNTL_LOCK,[
AC_TRY_RUN([#include "${srcdir-.}/tests/fcntl_lock.c"],
samba_cv_HAVE_FCNTL_LOCK=yes,samba_cv_HAVE_FCNTL_LOCK=no,samba_cv_HAVE_FCNTL_LOCK=cross)])
if test x"$samba_cv_HAVE_FCNTL_LOCK" = x"yes"; then
- AC_DEFINE(HAVE_FCNTL_LOCK)
+ AC_DEFINE(HAVE_FCNTL_LOCK,1,[Whether fcntl locking is available])
fi
AC_CACHE_CHECK([for broken (glibc2.1/x86) 64 bit fcntl locking],samba_cv_HAVE_BROKEN_FCNTL64_LOCKS,[
AC_TRY_RUN([#include "${srcdir-.}/tests/fcntl_lock64.c"],
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=yes,samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no,samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=cross)])
if test x"$samba_cv_HAVE_BROKEN_FCNTL64_LOCKS" = x"yes"; then
- AC_DEFINE(HAVE_BROKEN_FCNTL64_LOCKS)
+ AC_DEFINE(HAVE_BROKEN_FCNTL64_LOCKS,1,[Whether fcntl64 locks are broken])
else
@@ -1815,7 +1814,7 @@ exit(1);
samba_cv_HAVE_STRUCT_FLOCK64=yes,samba_cv_HAVE_STRUCT_FLOCK64=no,samba_cv_HAVE_STRUCT_FLOCK64=cross)])
if test x"$samba_cv_HAVE_STRUCT_FLOCK64" = x"yes"; then
- AC_DEFINE(HAVE_STRUCT_FLOCK64)
+ AC_DEFINE(HAVE_STRUCT_FLOCK64,1,[Whether the flock64 struct is available])
fi
fi
@@ -1826,7 +1825,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct stat st; st.st_blocks = 0;],
samba_cv_HAVE_STAT_ST_BLOCKS=yes,samba_cv_HAVE_STAT_ST_BLOCKS=no,samba_cv_HAVE_STAT_ST_BLOCKS=cross)])
if test x"$samba_cv_HAVE_STAT_ST_BLOCKS" = x"yes"; then
- AC_DEFINE(HAVE_STAT_ST_BLOCKS)
+ AC_DEFINE(HAVE_STAT_ST_BLOCKS,1,[Whether the stat struct has a st_block property])
fi
AC_CACHE_CHECK([for st_blksize in struct stat],samba_cv_HAVE_STAT_ST_BLKSIZE,[
@@ -1836,7 +1835,7 @@ AC_TRY_COMPILE([#include <sys/types.h>
[struct stat st; st.st_blksize = 0;],
samba_cv_HAVE_STAT_ST_BLKSIZE=yes,samba_cv_HAVE_STAT_ST_BLKSIZE=no,samba_cv_HAVE_STAT_ST_BLKSIZE=cross)])
if test x"$samba_cv_HAVE_STAT_ST_BLKSIZE" = x"yes"; then
- AC_DEFINE(HAVE_STAT_ST_BLKSIZE)
+ AC_DEFINE(HAVE_STAT_ST_BLKSIZE,1,[Whether the stat struct has a st_blksize property])
fi
case "$host_os" in
@@ -1852,7 +1851,7 @@ AC_TRY_COMPILE([
],[int i;],
samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=no,samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS=yes)])
if test x"$samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS" = x"yes"; then
- AC_DEFINE(BROKEN_REDHAT_7_SYSTEM_HEADERS)
+ AC_DEFINE(BROKEN_REDHAT_7_SYSTEM_HEADERS,1,[Broken RedHat 7.2 system header files])
fi
;;
esac
@@ -1865,7 +1864,7 @@ AC_TRY_COMPILE([#include <sys/acl.h>
[int i;],
samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=no,samba_cv_BROKEN_NISPLUS_INCLUDE_FILES=yes)])
if test x"$samba_cv_BROKEN_NISPLUS_INCLUDE_FILES" = x"yes"; then
- AC_DEFINE(BROKEN_NISPLUS_INCLUDE_FILES)
+ AC_DEFINE(BROKEN_NISPLUS_INCLUDE_FILES,1,[Whether the nisplus include files are broken])
fi
@@ -1877,7 +1876,7 @@ AC_ARG_WITH(smbwrapper,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_SMBWRAPPER)
+ AC_DEFINE(WITH_SMBWRAPPER,1,[Whether to include smbwrapper support])
WRAPPROG="bin/smbsh"
WRAP="bin/smbwrapper.$SHLIBEXT"
@@ -1916,7 +1915,7 @@ AC_ARG_WITH(afs,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_AFS)
+ AC_DEFINE(WITH_AFS,1,[Whether to include AFS clear-text auth support])
;;
*)
AC_MSG_RESULT(no)
@@ -1934,7 +1933,7 @@ AC_ARG_WITH(dfs,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_DFS)
+ AC_DEFINE(WITH_DFS,1,[Whether to include DFS support])
;;
*)
AC_MSG_RESULT(no)
@@ -1958,7 +1957,7 @@ AC_ARG_WITH(ads,
esac ])
if test x"$with_ads_support" = x"yes"; then
- AC_DEFINE(WITH_ADS)
+ AC_DEFINE(WITH_ADS,1,[Whether to include Active Directory support])
fi
AC_MSG_RESULT($with_ads_support)
@@ -2021,12 +2020,12 @@ fi
# now see if we can find the krb5 libs in standard paths
# or as specified above
AC_CHECK_LIB(krb5, krb5_mk_req_extended, [LIBS="$LIBS -lkrb5";
- AC_DEFINE(HAVE_KRB5)])
+ AC_DEFINE(HAVE_KRB5,1,[Whether KRB5 is available])])
########################################################
# now see if we can find the gssapi libs in standard paths
AC_CHECK_LIB(gssapi_krb5, gss_display_status, [LIBS="$LIBS -lgssapi_krb5";
- AC_DEFINE(HAVE_GSSAPI)])
+ AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available])])
fi
########################################################
@@ -2056,7 +2055,7 @@ if test x"$with_ldap_support" = x"yes"; then
# now see if we can find the ldap libs in standard paths
if test x$have_ldap != xyes; then
AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LIBS="$LIBS -lldap";
- AC_DEFINE(HAVE_LDAP)])
+ AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])])
########################################################
# If we have LDAP, does it's rebind procedure take 2 or 3 arguments?
@@ -2066,7 +2065,7 @@ if test x"$with_ldap_support" = x"yes"; then
AC_TRY_COMPILE([
#include <lber.h>
#include <ldap.h>], [ldap_set_rebind_proc(0, 0, 0);], [pam_ldap_cv_ldap_set_rebind_proc=3], [pam_ldap_cv_ldap_set_rebind_proc=2]) ])
- AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc)
+ AC_DEFINE_UNQUOTED(LDAP_SET_REBIND_PROC_ARGS, $pam_ldap_cv_ldap_set_rebind_proc, [Number of arguments to ldap_set_rebind_proc])
fi
fi
@@ -2078,7 +2077,7 @@ AC_ARG_WITH(automount,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_AUTOMOUNT)
+ AC_DEFINE(WITH_AUTOMOUNT,1,[Whether to include automount support])
;;
*)
AC_MSG_RESULT(no)
@@ -2097,7 +2096,7 @@ AC_ARG_WITH(smbmount,
case "$host_os" in
*linux*)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_SMBMOUNT)
+ AC_DEFINE(WITH_SMBMOUNT,1,[Whether to build smbmount])
MPROGS="bin/smbmount bin/smbmnt bin/smbumount"
;;
*)
@@ -2124,7 +2123,7 @@ AC_ARG_WITH(pam,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_PAM)
+ AC_DEFINE(WITH_PAM,1,[Whether to include PAM support])
AUTHLIBS="$AUTHLIBS -lpam"
with_pam_for_crypt=yes
;;
@@ -2136,7 +2135,7 @@ AC_ARG_WITH(pam,
)
# we can't build a pam module if we don't have pam.
-AC_CHECK_LIB(pam, pam_get_data, [AC_DEFINE(HAVE_LIBPAM)])
+AC_CHECK_LIB(pam, pam_get_data, [AC_DEFINE(HAVE_LIBPAM,1,[Whether libpam is available])])
#################################################
# check for pam_smbpass support
@@ -2174,7 +2173,7 @@ if test x"$with_pam_for_crypt" = x"no"; then
AC_CHECK_FUNCS(crypt)
if test x"$ac_cv_func_crypt" = x"no"; then
AC_CHECK_LIB(crypt, crypt, [AUTHLIBS="$AUTHLIBS -lcrypt";
- AC_DEFINE(HAVE_CRYPT)])
+ AC_DEFINE(HAVE_CRYPT,1,[Whether crypt() is available])])
fi
fi
@@ -2192,7 +2191,7 @@ AC_TRY_RUN([#include "${srcdir-.}/tests/crypttest.c"],
samba_cv_HAVE_TRUNCATED_SALT=no,samba_cv_HAVE_TRUNCATED_SALT=yes,samba_cv_HAVE_TRUNCATED_SALT=cross)
LIBS="$crypt_LIBS"])
if test x"$samba_cv_HAVE_TRUNCATED_SALT" = x"yes"; then
- AC_DEFINE(HAVE_TRUNCATED_SALT)
+ AC_DEFINE(HAVE_TRUNCATED_SALT,1,[Whether crypt needs truncated salt])
fi
fi
@@ -2204,7 +2203,7 @@ AC_ARG_WITH(sam,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_SAM)
+ AC_DEFINE(WITH_SAM,1,[Whether to build the new (experimental) SAM database])
;;
*)
AC_MSG_RESULT(no)
@@ -2228,7 +2227,7 @@ AC_ARG_WITH(ldapsam,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_LDAP_SAMCONFIG)
+ AC_DEFINE(WITH_LDAP_SAMCONFIG,1,[Whether to include 2.2 compatibel LDAP SAM configuration])
;;
*)
AC_MSG_RESULT(no)
@@ -2245,7 +2244,7 @@ AC_ARG_WITH(tdbsam,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_TDB_SAM)
+ AC_DEFINE(WITH_TDB_SAM,1,[Whether to include experimental TDB SAM support])
;;
*)
AC_MSG_RESULT(no)
@@ -2262,7 +2261,7 @@ AC_ARG_WITH(nisplussam,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_NISPLUS_SAM)
+ AC_DEFINE(WITH_NISPLUS_SAM,1,[Whether to include nisplus SAM support])
;;
*)
AC_MSG_RESULT(no)
@@ -2285,7 +2284,7 @@ AC_ARG_WITH(nisplus-home,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_NISPLUS_HOME)
+ AC_DEFINE(WITH_NISPLUS_HOME,1,[Whether to include nisplus_home support])
;;
*)
AC_MSG_RESULT(no)
@@ -2302,7 +2301,7 @@ AC_ARG_WITH(syslog,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_SYSLOG)
+ AC_DEFINE(WITH_SYSLOG,1,[Whether to include experimental syslog support])
;;
*)
AC_MSG_RESULT(no)
@@ -2319,7 +2318,7 @@ AC_ARG_WITH(profiling-data,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_PROFILE)
+ AC_DEFINE(WITH_PROFILE,1,[Whether to use profiling])
;;
*)
AC_MSG_RESULT(no)
@@ -2351,16 +2350,16 @@ AC_ARG_WITH(quotas,
#include <linux/unistd.h>],[struct mem_dqblk D;],
samba_cv_linux_2_4_quota_braindamage=yes,samba_cv_linux_2_4_quota_braindamage=no)])
if test x"$samba_cv_linux_2_4_quota_braindamage" = x"yes"; then
- AC_DEFINE(LINUX_QUOTAS_2)
+ AC_DEFINE(LINUX_QUOTAS_2,1,[linux 2.4.x quota braindamage])
else
- AC_DEFINE(LINUX_QUOTAS_1)
+ AC_DEFINE(LINUX_QUOTAS_1,1,[linux quotas])
fi
;;
*)
;;
esac
QUOTAOBJS=smbd/quotas.o
- AC_DEFINE(WITH_QUOTAS)
+ AC_DEFINE(WITH_QUOTAS,1,[Whether to include experimental quota support])
;;
*)
AC_MSG_RESULT(no)
@@ -2379,7 +2378,7 @@ AC_ARG_WITH(utmp,
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_UTMP)
+ AC_DEFINE(WITH_UTMP,1,[Whether to include experimental utmp accounting])
;;
*)
AC_MSG_RESULT(no)
@@ -2463,7 +2462,7 @@ if test $space = no; then
fu_cv_sys_stat_statvfs64=cross)])
if test $fu_cv_sys_stat_statvfs64 = yes; then
space=yes
- AC_DEFINE(STAT_STATVFS64)
+ AC_DEFINE(STAT_STATVFS64,1,[Whether statvfs64() is available])
fi
fi
@@ -2483,7 +2482,7 @@ if test $space = no; then
fu_cv_sys_stat_statvfs=no)])
if test $fu_cv_sys_stat_statvfs = yes; then
space=yes
- AC_DEFINE(STAT_STATVFS)
+ AC_DEFINE(STAT_STATVFS,1,[Whether statvfs() is available])
fi
fi
@@ -2507,7 +2506,7 @@ if test $space = no; then
AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
space=yes
- AC_DEFINE(STAT_STATFS3_OSF1)
+ AC_DEFINE(STAT_STATFS3_OSF1,1,[Whether statfs requires 3 arguments])
fi
fi
@@ -2538,7 +2537,7 @@ member (AIX, 4.3BSD)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_bsize)
if test $fu_cv_sys_stat_statfs2_bsize = yes; then
space=yes
- AC_DEFINE(STAT_STATFS2_BSIZE)
+ AC_DEFINE(STAT_STATFS2_BSIZE,1,[Whether statfs requires two arguments and struct statfs has bsize property])
fi
fi
@@ -2559,7 +2558,7 @@ if test $space = no; then
AC_MSG_RESULT($fu_cv_sys_stat_statfs4)
if test $fu_cv_sys_stat_statfs4 = yes; then
space=yes
- AC_DEFINE(STAT_STATFS4)
+ AC_DEFINE(STAT_STATFS4,1,[Whether statfs requires 4 arguments])
fi
fi
@@ -2587,7 +2586,7 @@ member (4.4BSD and NetBSD)])
AC_MSG_RESULT($fu_cv_sys_stat_statfs2_fsize)
if test $fu_cv_sys_stat_statfs2_fsize = yes; then
space=yes
- AC_DEFINE(STAT_STATFS2_FSIZE)
+ AC_DEFINE(STAT_STATFS2_FSIZE,1,[Whether statfs requires 2 arguments and struct statfs has fsize])
fi
fi
@@ -2618,7 +2617,7 @@ if test $space = no; then
AC_MSG_RESULT($fu_cv_sys_stat_fs_data)
if test $fu_cv_sys_stat_fs_data = yes; then
space=yes
- AC_DEFINE(STAT_STATFS2_FS_DATA)
+ AC_DEFINE(STAT_STATFS2_FS_DATA,1,[Whether statfs requires 2 arguments and struct fs_data is available])
fi
fi
@@ -2641,30 +2640,30 @@ __COMPILE_ERROR_
[int i],
samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=yes,samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT=no)
if test x"$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT" = x"yes"; then
- AC_DEFINE(HAVE_EXPLICIT_LARGEFILE_SUPPORT)
+ AC_DEFINE(HAVE_EXPLICIT_LARGEFILE_SUPPORT,1,[Whether large file support can be enabled])
fi
AC_MSG_RESULT([$samba_cv_HAVE_EXPLICIT_LARGEFILE_SUPPORT])
AC_ARG_WITH(spinlocks,
[ --with-spinlocks Use spin locks instead of fcntl locks (default=no) ])
if test "x$with_spinlocks" = "xyes"; then
- AC_DEFINE(USE_SPINLOCKS)
+ AC_DEFINE(USE_SPINLOCKS,1,[Whether to use spin locks instead of fcntl locks])
case "$host_cpu" in
sparc)
- AC_DEFINE(SPARC_SPINLOCKS)
+ AC_DEFINE(SPARC_SPINLOCKS,1,[Whether to use sparc spinlocks])
;;
i386|i486|i586|i686)
- AC_DEFINE(INTEL_SPINLOCKS)
+ AC_DEFINE(INTEL_SPINLOCKS,1,[Whether to use intel spinlocks])
;;
mips)
- AC_DEFINE(MIPS_SPINLOCKS)
+ AC_DEFINE(MIPS_SPINLOCKS,1,[Whether to use mips spinlocks])
;;
powerpc)
- AC_DEFINE(POWERPC_SPINLOCKS)
+ AC_DEFINE(POWERPC_SPINLOCKS,1,[Whether to use powerpc spinlocks])
;;
esac
fi
@@ -2681,27 +2680,27 @@ AC_ARG_WITH(acl-support,
case "$host_os" in
*sysv5*)
AC_MSG_RESULT(Using UnixWare ACLs)
- AC_DEFINE(HAVE_UNIXWARE_ACLS)
+ AC_DEFINE(HAVE_UNIXWARE_ACLS,1,[Whether UnixWare ACLs are available])
;;
*solaris*)
AC_MSG_RESULT(Using solaris ACLs)
- AC_DEFINE(HAVE_SOLARIS_ACLS)
+ AC_DEFINE(HAVE_SOLARIS_ACLS,1,[Whether solaris ACLs are available])
;;
*hpux*)
AC_MSG_RESULT(Using HPUX ACLs)
- AC_DEFINE(HAVE_HPUX_ACLS)
+ AC_DEFINE(HAVE_HPUX_ACLS,1,[Whether HPUX ACLs are available])
;;
*irix*)
AC_MSG_RESULT(Using IRIX ACLs)
- AC_DEFINE(HAVE_IRIX_ACLS)
+ AC_DEFINE(HAVE_IRIX_ACLS,1,[Whether IRIX ACLs are available])
;;
*aix*)
AC_MSG_RESULT(Using AIX ACLs)
- AC_DEFINE(HAVE_AIX_ACLS)
+ AC_DEFINE(HAVE_AIX_ACLS,1,[Whether AIX ACLs are available])
;;
*osf*)
AC_MSG_RESULT(Using Tru64 ACLs)
- AC_DEFINE(HAVE_TRU64_ACLS)
+ AC_DEFINE(HAVE_TRU64_ACLS,1,[Whether Tru64 ACLs are available])
LIBS="$LIBS -lpacl"
;;
*)
@@ -2713,14 +2712,14 @@ AC_ARG_WITH(acl-support,
samba_cv_HAVE_POSIX_ACLS=yes,samba_cv_HAVE_POSIX_ACLS=no)])
if test x"$samba_cv_HAVE_POSIX_ACLS" = x"yes"; then
AC_MSG_RESULT(Using posix ACLs)
- AC_DEFINE(HAVE_POSIX_ACLS)
+ AC_DEFINE(HAVE_POSIX_ACLS,1,[Whether POSIX ACLs are available])
AC_CACHE_CHECK([for acl_get_perm_np],samba_cv_HAVE_ACL_GET_PERM_NP,[
AC_TRY_LINK([#include <sys/types.h>
#include <sys/acl.h>],
[ acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np( permset_d, perm);],
samba_cv_HAVE_ACL_GET_PERM_NP=yes,samba_cv_HAVE_ACL_GET_PERM_NP=no)])
if test x"$samba_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
- AC_DEFINE(HAVE_ACL_GET_PERM_NP)
+ AC_DEFINE(HAVE_ACL_GET_PERM_NP,1,[Whether acl_get_perm_np() is available])
fi
fi
;;
@@ -2728,10 +2727,10 @@ samba_cv_HAVE_ACL_GET_PERM_NP=yes,samba_cv_HAVE_ACL_GET_PERM_NP=no)])
;;
*)
AC_MSG_RESULT(no)
- AC_DEFINE(HAVE_NO_ACLS)
+ AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
;;
esac ],
- AC_DEFINE(HAVE_NO_ACLS)
+ AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support should be built in])
AC_MSG_RESULT(no)
)
@@ -2785,16 +2784,16 @@ ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,samba_cv_HAVE_BROKEN_LINUX_SENDFILE=no)])
if test x"$samba_cv_HAVE_SENDFILE64" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE64)
- AC_DEFINE(LINUX_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILE64,1,[Whether 64-bit sendfile() is available])
+ AC_DEFINE(LINUX_SENDFILE_API,1,[Whether linux sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used])
elif test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE)
- AC_DEFINE(LINUX_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available])
+ AC_DEFINE(LINUX_SENDFILE_API,1,[Whether linux sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() should be used])
elif test x"$samba_cv_HAVE_BROKEN_LINUX_SENDFILE" = x"yes"; then
- AC_DEFINE(LINUX_BROKEN_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(LINUX_BROKEN_SENDFILE_API,1,[Whether (linux) sendfile() is broken])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile should be used])
else
AC_MSG_RESULT(no);
fi
@@ -2822,9 +2821,9 @@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes,samba_cv_HAVE_BROKEN_LINUX_SENDFILE=no)]
samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)])
if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE)
- AC_DEFINE(FREEBSD_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() support is available])
+ AC_DEFINE(FREEBSD_SENDFILE_API,1,[Whether the FreeBSD sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included])
else
AC_MSG_RESULT(no);
fi
@@ -2849,9 +2848,9 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)])
],
samba_cv_HAVE_SENDFILE64=yes,samba_cv_HAVE_SENDFILE64=no)])
if test x"$samba_cv_HAVE_SENDFILE64" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE64)
- AC_DEFINE(HPUX_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILE64,1,[Whether sendfile64() is available])
+ AC_DEFINE(HPUX_SENDFILE_API,1,[Whether the hpux sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included])
else
AC_MSG_RESULT(no);
fi
@@ -2874,9 +2873,9 @@ samba_cv_HAVE_SENDFILE64=yes,samba_cv_HAVE_SENDFILE64=no)])
],
samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)])
if test x"$samba_cv_HAVE_SENDFILE" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILE)
- AC_DEFINE(HPUX_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILE,1,[Whether sendfile() is available])
+ AC_DEFINE(HPUX_SENDFILE_API,1,[Whether the hpux sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included])
else
AC_MSG_RESULT(no);
fi
@@ -2910,9 +2909,9 @@ samba_cv_HAVE_SENDFILE=yes,samba_cv_HAVE_SENDFILE=no)])
samba_cv_HAVE_SENDFILEV64=yes,samba_cv_HAVE_SENDFILEV64=no)])
if test x"$samba_cv_HAVE_SENDFILEV64" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILEV64)
- AC_DEFINE(SOLARIS_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILEV64,1,[Whether sendfilev64() is available])
+ AC_DEFINE(SOLARIS_SENDFILE_API,1,[Whether the soloris sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether sendfile() support should be included])
else
AC_MSG_RESULT(no);
fi
@@ -2943,9 +2942,9 @@ samba_cv_HAVE_SENDFILEV64=yes,samba_cv_HAVE_SENDFILEV64=no)])
samba_cv_HAVE_SENDFILEV=yes,samba_cv_HAVE_SENDFILEV=no)])
if test x"$samba_cv_HAVE_SENDFILEV" = x"yes"; then
- AC_DEFINE(HAVE_SENDFILEV)
- AC_DEFINE(SOLARIS_SENDFILE_API)
- AC_DEFINE(WITH_SENDFILE)
+ AC_DEFINE(HAVE_SENDFILEV,1,[Whether sendfilev() is available])
+ AC_DEFINE(SOLARIS_SENDFILE_API,1,[Whether the solaris sendfile() API is available])
+ AC_DEFINE(WITH_SENDFILE,1,[Whether to include sendfile() support])
else
AC_MSG_RESULT(no);
fi
@@ -3025,7 +3024,7 @@ WINBIND_PAM_PROGS=""
if test x"$HAVE_WINBIND" = x"yes"; then
AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_WINBIND)
+ AC_DEFINE(WITH_WINBIND,1,[Whether to build winbind])
WINBIND_TARGETS="bin/wbinfo"
WINBIND_STARGETS="bin/winbindd"
@@ -3062,7 +3061,7 @@ AC_CACHE_CHECK([whether struct passwd has pw_comment],samba_cv_passwd_pw_comment
AC_TRY_COMPILE([#include <pwd.h>],[struct passwd p; p.pw_comment;],
samba_cv_passwd_pw_comment=yes,samba_cv_passwd_pw_comment=no)])
if test x"$samba_cv_passwd_pw_comment" = x"yes"; then
- AC_DEFINE(HAVE_PASSWD_PW_COMMENT)
+ AC_DEFINE(HAVE_PASSWD_PW_COMMENT,1,[Whether struct passwd has pw_comment])
fi
#AC_CHECK_MEMBER(struct passwd.pw_age,
@@ -3073,7 +3072,7 @@ AC_CACHE_CHECK([whether struct passwd has pw_age],samba_cv_passwd_pw_age, [
AC_TRY_COMPILE([#include <pwd.h>],[struct passwd p; p.pw_age;],
samba_cv_passwd_pw_age=yes,samba_cv_passwd_pw_age=no)])
if test x"$samba_cv_passwd_pw_age" = x"yes"; then
- AC_DEFINE(HAVE_PASSWD_PW_AGE)
+ AC_DEFINE(HAVE_PASSWD_PW_AGE,1,[Whether struct passwd has pw_age])
fi
#################################################
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 4b707ba51f..a8cd81ddf9 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -1,241 +1,16 @@
/* include/config.h.in. Generated from configure.in by autoheader. */
-#undef HAVE_VOLATILE
-#undef HAVE_BROKEN_READDIR
-#undef HAVE_C99_VSNPRINTF
-#undef HAVE_ERRNO_DECL
-#undef HAVE_LONGLONG
-#undef HAVE_OFF64_T
-#undef HAVE_REMSH
-#undef HAVE_UNSIGNED_CHAR
-#undef HAVE_UTIMBUF
-#undef HAVE_SIG_ATOMIC_T_TYPE
-#undef HAVE_SOCKLEN_T_TYPE
-#undef ssize_t
-#undef ino_t
-#undef ssize_t
-#undef loff_t
-#undef offset_t
-#undef aclent_t
-#undef wchar_t
-#undef HAVE_CONNECT
-#undef HAVE_SHORT_INO_T
-#undef WITH_SMBWRAPPER
-#undef WITH_AFS
-#undef WITH_DFS
-#undef SUNOS5
-#undef SUNOS4
-#undef LINUX
+
+/* Whether the host os is aix */
#undef AIX
-#undef BSD
-#undef IRIX
-#undef UNIXWARE
-#undef SYSV
-#undef IRIX6
-#undef HPUX
-#undef QNX
-#undef SCO
-#undef OSF1
-#undef NEXT2
-#undef RELIANTUNIX
-#undef HAVE_MMAP
-#undef HAVE_FCNTL_LOCK
-#undef HAVE_FTRUNCATE_EXTEND
-#undef FTRUNCATE_NEEDS_ROOT
-#undef HAVE_TRAPDOOR_UID
-#undef HAVE_ROOT
-#undef HAVE_GETTIMEOFDAY_TZ
-#undef HAVE_SOCK_SIN_LEN
-#undef STAT_READ_FILSYS
-#undef STAT_STATFS2_BSIZE
-#undef STAT_STATFS2_FSIZE
-#undef STAT_STATFS2_FS_DATA
-#undef STAT_STATFS3_OSF1
-#undef STAT_STATFS4
-#undef STAT_STATVFS
-#undef STAT_STATVFS64
-#undef HAVE_IFACE_AIX
-#undef HAVE_IFACE_IFCONF
-#undef HAVE_IFACE_IFREQ
-#undef HAVE_CRYPT
-#undef HAVE_PUTPRPWNAM
-#undef HAVE_SET_AUTH_PARAMETERS
-#undef WITH_SYSLOG
-#undef WITH_PROFILE
-#undef WITH_PAM
-#undef WITH_NISPLUS_HOME
-#undef WITH_AUTOMOUNT
-#undef WITH_SMBMOUNT
-#undef WITH_QUOTAS
-#undef WITH_WINBIND
-#undef HAVE_BROKEN_GETGROUPS
-#undef REPLACE_GETPASS
-#undef REPLACE_INET_NTOA
-#undef HAVE_FILE_MACRO
-#undef HAVE_FUNCTION_MACRO
-#undef HAVE_VA_COPY
-#undef HAVE_SETRESUID_DECL
-#undef HAVE_SETRESUID
-#undef WITH_NETATALK
-#undef WITH_UTMP
-#undef WITH_MSDFS
-#undef WITH_LIBICONV
-#undef HAVE_INO64_T
-#undef HAVE_DEV64_T
-#undef HAVE_STRUCT_FLOCK64
-#undef SIZEOF_INO_T
-#undef SIZEOF_OFF_T
-#undef STAT_STATVFS64
-#undef HAVE_LIBREADLINE
-#undef HAVE_KERNEL_SHARE_MODES
-#undef HAVE_KERNEL_OPLOCKS_IRIX
-#undef HAVE_KERNEL_OPLOCKS_LINUX
-#undef HAVE_KERNEL_CHANGE_NOTIFY
-#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
-#undef HAVE_INT16_FROM_RPC_RPC_H
-#undef HAVE_UINT16_FROM_RPC_RPC_H
-#undef HAVE_INT32_FROM_RPC_RPC_H
-#undef HAVE_UINT32_FROM_RPC_RPC_H
-#undef KRB4_AUTH
-#undef KRB5_AUTH
-#undef KRB4_DIR
-#undef KRB5_DIR
-#undef SEEKDIR_RETURNS_VOID
-#undef HAVE_DIRENT_D_OFF
-#undef HAVE_GETSPNAM
-#undef HAVE_BIGCRYPT
-#undef HAVE_GETPRPWNAM
-#undef HAVE_FSTAT64
-#undef HAVE_LSTAT64
-#undef HAVE_STAT64
-#undef HAVE_SETRESGID
-#undef HAVE_SETRESGID_DECL
-#undef HAVE_SHADOW_H
-#undef HAVE_CUPS
-#undef HAVE_MEMSET
-#undef HAVE_STRCASECMP
-#undef HAVE_STRUCT_DIRENT64
-#undef HAVE_TRUNCATED_SALT
+
+/* Whether the nisplus include files are broken */
#undef BROKEN_NISPLUS_INCLUDE_FILES
-#undef HAVE_RPC_AUTH_ERROR_CONFLICT
-#undef HAVE_EXPLICIT_LARGEFILE_SUPPORT
-#undef USE_BOTH_CRYPT_CALLS
-#undef HAVE_BROKEN_FCNTL64_LOCKS
-#undef HAVE_SECURE_MKSTEMP
-#undef HAVE_FNMATCH
-#undef USE_SETEUID
-#undef USE_SETRESUID
-#undef USE_SETREUID
-#undef USE_SETUIDX
-#undef HAVE_DLOPEN
-#undef HAVE_DLCLOSE
-#undef HAVE_DLSYM
-#undef HAVE_DLERROR
-#undef SYSCONF_SC_NGROUPS_MAX
-#undef HAVE_UT_UT_NAME
-#undef HAVE_UT_UT_USER
-#undef HAVE_UT_UT_ID
-#undef HAVE_UT_UT_HOST
-#undef HAVE_UT_UT_TIME
-#undef HAVE_UT_UT_TV
-#undef HAVE_UT_UT_TYPE
-#undef HAVE_UT_UT_PID
-#undef HAVE_UT_UT_EXIT
-#undef HAVE_UT_UT_ADDR
-#undef HAVE_UX_UT_SYSLEN
-#undef PUTUTLINE_RETURNS_UTMP
-#undef COMPILER_SUPPORTS_LL
-#undef HAVE_YP_GET_DEFAULT_DOMAIN
-#undef USE_SPINLOCKS
-#undef SPARC_SPINLOCKS
-#undef INTEL_SPINLOCKS
-#undef MIPS_SPINLOCKS
-#undef POWERPC_SPINLOCKS
-#undef HAVE_POSIX_ACLS
-#undef HAVE_ACL_GET_PERM_NP
-#undef HAVE_UNIXWARE_ACLS
-#undef HAVE_SOLARIS_ACLS
-#undef HAVE_HPUX_ACLS
-#undef HAVE_IRIX_ACLS
-#undef HAVE_AIX_ACLS
-#undef HAVE_TRU64_ACLS
-#undef HAVE_NO_ACLS
-#undef HAVE_LIBPAM
-#undef HAVE_ASPRINTF_DECL
-#undef HAVE_VASPRINTF_DECL
-#undef HAVE_SNPRINTF_DECL
-#undef HAVE_VSNPRINTF_DECL
-#undef HAVE_NATIVE_ICONV
-#undef HAVE_UNIXSOCKET
-#undef MMAP_BLACKLIST
-#undef HAVE_IMMEDIATE_STRUCTURES
-#undef HAVE_CUPS
-#undef WITH_SAM
-#undef WITH_LDAP_SAMCONFIG
-#undef WITH_NISPLUS_SAM
-#undef WITH_TDB_SAM
-#undef LINUX_QUOTAS_1
-#undef LINUX_QUOTAS_2
-#undef PACKAGE
-#undef VERSION
-#undef HAVE_LC_MESSAGES
-#undef ENABLE_NLS
-#undef HAVE_CATGETS
-#undef HAVE_GETTEXT
-#undef HAVE_STPCPY
-#undef I18N_SWAT
-#undef I18N_DEFAULT_PREF_LANG
-#undef HAVE_KRB5
-#undef HAVE_GSSAPI
+
+/* Broken RedHat 7.2 system header files */
#undef BROKEN_REDHAT_7_SYSTEM_HEADERS
-#undef HAVE_LDAP
-#undef HAVE_STAT_ST_BLOCKS
-#undef STAT_ST_BLOCKSIZE
-#undef HAVE_STAT_ST_BLKSIZE
-#undef HAVE_DEVICE_MAJOR_FN
-#undef HAVE_DEVICE_MINOR_FN
-#undef HAVE_PASSWD_PW_COMMENT
-#undef HAVE_PASSWD_PW_AGE
-/*
- * Add these definitions to allow VFS modules to
- * see the CPPFLAGS defines.
- */
-#ifndef _HPUX_SOURCE
-#undef _HPUX_SOURCE
-#endif
-#ifndef _POSIX_SOURCE
-#undef _POSIX_SOURCE
-#endif
-#ifndef _LARGEFILE64_SOURCE
-#undef _LARGEFILE64_SOURCE
-#endif
-#ifndef _ALIGNMENT_REQUIRED
-#undef _ALIGNMENT_REQUIRED
-#endif
-#ifndef _MAX_ALIGNMENT
-#undef _MAX_ALIGNMENT
-#endif
-#ifndef _LARGE_FILES
-#undef _LARGE_FILES
-#endif
-#ifndef _FILE_OFFSET_BITS
-#undef _FILE_OFFSET_BITS
-#endif
-#ifndef _GNU_SOURCE
-#undef _GNU_SOURCE
-#endif
-#undef LDAP_SET_REBIND_PROC_ARGS
-#undef HAVE_SENDFILE
-#undef HAVE_SENDFILE64
-#undef LINUX_SENDFILE_API
-#undef LINUX_BROKEN_SENDFILE_API
-#undef WITH_SENDFILE
-#undef FREEBSD_SENDFILE_API
-#undef HPUX_SENDFILE_API
-#undef WITH_ADS
-#undef HAVE_SENDFILEV
-#undef HAVE_SENDFILEV64
-#undef SOLARIS_SENDFILE_API
+/* Whether the compiler supports the LL prefix on long long integers */
+#undef COMPILER_SUPPORTS_LL
/* Define to check invariants around some common functions */
#undef DMALLOC_FUNC_CHECK
@@ -243,21 +18,48 @@
/* Define to turn on dmalloc debugging */
#undef ENABLE_DMALLOC
+/* Whether the FreeBSD sendfile() API is available */
+#undef FREEBSD_SENDFILE_API
+
+/* Whether ftruncate() needs root */
+#undef FTRUNCATE_NEEDS_ROOT
+
+/* Whether acl_get_perm_np() is available */
+#undef HAVE_ACL_GET_PERM_NP
+
+/* Whether AIX ACLs are available */
+#undef HAVE_AIX_ACLS
+
/* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
/* Define to 1 if you have the `asprintf' function. */
#undef HAVE_ASPRINTF
+/* Whether asprintf() is available */
+#undef HAVE_ASPRINTF_DECL
+
/* Define to 1 if you have the `atexit' function. */
#undef HAVE_ATEXIT
/* Define to 1 if you have the `bigcrypt' function. */
#undef HAVE_BIGCRYPT
+/* Whether fcntl64 locks are broken */
+#undef HAVE_BROKEN_FCNTL64_LOCKS
+
+/* Whether getgroups is broken */
+#undef HAVE_BROKEN_GETGROUPS
+
+/* Whether readdir() is broken */
+#undef HAVE_BROKEN_READDIR
+
/* Define to 1 if you have the `bzero' function. */
#undef HAVE_BZERO
+/* Whether there is a C99 compliant vsnprintf */
+#undef HAVE_C99_VSNPRINTF
+
/* Define to 1 if you have the `chmod' function. */
#undef HAVE_CHMOD
@@ -270,13 +72,13 @@
/* Define to 1 if you have the <compat.h> header file. */
#undef HAVE_COMPAT_H
-/* Define to 1 if you have the `connect' function. */
+/* Whether the system has connect() */
#undef HAVE_CONNECT
/* Define to 1 if you have the `creat64' function. */
#undef HAVE_CREAT64
-/* Define to 1 if you have the `crypt' function. */
+/* Whether crypt() is available */
#undef HAVE_CRYPT
/* Define to 1 if you have the `crypt16' function. */
@@ -285,6 +87,21 @@
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
+/* Whether we have CUPS */
+#undef HAVE_CUPS
+
+/* Whether the 'dev64_t' type is available */
+#undef HAVE_DEV64_T
+
+/* Whether the major macro for dev_t is available */
+#undef HAVE_DEVICE_MAJOR_FN
+
+/* Whether the minor macro for dev_t is available */
+#undef HAVE_DEVICE_MINOR_FN
+
+/* Whether dirent has a d_off member */
+#undef HAVE_DIRENT_D_OFF
+
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H
@@ -310,9 +127,15 @@
/* Define to 1 if you have the `endnetgrent' function. */
#undef HAVE_ENDNETGRENT
+/* Whether errno() is available */
+#undef HAVE_ERRNO_DECL
+
/* Define to 1 if you have the `execl' function. */
#undef HAVE_EXECL
+/* Whether large file support can be enabled */
+#undef HAVE_EXPLICIT_LARGEFILE_SUPPORT
+
/* Define to 1 if you have the `fchmod' function. */
#undef HAVE_FCHMOD
@@ -322,12 +145,18 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
+/* Whether fcntl locking is available */
+#undef HAVE_FCNTL_LOCK
+
/* Define to 1 if you have the `fcvt' function. */
#undef HAVE_FCVT
/* Define to 1 if you have the `fcvtl' function. */
#undef HAVE_FCVTL
+/* Whether there is a __FILE__ macro */
+#undef HAVE_FILE_MACRO
+
/* Define to 1 if you have the `fopen64' function. */
#undef HAVE_FOPEN64
@@ -340,7 +169,7 @@
/* Define to 1 if you have the `fstat' function. */
#undef HAVE_FSTAT
-/* Define to 1 if you have the `fstat64' function. */
+/* Whether fstat64() is available */
#undef HAVE_FSTAT64
/* Define to 1 if you have the `fsync' function. */
@@ -358,6 +187,12 @@
/* Define to 1 if you have the `ftruncate64' function. */
#undef HAVE_FTRUNCATE64
+/* Truncate extend */
+#undef HAVE_FTRUNCATE_EXTEND
+
+/* Whether there is a __FUNCTION__ macro */
+#undef HAVE_FUNCTION_MACRO
+
/* Define to 1 if you have the `getauthuid' function. */
#undef HAVE_GETAUTHUID
@@ -391,6 +226,9 @@
/* Define to 1 if you have the `getspnam' function. */
#undef HAVE_GETSPNAM
+/* Whether gettimeofday() is available */
+#undef HAVE_GETTIMEOFDAY_TZ
+
/* Define to 1 if you have the `getutmpx' function. */
#undef HAVE_GETUTMPX
@@ -406,6 +244,9 @@
/* Define to 1 if you have the <grp.h> header file. */
#undef HAVE_GRP_H
+/* Whether GSSAPI is available */
+#undef HAVE_GSSAPI
+
/* Define to 1 if you have the <gssapi/gssapi_generic.h> header file. */
#undef HAVE_GSSAPI_GSSAPI_GENERIC_H
@@ -415,15 +256,60 @@
/* Define to 1 if you have the <history.h> header file. */
#undef HAVE_HISTORY_H
+/* Whether HPUX ACLs are available */
+#undef HAVE_HPUX_ACLS
+
+/* Whether iface AIX is available */
+#undef HAVE_IFACE_AIX
+
+/* Whether iface ifconf is available */
+#undef HAVE_IFACE_IFCONF
+
+/* Whether iface ifreq is available */
+#undef HAVE_IFACE_IFREQ
+
+/* Whether the compiler supports immediate structures */
+#undef HAVE_IMMEDIATE_STRUCTURES
+
/* Define to 1 if you have the `initgroups' function. */
#undef HAVE_INITGROUPS
/* Define to 1 if you have the `innetgr' function. */
#undef HAVE_INNETGR
+/* Whether the 'ino64_t' type is available */
+#undef HAVE_INO64_T
+
+/* Whether int16 typedef is included by rpc/rpc.h */
+#undef HAVE_INT16_FROM_RPC_RPC_H
+
+/* Whether int32 typedef is included by rpc/rpc.h */
+#undef HAVE_INT32_FROM_RPC_RPC_H
+
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Whether IRIX ACLs are available */
+#undef HAVE_IRIX_ACLS
+
+/* Whether IRIX specific capabilities are available */
+#undef HAVE_IRIX_SPECIFIC_CAPABILITIES
+
+/* Whether kernel notifies changes */
+#undef HAVE_KERNEL_CHANGE_NOTIFY
+
+/* Whether IRIX kernel oplock type definitions are available */
+#undef HAVE_KERNEL_OPLOCKS_IRIX
+
+/* Whether to use linux kernel oplocks */
+#undef HAVE_KERNEL_OPLOCKS_LINUX
+
+/* Whether the kernel supports share modes */
+#undef HAVE_KERNEL_SHARE_MODES
+
+/* Whether KRB5 is available */
+#undef HAVE_KRB5
+
/* Define to 1 if you have the <krb5.h> header file. */
#undef HAVE_KRB5_H
@@ -433,6 +319,9 @@
/* Define to 1 if you have the <lber.h> header file. */
#undef HAVE_LBER_H
+/* Whether ldap is available */
+#undef HAVE_LDAP
+
/* Define to 1 if you have the <ldap.h> header file. */
#undef HAVE_LDAP_H
@@ -457,6 +346,12 @@
/* Define to 1 if you have the `nsl_s' library (-lnsl_s). */
#undef HAVE_LIBNSL_S
+/* Whether libpam is available */
+#undef HAVE_LIBPAM
+
+/* Whether the system has readline */
+#undef HAVE_LIBREADLINE
+
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
@@ -481,6 +376,9 @@
/* Define to 1 if you have the `llseek' function. */
#undef HAVE_LLSEEK
+/* Whether the host supports long long's */
+#undef HAVE_LONGLONG
+
/* Define to 1 if you have the `lseek64' function. */
#undef HAVE_LSEEK64
@@ -493,7 +391,7 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* Define to 1 if you have the `memset' function. */
+/* Whether memset() is available */
#undef HAVE_MEMSET
/* Define to 1 if you have the `mknod' function. */
@@ -505,6 +403,12 @@
/* Define to 1 if you have the `mktime' function. */
#undef HAVE_MKTIME
+/* Whether mmap works */
+#undef HAVE_MMAP
+
+/* Whether to use native iconv */
+#undef HAVE_NATIVE_ICONV
+
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
@@ -526,6 +430,9 @@
/* Do we have rl_completion_matches? */
#undef HAVE_NEW_LIBREADLINE
+/* Whether no ACLs support is available */
+#undef HAVE_NO_ACLS
+
/* Define to 1 if you have the <nss_common.h> header file. */
#undef HAVE_NSS_COMMON_H
@@ -535,9 +442,18 @@
/* Define to 1 if you have the <ns_api.h> header file. */
#undef HAVE_NS_API_H
+/* Whether off64_t is available */
+#undef HAVE_OFF64_T
+
/* Define to 1 if you have the `open64' function. */
#undef HAVE_OPEN64
+/* Whether struct passwd has pw_age */
+#undef HAVE_PASSWD_PW_AGE
+
+/* Whether struct passwd has pw_comment */
+#undef HAVE_PASSWD_PW_COMMENT
+
/* Define to 1 if you have the `pathconf' function. */
#undef HAVE_PATHCONF
@@ -550,6 +466,9 @@
/* Define to 1 if you have the <poll.h> header file. */
#undef HAVE_POLL_H
+/* Whether POSIX ACLs are available */
+#undef HAVE_POSIX_ACLS
+
/* Define to 1 if you have the `pread' function. */
#undef HAVE_PREAD
@@ -601,6 +520,9 @@
/* Define to 1 if you have the `rename' function. */
#undef HAVE_RENAME
+/* Whether current user is root */
+#undef HAVE_ROOT
+
/* Define to 1 if you have the <rpcsvc/nis.h> header file. */
#undef HAVE_RPCSVC_NIS_H
@@ -610,9 +532,15 @@
/* Define to 1 if you have the <rpcsvc/yp_prot.h> header file. */
#undef HAVE_RPCSVC_YP_PROT_H
+/* Whether there is a conflicting AUTH_ERROR define in rpc/rpc.h */
+#undef HAVE_RPC_AUTH_ERROR_CONFLICT
+
/* Define to 1 if you have the <rpc/rpc.h> header file. */
#undef HAVE_RPC_RPC_H
+/* Whether mkstemp is secure */
+#undef HAVE_SECURE_MKSTEMP
+
/* Define to 1 if you have the <security/pam_appl.h> header file. */
#undef HAVE_SECURITY_PAM_APPL_H
@@ -625,6 +553,18 @@
/* Define to 1 if you have the `select' function. */
#undef HAVE_SELECT
+/* Whether sendfile() is available */
+#undef HAVE_SENDFILE
+
+/* Whether sendfile64() is available */
+#undef HAVE_SENDFILE64
+
+/* Whether sendfilev() is available */
+#undef HAVE_SENDFILEV
+
+/* Whether sendfilev64() is available */
+#undef HAVE_SENDFILEV64
+
/* Define to 1 if you have the `setbuffer' function. */
#undef HAVE_SETBUFFER
@@ -652,6 +592,18 @@
/* Define to 1 if you have the `setpriv' function. */
#undef HAVE_SETPRIV
+/* Whether the system has setresgid */
+#undef HAVE_SETRESGID
+
+/* Whether setresgid() is available */
+#undef HAVE_SETRESGID_DECL
+
+/* Whether the system has setresuid */
+#undef HAVE_SETRESUID
+
+/* Whether setresuid() is available */
+#undef HAVE_SETRESUID_DECL
+
/* Define to 1 if you have the `setsid' function. */
#undef HAVE_SETSID
@@ -676,18 +628,39 @@
/* Define to 1 if you have the `sigset' function. */
#undef HAVE_SIGSET
+/* Whether we have the atomic_t variable type */
+#undef HAVE_SIG_ATOMIC_T_TYPE
+
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
+/* Whether snprintf() is available */
+#undef HAVE_SNPRINTF_DECL
+
+/* Whether we have the variable type socklen_t */
+#undef HAVE_SOCKLEN_T_TYPE
+
+/* Whether the sockaddr_in struct has a sin_len property */
+#undef HAVE_SOCK_SIN_LEN
+
+/* Whether solaris ACLs are available */
+#undef HAVE_SOLARIS_ACLS
+
/* Define to 1 if you have the `srand' function. */
#undef HAVE_SRAND
/* Define to 1 if you have the `srandom' function. */
#undef HAVE_SRANDOM
-/* Define to 1 if you have the `stat64' function. */
+/* Whether stat64() is available */
#undef HAVE_STAT64
+/* Whether the stat struct has a st_blksize property */
+#undef HAVE_STAT_ST_BLKSIZE
+
+/* Whether the stat struct has a st_block property */
+#undef HAVE_STAT_ST_BLOCKS
+
/* Define to 1 if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H
@@ -739,6 +712,12 @@
/* Define to 1 if you have the `strtoul' function. */
#undef HAVE_STRTOUL
+/* Whether the 'dirent64' struct is available */
+#undef HAVE_STRUCT_DIRENT64
+
+/* Whether the flock64 struct is available */
+#undef HAVE_STRUCT_FLOCK64
+
/* Define to 1 if `st_rdev' is member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_RDEV
@@ -880,9 +859,30 @@
/* Define to 1 if you have the <termio.h> header file. */
#undef HAVE_TERMIO_H
+/* Whether Tru64 ACLs are available */
+#undef HAVE_TRU64_ACLS
+
+/* Whether crypt needs truncated salt */
+#undef HAVE_TRUNCATED_SALT
+
+/* Whether uint16 typedef is included by rpc/rpc.h */
+#undef HAVE_UINT16_FROM_RPC_RPC_H
+
+/* Whether uint32 typedef is included by rpc/rpc.h */
+#undef HAVE_UINT32_FROM_RPC_RPC_H
+
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* If we need to build with unixscoket support */
+#undef HAVE_UNIXSOCKET
+
+/* Whether UnixWare ACLs are available */
+#undef HAVE_UNIXWARE_ACLS
+
+/* Whether the 'unsigned char' type is available */
+#undef HAVE_UNSIGNED_CHAR
+
/* Define to 1 if you have the `updwtmp' function. */
#undef HAVE_UPDWTMP
@@ -892,6 +892,9 @@
/* Define to 1 if you have the `usleep' function. */
#undef HAVE_USLEEP
+/* Whether struct utimbuf is available */
+#undef HAVE_UTIMBUF
+
/* Define to 1 if you have the `utime' function. */
#undef HAVE_UTIME
@@ -907,12 +910,57 @@
/* Define to 1 if you have the <utmp.h> header file. */
#undef HAVE_UTMP_H
+/* Whether the utmp struct has a property ut_addr */
+#undef HAVE_UT_UT_ADDR
+
+/* Whether the utmp struct has a property ut_exit */
+#undef HAVE_UT_UT_EXIT
+
+/* Whether the utmp struct has a property ut_host */
+#undef HAVE_UT_UT_HOST
+
+/* Whether the utmp struct has a property ut_id */
+#undef HAVE_UT_UT_ID
+
+/* Whether the utmp struct has a property ut_name */
+#undef HAVE_UT_UT_NAME
+
+/* Whether the utmp struct has a property ut_pid */
+#undef HAVE_UT_UT_PID
+
+/* Whether the utmp struct has a property ut_time */
+#undef HAVE_UT_UT_TIME
+
+/* Whether the utmp struct has a property ut_tv */
+#undef HAVE_UT_UT_TV
+
+/* Whether the utmp struct has a property ut_type */
+#undef HAVE_UT_UT_TYPE
+
+/* Whether the utmp struct has a property ut_user */
+#undef HAVE_UT_UT_USER
+
+/* Whether the utmpx struct has a property ut_syslen */
+#undef HAVE_UX_UT_SYSLEN
+
/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF
+/* Whether vasprintf() is available */
+#undef HAVE_VASPRINTF_DECL
+
+/* Whether __va_copy() is available */
+#undef HAVE_VA_COPY
+
+/* Whether the C compiler understands volatile */
+#undef HAVE_VOLATILE
+
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
+/* Whether vsnprintf() is available */
+#undef HAVE_VSNPRINTF_DECL
+
/* Define to 1 if you have the `vsyslog' function. */
#undef HAVE_VSYSLOG
@@ -922,7 +970,7 @@
/* Define if you have working AF_LOCAL sockets */
#undef HAVE_WORKING_AF_LOCAL
-/* Define to 1 if you have the `yp_get_default_domain' function. */
+/* Whether the system has yp_get_default_domain() */
#undef HAVE_YP_GET_DEFAULT_DOMAIN
/* Define to 1 if you have the `_acl' function. */
@@ -1135,9 +1183,54 @@
/* Define to 1 if you have the `__xstat' function. */
#undef HAVE___XSTAT
+/* Whether the host os is HPUX */
+#undef HPUX
+
+/* Whether the hpux sendfile() API is available */
+#undef HPUX_SENDFILE_API
+
+/* Whether to use intel spinlocks */
+#undef INTEL_SPINLOCKS
+
+/* Whether the host os is irix */
+#undef IRIX
+
+/* Whether the host os is irix6 */
+#undef IRIX6
+
+/* Number of arguments to ldap_set_rebind_proc */
+#undef LDAP_SET_REBIND_PROC_ARGS
+
+/* Whether the host os is linux */
+#undef LINUX
+
+/* Whether (linux) sendfile() is broken */
+#undef LINUX_BROKEN_SENDFILE_API
+
+/* linux quotas */
+#undef LINUX_QUOTAS_1
+
+/* linux 2.4.x quota braindamage */
+#undef LINUX_QUOTAS_2
+
+/* Whether linux sendfile() API is available */
+#undef LINUX_SENDFILE_API
+
+/* Whether to use mips spinlocks */
+#undef MIPS_SPINLOCKS
+
+/* Whether MMAP is broken */
+#undef MMAP_BLACKLIST
+
+/* Whether the host os is NeXT v2 */
+#undef NEXT2
+
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
+/* Whether the host os is osf1 */
+#undef OSF1
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
@@ -1153,28 +1246,203 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
+/* Whether to use powerpc spinlocks */
+#undef POWERPC_SPINLOCKS
+
+/* Whether pututline returns pointer */
+#undef PUTUTLINE_RETURNS_UTMP
+
+/* Whether the host os is qnx */
+#undef QNX
+
+/* Whether the host os is reliantunix */
+#undef RELIANTUNIX
+
+/* Whether getpass should be replaced */
+#undef REPLACE_GETPASS
+
+/* Whether inet_ntoa should be replaced */
+#undef REPLACE_INET_NTOA
+
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
+/* Whether the host os is sco unix */
+#undef SCO
+
+/* Whether seekdir returns void */
+#undef SEEKDIR_RETURNS_VOID
+
+/* The size of the 'ino_t' type */
+#undef SIZEOF_INO_T
+
/* The size of a `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG
+/* The size of the 'off_t' type */
+#undef SIZEOF_OFF_T
+
/* The size of a `short', as computed by sizeof. */
#undef SIZEOF_SHORT
+/* Whether the solaris sendfile() API is available */
+#undef SOLARIS_SENDFILE_API
+
+/* Whether to use sparc spinlocks */
+#undef SPARC_SPINLOCKS
+
+/* Whether statfs requires two arguments and struct statfs has bsize property
+ */
+#undef STAT_STATFS2_BSIZE
+
+/* Whether statfs requires 2 arguments and struct statfs has fsize */
+#undef STAT_STATFS2_FSIZE
+
+/* Whether statfs requires 2 arguments and struct fs_data is available */
+#undef STAT_STATFS2_FS_DATA
+
+/* Whether statfs requires 3 arguments */
+#undef STAT_STATFS3_OSF1
+
+/* Whether statfs requires 4 arguments */
+#undef STAT_STATFS4
+
+/* Whether statvfs() is available */
+#undef STAT_STATVFS
+
+/* Whether statvfs64() is available */
+#undef STAT_STATVFS64
+
+/* The size of a block */
+#undef STAT_ST_BLOCKSIZE
+
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+/* Whether the host os is sunos4 */
+#undef SUNOS4
+
+/* Whether the host os is solaris */
+#undef SUNOS5
+
+/* Whether sysconf(_SC_NGROUPS_MAX) is available */
+#undef SYSCONF_SC_NGROUPS_MAX
+
+/* Whether this is a system V system */
+#undef SYSV
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
+/* Whether the host os is unixware */
+#undef UNIXWARE
+
+/* Whether to use both of HPUX' crypt calls */
+#undef USE_BOTH_CRYPT_CALLS
+
+/* Whether seteuid() is available */
+#undef USE_SETEUID
+
+/* Whether setresuid() is available */
+#undef USE_SETRESUID
+
+/* Whether setreuid() is available */
+#undef USE_SETREUID
+
+/* Whether setuidx() is available */
+#undef USE_SETUIDX
+
+/* Whether to use spin locks instead of fcntl locks */
+#undef USE_SPINLOCKS
+
+/* Whether to include Active Directory support */
+#undef WITH_ADS
+
+/* Whether to include AFS clear-text auth support */
+#undef WITH_AFS
+
+/* Whether to include automount support */
+#undef WITH_AUTOMOUNT
+
+/* Whether to include DFS support */
+#undef WITH_DFS
+
+/* Whether to include 2.2 compatibel LDAP SAM configuration */
+#undef WITH_LDAP_SAMCONFIG
+
+/* Path to iconv */
+#undef WITH_LIBICONV
+
+/* Whether to include nisplus_home support */
+#undef WITH_NISPLUS_HOME
+
+/* Whether to include nisplus SAM support */
+#undef WITH_NISPLUS_SAM
+
+/* Whether to include PAM support */
+#undef WITH_PAM
+
+/* Whether to use profiling */
+#undef WITH_PROFILE
+
+/* Whether to include experimental quota support */
+#undef WITH_QUOTAS
+
+/* Whether to build the new (experimental) SAM database */
+#undef WITH_SAM
+
+/* Whether to include sendfile() support */
+#undef WITH_SENDFILE
+
+/* Whether to build smbmount */
+#undef WITH_SMBMOUNT
+
+/* Whether to include smbwrapper support */
+#undef WITH_SMBWRAPPER
+
+/* Whether to include experimental syslog support */
+#undef WITH_SYSLOG
+
+/* Whether to include experimental TDB SAM support */
+#undef WITH_TDB_SAM
+
+/* Whether to include experimental utmp accounting */
+#undef WITH_UTMP
+
+/* Whether to build winbind */
+#undef WITH_WINBIND
+
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
+/* Required alignment */
+#undef _ALIGNMENT_REQUIRED
+
+/* File offset bits */
+#undef _FILE_OFFSET_BITS
+
+/* Whether to use GNU libc extensions */
+#undef _GNU_SOURCE
+
+/* Whether to use HPUX extensions */
+#undef _HPUX_SOURCE
+
+/* Whether to enable large file support */
+#undef _LARGEFILE64_SOURCE
+
+/* Whether to enable large file support */
+#undef _LARGE_FILES
+
+/* Maximum alignment */
+#undef _MAX_ALIGNMENT
+
+/* Whether to use POSIX compatible functions */
+#undef _POSIX_SOURCE
+
/* Define to 1 if type `char' is unsigned and you are not using gcc. */
#ifndef __CHAR_UNSIGNED__
# undef __CHAR_UNSIGNED__