From e3a46b5257c8236ea829af13fa31ce08f2f4d6cc Mon Sep 17 00:00:00 2001 From: pschwan Date: Tue, 27 May 2003 03:17:51 +0000 Subject: [PATCH] Fix bug in the rh-2.4.20 detector which would always think it's 2.4.20 --- lnet/archdep.m4 | 6 +++--- lustre/portals/archdep.m4 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lnet/archdep.m4 b/lnet/archdep.m4 index c4aa1bb..dffbec2 100644 --- a/lnet/archdep.m4 +++ b/lnet/archdep.m4 @@ -145,7 +145,7 @@ fi # ------------ include paths ------------------ if test $host_cpu != "lib" ; then - KINCFLAGS='-I$(top_srcdir)/include -I$(top_srcdir)/portals/include -I$(LINUX)/include' + KINCFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/portals/include -I$LINUX/include" else KINCFLAGS='-I$(top_srcdir)/include -I$(top_srcdir)/portals/include' fi @@ -310,8 +310,8 @@ AC_TRY_LINK([#define __KERNEL__ #include ], [struct task_struct p; p.sighand = NULL;], - [RH_2_4_20=0], - [RH_2_4_20=1]) + [RH_2_4_20=1], + [RH_2_4_20=0]) CPPFLAGS=$SAVE_CPPFLAGS CFLAGS=$SAVE_CFLAGS diff --git a/lustre/portals/archdep.m4 b/lustre/portals/archdep.m4 index c4aa1bb..dffbec2 100644 --- a/lustre/portals/archdep.m4 +++ b/lustre/portals/archdep.m4 @@ -145,7 +145,7 @@ fi # ------------ include paths ------------------ if test $host_cpu != "lib" ; then - KINCFLAGS='-I$(top_srcdir)/include -I$(top_srcdir)/portals/include -I$(LINUX)/include' + KINCFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/portals/include -I$LINUX/include" else KINCFLAGS='-I$(top_srcdir)/include -I$(top_srcdir)/portals/include' fi @@ -310,8 +310,8 @@ AC_TRY_LINK([#define __KERNEL__ #include ], [struct task_struct p; p.sighand = NULL;], - [RH_2_4_20=0], - [RH_2_4_20=1]) + [RH_2_4_20=1], + [RH_2_4_20=0]) CPPFLAGS=$SAVE_CPPFLAGS CFLAGS=$SAVE_CFLAGS -- 1.8.3.1