partial autopupdate ftw
authorroot <root>
Sun, 23 Dec 2007 05:03:52 +0000 (05:03 +0000)
committerroot <root>
Sun, 23 Dec 2007 05:03:52 +0000 (05:03 +0000)
configure.ac

index 2b038420f95f4ec3eebf21f6a33dc464b9746a45..2fe4b2d38a33d919779f21fe15b96a0e9fca8ac5 100644 (file)
@@ -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 <EXTERN.h>
 #include <perl.h>
 #include <XSUB.h>
-],[
+]], [[
      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"