Commit 821f51ab authored by unknown's avatar unknown

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....
parent 8b3129f0
...@@ -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