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.50 by root, Mon Mar 5 19:03:08 2007 UTC vs.
Revision 1.57 by root, Tue Mar 6 19:05:14 2007 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([crossfire], [2.0+], [crossfire@schmorp.de]) 3AC_INIT([cfserver], [2.1], [crossfire@schmorp.de])
4AC_CONFIG_AUX_DIR(utils) 4AC_CONFIG_AUX_DIR(utils)
5AC_CONFIG_SRCDIR([server/main.C]) 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
9AM_MAINTAINER_MODE 9AM_MAINTAINER_MODE
10 10
13dnl Checks for programs. 13dnl Checks for programs.
14AC_LANG(C++) 14AC_LANG(C++)
15AC_PROG_CXX 15AC_PROG_CXX
16AC_PROG_LIBTOOL 16AC_PROG_LIBTOOL
17 17
18case "$target" in
19 alpha-dec-osf*)
20 # If we are not using gcc, we want the ansi version of cc.
21 if test -z "$GCC"; then
22# CFLAGS="$CFLAGS -std1 -warnprotos" # Not yet ready for warnprotos...
23 CFLAGS="$CFLAGS -std1"
24 fi
25 ;;
26 *)
27 ;;
28esac
29
30AC_PROG_CPP 18AC_PROG_CPP
31 19
20AC_PATH_PROG(CONVERT, convert)
21
22if test -z "$CONVERT"; then
23 AC_MSG_ERROR([ImageMagick 'convert' must be in your PATH, see the README])
24fi
25
32AC_PATH_PROG(PERL, perl5.8) 26AC_PATH_PROG(PERL, perl5.8)
27if test -z "$PERL"; then
33AC_PATH_PROG(PERL, perl5) 28 AC_PATH_PROG(PERL, perl5)
29 if test -z "$PERL"; then
34AC_PATH_PROG(PERL, perl) 30 AC_PATH_PROG(PERL, perl)
31 fi
32fi
35 33
36for module_vers in "Crossfire 0.97" "Coro 3.5" "Coro::Event 2.1" "Event 1.08" \ 34for module_vers in "Crossfire 0.97" "Coro 3.5" "Coro::Event 2.1" "Event 1.08" \
37 "IO::AIO 2.32" "BDB 0.1" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \ 35 "IO::AIO 2.32" "BDB 0.1" "Storable 2.0" "Time::HiRes 1.0" "YAML::Syck 0.71" \
38 "Digest::MD5 2.0" "Compress::LZF 1.71" "Safe::Hole 0.10" "Pod::POM 0.17"; do 36 "Digest::MD5 2.0" "Compress::LZF 1.71" "Safe::Hole 0.10" "Pod::POM 0.17"; do
39 set -- $module_vers 37 set -- $module_vers
128 AC_MSG_RESULT(ok) 126 AC_MSG_RESULT(ok)
129else 127else
130 AC_MSG_ERROR(no) 128 AC_MSG_ERROR(no)
131fi 129fi
132 130
133AC_SUBST(x_includes)
134AC_SUBST(x_libraries)
135AC_SUBST(no_x)
136AM_CONDITIONAL(HAVE_X,test "x$no_x" = "x")
137AC_SUBST(X11LIBS)
138
139AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) 131AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE)
140AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) 132AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE)
141 133
142AC_OUTPUT([Makefile 134AC_OUTPUT([Makefile
143 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile 135 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile
144 server/Makefile src/Makefile utils/Makefile ext/Makefile 136 server/Makefile utils/Makefile ext/Makefile doc/Makefile
145 lib/checkarch.pl lib/collect.pl common/Makefile 137 lib/checkarch.pl lib/collect.pl common/Makefile
146]) 138])
147 139

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines