tuhaihe commented on code in PR #1446:
URL: https://github.com/apache/cloudberry/pull/1446#discussion_r2629777012


##########
configure.ac:
##########
@@ -942,6 +942,30 @@ PGAC_ARG_BOOL(enable, preload-ic-module, yes,
 AC_MSG_RESULT([checking whether to build with preload ic module ... 
$enable_preload_ic_module])
 AC_SUBST(enable_preload_ic_module)
 
+#
+# mcp-server
+#
+PGAC_ARG_BOOL(enable, mcp-server, no,
+              [enable MCP server support],
+              [AC_DEFINE(ENABLE_MCP_SERVER, 1,
+                         [Define to 1 to build with MCP server support 
(--enable-mcp-server)])])
+AC_MSG_RESULT([checking whether to build with MCP server... 
$enable_mcp_server])
+AC_SUBST(enable_mcp_server)
+
+# Check for required dependencies when mcp-server is enabled
+if test "$enable_mcp_server" = yes; then
+  AC_PATH_PROG([PYTHON3], [python3])
+  if test -z "$PYTHON3"; then
+    AC_MSG_ERROR([python3 is required for --enable-mcp-server but was not 
found])
+  fi

Review Comment:
   Done in the latest commit 
https://github.com/apache/cloudberry/pull/1446/commits/360a5717c2e06f3941c2f0b4161c2bd7bd78a2c1



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to