0
0
mirror of https://github.com/pmmp/ext-encoding.git synced 2025-02-28 18:21:37 +00:00
ext-encoding/config.m4
Dylan K. Taylor d0e71a30aa Pull simple type encoders out into a separate class
this isn't the final form, but these statics already turned out to be
handy for the tests, and they'll probably be good for attributes and
other stuff like it.
2024-04-10 15:07:05 +01:00

14 lines
452 B
Plaintext

PHP_ARG_ENABLE([encoding],
[whether to enable encoding support],
[AS_HELP_STRING([--enable-encoding],
[Enable encoding support])],
[no])
if test "$PHP_ENCODING" != "no"; then
PHP_REQUIRE_CXX()
dnl the 6th parameter here is required for C++ shared extensions
PHP_NEW_EXTENSION(encoding, encoding.cpp classes/ByteBuffer.cpp classes/Types.cpp, $ext_shared,,-std=c++14 -Wall -Werror, yes)
PHP_ADD_BUILD_DIR($ext_builddir/classes, 1)
fi