summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-12-01 12:19:22 +0100
committerKarel Klic <kklic@redhat.com>2009-12-01 12:19:22 +0100
commit195a8f7ae12b6695c7c983bee53aad2ceb02666b (patch)
tree05a1acb6ffe6ae86913b4ea3424c5ded95eca56d /configure.ac
parent49c4d359ff6d5332f60c090ad2c26a9a39086014 (diff)
downloadabrt-195a8f7ae12b6695c7c983bee53aad2ceb02666b.tar.gz
abrt-195a8f7ae12b6695c7c983bee53aad2ceb02666b.tar.xz
abrt-195a8f7ae12b6695c7c983bee53aad2ceb02666b.zip
configure script explicitly checks for bison, yacc is not enough
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8a0ab718..d1171732 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,7 +10,14 @@ AC_ARG_ENABLE(debug,
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CXX
-AC_PROG_YACC
+AC_CHECK_PROGS(YACC, 'bison -y', [no])
+[if test "$YACC" = "no"]
+[then]
+ [echo "bison not found in the search path. Please ensure that it is"]
+ [echo "installed and its directory is included in the search path."]
+ [echo "Then run configure again before attempting to build ABRT."]
+ [exit 1]
+[fi]
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])