Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: third_party/protobuf/php/ext/google/protobuf/config.m4

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/protobuf/patches/0011-use-offsetof-for-clang.patch ('k') | third_party/protobuf/php/ext/google/protobuf/def.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698