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.51 by root, Mon Mar 5 19:11:12 2007 UTC vs.
Revision 1.55 by root, Mon Mar 5 22:06:50 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.0], [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 18AC_PROG_CPP
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 19
30AC_PROG_CPP 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
31 25
32AC_PATH_PROG(PERL, perl5.8) 26AC_PATH_PROG(PERL, perl5.8)
33AC_PATH_PROG(PERL, perl5) 27AC_PATH_PROG(PERL, perl5)
34AC_PATH_PROG(PERL, perl) 28AC_PATH_PROG(PERL, perl)
35 29
128 AC_MSG_RESULT(ok) 122 AC_MSG_RESULT(ok)
129else 123else
130 AC_MSG_ERROR(no) 124 AC_MSG_ERROR(no)
131fi 125fi
132 126
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) 127AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE)
140AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) 128AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE)
141 129
142AC_OUTPUT([Makefile 130AC_OUTPUT([Makefile
143 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile 131 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile
144 server/Makefile utils/Makefile ext/Makefile 132 server/Makefile utils/Makefile ext/Makefile doc/Makefile
145 lib/checkarch.pl lib/collect.pl common/Makefile 133 lib/checkarch.pl lib/collect.pl common/Makefile
146]) 134])
147 135

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines