fi
])
+#
+# LB_CONFIG_BGL
+#
+# Enable BGL features
+#
+AC_DEFUN([LB_CONFIG_BGL],
+[AC_MSG_CHECKING([whether to build BGL features])
+AC_ARG_ENABLE([bgl],
+ AC_HELP_STRING([--enable-bgl],
+ [enable building of BGL features]),
+ [enable_bgl='yes'],[enable_bgl='no'])
+AC_MSG_RESULT([$enable_bgl])
+if test x$enable_bgl != xno; then
+ AC_DEFINE(BGL_SUPPORT, 1, Enable BGL Features)
+fi
+])
#
# LB_PATH_SNMP
AC_MSG_ERROR([** we assume that sizeof(long long) == 8. Tell phil@clusterfs.com])
fi
+if test x$enable_bgl != xyes; then
AC_MSG_CHECKING([if $CC accepts -m64])
CC_save="$CC"
CC="$CC -m64"
AC_MSG_RESULT([no])
CC="$CC_save"
])
+fi
CPPFLAGS="-I\$(top_builddir)/lnet/include -I\$(top_srcdir)/lnet/include -I\$(top_builddir)/lustre/include -I\$(top_srcdir)/lustre/include $CPPFLAGS"
LB_CONFIG_LUSTRE_PORTALS
fi
LB_CONFIG_CRAY_XT3
+LB_CONFIG_BGL
LB_PATH_DEFAULTS
LB_PROG_CC