From c326a7d6124fefcf1c45ead72cd72498929a489c Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Thu, 1 Dec 2011 23:13:39 +0000
Subject: [PATCH] Fix an obstack problem.

---
 configure.ac | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/configure.ac b/configure.ac
index 8c11433..f49bed0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -580,6 +580,12 @@ AC_CHECK_FUNCS([getopt_long],[],
 	NEED_GETOPT=1])
 AC_FUNC_OBSTACK
 AM_CONDITIONAL(NEED_OBSTACK, [test ! "x${ac_cv_func_obstack}" = "xyes"])
+if test "x${ac_cv_func_obstack}" = "xyes"; then
+  HAVE_OBSTACK_H=1
+else
+  HAVE_OBSTACK_H=0
+fi
+AC_SUBST([HAVE_OBSTACK_H])
 
 GNUCOMPAT_INCLUDE_PATH='-I$(top_srcdir)/gnu-compat/'
 AC_SUBST([GNUCOMPAT_INCLUDE_PATH])
-- 
GitLab