XERCESC-2138: Drop const workarounds
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aeecc7f..6dbbb72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,7 +126,6 @@
 include(XercesFileMgrSelection)
 include(XercesXMLCh)
 include(XercesOperatorDelete)
-include(XercesConst)
 include(XercesInline)
 include(XercesVolatile)
 include(XercesLString)
diff --git a/cmake/XercesConst.cmake b/cmake/XercesConst.cmake
deleted file mode 100644
index fa78435..0000000
--- a/cmake/XercesConst.cmake
+++ /dev/null
@@ -1,29 +0,0 @@
-# CMake build for xerces-c
-#
-# Written by Roger Leigh <rleigh@codelibre.net>
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# const keyword
-
-include(CheckCXXSourceCompiles)
-
-check_cxx_source_compiles("
-int main() {
-  const char *s = \"Test\";
-  return 0;
-}"
-  HAVE_CONST)
diff --git a/config.h.cmake.in b/config.h.cmake.in
index b20e327..2bf5b4c 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -451,11 +451,6 @@
 /* Define to the 16 bit type used to represent Xerces UTF-16 characters */
 #define XERCES_XMLCH_T @XERCES_XMLCH_T@
 
-/* Define to empty if `const' does not conform to ANSI C. */
-#if !@HAVE_CONST@
-#define const
-#endif
-
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */
 #ifndef __cplusplus
diff --git a/configure.ac b/configure.ac
index 0114425..c31f592 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,6 @@
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_STDBOOL
-AC_C_CONST
 AC_C_INLINE
 AC_C_VOLATILE