From bfe2b4ab0a801c23b130b5083b7fbf5c00ab004a Mon Sep 17 00:00:00 2001 From: fche Date: Fri, 18 Jan 2008 15:29:25 +0000 Subject: bump to version 0.6.1 in prep for snapshot release 2008-01-18 Frank Ch. Eigler * configure.ac, systemtap.spec.in: Update version to 0.6.1 * configure: Regenerated. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 256155a8..2e9072d8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ dnl configure.ac --- autoconf input file for systemtap dnl Process this file with autoconf to produce a configure script. -AC_INIT([systemtap], 0.6, systemtap@sources.redhat.com, systemtap) +AC_INIT([systemtap], 0.6.1, systemtap@sources.redhat.com, systemtap) dnl ^^^ see also NEWS, testsuite/configure.ac -- cgit From 6b535ce2ea1aebf408afe6cc51ef45b50f9a7879 Mon Sep 17 00:00:00 2001 From: dsmith Date: Wed, 23 Jan 2008 19:58:41 +0000 Subject: 2008-01-23 David Smith PR 5661. * configure.ac: Checks elfutils version number. * acsite.m4: New file containing macro to return elfutils version number. * configure: Regenerated. * systemtap.spec.in: Minimum elfutils version number is now filled in by configure. --- configure.ac | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2e9072d8..c8b43fe0 100644 --- a/configure.ac +++ b/configure.ac @@ -4,6 +4,8 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([systemtap], 0.6.1, systemtap@sources.redhat.com, systemtap) dnl ^^^ see also NEWS, testsuite/configure.ac +dnl Version number of oldest elfutils release that works with systemtap. +AC_SUBST(ELFUTILS_REQUIRED_VERSION, 0.127) AC_PREREQ(2.59) AM_INIT_AUTOMAKE @@ -122,6 +124,31 @@ if test $build_elfutils = no; then AC_MSG_ERROR([missing elfutils development headers/libraries (dw 0.123+)])]) AC_CHECK_LIB(ebl, ebl_openbackend,,[ AC_MSG_ERROR([missing elfutils development headers/libraries (ebl 0.123+)])]) + + # Try to get the elfutils library version + AC_MSG_CHECKING([to see if we can get the elfutils version]) + AX_ELFUTILS_GET_VERSION(, [ + AC_MSG_FAILURE([unable to get elfutils library version])]) + + # Is the elfutils library version >= ELFUTILS_REQUIRED_VERSION? + AC_MSG_CHECKING([for elfutils version $ELFUTILS_REQUIRED_VERSION or higher]) + [current_version="`echo \"$ax_elfutils_get_version_VERSION\" | sed -e 's/^[^0-9]//g'`"] + if test -z "$current_version" ; then + AC_MSG_FAILURE([unsupported elfutils version format]) + fi + + AS_VERSION_COMPARE($current_version, $ELFUTILS_REQUIRED_VERSION, + [bad_elfutils_version=yes], dnl ACTION-IF-LESS + [bad_elfutils_version=no], dnl ACTION-IF-EQUAL + [bad_elfutils_version=no]) dnl ACTION-IF-GREATER + + if test $bad_elfutils_version = yes; then + AC_MSG_RESULT([no]) + AC_MSG_ERROR([elfutils library version ($current_version) must be version $ELFUTILS_REQUIRED_VERSION or higher]) + else + AC_MSG_RESULT([yes]) + fi + stap_LIBS="$LIBS" LIBS="$SAVE_LIBS" else -- cgit From 9921a199dd3d8bfce4cd2e4c95e17119903588ea Mon Sep 17 00:00:00 2001 From: dsmith Date: Thu, 24 Jan 2008 18:11:34 +0000 Subject: 2008-01-24 David Smith PR 5650 (partial). * configure.ac: Handles sqlite optional functionality correctly. If enabled/disabled by the user, do the right thing. If not specified by the user, use it if present. * configure: Regenerated. * systemtap.spec.in: Always specify to configure whether to use sqlite or not. --- configure.ac | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c8b43fe0..79812c7b 100644 --- a/configure.ac +++ b/configure.ac @@ -78,13 +78,27 @@ if test "$enable_prologues" = yes; then AC_DEFINE([ENABLE_PROLOGUES],[],[make -P prologue-searching default]) fi]) +AC_ARG_ENABLE([ssp], + [AC_HELP_STRING([--enable-ssp], [enable gcc stack-protector])]) +AS_IF([test "x$enable_ssp" == xyes], + [CFLAGS="$CFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2" + CXXFLAGS="$CXXFLAGS -fstack-protector-all -D_FORTIFY_SOURCE=2" + AC_MSG_NOTICE([Compiling with gcc -fstack-protector-all et al.])]) -SAVE_LIBS="$LIBS" -AC_CHECK_LIB(sqlite3, sqlite3_open) -sqlite3_LIBS="$LIBS" -AC_SUBST(sqlite3_LIBS) -LIBS="$SAVE_LIBS" - +dnl Handle optional sqlite support. If enabled/disabled by the user, +dnl do the right thing. If not specified by the user, use it if +dnl present. +AC_ARG_ENABLE([sqlite], + AS_HELP_STRING([--enable-sqlite], [build with sqlite support]), + [], dnl ACTION-IF-GIVEN + [enable_sqlite=check]) dnl ACTION-IF-NOT-GIVEN +sqlite3_LIBS= +AS_IF([test "x$enable_sqlite" != xno], + [AC_CHECK_LIB([sqlite3], [sqlite3_open], + [AC_SUBST([sqlite3_LIBS], [-lsqlite3])], + [if test "x$enable_sqlite" != xcheck; then + AC_MSG_FAILURE([--enable-sqlite was given, but test for sqlite failed]) + fi])]) AC_ARG_ENABLE([ssp], [AC_HELP_STRING([--enable-ssp], [enable gcc stack-protector])]) -- cgit From 7ae8037e595d8da298c83cdc059db6ac5b68d8dc Mon Sep 17 00:00:00 2001 From: dsmith Date: Thu, 24 Jan 2008 20:24:03 +0000 Subject: 2008-01-24 David Smith PR 5661 (reverted). * configure.ac: Removed elfutils version number check. * configure: Regenerated. * acsite.m4: Removed. * systemtap.spec.in: Minimum elfutils version number is no longer filled in by configure. --- configure.ac | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 79812c7b..f53fca84 100644 --- a/configure.ac +++ b/configure.ac @@ -4,9 +4,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([systemtap], 0.6.1, systemtap@sources.redhat.com, systemtap) dnl ^^^ see also NEWS, testsuite/configure.ac -dnl Version number of oldest elfutils release that works with systemtap. -AC_SUBST(ELFUTILS_REQUIRED_VERSION, 0.127) - AC_PREREQ(2.59) AM_INIT_AUTOMAKE AM_MAINTAINER_MODE @@ -27,8 +24,6 @@ AC_PROG_MAKE_SET AC_SUBST(CFLAGS) AC_SUBST(CXXFLAGS) - - dnl enable option to generate code for using perfmon AC_ARG_ENABLE(perfmon, [ --enable-perfmon enable perfmon support (default is disabled)], @@ -139,30 +134,6 @@ if test $build_elfutils = no; then AC_CHECK_LIB(ebl, ebl_openbackend,,[ AC_MSG_ERROR([missing elfutils development headers/libraries (ebl 0.123+)])]) - # Try to get the elfutils library version - AC_MSG_CHECKING([to see if we can get the elfutils version]) - AX_ELFUTILS_GET_VERSION(, [ - AC_MSG_FAILURE([unable to get elfutils library version])]) - - # Is the elfutils library version >= ELFUTILS_REQUIRED_VERSION? - AC_MSG_CHECKING([for elfutils version $ELFUTILS_REQUIRED_VERSION or higher]) - [current_version="`echo \"$ax_elfutils_get_version_VERSION\" | sed -e 's/^[^0-9]//g'`"] - if test -z "$current_version" ; then - AC_MSG_FAILURE([unsupported elfutils version format]) - fi - - AS_VERSION_COMPARE($current_version, $ELFUTILS_REQUIRED_VERSION, - [bad_elfutils_version=yes], dnl ACTION-IF-LESS - [bad_elfutils_version=no], dnl ACTION-IF-EQUAL - [bad_elfutils_version=no]) dnl ACTION-IF-GREATER - - if test $bad_elfutils_version = yes; then - AC_MSG_RESULT([no]) - AC_MSG_ERROR([elfutils library version ($current_version) must be version $ELFUTILS_REQUIRED_VERSION or higher]) - else - AC_MSG_RESULT([yes]) - fi - stap_LIBS="$LIBS" LIBS="$SAVE_LIBS" else -- cgit