[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here
From: |
Andreas Gruenbacher |
Subject: |
[PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here |
Date: |
Tue, 27 Apr 2010 23:24:09 +0200 |
* m4/bison.m4 (gl_BISON): We need to use AM_MISSING_PROG for making
bison the default YACC or else packages cannot be built without bison.
Signed-off-by: Andreas Gruenbacher <address@hidden>
---
ChangeLog | 3 +++
m4/bison.m4 | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 3ed5687..5825bc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2010-04-27 Andreas Gruenbacher <address@hidden>
+ * m4/bison.m4 (gl_BISON): We need to use AM_MISSING_PROG for making
+ bison the default YACC or else packages cannot be built without bison.
+
* lib/getdate.y (RELATIVE_TIME_0): Avoid a stupid 'const object should
have initializer' warning.
diff --git a/m4/bison.m4 b/m4/bison.m4
index 260cba6..34e6fca 100644
--- a/m4/bison.m4
+++ b/m4/bison.m4
@@ -8,14 +8,14 @@
AC_DEFUN([gl_BISON],
[
# getdate.y works with bison only.
- : ${YACC='bison -y'}
+ AM_MISSING_PROG([YACC], [bison -y])
dnl
dnl Declaring YACC & YFLAGS precious will not be necessary after GNULIB
dnl requires an Autoconf greater than 2.59c, but it will probably still be
dnl useful to override the description of YACC in the --help output, re
dnl getdate.y assuming `bison -y'.
AC_ARG_VAR([YACC],
-[The `Yet Another C Compiler' implementation to use. Defaults to `bison -y'.
+[The `Yet Another Compiler Compiler' implementation to use. Defaults to
`bison -y'.
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.
--
1.7.1.rc1.12.ga601
- [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here,
Andreas Gruenbacher <=
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Bruno Haible, 2010/04/27
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Bruno Haible, 2010/04/27
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Daniel Richard G., 2010/04/27
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Ralf Wildenhues, 2010/04/28
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Daniel Richard G., 2010/04/28
- Re: [PATCH 4/4] Use AM_MISSING_PROG when making bison the default YACC here, Bruno Haible, 2010/04/28