summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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