mirror of
https://github.com/pmmp/ext-encoding.git
synced 2025-02-28 18:21:37 +00:00
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.
14 lines
452 B
Plaintext
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
|