mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
added req'd function checks
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@4347 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
8263587da2
commit
295791a4a5
12
configure.ac
12
configure.ac
@ -59,8 +59,18 @@ AC_TYPE_SIZE_T
|
||||
AC_FUNC_MALLOC
|
||||
AC_FUNC_REALLOC
|
||||
AC_FUNC_STRTOD
|
||||
AC_CHECK_FUNCS([floor memchr memmove memset pow sqrt strchr strcspn strrchr strstr strtol])
|
||||
|
||||
# libc functions
|
||||
AC_CHECK_FUNCS([memmove], , AC_ERROR([memmove not found in libc]))
|
||||
AC_CHECK_FUNCS([memset], , AC_ERROR([memset not found in libc]))
|
||||
AC_CHECK_FUNCS([strchr], , AC_ERROR([strchr not found in libc]))
|
||||
AC_CHECK_FUNCS([strcspn], , AC_ERROR([strcspn not found in libc]))
|
||||
AC_CHECK_FUNCS([strtol], , AC_ERROR([strtol not found in libc]))
|
||||
|
||||
# libm functions
|
||||
AC_CHECK_FUNCS([floor], , AC_CHECK_LIB(m, floor, , AC_ERROR([cannot find floor])) )
|
||||
AC_CHECK_FUNCS([pow], , AC_CHECK_LIB(m, pow, , AC_ERROR([cannot find pow])) )
|
||||
AC_CHECK_FUNCS([sqrt], , AC_CHECK_LIB(m, sqrt, , AC_ERROR([cannot find sqrt])) )
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user