diff --git a/configure.ac b/configure.ac index c960d3b11..57eddd918 100644 --- a/configure.ac +++ b/configure.ac @@ -673,7 +673,7 @@ if test "x$TCL_PACKAGE_PATH" = x; then LIBS="$LIBS -lgc"]) fi fi -AM_CONDITIONAL([HAVE_LIBGC_WANTED], [test "x$TCL_PACKAGE_PATH" = x && test "x$enable_gc" = xyes]) +AM_CONDITIONAL([HAVE_LIBGC], [test "x$TCL_PACKAGE_PATH" = x && test "x$enable_gc" = xyes]) # check, if we have sigsetjmp and siglongjmp. # A trivial AC_CHECK_FUNCS(sigsetjmp) won't do because sigsetjmp() might be a diff --git a/src/misc/Makefile.am b/src/misc/Makefile.am index 09d4a6581..e20073994 100644 --- a/src/misc/Makefile.am +++ b/src/misc/Makefile.am @@ -38,7 +38,7 @@ endif endif ### alloc.c ### -if !HAVE_LIBGC_WANTED +if !HAVE_LIBGC libmisc_la_SOURCES += alloc.c alloc.h endif