|
|
@ -27,7 +27,7 @@ AC_ARG_ENABLE(checker, |
|
|
|
|
|
|
|
|
dnl --enable-gc : Enable Boehm-Weiser Conservative Garbage Collector |
|
|
dnl --enable-gc : Enable Boehm-Weiser Conservative Garbage Collector |
|
|
AC_ARG_ENABLE(checker, |
|
|
AC_ARG_ENABLE(checker, |
|
|
[ --enable-gc Use Boehm-Weiser Conservative Garbage Collector ]) |
|
|
|
|
|
|
|
|
[ --enable-gc Use Boehm-Weiser Conservative Garbage Collector. Disabled by default. ]) |
|
|
|
|
|
|
|
|
dnl --enable-nosqrt : define NOSQRT for the code |
|
|
dnl --enable-nosqrt : define NOSQRT for the code |
|
|
AC_ARG_ENABLE(nosqrt, |
|
|
AC_ARG_ENABLE(nosqrt, |
|
|
@ -322,9 +322,11 @@ AC_CHECK_HEADERS(float.h limits.h values.h) |
|
|
dnl Check for a few mathematical functions: |
|
|
dnl Check for a few mathematical functions: |
|
|
AC_CHECK_FUNCS(erfc logb scalb scalbn asinh acosh atanh) |
|
|
AC_CHECK_FUNCS(erfc logb scalb scalbn asinh acosh atanh) |
|
|
|
|
|
|
|
|
|
|
|
dnl If user enables garbage collection, look for garbage collector |
|
|
|
|
|
if test "$enable_gc" = "yes"; then |
|
|
AC_MSG_RESULT(Checking for the presence of the Garbage Collector:) |
|
|
AC_MSG_RESULT(Checking for the presence of the Garbage Collector:) |
|
|
dnl Check for the garbage collector: |
|
|
|
|
|
AC_CHECK_LIB(gc,GC_malloc,AC_DEFINE(HAVE_LIBGC) LIBS="$LIBS -lgc") |
|
|
AC_CHECK_LIB(gc,GC_malloc,AC_DEFINE(HAVE_LIBGC) LIBS="$LIBS -lgc") |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
dnl Check for the asprintf function: |
|
|
dnl Check for the asprintf function: |
|
|
AC_CHECK_FUNCS(asprintf,,AC_CHECK_LIB(iberty,asprintf,AC_DEFINE(HAVE_ASPRINTF) LIBS="$LIBS -liberty")) |
|
|
AC_CHECK_FUNCS(asprintf,,AC_CHECK_LIB(iberty,asprintf,AC_DEFINE(HAVE_ASPRINTF) LIBS="$LIBS -liberty")) |
|
|
|