1# -*- Autoconf -*- 2# Process this file with autoconf to produce a configure script. 3 4AC_PREREQ(2.59) 5AC_CONFIG_SRCDIR([rgb_persist.c]) 6AC_CONFIG_HEADER([config.h]) 7AM_INIT_AUTOMAKE([-Wall]) 8 9# Checks for programs. 10AC_PROG_CC 11AC_PROG_INSTALL 12 13# Checks for libraries. 14AC_CHECK_LIB([gslcblas], [cblas_ddot]) 15AC_CHECK_LIB([gsl], [gsl_error]) 16 17# Checks for header files. 18AC_HEADER_STDC 19AC_CHECK_HEADERS([string.h]) 20 21# Checks for typedefs, structures, and compiler characteristics. 22AC_C_CONST 23AC_TYPE_SIZE_T 24AC_HEADER_TIME 25 26# Checks for library functions. 27AC_FUNC_MALLOC 28AC_FUNC_STAT 29AC_CHECK_FUNCS([bzero gettimeofday memset pow sqrt]) 30 31AC_CONFIG_FILES([Makefile]) 32AC_OUTPUT 33