git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c403dd1
)
r19195: this should fix should workaround the broken
author
Stefan Metzmacher
<metze@samba.org>
Mon, 9 Oct 2006 09:12:57 +0000
(09:12 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:51 +0000
(14:20 -0500)
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.
metze
(This used to be commit
88adbd744355284df223f5618bd76e3d327055d8
)
source4/lib/replace/libreplace_cc.m4
patch
|
blob
|
history
diff --git
a/source4/lib/replace/libreplace_cc.m4
b/source4/lib/replace/libreplace_cc.m4
index 77bb5a0598c842176dcdf8adc1e407fcf72138ac..c86f3d30144537188b620b3e495749be4239d845 100644
(file)
--- 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])