--- configure.ac | 4 ++-- memory.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) Index: asymptote-2.97/configure.ac =================================================================== --- asymptote-2.97.orig/configure.ac +++ asymptote-2.97/configure.ac @@ -479,8 +479,8 @@ AC_ARG_ENABLE(gc, if test "x$enable_gc" != "xno" ; then if test "x$with_vcpkg" == "xno"; then AC_DEFINE(USEGC,1,[GC Enabled]) - GCLIB="\$(GC)/.libs/libgc.a" - INCL=$INCL" -I\$(GC)/include" + GCLIB="$(pkg-config bdw-gc --libs)" + INCL="$INCL $(pkg-config bdw-gc --cflags)" AC_MSG_NOTICE([$GCNAME is enabled]) fi else Index: asymptote-2.97/memory.h =================================================================== --- asymptote-2.97.orig/memory.h +++ asymptote-2.97/memory.h @@ -69,8 +69,8 @@ void* asy_malloc_atomic(size_t n); #define GC_MALLOC(sz) asy_malloc(sz) #define GC_MALLOC_ATOMIC(sz) asy_malloc_atomic(sz) -#include -#include +#include +#include #define gc_allocator gc_allocator_ignore_off_page