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.24 by root, Mon Dec 11 19:10:58 2006 UTC vs.
Revision 1.25 by root, Mon Dec 11 19:21:12 2006 UTC

27 ;; 27 ;;
28 *) 28 *)
29 ;; 29 ;;
30esac 30esac
31 31
32
33AC_PROG_CPP 32AC_PROG_CPP
34AM_PROG_LEX 33AM_PROG_LEX
35AC_PROG_AWK 34AC_PROG_AWK
36 35
37AC_ARG_ENABLE(dmalloc, [ --enable-dmalloc Use the dmalloc library if available, may prevent plugins from working],
38 use_dmalloc=yes, use_dmalloc=no)
39
40dnl AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], PYTHON_HOME="$withval") 36dnl AC_ARG_WITH(python, [ --with-python=dir Directory to look for python headers/library (default=standard system location) ], PYTHON_HOME="$withval")
41
42 37
43dnl check for some other programs 38dnl check for some other programs
44AC_PATH_PROG(LATEX, latex) 39AC_PATH_PROG(LATEX, latex)
45AC_PATH_PROG(GZIP, gzip) 40AC_PATH_PROG(GZIP, gzip)
46AC_PATH_PROG(GUNZIP, gunzip) 41AC_PATH_PROG(BZIP, bzip2)
47AC_PATH_PROG(TAR, tar) 42AC_PATH_PROG(TAR, tar)
43AC_PATH_PROG(BASENAME, basename)
44
45AC_PATH_PROG(PERL, perl5.8)
46AC_PATH_PROG(PERL, perl5)
48AC_PATH_PROG(PERL, perl) 47AC_PATH_PROG(PERL, perl)
49AC_PATH_PROG(BASENAME, basename) 48
50AC_PATH_PROG(GPERF, gperf) 49AC_PATH_PROG(GPERF, gperf)
50if test -z "$GPERF"; then
51 AC_MSG_ERROR([we need gperf, the GNU perfect hash generator])
52fi
51 53
52if test -n "$GZIP" -a -z "$GUNZIP" ; then
53 echo "Found gzip, but not gunzip - setting GUNZIP to gzip -c";
54 GUNZIP="$GZIP -c" 54GUNZIP="$GZIP -c"
55fi;
56
57if test -z "$COMPRESS" ; then
58 AC_PATH_PROG(COMPRESS, compress)
59 AC_PATH_PROG(UNCOMPRESS, uncompress)
60fi
61
62AC_PATH_PROG(BZIP, bzip2)
63AC_PATH_PROG(BUNZIP, bunzip2)
64
65if test -n "$BZIP" -a -z "$BUNZIP" ; then
66 echo "Found bzip2, but not bunzip2 - setting BUNZIP to bzip2 -c";
67 BUNZIP="$BZIP -c" 55BUNZIP="$BZIP -c"
68fi;
69 56
70if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP" ; then 57if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP" ; then
71 echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing"; 58 echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing";
72 echo "any files."; 59 echo "any files.";
73fi; 60fi;
194AC_DEFINE_UNQUOTED(GZIP,"${GZIP}",[Path to the gzip binary]) 181AC_DEFINE_UNQUOTED(GZIP,"${GZIP}",[Path to the gzip binary])
195AC_DEFINE_UNQUOTED(GUNZIP,"${GUNZIP}",[Path to the gunzip binary]) 182AC_DEFINE_UNQUOTED(GUNZIP,"${GUNZIP}",[Path to the gunzip binary])
196AC_DEFINE_UNQUOTED(BZIP,"${BZIP}",[Path to the bzip binary]) 183AC_DEFINE_UNQUOTED(BZIP,"${BZIP}",[Path to the bzip binary])
197AC_DEFINE_UNQUOTED(BUNZIP,"${BUNZIP}",[Path to the bunzip binary]) 184AC_DEFINE_UNQUOTED(BUNZIP,"${BUNZIP}",[Path to the bunzip binary])
198 185
199AC_PATH_PROG(PERL, perl5.8)
200AC_PATH_PROG(PERL, perl5)
201AC_PATH_PROG(PERL, perl)
202
203AC_MSG_CHECKING(for $PERL suitability) 186AC_MSG_CHECKING(for $PERL suitability)
204if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then 187if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
205 188
206 save_CXXFLAGS="$CXXFLAGS" 189 save_CXXFLAGS="$CXXFLAGS"
207 save_LIBS="$LIBS" 190 save_LIBS="$LIBS"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines