summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-17 21:34:34 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-17 21:34:34 (GMT)
commit05e81f551dc04b7385672e324e9ec2dffd57fbab (patch)
tree28396e66f66a20377455966a6e20a026d99f3f16
parent27ded6c5384deffb5eef3bc9479864d07cd5fcd5 (diff)
downloadhdf5-05e81f551dc04b7385672e324e9ec2dffd57fbab.zip
hdf5-05e81f551dc04b7385672e324e9ec2dffd57fbab.tar.gz
hdf5-05e81f551dc04b7385672e324e9ec2dffd57fbab.tar.bz2
[svn-r4233]
Purpose: Bug Back Port Description: HP-UX 11 needs the nsl library. Solution: Include a check for HPUX 11 when determining if nsl is needed. Platforms tested: Kelgia and VClass machines
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index dcf783d..56e162e 100755
--- a/configure
+++ b/configure
@@ -1886,7 +1886,7 @@ else
fi
-if test `uname` = "SunOS"; then
+if test "`uname`" = "SunOS" -o "`uname -sr`" = "HP-UX B.11.00"; then
echo $ac_n "checking for xdr_int in -lnsl""... $ac_c" 1>&6
echo "configure:1892: checking for xdr_int in -lnsl" >&5
ac_lib_var=`echo nsl'_'xdr_int | sed 'y%./+-%__p_%'`
diff --git a/configure.in b/configure.in
index ecb457d..67bff1f 100644
--- a/configure.in
+++ b/configure.in
@@ -402,7 +402,7 @@ dnl Check for system libraries.
dnl
AC_CHECK_LIB(m,ceil)
-if test `uname` = "SunOS"; then
+if test "`uname`" = "SunOS" -o "`uname -sr`" = "HP-UX B.11.00"; then
dnl ...for Solaris and hdf4
AC_CHECK_LIB(nsl, xdr_int)
fi