Whamcloud - gitweb
b=15870
[fs/lustre-release.git] / build / autoconf / lustre-build-linux.m4
index 58af79c..e47efd8 100644 (file)
@@ -119,7 +119,7 @@ LB_LINUX_TRY_COMPILE([
                #include <linux/version.h>
        ],[
                #ifndef SLE_VERSION_CODE
-               #error "not redhat kernel"
+               #error "not sles kernel"
                #endif
        ],[
                SUSE_KERNEL="yes"
@@ -445,6 +445,11 @@ fi
 #
 AC_DEFUN([LB_PROG_LINUX],
 [LB_LINUX_PATH
+LB_LINUX_ARCH
+
+if test $LINUX_ARCH == "powerpc64"; then
+       CFLAGS="$CFLAGS -m64"
+fi
 
 LB_LINUX_CONFIG([MODULES],[],[
        AC_MSG_ERROR([module support is required to build Lustre kernel modules.])