- # If libgc was found, use it. Otherwise just warn.
- if test "x$found_boehm" != "xyes"; then
- AC_MSG_WARN("Compiling mono without GC.")
- else
- if test "x$gc_headers" != "xyes"; then
- AC_MSG_ERROR("Found libgc but not its header files! You may need to install them by hand.")
- fi
- AC_DEFINE(HAVE_BOEHM_GC)
- AC_SUBST(HAVE_BOEHM_GC)
- LIBS="$LIBS -lgc $libdl"
- gc="boehm"
- fi