--- deliantra/server/configure.ac 2012/11/11 02:38:10 1.183 +++ deliantra/server/configure.ac 2016/11/18 03:46:50 1.188 @@ -1,9 +1,10 @@ dnl Process this file with autoconf to produce a configure script., -AC_INIT([deliantra-server], [3.0], [support@deliantra.net]) +AC_INIT([deliantra-server], [3.1], [support@deliantra.net]) +dnl AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR(utils) AC_CONFIG_SRCDIR([server/cfperl.xs]) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE([silent-rules subdir-objects foreign no-dist-gzip dist-xz]) AM_CONFIG_HEADER(include/autoconf.h) AM_MAINTAINER_MODE @@ -57,7 +58,7 @@ "Compress::LZF 3.41" \ "Coro 6" \ "Coro::EV 0" \ - "Deliantra 1.24" \ + "Deliantra 2.0" \ "Digest::MD5 2.0" \ "EV 4" \ "Guard 1" \ @@ -90,6 +91,8 @@ AC_PROG_CXX AC_PROG_CPP +AX_CXX_COMPILE_STDCXX_11([noext], [mandatory]) + AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) AC_CHECK_HEADER(pthread.h,[],[AC_MSG_ERROR([POSIX thread support is required.])]) @@ -219,8 +222,7 @@ AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) AC_OUTPUT([Makefile - include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile - server/Makefile utils/Makefile ext/Makefile doc/Makefile - common/Makefile utils/cfutil + include/Makefile lib/Makefile ext/Makefile + utils/cfutil ])