summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-17 21:00:32 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-17 21:00:32 (GMT)
commit458621172b4744271f42403ea58b7f08526c5aa4 (patch)
tree8afda64248797adc08abd7895083f41fda2799fd
parent3027c02d0b834b0ce1511725c6c3e1adf5c95b8d (diff)
downloadhdf5-458621172b4744271f42403ea58b7f08526c5aa4.zip
hdf5-458621172b4744271f42403ea58b7f08526c5aa4.tar.gz
hdf5-458621172b4744271f42403ea58b7f08526c5aa4.tar.bz2
[svn-r4230]
Purpose: Bug Fix Description: The HP-UX 11 platform needs the NSL library. Solution: Check for the HPUX 11 platform and then do the check for the NSL library. Platforms tested: Kelgia
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9251e22..52ecfc7 100755
--- a/configure
+++ b/configure
@@ -1889,7 +1889,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:1895: 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 95b0714..0356238 100644
--- a/configure.in
+++ b/configure.in
@@ -405,7 +405,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