Index: third_party/protobuf/php/ext/google/protobuf/config.m4 |
diff --git a/third_party/protobuf/php/ext/google/protobuf/config.m4 b/third_party/protobuf/php/ext/google/protobuf/config.m4 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b5946f74e1ca8b0f9c6d0fef0481bc5077c7a12f |
--- /dev/null |
+++ b/third_party/protobuf/php/ext/google/protobuf/config.m4 |
@@ -0,0 +1,10 @@ |
+dnl lines starting with "dnl" are comments |
+ |
+PHP_ARG_ENABLE(protobuf, whether to enable Protobuf extension, [ --enable-protobuf Enable Protobuf extension]) |
+ |
+if test "$PHP_PROTOBUF" != "no"; then |
+ |
+ dnl this defines the extension |
+ PHP_NEW_EXTENSION(protobuf, upb.c protobuf.c def.c message.c storage.c, $ext_shared) |
+ |
+fi |