--- deliantra/server/configure.ac 2007/03/07 01:23:37 1.59 +++ deliantra/server/configure.ac 2007/06/01 06:04:07 1.76 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([cfserver], [2.1], [crossfire@schmorp.de]) +AC_INIT([cfserver], [2.2], [crossfire@schmorp.de]) AC_CONFIG_AUX_DIR(utils) AC_CONFIG_SRCDIR([server/cfperl.xs]) AM_INIT_AUTOMAKE @@ -25,6 +25,11 @@ AC_MSG_ERROR([optipng must be in your PATH, check the README]) fi +AC_PATH_PROG(PNGNQ, pngnq) +if test -z "$PNGNQ"; then + AC_MSG_ERROR([png neuquant (pngnq) must be in your PATH, check the README]) +fi + AC_PATH_PROG(IDENTIFY, identify) if test -z "$IDENTIFY"; then AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README]) @@ -46,9 +51,23 @@ fi fi -for module_vers in "Image::Size 2.992" "Crossfire 0.97" "Coro 3.5" "Coro::Event 2.1" "Event 1.08" \ - "IO::AIO 2.32" "BDB 0.1" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \ - "Digest::MD5 2.0" "Compress::LZF 1.71" "Safe::Hole 0.10" "Pod::POM 0.17"; do +for module_vers in \ + "AnyEvent 2.52" \ + "BDB 0.1" \ + "Compress::LZF 1.8" \ + "Coro 3.62" \ + "Coro::Event 2.1" \ + "Crossfire 0.99" \ + "Digest::MD5 2.0" \ + "Event 1.08" \ + "IO::AIO 2.4" \ + "JSON::XS 1.21" \ + "Pod::POM 0.17" \ + "Safe::Hole 0.10" \ + "Storable 2.0" \ + "Time::HiRes 1.0" \ + "YAML::Syck 0.71" \ +; do set -- $module_vers module=$1 minvers=$2 @@ -69,6 +88,9 @@ AC_PROG_CXX AC_PROG_CPP +AC_CHECK_HEADERS(execinfo.h) +AC_CHECK_FUNCS(backtrace) + AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) @@ -150,6 +172,6 @@ AC_OUTPUT([Makefile include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile server/Makefile utils/Makefile ext/Makefile doc/Makefile - lib/checkarch.pl lib/collect.pl common/Makefile utils/cfutil + common/Makefile utils/cfutil ])