From: simonm Date: Wed, 7 Oct 1998 12:41:42 +0000 (+0000) Subject: [project @ 1998-10-07 12:41:42 by simonm] X-Git-Tag: Approx_2487_patches~244 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3917b929fbe4293bd9fe025e9d2574767ba109aa;p=ghc-hetmet.git [project @ 1998-10-07 12:41:42 by simonm] fix a couple of bugs in the text/data segment end symbol tests. --- diff --git a/aclocal.m4 b/aclocal.m4 index 527cd07..e8e3695 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,4 +1,4 @@ -dnl $Id: aclocal.m4,v 1.29 1998/10/05 14:15:32 simonm Exp $ +dnl $Id: aclocal.m4,v 1.30 1998/10/07 12:41:42 simonm Exp $ dnl dnl Extra autoconf macros for the Glasgow fptools dnl @@ -460,12 +460,12 @@ not_done=1 for i in etext _etext __etext; do FPTOOLS_IN_SCOPE($i,$i,fptools_cv_end_of_text) if test "$fptools_cv_end_of_text" = yes; then - AC_DEFINE(TEXT_SECTION_END_MARKER, $i) + AC_DEFINE_UNQUOTED(TEXT_SECTION_END_MARKER, $i) not_done=0 break fi done -if test "$not_done"; then +if test "$not_done" = 1; then FPTOOLS_IN_SCOPE(etext asm("etext"),etext,fptools_cv_end_of_text); if test "$fptools_cv_end_of_text" = yes; then AC_DEFINE(TEXT_SECTION_END_MARKER, etext asm("etext")) @@ -484,12 +484,12 @@ not_done=1 for i in end _end __end; do FPTOOLS_IN_SCOPE($i,$i,fptools_cv_end_of_data) if test "$fptools_cv_end_of_data" = yes; then - AC_DEFINE(DATA_SECTION_END_MARKER, $i) + AC_DEFINE_UNQUOTED(DATA_SECTION_END_MARKER, $i) not_done=0 break fi done -if test "$not_done"; then +if test "$not_done" = 1; then FPTOOLS_IN_SCOPE(end asm("end"),end,fptools_cv_end_of_data); if test "$fptools_cv_end_of_data" = yes; then AC_DEFINE(DATA_SECTION_END_MARKER, end asm("end"))