summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2010-03-25 14:50:14 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2010-03-25 14:50:14 +0100
commit4172ff4e6fa07e9ca103f8dbb40f3e7a11528036 (patch)
tree4c81a5116c6339c0d0f6a484a3a3c4fa52403e5d /configure.ac
parentc63d25e6b7c006dc62b7e6706b9fd7059d4b2c90 (diff)
Reverted r27289, since it brokes a lot of tests on some architectures.
[r27323]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 70f653a..f2e04c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,21 @@ AC_C_INLINE
AC_C_BIGENDIAN(,,,)
AC_C_LONG_DOUBLE
+dnl Checks for library functions.
+dnl =============================
+
+dnl check for strerror
+
+AC_CHECK_FUNC(strerror,,
+ AC_MSG_ERROR("need strerror function")
+)
+
+dnl we use the gnu extension obstack_printf
+AC_DEFINE([_GNU_SOURCE], [], [we use gnu extensions])
+AC_CHECK_FUNC(strerror,,
+ AC_MSG_ERROR("need obstack_printf function")
+)
+
dnl Error messaging
dnl ===============