jonkeane commented on code in PR #38195:
URL: https://github.com/apache/arrow/pull/38195#discussion_r1356925975
##########
r/configure:
##########
@@ -121,16 +121,25 @@ else
ARROW_USE_PKG_CONFIG="false"
fi
-# find openssl on macos. macOS ships with libressl. openssl is installable
-# with brew, but it is generally not linked. We can over-ride this and find
-# openssl but setting OPENSSL_ROOT_DIR (which cmake will pick up later in
-# the installation process). FWIW, arrow's cmake process uses this
-# same process to find openssl, but doing it now allows us to catch it in
-# nixlibs.R and throw a nicer error.
+## Find openssl
+# Arrow's cmake process uses this same process to find openssl,
+# but doing it now allows us to catch it in
+# nixlibs.R and activate S3 and GCS support for the source build.
+
+# macOS ships with libressl. openssl is installable with brew, but it is
+# generally not linked. We can over-ride this and find
+# openssl by setting OPENSSL_ROOT_DIR (which cmake will pick up later in
+# the installation process).
if [ "${OPENSSL_ROOT_DIR}" = "" ] && brew --prefix openssl >/dev/null 2>&1;
then
export OPENSSL_ROOT_DIR="`brew --prefix openssl`"
export
PKG_CONFIG_PATH="${OPENSSL_ROOT_DIR}/lib/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}"
fi
+# Look for openssl with pkg-config for non-brew sources(e.g. CRAN) and Linux
Review Comment:
This is very minor
> for non-brew sources(e.g. CRAN)
I'm not sure I follow the connection between non-brew and CRAN here. This
would work for anyone who has openssl installed in a way that pkg-config can
find it, yeah? It might be clearer to just leave it at that?
--
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]