build: Drop AC_C_CONST from configure.ac

Any compiler we care about now supports the `const` keyword, so we no
longer need to check for it. autoconf has recommended this macro is
obsolete:

https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/C-Compiler.html#index-AC_005fC_005fCONST-755

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/1313
This commit is contained in:
Philip Withnall 2018-09-03 13:04:21 +01:00
parent 17ae9f36da
commit bac504e32f

View File

@ -533,8 +533,6 @@ AS_IF([test x$ac_cv_sizeof_long_long = x8], [
], [AC_MSG_RESULT(none)])
])
AC_C_CONST
dnl
dnl check in which direction the stack grows
dnl