mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-03-27 11:30:36 +00:00
fixed the test for GCC [Brian J. Johnson]
This commit is contained in:
parent
2257e7be3f
commit
91c9cf1879
@ -770,18 +770,18 @@ AC_MSG_RESULT($HAVE_GAS)
|
||||
dnl Check for GCC 2.7 or higher.
|
||||
HAVE_GCC27=no
|
||||
AC_MSG_CHECKING(for GCC 2.7 or higher)
|
||||
AC_EGREP_CPP(yes,
|
||||
AC_EGREP_CPP(xyes,
|
||||
[#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5
|
||||
yes
|
||||
xyes
|
||||
#endif
|
||||
], [AC_MSG_RESULT(yes); HAVE_GCC27=yes], AC_MSG_RESULT(no))
|
||||
|
||||
dnl Check for GCC 3.0 or higher.
|
||||
HAVE_GCC30=no
|
||||
AC_MSG_CHECKING(for GCC 3.0 or higher)
|
||||
AC_EGREP_CPP(yes,
|
||||
AC_EGREP_CPP(xyes,
|
||||
[#if __GNUC__ >= 3
|
||||
yes
|
||||
xyes
|
||||
#endif
|
||||
], [AC_MSG_RESULT(yes); HAVE_GCC30=yes], AC_MSG_RESULT(no))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user