summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 6730879c..410e4d3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,16 +24,12 @@ AC_SUBST(CXXFLAGS)
dnl Need libdwfl-capable recent elfutils from Fedora
save_LIBS="$LIBS"
-AC_CHECK_LIB(dw, dwarf_func_inline)
+AC_CHECK_LIB(dw, dwarf_getscopes_die,,[
+ AC_MSG_ERROR([systemtap requires elfutils 0.115+])])
stap_LIBS="$LIBS"
LIBS="$SAVE_LIBS"
AC_SUBST(stap_LIBS)
-if test $ac_cv_lib_dw_dwarf_func_inline != yes
-then
- AC_MSG_ERROR([systemtap requires elfutils 0.114+])
-fi
-
dnl Plop in the build (configure) date
date=`date +%Y-%m-%d`
AC_DEFINE_UNQUOTED(DATE, "$date", [Configuration/build date])