--- deliantra/server/configure.ac 2010/06/21 22:28:12 1.177 +++ deliantra/server/configure.ac 2011/04/23 04:46:25 1.181 @@ -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) @@ -30,10 +30,10 @@ AC_MSG_ERROR([png neuquant (pngnq) must be in your PATH, check the README]) fi -dnl AC_PATH_PROG(IDENTIFY, identify) -dnl if test -z "$IDENTIFY"; then -dnl AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README]) -dnl fi +AC_PATH_PROG(IDENTIFY, identify) +if test -z "$IDENTIFY"; then + AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README]) +fi AC_PATH_PROG(CONVERT, convert) if test -z "$CONVERT"; then @@ -49,17 +49,17 @@ fi for module_vers in \ - "common::sense 3.2" \ + "common::sense 3.3" \ "AnyEvent 5.2" \ "AnyEvent::AIO 0" \ "AnyEvent::BDB 0" \ "BDB 1.8" \ "Compress::LZF 3.41" \ - "Coro 5.13" \ + "Coro 5.372" \ "Coro::EV 0" \ "Deliantra 1.24" \ "Digest::MD5 2.0" \ - "EV 3.41" \ + "EV 4.00" \ "Guard 0.5" \ "IO::AIO 3.3" \ "JSON::XS 2.01" \ @@ -97,6 +97,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`"