diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-11-11 22:23:08 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-11-11 22:23:08 +0000 |
commit | b2863bcedf64bed38f60190593ce4c20a7c8a211 (patch) | |
tree | 9dc6b659513aed1122a49b4387d0c0f36991c543 /configure.in | |
parent | bc08062d8786e124614f33cac04d602b1c9c1969 (diff) | |
download | nspr-hg-b2863bcedf64bed38f60190593ce4c20a7c8a211.tar.gz |
Bugzilla Bug 312199: HP-UX IPF (Itanium) changes contributed by Grace Lu
of HP: use .so as shared library suffix, link shared libraries with
+b $ORIGIN. r=wtc,darin.
Modified Files: configure configure.in _hpux.h
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in index e24dd824..fbe7dfba 100644 --- a/configure.in +++ b/configure.in @@ -1093,17 +1093,24 @@ tools are selected during the Xcode/Developer Tools installation.]) AC_DEFINE(XP_UNIX) AC_DEFINE(HPUX) AC_DEFINE(_HPUX_SOURCE) - AC_DEFINE(hppa) # OSF1 and HPUX report the POLLHUP event for a socket when the # shutdown(SHUT_WR) operation is called for the remote end, even though # the socket is still writeable. Use select(), instead of poll(), to # workaround this problem. AC_DEFINE(_PR_POLL_WITH_SELECT) AC_DEFINE(_USE_BIG_FDS) - DLL_SUFFIX=sl DSO_LDOPTS='-b +h $(notdir $@)' PR_MD_CSRCS=hpux.c - if test "$OS_TEST" != "ia64"; then + if test "$OS_TEST" = "ia64"; then + DLL_SUFFIX=so + DSO_LDOPTS="$DSO_LDOPTS +b '\$\$ORIGIN'" + CPU_ARCH_TAG=_$OS_TEST + if test -z "$USE_64"; then + COMPILER_TAG=_32 + fi + else + AC_DEFINE(hppa) + DLL_SUFFIX=sl PR_MD_ASFILES=os_HPUX.s fi if test -n "$USE_64"; then |