]> git.saurik.com Git - bison.git/blob - m4/warning.m4
* src/reduce.c: Convert to use bitset.h, not hand coded BSet.
[bison.git] / m4 / warning.m4
1 AC_DEFUN(BISON_WARNING,
2 [AC_MSG_CHECKING(whether compiler accepts $1)
3 AC_SUBST(WARNING_CFLAGS)
4 ac_save_CFLAGS="$CFLAGS"
5 CFLAGS="$CFLAGS $1"
6 AC_TRY_COMPILE(,
7 [int x;],
8 WARNING_CFLAGS="$WARNING_CFLAGS $1"
9 AC_MSG_RESULT(yes),
10 AC_MSG_RESULT(no))
11 CFLAGS="$ac_save_CFLAGS"])