+# LB_LINUX_CONFIG_BIG_STACK
+#
+# check for big stack patch
+#
+AC_DEFUN([LB_LINUX_CONFIG_BIG_STACK],
+[if test "x$ARCH_UM" = "x" -a "x$linux25" = "xno" ; then
+ case $target_cpu in
+ i?86 | x86_64)
+ LB_LINUX_CONFIG([STACK_SIZE_16KB],[],[
+ LB_LINUX_CONFIG([STACK_SIZE_32KB],[],[
+ LB_LINUX_CONFIG([STACK_SIZE_64KB],[],[
+ AC_MSG_ERROR([Lustre requires that Linux is configured with at least a 16KB stack.])
+ ])
+ ])
+ ])
+ ;;
+ esac
+fi
+])
+
+#