summaryrefslogtreecommitdiff
path: root/macros/neon.m4
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2007-08-09 09:46:36 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2007-08-09 09:46:36 +0000
commitaa44aa13368eac43690c8a91d7b872e494c7c4e3 (patch)
treed9ad7b94b3ed7b41d2f11ad6421a5f1719c2e034 /macros/neon.m4
parent04c298330cbb8c7cd93f08aaa5c5456fef4f7bf4 (diff)
downloadneon-aa44aa13368eac43690c8a91d7b872e494c7c4e3.tar.gz
Fix compiler warnings with expat 2.x API:
* macros/neon.m4 (NEON_FORMAT): Fix use of headers passed to AC_CHECK_SIZEOF. * macros/neon-xml-parser.m4 (NE_XML_EXPAT): Check how to print the XML_Size type, if defined. * src/ne_xml.c (ne_xml_parse): Use correct format string for return value of XML_GetCurrentLineNumber. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1218 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'macros/neon.m4')
-rw-r--r--macros/neon.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4
index 5e00f19..74ec207 100644
--- a/macros/neon.m4
+++ b/macros/neon.m4
@@ -514,7 +514,8 @@ AC_DEFUN([NEON_FORMAT], [
AC_REQUIRE([NEON_FORMAT_PREP])
-AC_CHECK_SIZEOF($1, [$2])
+AC_CHECK_SIZEOF($1,, [AC_INCLUDES_DEFAULT
+$2])
dnl Work out which specifier character to use
m4_ifdef([ne_spec], [m4_undefine([ne_spec])])