Warn on $YACC configure-time failure, rather than error out.
authorMichael Poole <mdpoole@troilus.org>
Thu, 10 Feb 2005 03:51:31 +0000 (03:51 +0000)
committerMichael Poole <mdpoole@troilus.org>
Thu, 10 Feb 2005 03:51:31 +0000 (03:51 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1311 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
configure
configure.in

index 692d9958fd57b7bcce34ca9ab93402033f589ed6..3a959e9d0cf13e4be2a9f4f32aaea3ad133bcd59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-02-09  Michael Poole <mdpoole@troilus.org>
 
+       * 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.
 
index d6984de97436665532349cda21395cd58e43c505..16b44b5d57c05dd5c993218c2e610633d11e8f6a 100755 (executable)
--- 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
 
 
index 531c045f226776d9942a9fbce0e7acaf3717be30..8af70805fcb2abd472579d699ef3aaeb81e5e71d 100644 (file)
@@ -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