diff options
Diffstat (limited to 'ACE/m4/platform.m4')
-rw-r--r-- | ACE/m4/platform.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/m4/platform.m4 b/ACE/m4/platform.m4 index 3c7839e4d5d..12cc0248470 100644 --- a/ACE/m4/platform.m4 +++ b/ACE/m4/platform.m4 @@ -167,6 +167,11 @@ dnl FIXME: "FSU" isn't a platform! We need to move this somewhere. AC_DEFINE([ACE_DEFAULT_BASE_ADDR], [((char *) 0x80000000)]) AC_DEFINE([ACE_HAS_BIG_FD_SET]) dnl FIXME: We need a test for this! AC_DEFINE([ACE_TIMER_SKEW], [(1000 * 10)]) + dnl Does this box have NPTL? + NPTL=`getconf GNU_LIBPTHREAD_VERSION | $AWK '{print [$][1]}' -` + if test "$NPTL" = NPTL; then + ACE_CPPFLAGS="$ACE_CPPFLAGS -DACE_HAS_LINUX_NPTL" + fi ;; *lynxos*) ACE_CPPFLAGS="$ACE_CPPFLAGS -D_POSIX_THREADS_CALLS" |