diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index e16c967b59..86493dbcb7 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1498,8 +1498,12 @@ case "$host_os" in *linux*) AC_CACHE_CHECK([for broken RedHat 7.2 system header files],samba_cv_BROKEN_REDHAT_7_SYSTEM_HEADERS,[ AC_TRY_COMPILE([ +#ifdef HAVE_SYS_VFS_H #include <sys/vfs.h> +#endif +#ifdef HAVE_SYS_CAPABILITY #include <sys/capability.h> +#endif ],[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 @@ -1513,7 +1517,7 @@ AC_TRY_COMPILE([#include <sys/acl.h> #if defined(HAVE_RPCSVC_NIS_H) #include <rpcsvc/nis.h> #endif], -[return 0;], +[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) |