770 |
|
dnl Check for GCC 2.7 or higher. |
771 |
|
HAVE_GCC27=no |
772 |
|
AC_MSG_CHECKING(for GCC 2.7 or higher) |
773 |
< |
AC_EGREP_CPP(yes, |
773 |
> |
AC_EGREP_CPP(xyes, |
774 |
|
[#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5 |
775 |
< |
yes |
775 |
> |
xyes |
776 |
|
#endif |
777 |
|
], [AC_MSG_RESULT(yes); HAVE_GCC27=yes], AC_MSG_RESULT(no)) |
778 |
|
|
779 |
|
dnl Check for GCC 3.0 or higher. |
780 |
|
HAVE_GCC30=no |
781 |
|
AC_MSG_CHECKING(for GCC 3.0 or higher) |
782 |
< |
AC_EGREP_CPP(yes, |
782 |
> |
AC_EGREP_CPP(xyes, |
783 |
|
[#if __GNUC__ >= 3 |
784 |
< |
yes |
784 |
> |
xyes |
785 |
|
#endif |
786 |
|
], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no)) |
787 |
|
|