This is an automated email from the ASF dual-hosted git repository.
scantor pushed a commit to branch xerces-3.2
in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/xerces-3.2 by this push:
new fb8e5881a XERCESC-2242 - Non-default curl location breaks autoconf
link detection
fb8e5881a is described below
commit fb8e5881ae243975b6f941117c7374b6845c3446
Author: Scott Cantor <[email protected]>
AuthorDate: Wed Oct 5 12:44:56 2022 -0400
XERCESC-2242 - Non-default curl location breaks autoconf link detection
https://issues.apache.org/jira/browse/XERCESC-2242
---
m4/xerces_curl_prefix.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/m4/xerces_curl_prefix.m4 b/m4/xerces_curl_prefix.m4
index fec4418a7..d1d015ca8 100644
--- a/m4/xerces_curl_prefix.m4
+++ b/m4/xerces_curl_prefix.m4
@@ -66,6 +66,7 @@ AC_DEFUN([XERCES_CURL_PREFIX],
orig_libs=$LIBS
LIBS="$curl_libs $LIBS"
+ CPPFLAGS="$curl_flags $CPPFLAGS"
AC_LINK_IFELSE(
[AC_LANG_SOURCE([
@@ -82,6 +83,7 @@ AC_DEFUN([XERCES_CURL_PREFIX],
[], [xerces_cv_curl_present=no])
LIBS=$orig_libs
+ CPPFLAGS=$orig_cppflags
if test x"$xerces_cv_curl_present" != x"no"; then
AC_MSG_RESULT([yes])
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]