diff options
author | Steve Huston <shuston@riverace.com> | 2007-08-15 15:08:51 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2007-08-15 15:08:51 +0000 |
commit | 963e29b79351de47ac0b963bee4b8fc9843ea38a (patch) | |
tree | bdabc726b75338746f0502e76759d1f26f0ff6b1 /ACE/m4/platform.m4 | |
parent | 7b5dcdf8cca0a7b753993c14340c61ac2f0ff019 (diff) | |
download | ATCD-963e29b79351de47ac0b963bee4b8fc9843ea38a.tar.gz |
ChangeLogTag:Wed Aug 15 14:57:06 UTC 2007 Steve Huston <shuston@riverace.com>
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" |