1 dnl as-compiler-flag.m4 0.0.1
2 dnl autostars m4 macro for detection of compiler flags
6 AC_DEFUN([AS_COMPILER_FLAG],
8 AC_MSG_CHECKING(to see if compiler understands $1)
13 AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
16 if test "X$flag_ok" = Xyes; then
21 AC_MSG_RESULT([$flag_ok])