diff options
author | Bertrand Jacquin (Beber) <beber.mailing@gmail.com> | 2006-04-10 20:47:21 +0200 |
---|---|---|
committer | beber <beber@meathook.melee> | 2006-04-10 20:47:21 +0200 |
commit | f1d795741b3584997d79c63c38932a4d7053341b (patch) | |
tree | 47cda5fc640a6c87a13836e9f606f1e60d5f8e88 /m4 | |
parent | remove all old debugging code (diff) | |
download | espik-f1d795741b3584997d79c63c38932a4d7053341b.tar.xz |
del unused m4 macros
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ac_glibc.m4 | 14 | ||||
-rw-r--r-- | m4/ac_gnuc.m4 | 22 |
2 files changed, 0 insertions, 36 deletions
diff --git a/m4/ac_glibc.m4 b/m4/ac_glibc.m4 deleted file mode 100644 index 342401c..0000000 --- a/m4/ac_glibc.m4 +++ /dev/null @@ -1,14 +0,0 @@ -AC_DEFUN([AC___GLIBC__], -[ - AC_MSG_CHECKING(for __GLIBC__) - AC_CACHE_VAL(ac_cv___glibc__, [ - AC_TRY_COMPILE([#include <stdlib.h>], - [#ifndef __GLIBC__ - #error __GLIBC__ is not defined - #endif], - ac_cv___glibc__=yes, ac_cv___glibc__=no)]) - if test "$ac_cv___glibc__" = "yes"; then - AC_DEFINE(___GLIBC__, 1, [Define to 1 if your platform is ok for debug]) - fi - AC_MSG_RESULT($ac_cv___glibc__) -]) 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__) -]) |