X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3b2942e671eadc31ca5cacf4c2965a1cac4edf04..5a43d4184f2318c02b6ba87656559e8b5bb424ef:/configure.ac diff --git a/configure.ac b/configure.ac index 79dff3ac..bd9ff0b6 100644 --- a/configure.ac +++ b/configure.ac @@ -18,8 +18,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 USA -# We use macros like AC_CHECK_HEADERS_ONCE, so we need Autoconf 2.60 or better. -AC_PREREQ(2.60) +# We have strange test case titles, so we need Autoconf 2.61 or better. +AC_PREREQ(2.61) AC_INIT([GNU Bison], [2.3a+], [bug-bison@gnu.org]) AC_CONFIG_AUX_DIR([build-aux]) @@ -30,8 +30,7 @@ AM_INIT_AUTOMAKE([1.8 check-news readme-alpha dist-bzip2]) AC_CONFIG_HEADERS([lib/config.h:lib/config.hin]) # Checks for the compiler. -AC_PROG_CC -AM_PROG_CC_STDC +AC_PROG_CC_STDC # Gnulib (early checks). gl_EARLY @@ -47,8 +46,8 @@ if test "${enableval}" = yes; then gl_WARNING_CFLAGS([-Werror]) AC_SUBST([WERROR_CFLAGS], [$WARNING_CFLAGS]) WARNING_CFLAGS= - gl_WARNING_CFLAGS([-Wextra -Wno-sign-compare]) gl_WARNING_CFLAGS([-Wall]) + gl_WARNING_CFLAGS([-Wextra -Wno-sign-compare]) gl_WARNING_CFLAGS([-Wcast-align]) gl_WARNING_CFLAGS([-Wcast-qual]) gl_WARNING_CFLAGS([-Wformat]) @@ -119,6 +118,9 @@ AC_CONFIG_FILES([runtime-po/Makefile.in]) aclocaldir='${datadir}/aclocal' AC_SUBST([aclocaldir]) +# Create the benchmark script. +AC_CONFIG_FILES([etc/bench.pl], [chmod +x etc/bench.pl]) + # Initialize the test suite. AC_CONFIG_TESTDIR(tests) AC_CONFIG_FILES([tests/Makefile tests/atlocal]) @@ -134,10 +136,14 @@ AC_SUBST([O0CFLAGS]) O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[[0-9]] *//'` AC_SUBST([O0CXXFLAGS]) +gt_JAVACOMP([1.3]) +gt_JAVAEXEC + AC_CONFIG_FILES([Makefile build-aux/Makefile po/Makefile.in data/Makefile + etc/Makefile examples/Makefile examples/calc++/Makefile lib/Makefile src/Makefile doc/Makefile])