diff options
Diffstat (limited to 'php/ext/google/protobuf/config.m4')
-rw-r--r-- | php/ext/google/protobuf/config.m4 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/config.m4 b/php/ext/google/protobuf/config.m4 new file mode 100644 index 00000000..ab032e46 --- /dev/null +++ b/php/ext/google/protobuf/config.m4 @@ -0,0 +1,10 @@ +PHP_ARG_ENABLE(protobuf, whether to enable Protobuf extension, [ --enable-protobuf Enable Protobuf extension]) + +if test "$PHP_PROTOBUF" != "no"; then + + PHP_NEW_EXTENSION( + protobuf, + array.c def.c encode_decode.c map.c message.c protobuf.c storage.c type_check.c upb.c utf8.c, + $ext_shared) + +fi |