Whamcloud - gitweb
Temp fix: gcc with 64-bit support (like in debian) doesn't mean the target is 64...
[fs/lustre-release.git] / build / autoconf / lustre-build.m4
index 8deda35..31d5967 100644 (file)
@@ -495,6 +495,9 @@ if test $ac_cv_sizeof_unsigned_long_long != 8 ; then
         AC_MSG_ERROR([** we assume that sizeof(long long) == 8.  Tell phil@clusterfs.com])
 fi
 
+# FIXME
+AC_CHECK_DECL([__i386__], [], [
+
 if test x$enable_bgl != xyes; then
 AC_MSG_CHECKING([if $CC accepts -m64])
 CC_save="$CC"
@@ -507,6 +510,8 @@ AC_TRY_COMPILE([],[],[
 ])
 fi
 
+])
+
 CPPFLAGS="-I\$(top_builddir)/lnet/include -I\$(top_srcdir)/lnet/include -I\$(top_builddir)/lustre/include -I\$(top_srcdir)/lustre/include $CPPFLAGS"
 
 LLCPPFLAGS="-D__arch_lib__ -D_LARGEFILE64_SOURCE=1"