Check specifically for bison
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Feb 2011 06:24:57 +0000 (01:24 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Feb 2011 06:24:57 +0000 (01:24 -0500)
Yacc is not reentrant. Bison is deployed on enough maintainer systems nowadays
that it should not be a problem to depend directly on it.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index 5743cada9d03bef1d3b4e4738fbca811ffee54bb..42bfc79e6ee69a07538197ed9bd9ed037ccd1361 100644 (file)
@@ -21,6 +21,8 @@ AC_PROG_LIBTOOL
 AC_PROG_YACC
 AC_PROG_LEX
 
+AC_DEFUN([AC_PROG_BISON], [AC_CHECK_PROGS(BISON, bison, bison)]) 
+
 AM_PATH_GLIB_2_0(2.4.0, ,AC_MSG_ERROR([glib is required in order to compile BabelTrace - download it from ftp://ftp.gtk.org/pub/gtk]) , gmodule)
 
 # Checks for typedefs, structures, and compiler characteristics.
This page took 0.033166 seconds and 4 git commands to generate.