dovecot-1.1: HP-UX: Fixed fd passing.

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 00:37:01 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/1c17998da315
changeset: 7633:1c17998da315
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jun 12 00:04:01 2008 +0300
description:
HP-UX: Fixed fd passing.

diffstat:

1 file changed, 4 insertions(+), 1 deletion(-)
configure.in |    5 ++++-

diffs (15 lines):

diff -r f3667be6ec9e -r 1c17998da315 configure.in
--- a/configure.in	Thu Jun 12 00:01:21 2008 +0300
+++ b/configure.in	Thu Jun 12 00:04:01 2008 +0300
@@ -612,7 +612,10 @@ dnl * OS specific options
 dnl * OS specific options
 case "$host_os" in
 	hpux*)
-		CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
+		CFLAGS="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED"
+		# for getting fd_send/fd_recv working:
+		LDFLAGS="$LDFLAGS -Wl,+b,:"
+		LIBS="-lxnet $LIBS"
 		AC_DEFINE(PREAD_BROKEN,, Defint if pread/pwrite implementation is broken)
 		;;
 	*)


More information about the dovecot-cvs mailing list