From 4342689729bd3ea70209604b34af0a7c641b80cc Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 22 Feb 2020 06:09:35 +0100 Subject: configure: add AC_C_CONST to configure.ac This is inspired by the autobook sections on Windows DLL builds. https://www.sourceware.org/autobook/autobook/autobook_137.html The AC_C_CONST macro improves support for the C language 'const' decoration in case the compiler does not understand it. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index d59e0be..3a8b163 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,8 @@ AC_PROG_CC AC_PROG_INSTALL AC_PROG_LN_S +AC_C_CONST + # Required for per-target flags or subdir-objects with C sources. AM_PROG_CC_C_O -- cgit v1.2.3-70-g09d2