diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-10-08 16:56:50 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-10-08 16:56:50 +0000 |
commit | c6465198ecfcd52e0b04b3e977273e7ce71af944 (patch) | |
tree | a1231a68bfded44a125bf17c7887ec37d28b600a /configure.in | |
parent | ff99239bd429cb3335406dff1761a0a54ad2996b (diff) |
* configure.in: define _POSIX_PTHREAD_SEMANTICS on solaris
avoid using dirfd on systems that don't have dirfd
(Patch by Brian Cameron <brian dot cameron at sun dot com>)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |