From 508e824729e7977d98a8d9bb2d6e7fce429cd779 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 23 Dec 2007 05:03:52 +0000 Subject: [PATCH] partial autopupdate ftw --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 2b038420..2fe4b2d3 100644 --- a/configure.ac +++ b/configure.ac @@ -722,13 +722,13 @@ if test x$support_perl = xyes; then save_LIBS="$LIBS" CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" - AC_TRY_LINK([ + AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include #include #include -],[ +]], [[ PerlInterpreter *perl = perl_alloc (); -],[rxvt_perl_link=yes],[rxvt_perl_link=no]) +]])],[rxvt_perl_link=yes],[rxvt_perl_link=no]) CXXFLAGS="$save_CXXFLAGS" LIBS="$save_LIBS" -- 2.34.1