--- libxslt.m4.orig 2009-07-24 03:27:27.000000000 -0400 +++ libxslt.m4 2010-02-09 12:40:02.000000000 -0500 @@ -60,7 +60,7 @@ dnl (Also sanity checks the results of xslt-config to some extent) dnl rm -f conf.xslttest - AC_TRY_RUN([ + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include #include #include @@ -136,7 +136,7 @@ } return 1; } -],, no_xslt=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +])],, no_xslt=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi @@ -159,10 +159,10 @@ echo "*** Could not run libxslt test program, checking why..." CFLAGS="$CFLAGS $XSLT_CFLAGS" LIBS="$LIBS $XSLT_LIBS" - AC_TRY_LINK([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([ #include #include -], [ LIBXSLT_TEST_VERSION; return 0;], +], [ LIBXSLT_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 LIBXSLT or finding the wrong" echo "*** version of LIBXSLT. If it is not finding LIBXSLT, you'll need to set your"