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.65 by root, Mon Apr 9 05:06:40 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(IDENTIFY, identify)
29if test -z "$IDENTIFY"; then
30 AC_MSG_ERROR([ImageMagick 'identify' must be in your PATH, check the README])
16fi 31fi
17 32
18AC_PATH_PROG(CONVERT, convert) 33AC_PATH_PROG(CONVERT, convert)
19if test -z "$CONVERT"; then 34if test -z "$CONVERT"; then
20 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, see the README]) 35 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, check the README])
21fi 36fi
22 37
23AC_PATH_PROG(PERL, perl5.8) 38AC_PATH_PROG(PERL, perl5.8)
24if test -z "$PERL"; then 39if test -z "$PERL"; then
25 AC_PATH_PROG(PERL, perl5) 40 AC_PATH_PROG(PERL, perl5)
26 if test -z "$PERL"; then 41 if test -z "$PERL"; then
27 AC_PATH_PROG(PERL, perl) 42 AC_PATH_PROG(PERL, perl)
43 if test -z "$PERL"; then
44 AC_MSG_ERROR([perl 5.8 or higher must be in your PATH, check the README])
45 fi
28 fi 46 fi
29fi 47fi
30 48
31for module_vers in "Crossfire 0.97" "Coro 3.5" "Coro::Event 2.1" "Event 1.08" \ 49for module_vers in \
32 "IO::AIO 2.32" "BDB 0.1" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \ 50 "AnyEvent 2.52" \
33 "Digest::MD5 2.0" "Compress::LZF 1.71" "Safe::Hole 0.10" "Pod::POM 0.17"; do 51 "Image::Size 2.992" \
52 "Crossfire 0.97" \
53 "Coro 3.52" \
54 "Coro::Event 2.1" \
55 "Event 1.08" \
56 "IO::AIO 2.32" \
57 "BDB 0.1" \
58 "Storable 2.0" \
59 "JSON::XS 1.2" \
60 "Time::HiRes 1.0" \
61 "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
34 set -- $module_vers 67 set -- $module_vers
35 module=$1 68 module=$1
36 minvers=$2 69 minvers=$2
37 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 70 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
38 if $PERL -M$module -e0 >/dev/null 2>&1; then 71 if $PERL -M$module -e0 >/dev/null 2>&1; then
44 fi 77 fi
45 else 78 else
46 AC_MSG_ERROR([no, cannot load module $module]) 79 AC_MSG_ERROR([no, cannot load module $module])
47 fi 80 fi
48done 81done
49
50AC_PATH_PROG(GPERF, gperf)
51if test -z "$GPERF"; then
52 AC_MSG_ERROR([we need gperf, the GNU perfect hash generator])
53fi
54 82
55AC_LANG(C++) 83AC_LANG(C++)
56AC_PROG_CXX 84AC_PROG_CXX
57AC_PROG_CPP 85AC_PROG_CPP
58 86

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines