]> sourceware.org Git - systemtap.git/commitdiff
stap: Include DYNINST in the enabled feature list
authorJosh Stone <jistone@redhat.com>
Mon, 13 Aug 2012 23:00:43 +0000 (16:00 -0700)
committerJosh Stone <jistone@redhat.com>
Mon, 13 Aug 2012 23:00:43 +0000 (16:00 -0700)
config.in
configure
configure.ac
session.cxx

index eb42ca672fe680ac558dbb715a9179b0a0931650..0580220ef606f614c54ec6480d3e3f36f4e41909 100644 (file)
--- a/config.in
+++ b/config.in
@@ -29,6 +29,9 @@
    */
 #undef HAVE_DCGETTEXT
 
+/* Define to 1 if Dyninst is enabled */
+#undef HAVE_DYNINST
+
 /* Define to 1 if libelf has elf_getshdrstrndx */
 #undef HAVE_ELF_GETSHDRSTRNDX
 
index 92b0579a733b3c8e7a13b455c3c5e6f5afff0916..ab9fd3721c735cb01c07a75e23f5c15f5e9c1663 100755 (executable)
--- a/configure
+++ b/configure
@@ -10502,6 +10502,9 @@ _ACEOF
 
 
 
+
+$as_echo "#define HAVE_DYNINST 1" >>confdefs.h
+
       have_dyninst=yes
 
 else
index acfe59f83b90ca495b30a90624d779e4a9bcc47d..d43469e4c6550eb62ea4a723be394bee6e8db94f 100644 (file)
@@ -498,6 +498,7 @@ if test -n "$DYNINST_CXXFLAGS"; then
   AC_CHECK_HEADERS([BPatch_object.h], [
       AC_SUBST(DYNINST_CXXFLAGS)
       AC_SUBST(DYNINST_LDFLAGS)
+      AC_DEFINE([HAVE_DYNINST],[1],[Define to 1 if Dyninst is enabled])
       have_dyninst=yes
     ],
     AC_MSG_ERROR([Dyninst does not appear to be usable]))
index 98a77be2cb17da46d90636223a7516fd49ac0776..4532763c6bfd1c7d4fcb68bb035eccb8d0b8d151 100644 (file)
@@ -426,6 +426,9 @@ systemtap_session::version ()
 #endif
 #ifdef ENABLE_NLS
        << " NLS"
+#endif
+#ifdef HAVE_DYNINST
+       << " DYNINST"
 #endif
        << endl;
 }
This page took 0.041728 seconds and 5 git commands to generate.