X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/cf2a5f7c47bb07bb377525759e70f70ced40e3f6..85a6eb13f803feda4264e7e0be1d244ab0d88c27:/configure.ac diff --git a/configure.ac b/configure.ac index 52241669..169891ca 100644 --- a/configure.ac +++ b/configure.ac @@ -3,9 +3,9 @@ # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software # Foundation, Inc. # -# This program is free software; you can redistribute it and/or modify +# This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, @@ -14,12 +14,10 @@ # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301 USA +# along with this program. If not, see . -# 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]) @@ -46,8 +44,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]) @@ -118,6 +116,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]) @@ -133,10 +134,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])