From: Stefan Metzmacher Date: Sun, 8 Oct 2006 21:09:21 +0000 (+0000) Subject: r19173: see if HPUX 11.23 needs the same workaround as 11.11 X-Git-Tag: samba-4.0.0alpha6~801^3~4550 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e059dec541e580df3cb9c62f47c275051bae899;p=thirdparty%2Fsamba.git r19173: see if HPUX 11.23 needs the same workaround as 11.11 metze (This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5) --- diff --git a/source4/lib/replace/libreplace_cc.m4 b/source4/lib/replace/libreplace_cc.m4 index 77bb5a0598c..6bbea2977be 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.23"; then + AC_MSG_WARN([Enabling HPUX 11.23 header bug workaround]) + CFLAGS="$CFLAGS -D_LARGEFILE64_SUPPORT -D__LP64__ -DO_LARGEFILE=04000" + fi ;; *aix*) AC_DEFINE(BROKEN_STRNDUP, 1, [Whether strndup is broken])