1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/ext/mbstring/libmbfl
Peter Kokot 8e230d364d 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]

PHP also requires at least C89 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
2018-09-02 18:55:03 +02:00
..
2018-09-02 18:55:03 +02:00

This is libmbfl, a streamable multibyte character code filter and converter
library.

The original version of libmbfl is developed and distributed at
https://github.com/moriyoshi/libmbfl under the LGPL 2.1 license.

The libmbfl library is bundled with PHP as a fork of the original repository and
is not in sync with the upstream at https://github.com/moriyoshi/libmbfl. As such,
the libmbfl directory is directly modified in the php-src repository.

See LICENSE and DISCLAIMER for licensing information.