From 458621172b4744271f42403ea58b7f08526c5aa4 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 17 Jul 2001 16:00:32 -0500 Subject: [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 --- configure | 2 +- configure.in | 2 +- 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 -- cgit v0.12