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.58 by root, Tue Mar 6 22:07:56 2007 UTC vs.
Revision 1.72 by root, Wed May 16 12:22:17 2007 UTC

8 8
9AM_MAINTAINER_MODE 9AM_MAINTAINER_MODE
10 10
11AC_PREFIX_DEFAULT(/usr/games/crossfire) 11AC_PREFIX_DEFAULT(/usr/games/crossfire)
12 12
13AC_PATH_PROG(GPERF, gperf)
14if test -z "$GPERF"; then
15 AC_MSG_ERROR([gperf, the GNU perfect hash generator, must be in your PATH, check the README])
16fi
17
18AC_PATH_PROG(RSYNC, rsync)
19if test -z "$RSYNC"; then
20 AC_MSG_ERROR([rsync must be in your PATH, check the README])
21fi
22
13AC_PATH_PROG(OPTIPNG, optipng) 23AC_PATH_PROG(OPTIPNG, optipng)
14if test -z "$OPTIPNG"; then 24if test -z "$OPTIPNG"; then
15 AC_MSG_ERROR([optipng must be in your PATH, see 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])
31fi
32
33AC_PATH_PROG(IDENTIFY, identify)
34if test -z "$IDENTIFY"; then
35 AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README])
16fi 36fi
17 37
18AC_PATH_PROG(CONVERT, convert) 38AC_PATH_PROG(CONVERT, convert)
19if test -z "$CONVERT"; then 39if test -z "$CONVERT"; then
20 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, see the README]) 40 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, check the README])
21fi 41fi
22 42
23AC_PATH_PROG(PERL, perl5.8) 43AC_PATH_PROG(PERL, perl5.8)
24if test -z "$PERL"; then 44if test -z "$PERL"; then
25 AC_PATH_PROG(PERL, perl5) 45 AC_PATH_PROG(PERL, perl5)
26 if test -z "$PERL"; then 46 if test -z "$PERL"; then
27 AC_PATH_PROG(PERL, perl) 47 AC_PATH_PROG(PERL, perl)
48 if test -z "$PERL"; then
49 AC_MSG_ERROR([perl 5.8 or higher must be in your PATH, check the README])
50 fi
28 fi 51 fi
29fi 52fi
30 53
31for module_vers in "Crossfire 0.97" "Coro 3.5" "Coro::Event 2.1" "Event 1.08" \ 54for module_vers in \
32 "IO::AIO 2.32" "BDB 0.1" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \ 55 "AnyEvent 2.52" \
33 "Digest::MD5 2.0" "Compress::LZF 1.71" "Safe::Hole 0.10" "Pod::POM 0.17"; do 56 "BDB 0.1" \
57 "Compress::LZF 1.8" \
58 "Coro 3.63" \
59 "Coro::Event 2.1" \
60 "Crossfire 0.98" \
61 "Digest::MD5 2.0" \
62 "Event 1.08" \
63 "IO::AIO 2.32" \
64 "JSON::XS 1.21" \
65 "Pod::POM 0.17" \
66 "Safe::Hole 0.10" \
67 "Storable 2.0" \
68 "Time::HiRes 1.0" \
69 "YAML::Syck 0.71" \
70; do
34 set -- $module_vers 71 set -- $module_vers
35 module=$1 72 module=$1
36 minvers=$2 73 minvers=$2
37 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 74 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
38 if $PERL -M$module -e0 >/dev/null 2>&1; then 75 if $PERL -M$module -e0 >/dev/null 2>&1; then
45 else 82 else
46 AC_MSG_ERROR([no, cannot load module $module]) 83 AC_MSG_ERROR([no, cannot load module $module])
47 fi 84 fi
48done 85done
49 86
50AC_PATH_PROG(GPERF, gperf)
51if test -z "$GPERF"; then
52 AC_MSG_ERROR([we need gperf, the GNU perfect hash generator])
53fi
54
55AC_LANG(C++) 87AC_LANG(C++)
56AC_PROG_CXX 88AC_PROG_CXX
57AC_PROG_CPP 89AC_PROG_CPP
90
91AC_CHECK_HEADERS(execinfo.h)
92AC_CHECK_FUNCS(backtrace)
58 93
59AC_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.])])
60 95
61AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 96AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
62 97

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines