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