From cef94845806338fb6f09ddce0877c7430fc5d0e9 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Wed, 5 Jun 2002 14:30:20 +0000 Subject: merge 390 kernel workaround from SAMBA_2_2. (This used to be commit df78e76e0b8e90430af37ce997bfc6b73c9d01d7) --- source3/configure | 2 +- source3/configure.in | 2 +- 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 -- cgit