summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <tim@white.box>2001-08-31 16:30:20 -0400
committerunknown <tim@white.box>2001-08-31 16:30:20 -0400
commitd8f7e2a8ffea6e3dd1e0e25645975bdee8cc753a (patch)
tree1037e8e8e93977e83438c6c7b2cef1e7f45cf797
parente19a292c56c3c613a798f612a73ff4b9e62eb911 (diff)
downloadmariadb-git-d8f7e2a8ffea6e3dd1e0e25645975bdee8cc753a.tar.gz
configure.in
Add #undef inline to all C++ tests. This is needed to work with some C++ compilers.... configure.in: Add #undef inline to all C++ tests. This is needed to work with some C++ compilers....
-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>