ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/configure.ac
(Generate patch)

Comparing deliantra/server/configure.ac (file contents):
Revision 1.67 by root, Fri Apr 13 03:57:48 2007 UTC vs.
Revision 1.76 by root, Fri Jun 1 06:04:07 2007 UTC

1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2 2
3AC_INIT([cfserver], [2.1], [crossfire@schmorp.de]) 3AC_INIT([cfserver], [2.2], [crossfire@schmorp.de])
4AC_CONFIG_AUX_DIR(utils) 4AC_CONFIG_AUX_DIR(utils)
5AC_CONFIG_SRCDIR([server/cfperl.xs]) 5AC_CONFIG_SRCDIR([server/cfperl.xs])
6AM_INIT_AUTOMAKE 6AM_INIT_AUTOMAKE
7AM_CONFIG_HEADER(include/autoconf.h) 7AM_CONFIG_HEADER(include/autoconf.h)
8 8
21fi 21fi
22 22
23AC_PATH_PROG(OPTIPNG, optipng) 23AC_PATH_PROG(OPTIPNG, optipng)
24if test -z "$OPTIPNG"; then 24if test -z "$OPTIPNG"; then
25 AC_MSG_ERROR([optipng must be in your PATH, check the README]) 25 AC_MSG_ERROR([optipng must be in your PATH, check the README])
26fi
27
28AC_PATH_PROG(PNGNQ, pngnq)
29if test -z "$PNGNQ"; then
30 AC_MSG_ERROR([png neuquant (pngnq) must be in your PATH, check the README])
26fi 31fi
27 32
28AC_PATH_PROG(IDENTIFY, identify) 33AC_PATH_PROG(IDENTIFY, identify)
29if test -z "$IDENTIFY"; then 34if test -z "$IDENTIFY"; then
30 AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README]) 35 AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README])
46 fi 51 fi
47fi 52fi
48 53
49for module_vers in \ 54for module_vers in \
50 "AnyEvent 2.52" \ 55 "AnyEvent 2.52" \
51 "Image::Size 2.992" \ 56 "BDB 0.1" \
52 "Crossfire 0.97" \ 57 "Compress::LZF 1.8" \
53 "Coro 3.56" \ 58 "Coro 3.62" \
54 "Coro::Event 2.1" \ 59 "Coro::Event 2.1" \
60 "Crossfire 0.99" \
61 "Digest::MD5 2.0" \
55 "Event 1.08" \ 62 "Event 1.08" \
56 "IO::AIO 2.32" \ 63 "IO::AIO 2.4" \
57 "BDB 0.1" \ 64 "JSON::XS 1.21" \
65 "Pod::POM 0.17" \
66 "Safe::Hole 0.10" \
58 "Storable 2.0" \ 67 "Storable 2.0" \
59 "JSON::XS 1.11" \
60 "Time::HiRes 1.0" \ 68 "Time::HiRes 1.0" \
61 "YAML::Syck 0.71" \ 69 "YAML::Syck 0.71" \
62 "Digest::MD5 2.0" \
63 "Compress::LZF 1.71" \
64 "Safe::Hole 0.10" \
65 "Pod::POM 0.17" \
66; do 70; do
67 set -- $module_vers 71 set -- $module_vers
68 module=$1 72 module=$1
69 minvers=$2 73 minvers=$2
70 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 74 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
81done 85done
82 86
83AC_LANG(C++) 87AC_LANG(C++)
84AC_PROG_CXX 88AC_PROG_CXX
85AC_PROG_CPP 89AC_PROG_CPP
90
91AC_CHECK_HEADERS(execinfo.h)
92AC_CHECK_FUNCS(backtrace)
86 93
87AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) 94AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])])
88 95
89AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 96AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
90 97
163AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) 170AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE)
164 171
165AC_OUTPUT([Makefile 172AC_OUTPUT([Makefile
166 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile 173 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile
167 server/Makefile utils/Makefile ext/Makefile doc/Makefile 174 server/Makefile utils/Makefile ext/Makefile doc/Makefile
168 lib/checkarch.pl lib/collect.pl common/Makefile utils/cfutil 175 common/Makefile utils/cfutil
169]) 176])
170 177

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines