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.178 by root, Fri Jul 2 20:56:52 2010 UTC vs.
Revision 1.184 by root, Thu Nov 15 05:54:02 2012 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([deliantra-server], [3.0], [support@deliantra.net]) 3AC_INIT([deliantra-server], [3.0], [support@deliantra.net])
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
28AC_PATH_PROG(PNGNQ, pngnq) 28AC_PATH_PROG(PNGNQ, pngnq)
29if test -z "$PNGNQ"; then 29if test -z "$PNGNQ"; then
30 AC_MSG_ERROR([png neuquant (pngnq) must be in your PATH, check the README]) 30 AC_MSG_ERROR([png neuquant (pngnq) must be in your PATH, check the README])
31fi 31fi
32 32
33dnl AC_PATH_PROG(IDENTIFY, identify) 33AC_PATH_PROG(IDENTIFY, identify)
34dnl if test -z "$IDENTIFY"; then 34if test -z "$IDENTIFY"; then
35dnl 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])
36dnl fi 36fi
37 37
38AC_PATH_PROG(CONVERT, convert) 38AC_PATH_PROG(CONVERT, convert)
39if test -z "$CONVERT"; then 39if test -z "$CONVERT"; then
40 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, check the README]) 40 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, check the README])
41fi 41fi
48 fi 48 fi
49fi 49fi
50 50
51for module_vers in \ 51for module_vers in \
52 "common::sense 3.3" \ 52 "common::sense 3.3" \
53 "AnyEvent 5.2" \ 53 "AnyEvent 7.0" \
54 "AnyEvent::AIO 0" \ 54 "AnyEvent::AIO 0" \
55 "AnyEvent::BDB 0" \ 55 "AnyEvent::BDB 0" \
56 "BDB 1.8" \ 56 "BDB 1.8" \
57 "Compress::LZF 3.41" \ 57 "Compress::LZF 3.41" \
58 "Coro 5.13" \ 58 "Coro 6" \
59 "Coro::EV 0" \ 59 "Coro::EV 0" \
60 "Deliantra 1.24" \ 60 "Deliantra 2.0" \
61 "Digest::MD5 2.0" \ 61 "Digest::MD5 2.0" \
62 "EV 3.41" \ 62 "EV 4" \
63 "Guard 0.5" \ 63 "Guard 1" \
64 "IO::AIO 3.3" \ 64 "IO::AIO 4" \
65 "JSON::XS 2.01" \ 65 "JSON::XS 2.01" \
66 "AnyEvent::IRC 0.6" \ 66 "AnyEvent::IRC 0.6" \
67 "Pod::POM 0.27" \ 67 "Pod::POM 0.27" \
68 "Safe::Hole 0.10" \ 68 "Safe::Hole 0.10" \
69 "Storable 2.0" \ 69 "Storable 2.0" \
70 "Time::HiRes 1.0" \
71 "URI 1.35" \ 70 "URI 1.35" \
72 "YAML::XS 0.32" \ 71 "YAML::XS 0.32" \
73; do 72; do
74 set -- $module_vers 73 set -- $module_vers
75 module=$1 74 module=$1
95 94
96AC_CHECK_HEADER(pthread.h,[],[AC_MSG_ERROR([POSIX thread support is required.])]) 95AC_CHECK_HEADER(pthread.h,[],[AC_MSG_ERROR([POSIX thread support is required.])])
97 96
98AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 97AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
99 98
99AC_MSG_CHECKING(blitz++ >= 0.9)
100if $PKG_CONFIG blitz --atleast-version 0.9; then
101 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG blitz --cflags`"
102 LIBS="$LIBS `$PKG_CONFIG blitz --libs`"
103 AC_MSG_RESULT(ok)
104else
105 AC_MSG_ERROR(no)
106fi
107
100AC_MSG_CHECKING(glib >= 2.10) 108AC_MSG_CHECKING(glib >= 2.10)
101if $PKG_CONFIG glib-2.0 --atleast-version 2.10; then 109if $PKG_CONFIG glib-2.0 --atleast-version 2.10; then
102 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG glib-2.0 --cflags`" 110 CXXFLAGS="$CXXFLAGS `$PKG_CONFIG glib-2.0 --cflags`"
103 LIBS="$LIBS `$PKG_CONFIG glib-2.0 --libs`" 111 LIBS="$LIBS `$PKG_CONFIG glib-2.0 --libs`"
104 AC_MSG_RESULT(ok) 112 AC_MSG_RESULT(ok)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines