summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-01-12 21:29:37 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-01-12 21:29:37 -0500
commit794dacb8ae89cfb594112d08aa3ce5789599fa5f (patch)
tree34edc01bc726a65bc68de7f436b5808f979f39c1 /configure.ac
parente1ef65568215f5b68074acd08339fd5fc9fa4e3b (diff)
parentdc241cba4d146835d7bdc3c32133aad27cdfc8e4 (diff)
downloadsystemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.tar.gz
systemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.tar.xz
systemtap-steved-794dacb8ae89cfb594112d08aa3ce5789599fa5f.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d2a150b0..522af8d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,8 @@ 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)],
@@ -81,6 +83,14 @@ sqlite3_LIBS="$LIBS"
AC_SUBST(sqlite3_LIBS)
LIBS="$SAVE_LIBS"
+
+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.])])
+
build_elfutils=no
AC_ARG_WITH([elfutils],
AC_HELP_STRING([--with-elfutils=DIRECTORY],