From 704fe62538cd8c158644a8f0ef8544777efc5400 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Fri, 26 Oct 2001 21:13:06 +0000 Subject: [PATCH] Bugzilla bug 106771: support building on HP-UX 11.11. The patch is from Jim Dunn . Modified files: configure configure.in --- nsprpub/configure | 6 +++--- nsprpub/configure.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nsprpub/configure b/nsprpub/configure index fbd38828652..fa0ab20b114 100755 --- a/nsprpub/configure +++ b/nsprpub/configure @@ -3239,7 +3239,7 @@ EOF fi - if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00)' >/dev/null; then + if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00|B.11.11)' >/dev/null; then cat >> confdefs.h <<\EOF #define HAVE_POINTER_LOCALTIME_R 1 EOF @@ -3298,7 +3298,7 @@ EOF DEFAULT_IMPL_STRATEGY=_PTH fi - if test "$OS_RELEASE" = "B.11.00"; then + if echo "$OS_RELEASE" | egrep '^(B.11.00|B.11.11)' >/dev/null; then cat >> confdefs.h <<\EOF #define HPUX10 1 EOF @@ -5482,7 +5482,7 @@ s%\[%\\&%g s%\]%\\&%g s%\$%$$%g EOF -DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '| tr '\015' ' '` +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' ' | tr '\015' ' '` rm -f conftest.defs diff --git a/nsprpub/configure.in b/nsprpub/configure.in index 7fb51340acf..e3d16de5f81 100644 --- a/nsprpub/configure.in +++ b/nsprpub/configure.in @@ -866,7 +866,7 @@ case "$target" in AC_DEFINE(HAVE_INT_LOCALTIME_R) fi - if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00)' >/dev/null; then + if echo "$OS_RELEASE" | egrep '^(B.10.30|B.11.00|B.11.11)' >/dev/null; then AC_DEFINE(HAVE_POINTER_LOCALTIME_R) fi @@ -901,7 +901,7 @@ case "$target" in DEFAULT_IMPL_STRATEGY=_PTH fi - if test "$OS_RELEASE" = "B.11.00"; then + if echo "$OS_RELEASE" | egrep '^(B.11.00|B.11.11)' >/dev/null; then AC_DEFINE(HPUX10) AC_DEFINE(HPUX11) AC_DEFINE(_LARGEFILE64_SOURCE)