git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/3] configure: respect --without-expat

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Mar 18, 2020, 07:38 UTC
Message-ID
<bd80a1480e5bbed641599be91e54110e00ed1500.1584516715.git.congdanhqx@gmail.com>
In-Reply-To
<cover.1584516715.git.congdanhqx@gmail.com>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index f4742878c0..7468eb6bc8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -631,6 +631,9 @@ GIT_CONF_SUBST([NO_CURL])
 # Define NO_EXPAT if you do not have expat installed.  git-http-push is
 # not built, and you cannot push using http:// and https:// transports.
 
+# Respect --without-expat
+if test "x$NO_EXPAT" != xYesPlease; then
+
 GIT_STASH_FLAGS($EXPATDIR)
 
 AC_CHECK_LIB([expat], [XML_ParserCreate],
@@ -639,6 +642,8 @@ AC_CHECK_LIB([expat], [XML_ParserCreate],
 
 GIT_UNSTASH_FLAGS($EXPATDIR)
 
+fi
+
 GIT_CONF_SUBST([NO_EXPAT])
 
 #
-- 
2.26.0.rc2.234.g969ad452ca
Previous: Danh DoanNext: Đoàn Trần Công Danh
Message 5 of 14 in “configure: respect --without-<package> flags”
  1. 0/3 configure: respect --without-<package> flagsĐoàn Trần Công Danh, Mar 18, 2020
  2. 1/3 configure: respect --without-curl flagsĐoàn Trần Công Danh, Mar 18, 2020
  3. Eric SunshineMar 18, 2020
  4. Danh DoanMar 19, 2020
  5. 2/3 configure: respect --without-expatĐoàn Trần Công Danh, Mar 18, 2020
  6. 3/3 configure: respect --without-opensslĐoàn Trần Công Danh, Mar 18, 2020
  7. brian m. carlsonMar 18, 2020
  8. Danh DoanMar 18, 2020
  9. 0/3 configure: respect --without-<package> flagsĐoàn Trần Công Danh, Mar 19, 2020
  10. 1/3 configure: respect --without-curl flagĐoàn Trần Công Danh, Mar 19, 2020
  11. 2/3 configure: respect --without-expat flagĐoàn Trần Công Danh, Mar 19, 2020
  12. 3/3 configure: respect --without-openssl flagĐoàn Trần Công Danh, Mar 19, 2020
  13. Danh DoanMar 26, 2020
  14. Junio C HamanoMar 27, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.