summaryrefslogtreecommitdiff
path: root/source3/lib/replace/libreplace_cc.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-11 05:18:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:23 -0500
commit2c2728b8a7a7d723f52652a15407f308b064852f (patch)
tree1295c1e92186647bacca81abfd33273790857c4e /source3/lib/replace/libreplace_cc.m4
parent2db5ed7fa5b07ce28daf44d56bf07c131af90d02 (diff)
downloadsamba-2c2728b8a7a7d723f52652a15407f308b064852f.tar.gz
samba-2c2728b8a7a7d723f52652a15407f308b064852f.tar.bz2
samba-2c2728b8a7a7d723f52652a15407f308b064852f.zip
r19232: merge from samba4:
- machine/sys/getppdp.h workaround for HPUX 11.23 - more verbose check for net/if.h metze (This used to be commit 9b5c5bc3f3912776af6a8c9b13a9cb8dd2eff8f8)
Diffstat (limited to 'source3/lib/replace/libreplace_cc.m4')
-rw-r--r--source3/lib/replace/libreplace_cc.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/libreplace_cc.m4 b/source3/lib/replace/libreplace_cc.m4
index 77bb5a0598..b8b74036e5 100644
--- a/source3/lib/replace/libreplace_cc.m4
+++ b/source3/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.23"; 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])