diff options
Diffstat (limited to 'm4/ac_gnuc.m4')
-rw-r--r-- | m4/ac_gnuc.m4 | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/m4/ac_gnuc.m4 b/m4/ac_gnuc.m4 deleted file mode 100644 index 4786bbb..0000000 --- a/m4/ac_gnuc.m4 +++ /dev/null @@ -1,22 +0,0 @@ -# if { echo '#if __GNUC__' -# echo ' yes ' -# echo '#endif'; } | ${CC} -E - | grep yes > /dev/null } ; then -# gnuc_compiler=yes -# else -# gnuc_compiler=no -# fi - -AC_DEFUN([AC___GNUC__], -[ - AC_MSG_CHECKING(for __GNUC__) - AC_CACHE_VAL(ac_cv___gnuc__, [ - AC_TRY_COMPILE([#include <stdlib.h>], - [#ifndef __GNUC__ - #error __GNUC__ is not defined - #endif], - ac_cv___gnuc__=yes, ac_cv___gnuc__=no)]) - if test "$ac_cv___gnuc__" = "yes"; then - AC_DEFINE(___GNUC__, 1, [Define to 1 if your platform is ok for debug]) - fi - AC_MSG_RESULT($ac_cv___gnuc__) -]) |