From f11e66fd718e67197ab6ec39569bbf8c8e2cf119 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 26 Dec 2010 06:43:26 -0600 Subject: [PATCH] fix sgcdebug configuration --- src/configure | 16 ++++++---------- src/racket/configure.ac | 16 ++++++---------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/src/configure b/src/configure index 291a3730e1..fa65a76b74 100755 --- a/src/configure +++ b/src/configure @@ -5259,11 +5259,7 @@ case $OS in ;; BeOS) enable_cgcdefault="yes" - if test "${enable_sgcdebug}" = "yes" ; then - dummyvar="" - else - enable_sgc=yes - fi + enable_sgc=yes ;; Darwin) @@ -5391,16 +5387,16 @@ fi ############## SGC ################ +if test "${enable_sgcdebug}" = "yes" ; then + enable_sgc=yes + OPTIONS="$OPTIONS -DSGC_STD_DEBUGGING=1" +fi + if test "${enable_sgc}" = "yes" ; then GCDIR=sgc OPTIONS="$OPTIONS -DUSE_SENORA_GC" fi -if test "${enable_sgcdebug}" = "yes" ; then - GCDIR=sgc - OPTIONS="$OPTIONS -DSGC_STD_DEBUGGING=1" -fi - ############## C flags ################ ac_ext=c diff --git a/src/racket/configure.ac b/src/racket/configure.ac index 6ca417cab7..29104dc259 100644 --- a/src/racket/configure.ac +++ b/src/racket/configure.ac @@ -589,11 +589,7 @@ case $OS in ;; BeOS) enable_cgcdefault="yes" - if test "${enable_sgcdebug}" = "yes" ; then - dummyvar="" - else - enable_sgc=yes - fi + enable_sgc=yes ;; Darwin) @@ -721,16 +717,16 @@ fi ############## SGC ################ +if test "${enable_sgcdebug}" = "yes" ; then + enable_sgc=yes + OPTIONS="$OPTIONS -DSGC_STD_DEBUGGING=1" +fi + if test "${enable_sgc}" = "yes" ; then GCDIR=sgc OPTIONS="$OPTIONS -DUSE_SENORA_GC" fi -if test "${enable_sgcdebug}" = "yes" ; then - GCDIR=sgc - OPTIONS="$OPTIONS -DSGC_STD_DEBUGGING=1" -fi - ############## C flags ################ AC_LANG_C