From c6465198ecfcd52e0b04b3e977273e7ce71af944 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Sun, 8 Oct 2006 16:56:50 +0000 Subject: * configure.in: define _POSIX_PTHREAD_SEMANTICS on solaris avoid using dirfd on systems that don't have dirfd (Patch by Brian Cameron ) --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index b3a50ecb..867b9fe9 100644 --- a/configure.in +++ b/configure.in @@ -228,6 +228,13 @@ else fi fi +# Add -D_POSIX_PTHREAD_SEMANTICS if on Solaris +# +case $target_os in + solaris*) + CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS" ;; +esac + AM_PROG_LIBTOOL changequote(,)dnl -- cgit