summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-08-12 09:25:21 +0200
committerAkim Demaille <akim.demaille@gmail.com>2021-08-12 10:13:38 +0200
commitf387ffc1d3e2984f9a43cd6c43f1efff3e703449 (patch)
treef0754dec84dc0187093b443d098d15d631f096ed /configure.ac
parent9307c173c781904e1a9ad277d3a17f82cd0b4f1c (diff)
downloadbison-f387ffc1d3e2984f9a43cd6c43f1efff3e703449.tar.gz
build: modernize to newer Autoconf releases
* configure.ac: here.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 7c641e53..4a50f496 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
# keyword in at least string.h from gnulib. We need Autoconf 2.68 or
# better to avoid a typo in the 'configure --help' entry for the YACC
# environment variable.
-AC_PREREQ([2.68])
+AC_PREREQ([2.71])
m4_pattern_forbid([^_?(gl_[A-Z]|AX_|BISON_)])
m4_pattern_allow([^BISON_USE_NLS$])
@@ -54,7 +54,7 @@ AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([lib/config.h:lib/config.in.h])
# Checks for the compiler.
-AC_PROG_CC_STDC
+AC_PROG_CC
AC_PROG_CXX
# Gnulib (early checks).
@@ -252,7 +252,7 @@ AM_CONDITIONAL([ENABLE_JAVA], [test x"$CONF_JAVAC" != x && test x"$CONF_JAVA" !=
AC_ARG_ENABLE([yacc],
- [AC_HELP_STRING([--disable-yacc],
+ [AS_HELP_STRING([--disable-yacc],
[do not build a yacc command or an -ly library])],
, [enable_yacc=yes])
AM_CONDITIONAL([ENABLE_YACC], [test "$enable_yacc" = yes])