summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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