Author: metze
Date: 2006-10-09 09:12:57 +0000 (Mon, 09 Oct 2006)
New Revision: 19195

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19195

Log:
this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4      2006-10-09 
08:39:13 UTC (rev 19194)
+++ branches/SAMBA_4_0/source/lib/replace/libreplace_cc.m4      2006-10-09 
09:12:57 UTC (rev 19195)
@@ -64,6 +64,10 @@
                        AC_MSG_WARN([Enabling HPUX 11.11 header bug workaround])
                        CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ 
-DO_LARGEFILE=04000"
                fi
+               if test "`uname -r`" = "B.11.11"; then
+                       AC_MSG_WARN([Enabling HPUX 11.23 machine/sys/getppdp.h 
bug workaround])
+                       CFLAGS="$CFLAGS -D_MACHINE_SYS_GETPPDP_INCLUDED"
+               fi
                ;;
        *aix*)
                AC_DEFINE(BROKEN_STRNDUP, 1, [Whether strndup is broken])

Reply via email to