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.109 by root, Sun Jan 13 09:53:53 2008 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
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