summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorfche <fche>2005-07-29 18:18:10 +0000
committerfche <fche>2005-07-29 18:18:10 +0000
commit14d0763f9618c5e3391c7ee525cf91515a0715f1 (patch)
treee665680c13ea4c4d46ab645e8c80407dd939f8d3 /configure.ac
parentbb15b4e375fe024c06d58ca3d4ce312c6ab64f47 (diff)
downloadsystemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.tar.gz
systemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.tar.xz
systemtap-steved-14d0763f9618c5e3391c7ee525cf91515a0715f1.zip
2005-07-29 Frank Ch. Eigler <fche@redhat.com>
* configure.ac: Fail configure stage if elfutils 0.111+ is not found. * Makefile.am, elaborate.cxx, tapsets.cxx: Unconditionalize. * configure, Makefile.in, config.in: Regenerated.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 4 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index b90d7820..2eb63cb5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,19 +23,16 @@ AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
dnl Need libdwfl-capable elfutils 0.111 or later from Fedora
-dnl ... except that these libraries are only used by stap, not
-dnl stpd. The implicit LIBS set from these is too broadly applied.
save_LIBS="$LIBS"
AC_CHECK_LIB(dw, dwfl_begin)
stap_LIBS="$LIBS"
LIBS="$SAVE_LIBS"
AC_SUBST(stap_LIBS)
-if test $ac_cv_lib_dw_dwfl_begin = yes; then
- # If we don't have a current library, don't define HAVE_*_H macros either.
- AC_CHECK_HEADERS([elfutils/libdw.h elfutils/libdwfl.h])
-fi
-AM_CONDITIONAL(HAVE_LIBDW, test $ac_cv_lib_dw_dwfl_begin = yes)
+if test $ac_cv_lib_dw_dwfl_begin != yes
+then
+ AC_MSG_ERROR([systemtap requires elfutils 0.111+])
+fi
dnl Plop in the build (configure) date
date=`date +%Y-%m-%d`