corrected obstack check
authorTill Riedel <till@ipd.info.uni-karlsruhe.de>
Fri, 24 Jan 2003 10:33:05 +0000 (10:33 +0000)
committerTill Riedel <till@ipd.info.uni-karlsruhe.de>
Fri, 24 Jan 2003 10:33:05 +0000 (10:33 +0000)
[r657]

configure
configure.in

index 2d1dd2a..f9bdc1d 100755 (executable)
--- 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; }; }
index 43ea713..61534f1 100644 (file)
@@ -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