2 dnl # Check if gcc supports -Wframe-larger-than=<size> option.
4 AC_DEFUN([ZFS_AC_CONFIG_USER_FRAME_LARGER_THAN], [
5 AC_MSG_CHECKING([for -Wframe-larger-than=<size> support])
8 CFLAGS="$CFLAGS -Wframe-larger-than=1024"
10 AC_RUN_IFELSE(AC_LANG_PROGRAM( [], []),
12 FRAME_LARGER_THAN=-Wframe-larger-than=1024
21 AC_SUBST([FRAME_LARGER_THAN])