diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-09 09:12:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:51 -0500 |
commit | d66e80c650ac16c9553223aac0cce7989831569b (patch) | |
tree | 37d8d367fe3853d09db1b0b8ee8654b122063a47 /source4/lib/replace | |
parent | c403dd11fb33755809a23338ecac99676d766b88 (diff) | |
download | samba-d66e80c650ac16c9553223aac0cce7989831569b.tar.gz samba-d66e80c650ac16c9553223aac0cce7989831569b.tar.bz2 samba-d66e80c650ac16c9553223aac0cce7989831569b.zip |
r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.
metze
(This used to be commit 88adbd744355284df223f5618bd76e3d327055d8)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r-- | source4/lib/replace/libreplace_cc.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4 index 77bb5a0598..c86f3d3014 100644 --- a/source4/lib/replace/libreplace_cc.m4 +++ b/source4/lib/replace/libreplace_cc.m4 @@ -64,6 +64,10 @@ case "$host_os" in 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]) |