CVS update: /ccvs/m4/

[email protected] 15 Jun 2005 18:20:03 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
User: dprice  
Date: 05/06/15 11:20:03

Modified:
 /ccvs/m4/
  ChangeLog, bison.m4

Log:
 * bison.m4 (gl_BISON): Use new build-aux/bison-missing script.

File Changes:

Directory: /ccvs/m4/
====================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/ChangeLog?r1=1.134&r2=1.135
Delta lines:  +4 -0
-------------------
--- ChangeLog	10 Jun 2005 20:31:04 -0000	1.134
+++ ChangeLog	15 Jun 2005 18:20:01 -0000	1.135
@@ -1,3 +1,7 @@
+2005-06-15  Derek Price  <[email protected]>
+
+	* bison.m4 (gl_BISON): Use new build-aux/bison-missing script.
+
 2005-06-10  Derek Price  <[email protected]>
 
 	Sync with GNULIB.

File [changed]: bison.m4
Url: https://ccvs.cvshome.org/source/browse/ccvs/m4/bison.m4?r1=1.8&r2=1.9
Delta lines:  +7 -4
-------------------
--- bison.m4	1 Mar 2005 18:15:07 -0000	1.8
+++ bison.m4	15 Jun 2005 18:20:01 -0000	1.9
@@ -6,18 +6,21 @@
 # with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_BISON],
-[
+[dnl
 dnl All this cruft, which tries to fail harmlessly when bison is not present,
 dnl will no longer be necessary after we require an Automake release 1.10 or
 dnl later, as those avoid generating .c files from .y when not in maintainer
 dnl mode.  This is currently a fork from the GNULIB version of this file.
+  # expand $ac_aux_dir to an absolute path
+  am_aux_dir=`cd $ac_aux_dir && pwd`
+
   # getdate.y works with bison only.
-  AM_MISSING_PROG(YACC, bison -y)
+  test "${YACC+set}" = set || YACC="\${SHELL} $am_aux_dir/bison-missing --run bison -y"
   AC_ARG_VAR(YACC,
 [The `Yet Another C Compiler' implementation to use.  Defaults to `bison -y'.
-Values other than `bison -y' will most likely break on most systems.])
+Values other than `bison -y' will most likely break on most systems.])dnl
   AC_ARG_VAR(YFLAGS,
 [YFLAGS contains the list arguments that will be passed by default to Bison.
 This script will default YFLAGS to the empty string to avoid a default value of
-`-d' given by some make applications.])
+`-d' given by some make applications.])dnl
 ])