2004-05-13 08:41:07 +02:00
|
|
|
# Process this file with autoconf to produce a configure script.
|
2004-05-29 19:46:24 +02:00
|
|
|
AC_PREREQ(2.59)
|
|
|
|
AC_INIT(libbanshee,0.9,dberlin@dberlin.org)
|
|
|
|
AC_CONFIG_SRCDIR(engine/flowrow-sort.c)
|
|
|
|
AC_CONFIG_HEADERS(config.h)
|
|
|
|
AM_INIT_AUTOMAKE
|
2004-05-13 08:41:07 +02:00
|
|
|
|
|
|
|
# Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
# Checks for libraries.
|
|
|
|
# FIXME: Replace `main' with a function in `-llambda':
|
|
|
|
#AC_CHECK_LIB([lambda], [main])
|
|
|
|
# FIXME: Replace `main' with a function in `-lm':
|
|
|
|
#AC_CHECK_LIB([m], [main])
|
|
|
|
|
|
|
|
|
|
|
|
if test x$GCC = xyes; then
|
|
|
|
ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes'
|
|
|
|
fi
|
|
|
|
AC_SUBST(ac_libbanshee_warn_cflags)
|
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
# Checks for header files.
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_CHECK_HEADERS([fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h])
|
2004-05-29 19:46:24 +02:00
|
|
|
AC_HEADER_STDBOOL
|
2004-05-13 08:41:07 +02:00
|
|
|
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
|
|
AC_C_CONST
|
|
|
|
AC_C_INLINE
|
|
|
|
AC_TYPE_PID_T
|
|
|
|
AC_TYPE_SIZE_T
|
|
|
|
|
|
|
|
# Checks for library functions.
|
|
|
|
AC_FUNC_MEMCMP
|
|
|
|
AC_FUNC_MMAP
|
|
|
|
AC_FUNC_VPRINTF
|
|
|
|
AC_CHECK_FUNCS([atexit dup2 floor getpagesize memset munmap])
|
|
|
|
|
2004-05-29 19:46:24 +02:00
|
|
|
AC_CONFIG_FILES([Makefile
|
2004-05-13 08:41:07 +02:00
|
|
|
engine/Makefile
|
|
|
|
libcompat/Makefile
|
|
|
|
points-to/Makefile])
|
2004-05-29 19:46:24 +02:00
|
|
|
AC_OUTPUT
|