]> granicus.if.org Git - libevent/commitdiff
build: remove call to AC_C_CONST()
authorfanquake <fanquake@gmail.com>
Tue, 15 Jun 2021 08:00:48 +0000 (16:00 +0800)
committerfanquake <fanquake@gmail.com>
Fri, 9 Jul 2021 04:34:11 +0000 (12:34 +0800)
> This macro is obsolescent, as current C compilers support const.
> New programs need not use this macro.

See: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.67/autoconf.html#index-AC_005fC_005fCONST-877.

configure.ac

index ae086703a340e64dc04611abb88fccbc0ee728b9..077095681cc81592f0c787573e2688c0ee106ec9 100644 (file)
@@ -281,7 +281,6 @@ if test x$bwin32 = xtrue; then
 fi
 
 dnl Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
 AC_C_INLINE
 
 dnl Checks for library functions.