aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.4.0/php/ext/google/protobuf/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.4.0/php/ext/google/protobuf/config.m4')
-rw-r--r--third_party/protobuf/3.4.0/php/ext/google/protobuf/config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/protobuf/3.4.0/php/ext/google/protobuf/config.m4 b/third_party/protobuf/3.4.0/php/ext/google/protobuf/config.m4
new file mode 100644
index 0000000000..ab032e466b
--- /dev/null
+++ b/third_party/protobuf/3.4.0/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