summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
commit5c29b174a11e992dac68553f08645fe4a825c315 (patch)
tree7c72e5a49112a844a53a2c10ef1fda47867aee92 /configure.ac
parent6cac1738b6aebf75b29d225775030d291319f9a2 (diff)
parente25c754918ae26e8b9e68a47bc1af36248e91800 (diff)
Update upstream source from tag 'upstream/6.9.2'
Update to upstream version '6.9.2' with Debian dir a351ad757689417d0ede510a023d625faee8e3e9
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac28
1 files changed, 15 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 53bd8af..010a0d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,23 +1,25 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(onig, 6.9.1)
+AC_INIT(onig, 6.9.2)
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([-Wno-portability 1.14])
+AM_INIT_AUTOMAKE([-Wno-portability])
AC_CONFIG_HEADERS([src/config.h])
dnl default value for STATISTICS
STATISTICS=""
-AC_ARG_WITH(statistics,
- [ --with-statistics take matching time statistical data],
- [ STATISTICS=-DONIG_DEBUG_STATISTICS ])
+AC_ARG_WITH([statistics],
+ [AS_HELP_STRING([--with-statistics],
+ [take matching time statistical data])],
+ [STATISTICS=-DONIG_DEBUG_STATISTICS])
AC_SUBST(STATISTICS)
dnl check for POSIX API
-AC_ARG_ENABLE(posix-api,
-[ --enable-posix-api turn on to include POSIX API [[default=yes]]],
+AC_ARG_ENABLE([posix-api],
+ [AS_HELP_STRING([--enable-posix-api],
+ [turn on to include POSIX API [default=yes]])],
[\
case "${enableval}" in
yes) enable_posix_api=yes ;;
@@ -29,9 +31,10 @@ AM_CONDITIONAL(ENABLE_POSIX_API, test x"${enable_posix_api}" = xyes)
dnl check for CRNL_AS_LINE_TERMINATOR
-AC_ARG_ENABLE(crnl-as-line-terminator,
- [ --enable-crnl-as-line-terminator deprecated],
- [crnl_as_line_terminator=$enableval])
+AC_ARG_ENABLE([crnl-as-line-terminator],
+ [AS_HELP_STRING([--enable-crnl-as-line-terminator],
+ [deprecated])],
+ [crnl_as_line_terminator=$enableval])
if test "${crnl_as_line_terminator}" = yes; then
AC_DEFINE(USE_CRNL_AS_LINE_TERMINATOR,1,[Define if enable CR+NL as line terminator])
fi
@@ -52,9 +55,8 @@ dnl Checks for header files.
AC_CHECK_HEADERS(sys/time.h unistd.h sys/times.h)
dnl Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_SIZEOF(int, 4)
-AC_CHECK_SIZEOF(short, 2)
-AC_CHECK_SIZEOF(long, 4)
+AC_CHECK_SIZEOF([int])
+AC_CHECK_SIZEOF([long])
dnl Checks for library functions.
AC_FUNC_ALLOCA