From: Michael Poole Date: Thu, 10 Feb 2005 03:51:31 +0000 (+0000) Subject: Warn on $YACC configure-time failure, rather than error out. X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=26177c83127a063663dfd9b751c223013a9bbfdf Warn on $YACC configure-time failure, rather than error out. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1311 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 692d995..3a959e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-02-09 Michael Poole + * configure.in (YACC): Only warn if we cannot get a version number + from $YACC. + + * configure: Regenerate. + * ircd/ircd_res.c (check_resolver_timeout): Try another way to avoid timer_chg() on a non-queued/active timer. diff --git a/configure b/configure index d6984de..16b44b5 100755 --- a/configure +++ b/configure @@ -8860,9 +8860,8 @@ echo "$as_me: error: Cannot find yacc." >&2;} elif echo "" | $YACC -V -v --version > /dev/null 2>&1 ; then : else - { { echo "$as_me:$LINENO: error: Cannot use $YACC as yacc." >&5 -echo "$as_me: error: Cannot use $YACC as yacc." >&2;} - { (exit 1); exit 1; }; } + { echo "$as_me:$LINENO: WARNING: $YACC may not work as yacc." >&5 +echo "$as_me: WARNING: $YACC may not work as yacc." >&2;} fi diff --git a/configure.in b/configure.in index 531c045..8af7080 100644 --- a/configure.in +++ b/configure.in @@ -168,7 +168,8 @@ if test "$YACC" = ":" ; then elif echo "" | $YACC -V -v --version > /dev/null 2>&1 ; then : else - AC_MSG_ERROR([Cannot use $YACC as yacc.]) +dnl byacc does not seem to have any way to test for workingness, so only warn. + AC_MSG_WARN([$YACC may not work as yacc.]) fi