1 --- dbus-1.2.16/configure.in-orig 2009-07-15 08:11:30.872496000 -0500 2 +++ dbus-1.2.16/configure.in 2009-07-15 08:12:09.252022000 -0500 3 @@ -458,6 +458,13 @@ AC_CHECK_HEADERS(errno.h) 4 5 AC_CHECK_HEADERS(unistd.h) 6 7 +# Add -D_POSIX_PTHREAD_SEMANTICS if on Solaris 8 +# 9 +case $host_os in 10 + solaris*) 11 + CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS" ;; 12 +esac 13 + 14 # checking for a posix version of getpwnam_r 15 # if we are cross compiling and can not run the test 16 # assume getpwnam_r is the posix version 17 @@ -1151,13 +1158,6 @@ AC_SUBST(SECTION_FLAGS) 18 AC_SUBST(SECTION_LDFLAGS) 19 AC_MSG_RESULT($ac_gcsections) 20 21 -# Add -D_POSIX_PTHREAD_SEMANTICS if on Solaris 22 -# 23 -case $host_os in 24 - solaris*) 25 - CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS" ;; 26 -esac 27 - 28 changequote(,)dnl 29 # compress spaces in flags 30 CFLAGS=`echo "$CFLAGS" | sed -e 's/ +/ /g'` 31