diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-05 22:06:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-05 22:06:58 +0200 |
commit | c9b3c26db59d89e320a6eb86d9558051ecba0900 (patch) | |
tree | f262530a11155451c4d60b04493ea580e7d3e054 /configure.ac | |
parent | 83ea1be016fd5fc27ee721cf62a18716675815dc (diff) |
New upstream version 6.9.0upstream/6.9.0
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index cec8aa6..fef00cd 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,10 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(onig, 6.8.2) +AC_INIT(onig, 6.9.0) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wno-portability 1.14]) -AC_CONFIG_HEADER(src/config.h) +AC_CONFIG_HEADERS([src/config.h]) dnl default value for STATISTICS @@ -39,7 +39,7 @@ fi dnl Checks for programs. AC_PROG_CC -AM_PROG_LIBTOOL +LT_INIT LTVERSION="5:0:0" AC_SUBST(LTVERSION) @@ -64,15 +64,17 @@ AC_FUNC_ALLOCA AC_FUNC_MEMCMP AC_CACHE_CHECK(for prototypes, _cv_have_prototypes, - [AC_TRY_COMPILE([int foo(int x) { return 0; }], [return foo(10);], - _cv_have_prototypes=yes, - _cv_have_prototypes=no)]) + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM([[int foo(int x) { return 0; }]], + [[return foo(10);]])], + [_cv_have_prototypes=yes], + [_cv_have_prototypes=no])]) if test "$_cv_have_prototypes" = yes; then AC_DEFINE(HAVE_PROTOTYPES,1,[Define if compilerr supports prototypes]) fi AC_CACHE_CHECK(for variable length prototypes and stdarg.h, _cv_stdarg, - [AC_TRY_COMPILE([ + [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdarg.h> int foo(int x, ...) { va_list va; @@ -82,9 +84,7 @@ int foo(int x, ...) { va_arg(va, double); return 0; } -], [return foo(10, "", 3.14);], - _cv_stdarg=yes, - _cv_stdarg=no)]) +]], [[return foo(10, "", 3.14);]])],[_cv_stdarg=yes],[_cv_stdarg=no])]) if test "$_cv_stdarg" = yes; then AC_DEFINE(HAVE_STDARG_PROTOTYPES,1,[Define if compiler supports stdarg prototypes]) fi |