From: Allan Caffee <allan.caffee@gmail.com>
To: git@vger.kernel.org
Subject: [RFC/PATCH] autoconf: Do not build "http-push" without expat headers
Date: Wed, 22 Apr 2009 07:58:01 -0400 [thread overview]
Message-ID: <20090422115801.GA23065@linux.vnet> (raw)
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
reply other threads:[~2009-04-22 11:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090422115801.GA23065@linux.vnet \
--to=allan.caffee@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.