Commit a06dfbd2 authored by tim@white.box's avatar tim@white.box

configure.in

        Add #undef inline to all C++ tests.
        This is needed to work with some C++ compilers....
parent b78f8380
...@@ -1458,7 +1458,8 @@ then ...@@ -1458,7 +1458,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
fi fi
AC_TRY_COMPILE( AC_TRY_COMPILE(
[#if !defined(SCO) && !defined(__osf__) [#undef inline
#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT #define _REENTRANT
#endif #endif
#include <pthread.h> #include <pthread.h>
...@@ -1490,7 +1491,8 @@ then ...@@ -1490,7 +1491,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
fi fi
AC_TRY_COMPILE( AC_TRY_COMPILE(
[#if !defined(SCO) && !defined(__osf__) [#undef inline
#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT #define _REENTRANT
#endif #endif
#include <pthread.h> #include <pthread.h>
...@@ -1521,7 +1523,8 @@ then ...@@ -1521,7 +1523,8 @@ then
CXXFLAGS="$CXXFLAGS -Werror" CXXFLAGS="$CXXFLAGS -Werror"
fi fi
AC_TRY_COMPILE( AC_TRY_COMPILE(
[#if !defined(SCO) && !defined(__osf__) [#undef inline
#if !defined(SCO) && !defined(__osf__)
#define _REENTRANT #define _REENTRANT
#endif #endif
#include <pthread.h> #include <pthread.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment