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

[RFC/PATCH] autoconf: Do not build "http-push" without expat headers

From
Allan Caffee <allan.caffee@gmail.com>
Date
Apr 22, 2009, 11:58 UTC
Message-ID
<20090422115801.GA23065@linux.vnet>

Simply linking against expat does not guarantee successful compilation. Check for development headers before attempting to compile the dependant binaries.

Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
---
 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4e728bc..3de0ae7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -375,6 +375,9 @@ GIT_STASH_FLAGS($EXPATDIR)
 AC_CHECK_LIB([expat], [XML_ParserCreate],
 [NO_EXPAT=],
 [NO_EXPAT=YesPlease])
+AC_CHECK_HEADER([expat.h],
+[NO_EXPAT=],
+[NO_EXPAT=YesPlease])
 
 GIT_UNSTASH_FLAGS($EXPATDIR)
 
-- 
1.5.6.3
Message 1 of 1 in “autoconf: Do not build "http-push" without expat headers”
  1. autoconf: Do not build "http-push" without expat headersAllan Caffee, Apr 22, 2009

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.