From 9277be83cd7f94fd94e06ccdc9c163b3e1917741 Mon Sep 17 00:00:00 2001 From: mmex Date: Fri, 18 Jul 2003 01:28:37 +0000 Subject: [PATCH] - update rh-2.4.20 configuration to compile correctly --- lnet/archdep.m4 | 2 +- lustre/portals/archdep.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lnet/archdep.m4 b/lnet/archdep.m4 index db1b2ed..793ee7f 100644 --- a/lnet/archdep.m4 +++ b/lnet/archdep.m4 @@ -326,7 +326,7 @@ AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib) # This needs to run after we've defined the KCPPFLAGS AC_MSG_CHECKING(for kernel version) -AC_TRY_LINK([#define __KERNEL__ +AC_TRY_COMPILE([#define __KERNEL__ #include ], [struct task_struct p; p.sighand = NULL;], diff --git a/lustre/portals/archdep.m4 b/lustre/portals/archdep.m4 index db1b2ed..793ee7f 100644 --- a/lustre/portals/archdep.m4 +++ b/lustre/portals/archdep.m4 @@ -326,7 +326,7 @@ AM_CONDITIONAL(LIBLUSTRE, test x$host_cpu = xlib) # This needs to run after we've defined the KCPPFLAGS AC_MSG_CHECKING(for kernel version) -AC_TRY_LINK([#define __KERNEL__ +AC_TRY_COMPILE([#define __KERNEL__ #include ], [struct task_struct p; p.sighand = NULL;], -- 1.8.3.1