diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-29 09:58:37 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-29 09:58:37 +0100 |
commit | 85b7f90c47828618ea0ce825d8af20d8acd793b7 (patch) | |
tree | 5786f458c803e5344fde11d95c79c1de048fd3ea /source3 | |
parent | 8657066f3ad942f5596ef14e0f071b8dbfcd5554 (diff) | |
download | samba-85b7f90c47828618ea0ce825d8af20d8acd793b7.tar.gz samba-85b7f90c47828618ea0ce825d8af20d8acd793b7.tar.bz2 samba-85b7f90c47828618ea0ce825d8af20d8acd793b7.zip |
configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.
metze
(This used to be commit 5fb7533e37b6c682e019b1c3515dc6befc8bda09)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 9970647bf8..5254c8bba7 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -401,7 +401,7 @@ dnl These have to be built static: default_static_modules="pdb_smbpasswd pdb_tdbsam rpc_lsarpc rpc_samr rpc_winreg rpc_initshutdown rpc_dssetup rpc_wkssvc rpc_svcctl2 rpc_ntsvcs2 rpc_netlogon rpc_netdfs rpc_srvsvc2 rpc_spoolss rpc_eventlog2 auth_sam auth_unix auth_winbind auth_server auth_domain auth_builtin vfs_default nss_info_template" dnl These are preferably build shared, and static if dlopen() is not available -default_shared_modules="vfs_recycle vfs_audit vfs_extd_audit vfs_full_audit vfs_netatalk vfs_fake_perms vfs_default_quota vfs_readonly vfs_cap vfs_expand_msdfs vfs_shadow_copy vfs_shadow_copy2 charset_CP850 charset_CP437 auth_script vfs_readahead vfs_syncops vfs_xattr_tdb vfs_streams_xattr" +default_shared_modules="vfs_recycle vfs_audit vfs_extd_audit vfs_full_audit vfs_netatalk vfs_fake_perms vfs_default_quota vfs_readonly vfs_cap vfs_expand_msdfs vfs_shadow_copy vfs_shadow_copy2 charset_CP850 charset_CP437 auth_script vfs_readahead vfs_xattr_tdb vfs_streams_xattr" if test "x$developer" = xyes; then default_static_modules="$default_static_modules rpc_rpcecho" @@ -860,6 +860,11 @@ if test x"$samba_cv_msghdr_msg_control" = x"yes" -o \ default_shared_modules="$default_shared_modules vfs_aio_fork" fi +AC_CHECK_FUNCS(dirfd) +if test x"$ac_cv_func_dirfd" = x"yes"; then + default_shared_modules="$default_shared_modules vfs_syncops" +fi + AC_CACHE_CHECK([for sig_atomic_t type],samba_cv_sig_atomic_t, [ AC_TRY_COMPILE([ #include <sys/types.h> |