--- deliantra/server/configure.ac 2007/01/24 16:29:10 1.42 +++ deliantra/server/configure.ac 2007/02/02 00:42:02 1.43 @@ -91,9 +91,6 @@ done dnl check for some other programs -AC_PATH_PROG(LATEX, latex) -AC_PATH_PROG(GZIP, gzip) -AC_PATH_PROG(BZIP, bzip2) AC_PATH_PROG(TAR, tar) AC_PATH_PROG(BASENAME, basename) @@ -102,20 +99,15 @@ AC_MSG_ERROR([we need gperf, the GNU perfect hash generator]) fi -GUNZIP="$GZIP -c" -BUNZIP="$BZIP -c" - -if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP" ; then - echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing"; - echo "any files."; -fi; - AC_CHECK_LIB(nsl, main) AC_CHECK_LIB(socket, main) dnl Checks for libraries. AC_CHECK_LIB(m, main) +echo "checking for google sparsehash (see http://code.google.com/p/google-sparsehash/)" +AC_CHECK_HEADER(google/dense_hash_map) + AC_CHECK_HEADER(tr1/unordered_map,[],[AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) AC_CHECK_SIZEOF(long) @@ -150,13 +142,6 @@ AC_SUBST(pkgstatedir,$localstatedir/$PACKAGE) AC_SUBST(pkgconfdir,$sysconfdir/$PACKAGE) -AC_DEFINE_UNQUOTED(COMPRESS,"${COMPRESS}",[Path to the compress binary]) -AC_DEFINE_UNQUOTED(UNCOMPRESS,"${UNCOMPRESS}",[Path to the uncompress binary]) -AC_DEFINE_UNQUOTED(GZIP,"${GZIP}",[Path to the gzip binary]) -AC_DEFINE_UNQUOTED(GUNZIP,"${GUNZIP}",[Path to the gunzip binary]) -AC_DEFINE_UNQUOTED(BZIP,"${BZIP}",[Path to the bzip binary]) -AC_DEFINE_UNQUOTED(BUNZIP,"${BUNZIP}",[Path to the bunzip binary]) - AC_OUTPUT([Makefile include/Makefile lib/Makefile pod/Makefile random_maps/Makefile socket/Makefile server/Makefile src/Makefile utils/Makefile ext/Makefile