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

configure.in

        Add #undef inline to all C++ tests.
        This is needed to work with some C++ compilers....
parent b78f8380
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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>