Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2005-02-10 03:51:41 UTC

Modified files:
     ChangeLog configure configure.in

Log message:

Warn on $YACC configure-time failure, rather than error out.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.547 ircu2.10/ChangeLog:1.548
--- ircu2.10/ChangeLog:1.547    Wed Feb  9 19:25:38 2005
+++ ircu2.10/ChangeLog  Wed Feb  9 19:51:27 2005
@@ -1,5 +1,10 @@
 2005-02-09  Michael Poole <[EMAIL PROTECTED]>
 
+       * 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: ircu2.10/configure
diff -u ircu2.10/configure:1.27 ircu2.10/configure:1.28
--- ircu2.10/configure:1.27     Tue Jan 25 08:41:57 2005
+++ ircu2.10/configure  Wed Feb  9 19:51:29 2005
@@ -8860,9 +8860,8 @@
 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: ircu2.10/configure.in
diff -u ircu2.10/configure.in:1.26 ircu2.10/configure.in:1.27
--- ircu2.10/configure.in:1.26  Tue Jan 25 08:42:01 2005
+++ ircu2.10/configure.in       Wed Feb  9 19:51:31 2005
@@ -19,7 +19,7 @@
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl $Id: configure.in,v 1.26 2005/01/25 16:42:01 entrope Exp $
+dnl $Id: configure.in,v 1.27 2005/02/10 03:51:31 entrope Exp $
 
 dnl Make sure we are in the correct directory (someone could have run
 dnl 'configure' with a wrong '--srcdir').
@@ -168,7 +168,8 @@
 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
 
 
----------------------- End of diff -----------------------

Reply via email to