promote operands to shift operations to int
[fw/sdcc] / configure.in
index ffbeae5ebeb9a97e32d810a1c4133022e2fcce5b..b3c478a3ac29a5d7f98c105efbac9de56ec095c5 100755 (executable)
@@ -232,6 +232,16 @@ else
     AC_DEFINE_UNQUOTED(OPT_DISABLE_AVR, 0)
 fi
 
+AC_ARG_ENABLE(boehm-gc,--disable-boehm-gc: Excludes sdcc use of libgc.)
+AC_SUBST(DISABLE_GC,1)
+if test "$enable_boehm_gc" = "no"; then
+    AC_DEFINE(OPT_DISABLE_GC, 1)
+    DISABLE_GC=1
+else
+    AC_DEFINE(OPT_DISABLE_GC, 0)
+    DISABLE_GC=0
+fi
+
 # Generating output files
 # ===========================================================================
 AC_CONFIG_SUBDIRS(sim/ucsim)