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 | |
… | |
… | |
88 | |
89 | |
89 | AC_LANG(C++) |
90 | AC_LANG(C++) |
90 | AC_PROG_CXX |
91 | AC_PROG_CXX |
91 | AC_PROG_CPP |
92 | AC_PROG_CPP |
92 | |
93 | |
|
|
94 | AX_CXX_COMPILE_STDCXX_11([noext], [mandatory]) |
|
|
95 | |
93 | 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.])]) |
94 | |
97 | |
95 | 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.])]) |
96 | |
99 | |
97 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
100 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |