From: root Date: Sun, 23 Dec 2007 05:03:52 +0000 (+0000) Subject: partial autopupdate ftw X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=508e824729e7977d98a8d9bb2d6e7fce429cd779;p=dana%2Furxvt.git partial autopupdate ftw --- 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"