--- libxml.m4.orig 2009-07-24 03:11:04.000000000 -0400 +++ libxml.m4 2010-02-09 12:34:38.000000000 -0500 @@ -58,7 +58,7 @@ dnl (Also sanity checks the results of xml2-config to some extent) dnl rm -f conf.xmltest - AC_TRY_RUN([ + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include #include #include @@ -133,7 +133,7 @@ } return 1; } -],, no_xml=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +])],, no_xml=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CPPFLAGS="$ac_save_CPPFLAGS" LIBS="$ac_save_LIBS" fi @@ -156,10 +156,10 @@ echo "*** Could not run libxml test program, checking why..." CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS" LIBS="$LIBS $XML_LIBS" - AC_TRY_LINK([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([ #include #include -], [ LIBXML_TEST_VERSION; return 0;], +], [ LIBXML_TEST_VERSION; return 0;])], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding LIBXML or finding the wrong" echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"