]> granicus.if.org Git - onig/commitdiff
Replace AC_CONFIG_HEADER with AC_CONFIG_HEADERS
authorPeter Kokot <peterkokot@gmail.com>
Thu, 5 Jul 2018 02:00:26 +0000 (04:00 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Thu, 5 Jul 2018 02:00:26 +0000 (04:00 +0200)
Autoconf doesn't mention the AC_CONFIG_HEADER macro since the v2.13
released in 1999 anywhere in the documentation. Future of this macro is
unclear and commented as possible candidate for obsoletion in the
autoconf source code. Since it is just a wrapper around the main
AC_CONFIG_HEADERS macro, the functionality is the same, and also more
clear to find it in the autoconf documentation and avoid possible future
obsoletion.

configure.ac

index 68de3e37d1349511fc544ff06ee2d2a0a58482f5..5768db91a3f883121e81da83bc8a93daaa92cbce 100644 (file)
@@ -4,7 +4,7 @@ AC_INIT(onig, 6.8.2)
 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