--- deliantra/server/configure.ac 2011/04/22 02:03:10 1.180 +++ deliantra/server/configure.ac 2012/11/11 02:38:10 1.183 @@ -1,4 +1,4 @@ -dnl Process this file with autoconf to produce a configure script. +dnl Process this file with autoconf to produce a configure script., AC_INIT([deliantra-server], [3.0], [support@deliantra.net]) AC_CONFIG_AUX_DIR(utils) @@ -50,24 +50,23 @@ for module_vers in \ "common::sense 3.3" \ - "AnyEvent 5.2" \ + "AnyEvent 7.0" \ "AnyEvent::AIO 0" \ "AnyEvent::BDB 0" \ "BDB 1.8" \ "Compress::LZF 3.41" \ - "Coro 5.372" \ + "Coro 6" \ "Coro::EV 0" \ "Deliantra 1.24" \ "Digest::MD5 2.0" \ - "EV 4.00" \ - "Guard 0.5" \ - "IO::AIO 3.3" \ + "EV 4" \ + "Guard 1" \ + "IO::AIO 4" \ "JSON::XS 2.01" \ "AnyEvent::IRC 0.6" \ "Pod::POM 0.27" \ "Safe::Hole 0.10" \ "Storable 2.0" \ - "Time::HiRes 1.0" \ "URI 1.35" \ "YAML::XS 0.32" \ ; do @@ -97,6 +96,15 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config, no) +AC_MSG_CHECKING(blitz++ >= 0.9) +if $PKG_CONFIG blitz --atleast-version 0.9; then + CXXFLAGS="$CXXFLAGS `$PKG_CONFIG blitz --cflags`" + LIBS="$LIBS `$PKG_CONFIG blitz --libs`" + AC_MSG_RESULT(ok) +else + AC_MSG_ERROR(no) +fi + AC_MSG_CHECKING(glib >= 2.10) if $PKG_CONFIG glib-2.0 --atleast-version 2.10; then CXXFLAGS="$CXXFLAGS `$PKG_CONFIG glib-2.0 --cflags`"