summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authortim@white.box <>2001-08-31 16:30:20 -0400
committertim@white.box <>2001-08-31 16:30:20 -0400
commita06dfbd2254f45eefccfa18e436b32938b1d5717 (patch)
tree1037e8e8e93977e83438c6c7b2cef1e7f45cf797 /configure.in
parentb78f8380d570e677ec602217ed575e7ecac9bb36 (diff)
downloadmariadb-git-a06dfbd2254f45eefccfa18e436b32938b1d5717.tar.gz
configure.in
Add #undef inline to all C++ tests. This is needed to work with some C++ compilers....
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 210082d7eee..79cd35b5678 100644
--- a/configure.in
+++ b/configure.in
@@ -1458,7 +1458,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror"
fi
AC_TRY_COMPILE(
-[#if !defined(SCO) && !defined(__osf__)
+[#undef inline
+#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT
#endif
#include <pthread.h>
@@ -1490,7 +1491,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror"
fi
AC_TRY_COMPILE(
-[#if !defined(SCO) && !defined(__osf__)
+[#undef inline
+#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT
#endif
#include <pthread.h>
@@ -1521,7 +1523,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror"
fi
AC_TRY_COMPILE(
-[#if !defined(SCO) && !defined(__osf__)
+[#undef inline
+#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT
#endif
#include <pthread.h>