[Pvfs2-cvs] commit by pcarns in pvfs2-1/maint/config: kernel.m4

CVS commit program cvs at parl.clemson.edu
Sat Feb 16 17:09:31 EST 2008


Update of /projects/cvsroot/pvfs2-1/maint/config
In directory parlweb1:/tmp/cvs-serv27756/maint/config

Modified Files:
      Tag: small-file-branch
	kernel.m4 
Log Message:
merging ARCH configure time detection from trunk


Index: kernel.m4
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/maint/config/kernel.m4,v
diff -p -u -r1.51 -r1.51.2.1
--- kernel.m4	11 Jan 2008 20:30:16 -0000	1.51
+++ kernel.m4	16 Feb 2008 22:09:31 -0000	1.51.2.1
@@ -17,6 +17,11 @@ AC_DEFUN([AX_KERNEL_FEATURES],
 
 	CFLAGS="$USR_CFLAGS $NOSTDINCFLAGS -I$lk_src/include -I$lk_src/include/asm/mach-default -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(empty)  -DKBUILD_MODNAME=KBUILD_STR(empty) -imacros $lk_src/include/linux/autoconf.h"
 
+        dnl we probably need additional includes if this build is intended
+        dnl for a different architecture
+	if test -n "${ARCH}" ; then
+		CFLAGS="$CFLAGS -I$lk_src/arch/${ARCH}/include"
+	fi
 
 	AC_MSG_CHECKING(for i_size_write in kernel)
 	dnl if this test passes, the kernel does not have it



More information about the Pvfs2-cvs mailing list