summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-08-12 19:25:06 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-08-12 19:25:06 +0300
commit5a3488ccac8e5dabd9fc98bc41ef178ead1b2faf (patch)
tree38c7bdcb513208484cb944e36c473341a521cbbe /configure.ac
parentc4951e0a6b6cf3eeee710cc5cda1d9bc929ee3d7 (diff)
configure.ac: fix execinfo.h test (Debian #363218)
Define HAVE_EXECINFO_H as well as HAVE_BACKTRACE, when we find execinfo.h.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 46b128059..dce4f3211 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,6 +174,7 @@ dnl glibc backtrace support check (hw/xfree86/common/xf86Events.c)
AC_CHECK_HEADER([execinfo.h],[
AC_CHECK_LIB(c, backtrace, [
AC_DEFINE(HAVE_BACKTRACE, 1, [Has backtrace support])
+ AC_DEFINE(HAVE_EXECINFO_H, 1, [Have execinfo.h])
])]
)