1 dnl as-compiler.m4 0.1.0
3 dnl autostars m4 macro for detection of compiler flavor
5 dnl Thomas Vander Stichele <thomas at apestaart dot org>
7 dnl $Id: as-compiler.m4,v 1.4 2004/06/01 09:44:19 thomasvs Exp $
9 dnl AS_COMPILER(COMPILER)
10 dnl will set variable COMPILER to
13 dnl - (empty) if no guess could be made
15 AC_DEFUN([AS_COMPILER],
18 AC_MSG_CHECKING(for compiler flavour)
21 if test "x$GCC" = "xyes"; then
28 (int argc, char *argv[])
36 ], as_compiler="forte", ,)
38 if test "x$as_compiler" = "x"; then
39 AC_MSG_RESULT([unknown !])
41 AC_MSG_RESULT($as_compiler)