--- deliantra/server/configure.ac 2008/07/29 03:46:26 1.140 +++ deliantra/server/configure.ac 2009/02/01 15:33:34 1.158 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([deliantra-server], [2.6], [support@deliantra.net]) +AC_INIT([deliantra-server], [2.77], [support@deliantra.net]) AC_CONFIG_AUX_DIR(utils) AC_CONFIG_SRCDIR([server/cfperl.xs]) AM_INIT_AUTOMAKE @@ -40,13 +40,13 @@ AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, check the README]) fi -AC_PATH_PROG(PERL, perl5.10.0) +AC_PATH_PROG(PERL, perl5.10.1) if test -z "$PERL"; then - AC_PATH_PROG(PERL, perl5.8.8) + AC_PATH_PROG(PERL, perl5.10.0) if test -z "$PERL"; then AC_PATH_PROG(PERL, perl) if test -z "$PERL"; then - AC_MSG_ERROR([perl 5.8 or higher must be in your PATH, check the README]) + AC_MSG_ERROR([perl 5.10 or higher must be in your PATH, check the README]) fi fi fi @@ -55,16 +55,17 @@ "AnyEvent 4.22" \ "AnyEvent::AIO 0" \ "AnyEvent::BDB 0" \ - "BDB 1.71" \ - "Compress::LZF 1.8" \ - "Coro 4.73" \ + "BDB 1.8" \ + "Compress::LZF 3.41" \ + "Coro 5.13" \ "Coro::EV 0" \ "Deliantra 1.13" \ "Digest::MD5 2.0" \ "EV 3.41" \ - "IO::AIO 3.03" \ + "Guard 0.5" \ + "IO::AIO 3.1" \ "JSON::XS 2.01" \ - "Net::IRC3 0.5" \ + "AnyEvent::IRC 0.6" \ "Pod::POM 0.17" \ "Safe::Hole 0.10" \ "Storable 2.0" \ @@ -126,7 +127,7 @@ dnl fi AC_MSG_CHECKING(for $PERL suitability) -if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>&1; then +if $PERL -MExtUtils::Embed -e "use 5.10.0" >/dev/null 2>&1; then save_CXXFLAGS="$CXXFLAGS" save_LIBS="$LIBS" xPERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" @@ -139,6 +140,7 @@ #include #include #include "EVAPI.h" +#include "CoroAPI.h" ],[ PerlInterpreter *perl = perl_alloc (); ],[perl_link=yes],[perl_link=no]) @@ -147,16 +149,15 @@ if test x$perl_link = xyes; then AC_MSG_RESULT(ok) - AC_DEFINE(ENABLE_PERL, 1, Define if you can embed a perl interpreter) PERLFLAGS="$xPERLFLAGS" PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" CPPFLAGS="$CPPFLAGS $PERLFLAGS" else - AC_MSG_ERROR([no, unable to link]) + AC_MSG_ERROR([no, unable to link test program]) fi else - AC_MSG_ERROR([no working perl found, or perl not version >= 5.8]) + AC_MSG_ERROR([no working perl found, or perl not version >= 5.10]) fi AC_SUBST(PERLLIB) AC_SUBST(PERLFLAGS)