* minor new port: i386-pc-linux-suse9.3.
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 20 Jun 2005 19:23:35 +0000 (19:23 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Mon, 20 Jun 2005 19:23:35 +0000 (19:23 +0000)
* configure.in (linux/nfs_mount.h): Move __KERNEL__ definition up
so u32 is available for <linux/sunrpc/msg_prot.h>.

ChangeLog
NEWS
configure.in

index d046d2a3036cf8e7ea692cfcf65141e1f022a14b..92a14eeb77a79433eda3568506a2a074bb93b0c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-06-20  Erez Zadok  <ezk@cs.sunysb.edu>
+
+       * minor new port: i386-pc-linux-suse9.3.
+
+Mon Jun 20 17:48:58 2005  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in (linux/nfs_mount.h): Move __KERNEL__ definition up
+       so u32 is available for <linux/sunrpc/msg_prot.h>.
+
 2005-06-16  Erez Zadok  <ezk@cs.sunysb.edu>
 
        * amd/mapc.c (maptypes): move MAP_EXEC after MAP_FILE, because
diff --git a/NEWS b/NEWS
index a4eb11c30d68c38d8d40fb663b06ab95a8d06351..43054853ebb08ebae41bf5c1139780a50fda899a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
 
 * minor new ports:
        i386-pc-linux-fc4
+       i386-pc-linux-suse9.3
 
 *** Notes specific to am-utils version 6.1
 
index 15a5517bc4d15a34aa7c64a0ef7fe2eb5874e941..cddf26e152101d647b6d107a8d306f628e611942 100644 (file)
@@ -59,7 +59,7 @@ AH_BOTTOM([
 dnl
 dnl AC_CONFIG_AUX_DIR(m4)
 AC_PREREQ(2.52)
-AC_REVISION($Revision: 1.96 $)
+AC_REVISION($Revision: 1.97 $)
 AC_COPYRIGHT([Copyright (c) 1997-2005 Erez Zadok])
 dnl find out system type
 AC_MSG_NOTICE(*** SYSTEM TYPES ***)
@@ -591,6 +591,15 @@ AC_CHECK_HEADERS([                 \
        linux/nfs_mount.h               \
 ], [], [],
 [
+/*
+ * Needed to find nfs2_fh and nfs_fh on older systems (yellowdog2.3, gentoo,
+ * etc.)
+ * Needs to be defined before <asm/types.h> so u32 is available for
+ * <linux/sunrpc/msg_prot.h>.
+ */
+# ifndef __KERNEL__
+#  define __KERNEL__
+# endif /* __KERNEL__ */
 #ifdef HAVE_LINUX_SOCKET_H
 # include <linux/socket.h>
 #endif /* HAVE_LINUX_SOCKET_H */
@@ -609,10 +618,6 @@ struct nfs2_fh {
 /* next dev_t lines needed due to changes in kernel code */
 #undef dev_t
 #define dev_t unsigned short   /* compatible with Red Hat and SuSE */
-/* needed to find nfs2_fh and nfs_fh on older systems (yellowdog2.3, gentoo, etc.) */
-# ifndef __KERNEL__
-#  define __KERNEL__
-# endif /* __KERNEL__ */
 ])
 
 dnl ======================================================================