Garbage collector now disabled by default
This commit is contained in:
parent
8cc46680ab
commit
c8103da9de
|
|
@ -27,7 +27,7 @@ AC_ARG_ENABLE(checker,
|
|||
|
||||
dnl --enable-gc : Enable Boehm-Weiser Conservative Garbage Collector
|
||||
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
|
||||
AC_ARG_ENABLE(nosqrt,
|
||||
|
|
@ -322,9 +322,11 @@ AC_CHECK_HEADERS(float.h limits.h values.h)
|
|||
dnl Check for a few mathematical functions:
|
||||
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:)
|
||||
dnl Check for the garbage collector:
|
||||
AC_CHECK_LIB(gc,GC_malloc,AC_DEFINE(HAVE_LIBGC) LIBS="$LIBS -lgc")
|
||||
fi
|
||||
|
||||
dnl Check for the asprintf function:
|
||||
AC_CHECK_FUNCS(asprintf,,AC_CHECK_LIB(iberty,asprintf,AC_DEFINE(HAVE_ASPRINTF) LIBS="$LIBS -liberty"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue