1 | dnl Process this file with autoconf to produce a configure script., |
1 | dnl Process this file with autoconf to produce a configure script., |
2 | |
2 | |
3 | AC_INIT([deliantra-server], [3.0], [support@deliantra.net]) |
3 | AC_INIT([deliantra-server], [3.1], [support@deliantra.net]) |
|
|
4 | dnl AC_CONFIG_MACRO_DIR([m4]) |
4 | AC_CONFIG_AUX_DIR(utils) |
5 | AC_CONFIG_AUX_DIR(utils) |
5 | AC_CONFIG_SRCDIR([server/cfperl.xs]) |
6 | AC_CONFIG_SRCDIR([server/cfperl.xs]) |
6 | AM_INIT_AUTOMAKE |
7 | AM_INIT_AUTOMAKE |
7 | AM_CONFIG_HEADER(include/autoconf.h) |
8 | AM_CONFIG_HEADER(include/autoconf.h) |
8 | |
9 | |
… | |
… | |
53 | "AnyEvent 7.0" \ |
54 | "AnyEvent 7.0" \ |
54 | "AnyEvent::AIO 0" \ |
55 | "AnyEvent::AIO 0" \ |
55 | "AnyEvent::BDB 0" \ |
56 | "AnyEvent::BDB 0" \ |
56 | "BDB 1.8" \ |
57 | "BDB 1.8" \ |
57 | "Compress::LZF 3.41" \ |
58 | "Compress::LZF 3.41" \ |
58 | "Coro 5.372" \ |
59 | "Coro 6" \ |
59 | "Coro::EV 0" \ |
60 | "Coro::EV 0" \ |
60 | "Deliantra 1.24" \ |
61 | "Deliantra 2.0" \ |
61 | "Digest::MD5 2.0" \ |
62 | "Digest::MD5 2.0" \ |
62 | "EV 4.00" \ |
63 | "EV 4" \ |
63 | "Guard 0.5" \ |
64 | "Guard 1" \ |
64 | "IO::AIO 3.3" \ |
65 | "IO::AIO 4" \ |
65 | "JSON::XS 2.01" \ |
66 | "JSON::XS 2.01" \ |
66 | "AnyEvent::IRC 0.6" \ |
67 | "AnyEvent::IRC 0.6" \ |
67 | "Pod::POM 0.27" \ |
68 | "Pod::POM 0.27" \ |
68 | "Safe::Hole 0.10" \ |
69 | "Safe::Hole 0.10" \ |
69 | "Storable 2.0" \ |
70 | "Storable 2.0" \ |
70 | "Time::HiRes 1.0" \ |
|
|
71 | "URI 1.35" \ |
71 | "URI 1.35" \ |
72 | "YAML::XS 0.32" \ |
72 | "YAML::XS 0.32" \ |
73 | ; do |
73 | ; do |
74 | set -- $module_vers |
74 | set -- $module_vers |
75 | module=$1 |
75 | module=$1 |
… | |
… | |
89 | |
89 | |
90 | AC_LANG(C++) |
90 | AC_LANG(C++) |
91 | AC_PROG_CXX |
91 | AC_PROG_CXX |
92 | AC_PROG_CPP |
92 | AC_PROG_CPP |
93 | |
93 | |
|
|
94 | AX_CXX_COMPILE_STDCXX_11([noext], [mandatory]) |
|
|
95 | |
94 | AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
96 | AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) |
95 | |
97 | |
96 | AC_CHECK_HEADER(pthread.h,[],[AC_MSG_ERROR([POSIX thread support is required.])]) |
98 | AC_CHECK_HEADER(pthread.h,[],[AC_MSG_ERROR([POSIX thread support is required.])]) |
97 | |
99 | |
98 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
100 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |