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


##########
configure.ac:
##########
@@ -880,6 +880,22 @@ AS_IF([test "$enable_shared_postgres_backend" = yes ],
   CXXFLAGS="$CXXFLAGS -fPIC "
 ]) # fi
 
+#
+# --enable-link-postgres-with-shared enables linking postgres with shared 
library libpostgres.so
+#
+PGAC_ARG_BOOL(enable, link-postgres-with-shared, no, [build postgres using the 
shared library libpostgres.so ],
+              [AC_DEFINE([USE_LINK_POSTGRES_WITH_SHARED], 1,
+                                    [Define to 1 to build postgres using the 
shared library libpostgres.so (--enable-link-postgres-with-shared)])])
+AC_MSG_RESULT([checking whether to build postgres using the shared library 
libpostgres.so... $enable_link_postgres_with_shared])
+AC_SUBST(enable_link_postgres_with_shared)
+
+# check if enable-shared-postgres-backend is yes if 
enable-link-postgres-with-shared is yes

Review Comment:
   ```suggestion
   # check if enable-shared-postgres-backend is yes when 
enable-link-postgres-with-shared is yes
   ```



-- 
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