зеркало из https://github.com/mozilla/gecko-dev.git
Bugzilla bug 106771: support building on HP-UX 11.11. The patch is from
Jim Dunn <jdunn@netscape.com>. Modified files: configure configure.in
This commit is contained in:
Родитель
b52e77802a
Коммит
04e4931568
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче