summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-06-05 14:30:20 +0000
committerJim McDonough <jmcd@samba.org>2002-06-05 14:30:20 +0000
commitcef94845806338fb6f09ddce0877c7430fc5d0e9 (patch)
tree4ffdae59d6d47613527f8a2dae1af8ac6652c3e1
parent78418649404712acb73d78a94eb1050d6f529359 (diff)
downloadsamba-cef94845806338fb6f09ddce0877c7430fc5d0e9.tar.gz
samba-cef94845806338fb6f09ddce0877c7430fc5d0e9.tar.bz2
samba-cef94845806338fb6f09ddce0877c7430fc5d0e9.zip
merge 390 kernel workaround from SAMBA_2_2.
(This used to be commit df78e76e0b8e90430af37ce997bfc6b73c9d01d7)
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure b/source3/configure
index 19902cc584..9534c2b9a1 100755
--- a/source3/configure
+++ b/source3/configure
@@ -10590,7 +10590,7 @@ fi
fi
echo "$ac_t""$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" 1>&6
-if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes"; then
+if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes" && test x"$target_cpu" != x"s390"; then
cat >> confdefs.h <<\EOF
#define HAVE_KERNEL_CHANGE_NOTIFY 1
EOF
diff --git a/source3/configure.in b/source3/configure.in
index d726aa6fd5..6a99e9d4b7 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1420,7 +1420,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
+if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes" && test x"$target_cpu" != x"s390"; then
AC_DEFINE(HAVE_KERNEL_CHANGE_NOTIFY)
fi