Develop and Download Open Source Software

Browse CVS Repository

Contents of /xoonips/AL/macros/libxml-hook.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Jul 12 16:40:59 2005 UTC (18 years, 9 months ago) by orrisroot
Branch: MAIN
CVS Tags: REL20060213, RELENG_2_0_0a_RELEASE, tag20061130, merge_to_20060605, REL20051226, XOONIPS_RC1, MergePnt_20051116, REL20060323, tag20070307, tag20060615, tag20060622, tag20070307current, tag20061115, merge_to_20060411, MergePnt_20051220, AL_PORTING, HEAD
Branch point for: XOONIPS_STABLE_3, XOONIPS_STABLE_2, XOONIPS_STABLE, XOONIPS_STABLE_32
Changes since 1.2: +1 -1 lines
fixed bug detail information url.

1 # Configure paths for LIBXML2 with 2.6.19 bug check for xoonips AL
2 # Yoshihiro OKUMURA
3
4 dnl AM_XNI_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
5 dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS and bug version check
6 dnl
7 AC_DEFUN([AM_XNI_PATH_XML2],
8 [
9
10 AM_PATH_XML2([$1],[$2],[$3])
11
12 AC_ARG_ENABLE([xml-query-bug-version-check],
13 [AC_HELP_STRING([--disable-xml-query-bug-version-check],
14 [disable library version check for GET query bug in libxml2-2.6.19])])
15 test "x$enable_xml_query_bug_version_check" = "x" && enable_xml_query_bug_version_check=yes
16
17 dnl checking libxml2 version for GET query problem
18 if test "x$enable_xml_query_bug_version_check" = "xyes" ; then
19 xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
20 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
21 xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
22 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
23 xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
24 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
25 if test $xml_config_major_version -eq 2 && \
26 test $xml_config_minor_version -eq 6 && \
27 test $xml_config_micro_version -eq 19 ; then
28
29 echo "*** libxml2-2.6.19 has GET query problem."
30 echo "*** See following url for more detail information."
31 echo "*** http://bugzilla.gnome.org/show_bug.cgi?id=172525"
32 echo "*** If you have fixed libxml2-2.6.19 library, "
33 echo "*** try --disable-xml-query-bug-version-check configure option."
34 AC_MSG_ERROR([libxml2-2.6.19 has GET query problem.])
35 fi
36 fi
37 ])

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26