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.108 by root, Thu Dec 27 15:32:41 2007 UTC vs.
Revision 1.111 by root, Sun Jan 13 10:52:03 2008 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], [2.32], [support@deliantra.net]) 3AC_INIT([deliantra-server], [2.4], [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
7AM_CONFIG_HEADER(include/autoconf.h) 7AM_CONFIG_HEADER(include/autoconf.h)
8 8
51 fi 51 fi
52fi 52fi
53 53
54for module_vers in \ 54for module_vers in \
55 "AnyEvent 2.6" \ 55 "AnyEvent 2.6" \
56 "BDB 1.3" \ 56 "BDB 1.43" \
57 "Compress::LZF 1.8" \ 57 "Compress::LZF 1.8" \
58 "Coro 4.34" \ 58 "Coro 4.36" \
59 "Coro::EV 2.1" \ 59 "Coro::EV 2.1" \
60 "Deliantra 1.13" \ 60 "Deliantra 1.13" \
61 "Digest::MD5 2.0" \ 61 "Digest::MD5 2.0" \
62 "EV 2.0" \ 62 "EV 2.0" \
63 "IO::AIO 2.51" \ 63 "IO::AIO 2.51" \
75 module=$1 75 module=$1
76 minvers=$2 76 minvers=$2
77 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 77 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
78 if $PERL -M$module -e0 >/dev/null 2>&1; then 78 if $PERL -M$module -e0 >/dev/null 2>&1; then
79 version=`$PERL -M$module -e "print \\$$module::VERSION"` 79 version=`$PERL -M$module -e "print \\$$module::VERSION"`
80 if $PERL -M$module -e "VERSION $module $minvers" >/dev/null 2>&1; then 80 if $PERL -M$module -e "\$$module::VERSION >= $minvers or die" >/dev/null 2>&1; then
81 AC_MSG_RESULT([ok, version $version]) 81 AC_MSG_RESULT([ok, version $version])
82 else 82 else
83 AC_MSG_ERROR([no, installed version is $version]) 83 AC_MSG_ERROR([no, installed version is $version])
84 fi 84 fi
85 else 85 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines