diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /m4/compiler.m4 | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-typecode-overhaul.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'm4/compiler.m4')
-rw-r--r-- | m4/compiler.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/compiler.m4 b/m4/compiler.m4 index 721af9ac6cf..603112d53f9 100644 --- a/m4/compiler.m4 +++ b/m4/compiler.m4 @@ -38,6 +38,14 @@ dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL]) AC_REQUIRE([ACE_COMPILATION_OPTIONS]) if test "$GXX" = yes; then +dnl Temporarily change M4 quotes to prevent "regex []" from being eaten + if $CXX --version | $EGREP -v '^2\.[[0-7]]' > /dev/null; then + : # Do nothing + else + AC_DEFINE([ACE_HAS_GNUG_PRE_2_8]) + AC_DEFINE([ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS]) + fi + case `$CXX --version` in 2.9* | 3*) if test "$ace_user_enable_exceptions" != yes; then |