Don't ask for gc, we use boehm as default.
authortwisti <none@none>
Wed, 22 Oct 2003 17:34:42 +0000 (17:34 +0000)
committertwisti <none@none>
Wed, 22 Oct 2003 17:34:42 +0000 (17:34 +0000)
configure.in

index 9bb3b0d8d36d3bd03463c94a9fdd576bfc4da728..e7e3cf926abfe9bd5d26bc7a59a27d2cbcc942f5 100644 (file)
@@ -32,7 +32,7 @@ mips* )
 
 i386* | i486* | i586* | i686* )
        SYSDEP_DIR="i386"
-       CFLAGS="-Wall -O0 -g3 -D__I386__"
+       CFLAGS="-O0 -g3 -D__I386__"
        COMPILER_OBJECTS="i386/libdisass.a"
        AC_DEFINE(TRACE_ARGS_NUM, 8)
        AC_DEFINE(USE_CODEMMAP)
@@ -54,7 +54,7 @@ powerpc* | ppc* )
        ;;
 
 sparc* | * )
-       AC_MSG_ERROR($target systems are not supported at this time)
+       AC_MSG_ERROR($host_cpu systems are not supported at this time)
         ;;
 esac
 
@@ -131,7 +131,6 @@ dnl Features
 
 dnl check arguments
 AC_ARG_ENABLE(threads, [  --enable-threads        enable threads support])
-AC_ARG_WITH(gc, [  --with-gc[=ARG]         use garbage collector [gc2,gc1,boehm]])
 
 dnl threads
 AC_MSG_CHECKING(whether to include threads support)
@@ -150,36 +149,12 @@ else
        AC_SUBST(THREAD_OBJ)
 fi
 
-dnl garbage collector version
-AC_MSG_CHECKING(which garbage collector to use)
-case "$with_gc" in
-gc1 )
-       AC_MSG_RESULT(old garbage collector)
-       GC_OBJ="mm/libmm_old.a"
-       ;;
-gc2 )
-       AC_MSG_RESULT(new garbage collector)
-       GC_OBJ="mm/libmm_new.a"
-       ;;
-boehm | "" )
-       AC_MSG_RESULT(Boehm garbage collector)
-       GC_OBJ="mm/libboehm.a libgc.a"
-       if test ! -e libgc.a; then
-               AC_MSG_ERROR([libgc.a not found, see README.boehm])
-       fi
-       AC_DEFINE(USE_BOEHM)
-       BOEHM_LIB="libboehm.a"
-       ;;
-* )
-       AC_MSG_ERROR(Invalid GC)
-       ;;
-esac
-AC_SUBST(GC_OBJ)
-AC_SUBST(BOEHM_LIB)
+dnl now configure boehm gc
+AC_CONFIG_SUBDIRS(mm/boehm-gc)
 
 AC_OUTPUT(Makefile \
-         toolbox/Makefile \
           mm/Makefile \
+         toolbox/Makefile \
          threads/Makefile \
          jit/Makefile \
           alpha/Makefile \