From: Till Riedel Date: Fri, 24 Jan 2003 10:33:05 +0000 (+0000) Subject: corrected obstack check X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fb60e4cb5af1e120eab6d6687e1551aa192dae1e;p=libfirm corrected obstack check [r657] --- diff --git a/configure b/configure index 2d1dd2a74..f9bdc1d40 100755 --- a/configure +++ b/configure @@ -3505,7 +3505,7 @@ fi #AC_CHECK_HEADERS(obstack.h, ac_obstack_headers="yes", ac_obstack_headers="no") #if test "$ac_obstack_headers" != yes; then -if test "x$HAVE_OBSTACK" = 0; then +if test $ac_cv_func_obstack != yes; then { { echo "$as_me:$LINENO: error: \"no obstack support\"" >&5 echo "$as_me: error: \"no obstack support\"" >&2;} { (exit 1); exit 1; }; } diff --git a/configure.in b/configure.in index 43ea713de..61534f1a5 100644 --- a/configure.in +++ b/configure.in @@ -191,7 +191,7 @@ AC_FUNC_OBSTACK #AC_CHECK_HEADERS(obstack.h, ac_obstack_headers="yes", ac_obstack_headers="no") #if test "$ac_obstack_headers" != yes; then -if test "x$HAVE_OBSTACK" = 0; then +if test $ac_cv_func_obstack != yes; then dnl obstack header not found. AC_MSG_ERROR("no obstack support") fi