All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH] autoconf: Do not build "http-push" without expat headers
@ 2009-04-22 11:58 Allan Caffee
  0 siblings, 0 replies; only message in thread
From: Allan Caffee @ 2009-04-22 11:58 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-22 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 11:58 [RFC/PATCH] autoconf: Do not build "http-push" without expat headers Allan Caffee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.