From: Timo Sirainen Date: Wed, 11 Jun 2008 21:04:01 +0000 (+0300) Subject: HP-UX: Fixed fd passing. X-Git-Tag: 1.2.alpha1~338 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7dc058e46142e9b5c36a0052b5ddd8f18a549e2;p=thirdparty%2Fdovecot%2Fcore.git HP-UX: Fixed fd passing. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index a03fdfc2de..10f7223201 100644 --- a/configure.in +++ b/configure.in @@ -612,7 +612,10 @@ AC_TRY_LINK([ 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) ;; *)