configure.ac: properly check for bison
The AC_PROG_YACC already does the checking for us, so we don't need to use AC_CHECK_PROGS (which wasn't working anyway because autoconf didn't run the check thinking it was cached already from the earlier AC_PROC_YACC, so we didn't get the default ":" value) Closes: #325 Approved by: cgwalters
This commit is contained in:
parent
2240d1108e
commit
b4c49f5acf
|
|
@ -38,8 +38,7 @@ GLIB_TESTS
|
|||
|
||||
AC_CHECK_HEADER([sys/xattr.h],,[AC_MSG_ERROR([You must have sys/xattr.h from glibc])])
|
||||
|
||||
AC_CHECK_PROGS(YACC, 'bison -y', :)
|
||||
AS_IF([test "$YACC" = :], [AC_MSG_ERROR([bison not found but required])])
|
||||
AS_IF([test "$YACC" != "bison -y"], [AC_MSG_ERROR([bison not found but required])])
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue