summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2001-08-21 14:25:12 +0000
committerDave Beckett <dave@dajobe.org>2001-08-21 14:25:12 +0000
commit9667d30fdc2928485f50b83bcd635e54589f6cdc (patch)
treef58d5faf6841102397a179120ac6069065b4b121
parent07b79e04c0822f4e6a810c50a8d251f01c40f11d (diff)
downloadraptor-9667d30fdc2928485f50b83bcd635e54589f6cdc.tar.gz
When choosing xml parsers, end when one found.
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index ecc49e41..90476851 100644
--- a/configure.in
+++ b/configure.in
@@ -202,10 +202,12 @@ for xml_parser_name in $xml_parser libxml expat; do
if test $have_expat_lib = 1; then
need_expat=1
AC_DEFINE(NEED_EXPAT)
+ break
elif test $have_expat_source = 1; then
need_expat=1
need_expat_source=1
AC_DEFINE(NEED_EXPAT)
+ break
fi
;;
@@ -213,10 +215,12 @@ for xml_parser_name in $xml_parser libxml expat; do
if test $have_libxml_lib = 1; then
need_libxml=1
AC_DEFINE(NEED_LIBXML)
+ break
elif test $have_libxml_source = 1; then
need_libxml=1
need_libxml_source=1
AC_DEFINE(NEED_LIBXML)
+ break
fi
;;