1
# Process this file with autoconf to produce a configure script.
3
m4_define([m4_apop_version], [m4_esyscmd_s(date +%Y%m%d)]) #will switch to this soon.
6
AC_INIT([apophenia], [0.999b], [fluffmail@f-m.fm])
8
AC_CONFIG_SRCDIR([apop_arms.c])
9
AC_CONFIG_AUX_DIR([build-aux])
10
AC_CONFIG_HEADER([config.h])
11
AC_CONFIG_MACRO_DIR([m4])
15
# The normal /usr/local default confused too many people
16
##AC_PREFIX_DEFAULT([/usr])
21
# check linker script support
24
# Checks for programs.
31
# Checks for libraries.
34
## GNU Scientific Library (GSL)
35
AX_PATH_GSL([1.12.0],[],[AC_MSG_ERROR(could not find required version of GSL)])
36
## DataBase system libraries
42
# Checks for header files.
45
AC_CHECK_HEADERS([float.h inttypes.h limits.h stddef.h stdint.h stdlib.h string.h unistd.h wchar.h])
47
# Checks for typedefs, structures, and compiler characteristics.
52
AC_CHECK_TYPES([ptrdiff_t])
55
# Checks for library functions.
59
AC_CHECK_FUNCS([floor memset pow regcomp sqrt strcasecmp asprintf])
61
# Checks for tests tools
62
AC_PATH_PROGS([BC],[bc],[/usr/bin/bc])
63
AC_PATH_PROGS([SQLITE3],[sqlite3],[/usr/bin/sqlite3])
82
chmod a+x tests/utilities_test