af152bd08e
Buffer Mananger no longer steals pages pre-maturely Alloc is an operation, and correct. Caching broken out into a new module Wrote a utility to translate a log file into human-readable ascii.
88 lines
2.4 KiB
Text
88 lines
2.4 KiB
Text
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
PACKAGE=LLADD
|
|
VERSION=0.1
|
|
AC_PREREQ(2.59)
|
|
AC_INIT(PACKAGE, VERSION, sears@cs.berkeley.edu)
|
|
AM_INIT_AUTOMAKE(hello,0.1)
|
|
AC_CONFIG_SRCDIR([config.h.in])
|
|
AC_CONFIG_HEADER([config.h])
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CXX
|
|
AC_PROG_CC
|
|
AC_PROG_CPP
|
|
AC_PROG_INSTALL
|
|
AC_PROG_LN_S
|
|
AC_PROG_MAKE_SET
|
|
## Need AC_PROG_LIBTOOL
|
|
AC_PROG_LIBTOOL
|
|
#AC_PROG_RANLIB
|
|
|
|
# Checks for libraries.
|
|
|
|
AM_PATH_CHECK(,[have_check="yes"],
|
|
AC_MSG_WARN([Check not found; cannot run unit tests!])
|
|
[have_check="no"])
|
|
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check", "xyes")
|
|
|
|
## alas, it won't link if this is put in here.. instead, it's linked in manually in the test directory...
|
|
|
|
#AC_ARG_ENABLE(efence,
|
|
#[ --enable-efence Use electric fence (www.perens.com)],
|
|
#[case "$enableval" in \
|
|
# yes) efence=yes ;; \
|
|
# no) efence=no;; \
|
|
# *) efence=no;; \
|
|
#esac], [efence=no])
|
|
#
|
|
#dnl Check for efence
|
|
#if test $efence = yes; then
|
|
#AC_CHECK_LIB(efence,memalign)
|
|
#fi
|
|
|
|
# Checks for header files.
|
|
AC_HEADER_DIRENT
|
|
AC_HEADER_STDC
|
|
AC_HEADER_SYS_WAIT
|
|
AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h malloc.h memory.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h])
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
AC_TYPE_PID_T
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_MALLOC
|
|
AC_FUNC_MEMCMP
|
|
AC_FUNC_MMAP
|
|
AC_FUNC_STAT
|
|
AC_CHECK_FUNCS([bzero fdatasync getcwd gettimeofday inet_ntoa memmove memset mkdir munmap socket strchr strdup strerror strrchr strstr strtoul])
|
|
|
|
AC_CHECK_LIB(pthread, pthread_create)
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
libdfa/Makefile
|
|
lladd/Makefile
|
|
pbl/Makefile
|
|
src/2pc/Makefile
|
|
src/Makefile
|
|
src/apps/Makefile
|
|
src/apps/cht/Makefile
|
|
src/apps/cyrus/Makefile
|
|
src/libdfa/Makefile
|
|
src/lladd/Makefile
|
|
src/pbl/Makefile
|
|
src/timing/Makefile
|
|
utilities/Makefile
|
|
test/2pc/Makefile
|
|
test/Makefile
|
|
test/cht/Makefile
|
|
test/dfa/Makefile
|
|
test/lladd/Makefile
|
|
test/lladd-old/Makefile
|
|
test/messages/Makefile
|
|
test/monotree/Makefile])
|
|
AC_OUTPUT
|