From: Mathieu Desnoyers Date: Mon, 7 Feb 2011 06:24:57 +0000 (-0500) Subject: Check specifically for bison X-Git-Tag: v0.1~212 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=e5f5317fe2aa22cbcc86fa7dd0f3c710fbe3d665 Check specifically for bison 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 --- diff --git a/configure.ac b/configure.ac index 5743cada..42bfc79e 100644 --- a/configure.ac +++ b/configure.ac @@ -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.