summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-06 18:16:36 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-08 03:18:10 -0400
commitd8ead0b8e0470a70f4d67fbc391b24471cdd405a (patch)
treeb90e5f19d7bfd2b6d4148dd05cf13d018fd5de2b /configure.ac
parent0691a6c194422c1764044d7c8e231962c674c8f1 (diff)
downloadlibgd-d8ead0b8e0470a70f4d67fbc391b24471cdd405a.tar.gz
Remove AC_C_CONST
Autoconf 2.59d (released in 2006) [1] started promoting several macros as not relevant for newer systems, including the `AC_C_CONST`. The `const` keyword is used in C since C89. On old systems some compilers lacked the `const` and this macro defined it to be empty. This check was relevant on systems with compilers before C89 and on current systems it can be omitted. [2] The libgd also requires at least C89 or newer so `const` is always available. Refs: [1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS [2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 40b9f60..eb69a45 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,7 +85,6 @@ AC_CHECK_HEADERS(iconv.h,
AC_MSG_RESULT(no))])
# Checks for typedefs, structures, and compiler characteristics.
-#AC_C_CONST
#AC_TYPE_SIZE_T
# Checks for library functions.