You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2017/01/10 21:41:37 UTC

qpid-proton git commit: PROTON-1386: Disable PHP binding by default

Repository: qpid-proton
Updated Branches:
  refs/heads/master 951dcb4e1 -> 431c00d5f


PROTON-1386: Disable PHP binding by default


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/431c00d5
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/431c00d5
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/431c00d5

Branch: refs/heads/master
Commit: 431c00d5f3198192c72cdb5aba10c111b19da7a8
Parents: 951dcb4
Author: Andrew Stitcher <as...@apache.org>
Authored: Tue Jan 10 16:41:33 2017 -0500
Committer: Andrew Stitcher <as...@apache.org>
Committed: Tue Jan 10 16:41:33 2017 -0500

----------------------------------------------------------------------
 proton-c/CMakeLists.txt          | 4 ++++
 proton-c/bindings/CMakeLists.txt | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/431c00d5/proton-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/CMakeLists.txt b/proton-c/CMakeLists.txt
index f674eee..8edb661 100644
--- a/proton-c/CMakeLists.txt
+++ b/proton-c/CMakeLists.txt
@@ -190,6 +190,10 @@ endif (PN_WINAPI)
 
 # Try to keep any platform specific overrides together here:
 
+# Until we can decide what to do with PHP support, turn it off by default
+# (We can't build with recent versions of PHP)
+set (NOBUILD_PHP ON)
+
 # MacOS has a bunch of differences in build tools and process and so we have to turn some things
 # off if building there:
 if (APPLE)

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/431c00d5/proton-c/bindings/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/CMakeLists.txt b/proton-c/bindings/CMakeLists.txt
index 37943dc..6b88384 100644
--- a/proton-c/bindings/CMakeLists.txt
+++ b/proton-c/bindings/CMakeLists.txt
@@ -134,7 +134,7 @@ endif()
 foreach(BINDING ${BINDINGS})
   string(TOUPPER ${BINDING} UBINDING)
   # Check whether default was overridden
-  if ("NOBUILD_${UBINDING}")
+  if (NOBUILD_${UBINDING})
     set ("DEFAULT_${UBINDING}" OFF)
   endif ()
   option("BUILD_${UBINDING}" "Build ${BINDING} language binding" ${DEFAULT_${UBINDING}})


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org