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.42 by root, Wed Jan 24 16:29:10 2007 UTC vs.
Revision 1.43 by root, Fri Feb 2 00:42:02 2007 UTC

89 AC_MSG_ERROR([no, cannot load module $module]) 89 AC_MSG_ERROR([no, cannot load module $module])
90 fi 90 fi
91done 91done
92 92
93dnl check for some other programs 93dnl check for some other programs
94AC_PATH_PROG(LATEX, latex)
95AC_PATH_PROG(GZIP, gzip)
96AC_PATH_PROG(BZIP, bzip2)
97AC_PATH_PROG(TAR, tar) 94AC_PATH_PROG(TAR, tar)
98AC_PATH_PROG(BASENAME, basename) 95AC_PATH_PROG(BASENAME, basename)
99 96
100AC_PATH_PROG(GPERF, gperf) 97AC_PATH_PROG(GPERF, gperf)
101if test -z "$GPERF"; then 98if test -z "$GPERF"; then
102 AC_MSG_ERROR([we need gperf, the GNU perfect hash generator]) 99 AC_MSG_ERROR([we need gperf, the GNU perfect hash generator])
103fi 100fi
104 101
105GUNZIP="$GZIP -c"
106BUNZIP="$BZIP -c"
107
108if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP" ; then
109 echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing";
110 echo "any files.";
111fi;
112
113AC_CHECK_LIB(nsl, main) 102AC_CHECK_LIB(nsl, main)
114AC_CHECK_LIB(socket, main) 103AC_CHECK_LIB(socket, main)
115 104
116dnl Checks for libraries. 105dnl Checks for libraries.
117AC_CHECK_LIB(m, main) 106AC_CHECK_LIB(m, main)
107
108echo "checking for google sparsehash (see http://code.google.com/p/google-sparsehash/)"
109AC_CHECK_HEADER(google/dense_hash_map)
118 110
119AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) 111AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])])
120 112
121AC_CHECK_SIZEOF(long) 113AC_CHECK_SIZEOF(long)
122AC_CHECK_SIZEOF(long long) 114AC_CHECK_SIZEOF(long long)
148AC_SUBST(X11LIBS) 140AC_SUBST(X11LIBS)
149 141
150AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) 142AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE)
151AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) 143AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE)
152 144
153AC_DEFINE_UNQUOTED(COMPRESS,"${COMPRESS}",[Path to the compress binary])
154AC_DEFINE_UNQUOTED(UNCOMPRESS,"${UNCOMPRESS}",[Path to the uncompress binary])
155AC_DEFINE_UNQUOTED(GZIP,"${GZIP}",[Path to the gzip binary])
156AC_DEFINE_UNQUOTED(GUNZIP,"${GUNZIP}",[Path to the gunzip binary])
157AC_DEFINE_UNQUOTED(BZIP,"${BZIP}",[Path to the bzip binary])
158AC_DEFINE_UNQUOTED(BUNZIP,"${BUNZIP}",[Path to the bunzip binary])
159
160AC_OUTPUT([Makefile 145AC_OUTPUT([Makefile
161 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile 146 include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile
162 server/Makefile src/Makefile utils/Makefile ext/Makefile 147 server/Makefile src/Makefile utils/Makefile ext/Makefile
163 lib/checkarch.pl lib/collect.pl utils/add_throw.perl 148 lib/checkarch.pl lib/collect.pl utils/add_throw.perl
164 utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl 149 utils/crossloop.tmpl utils/crossloop.pl.tmpl utils/metaserver.pl

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines