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.33 by root, Sat Dec 30 10:16:09 2006 UTC vs.
Revision 1.40 by root, Thu Jan 18 16:19:33 2007 UTC

12 12
13AC_PATH_PROG(PERL, perl5.8) 13AC_PATH_PROG(PERL, perl5.8)
14AC_PATH_PROG(PERL, perl5) 14AC_PATH_PROG(PERL, perl5)
15AC_PATH_PROG(PERL, perl) 15AC_PATH_PROG(PERL, perl)
16 16
17for module_vers in "Coro 3.3" "Coro::Event 2.0" "Event 1.08" "IO::AIO 2.3" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71"; do 17for module_vers in "Coro 3.4" "Coro::Event 2.0" "Event 1.08" \
18 "IO::AIO 2.32" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \
19 "Digest::MD5 2.0" "Compress::LZF 1.7" "Safe::Hole 0.10"; do
18 set -- $module_vers 20 set -- $module_vers
19 module=$1 21 module=$1
20 minvers=$2 22 minvers=$2
21 AC_MSG_CHECKING(for $module perl module version $minvers or higher) 23 AC_MSG_CHECKING(for $module perl module version $minvers or higher)
22 if $PERL -M$module -e0 >/dev/null 2>&1; then 24 if $PERL -M$module -e0 >/dev/null 2>&1; then
47 *) 49 *)
48 ;; 50 ;;
49esac 51esac
50 52
51AC_PROG_CPP 53AC_PROG_CPP
52AM_PROG_LEX
53AC_PROG_AWK
54 54
55dnl AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], PYTHON_HOME="$withval") 55dnl AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], PYTHON_HOME="$withval")
56 56
57dnl check for some other programs 57dnl check for some other programs
58AC_PATH_PROG(LATEX, latex) 58AC_PATH_PROG(LATEX, latex)
84AC_CHECK_LIB(png, main, AC_DEFINE(HAVE_LIBPNG,[],[Define if libpng is available]) X11LIBS="$X11LIBS -lpng", , $X11LIBS ) 84AC_CHECK_LIB(png, main, AC_DEFINE(HAVE_LIBPNG,[],[Define if libpng is available]) X11LIBS="$X11LIBS -lpng", , $X11LIBS )
85 85
86dnl png has a dependency in some cases on libz - if we have it, can't really 86dnl png has a dependency in some cases on libz - if we have it, can't really
87dnl be harmful to link it in. 87dnl be harmful to link it in.
88AC_CHECK_LIB(z, main, AC_DEFINE(HAVE_LIBZ,[],[Define if libz is available]) X11LIBS="$X11LIBS -lz", , $X11LIBS ) 88AC_CHECK_LIB(z, main, AC_DEFINE(HAVE_LIBZ,[],[Define if libz is available]) X11LIBS="$X11LIBS -lz", , $X11LIBS )
89
90dnl Misc libraries.
91AC_CHECK_LIB(crypt, main)
92AC_CHECK_LIB(des, des_crypt)
93
94dnl Checks for header files.
95AC_CHECK_HEADERS(crypt.h des.h)
96 89
97dnl Checks for typedefs, structures, and compiler characteristics. 90dnl Checks for typedefs, structures, and compiler characteristics.
98AC_C_INLINE 91AC_C_INLINE
99 92
100AC_CHECK_SIZEOF(long) 93AC_CHECK_SIZEOF(long)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines