projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c63d25e
)
Reverted r27289, since it brokes a lot of tests on some architectures.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 25 Mar 2010 13:50:14 +0000
(13:50 +0000)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 25 Mar 2010 13:50:14 +0000
(13:50 +0000)
[r27323]
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
70f653a
..
f2e04c6
100644
(file)
--- 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 ===============