Fixed a problem with testing numbers using the x"$string" format.

Added a default case for libnsl ("no" if not found.)
This commit is contained in:
Robert James Kaes 2001-11-23 16:56:59 +00:00
parent 4aa5e79cdf
commit af53747181

View File

@ -1,4 +1,4 @@
dnl $Id: configure.in,v 1.36 2001-11-23 01:15:01 rjkaes Exp $ dnl $Id: configure.in,v 1.37 2001-11-23 16:56:59 rjkaes Exp $
dnl Devlopers, please strive to achieve this order: dnl Devlopers, please strive to achieve this order:
dnl dnl
@ -126,7 +126,7 @@ else
oldIFS=$IFS; IFS=. oldIFS=$IFS; IFS=.
set `bison -V | sed -e 's/^GNU Bison version //'` set `bison -V | sed -e 's/^GNU Bison version //'`
IFS=$oldIFS IFS=$oldIFS
if test x"$1" = x"1" -a x"$2" -lt x"25"; then if test x"$1" = x"1" -a "$2" -lt "25"; then
AC_MSG_WARN(Bison 1.25 or newer needed to regenerate parsers (found $1.$2).) AC_MSG_WARN(Bison 1.25 or newer needed to regenerate parsers (found $1.$2).)
fi fi
AC_MSG_RESULT($1.$2 (ok)) AC_MSG_RESULT($1.$2 (ok))
@ -159,7 +159,9 @@ dnl avoid -lnsl checks, if we already have the functions which are
dnl usually in libnsl dnl usually in libnsl
unset ac_cv_func_yp_get_default_domain unset ac_cv_func_yp_get_default_domain
AC_CHECK_FUNC(yp_get_default_domain, [ tinyproxy_no_nsl_checks=yes ], [ ]) AC_CHECK_FUNC(yp_get_default_domain,
[ tinyproxy_no_nsl_checks=yes ],
[ tinyproxy_no_nsl_checks=no ])
unset ac_cv_func_yp_get_default_domain unset ac_cv_func_yp_get_default_domain
if test x"$tinyproxy_no_nsl_checks" != x"yes"; then if test x"$tinyproxy_no_nsl_checks" != x"yes"; then