From af29024d73f332ce31b17bbf68f4e88bd1eac84b Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 3 Dec 2008 17:26:35 -0500 Subject: PR6925: encourage people to configure with a --prefix --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 108a519c..8670d9fe 100644 --- a/configure.ac +++ b/configure.ac @@ -249,3 +249,11 @@ if test $build_elfutils = yes; then ) fi +if test "${prefix}" = "/usr/local"; then + AC_MSG_NOTICE([]) + AC_MSG_NOTICE([For a private or temporary build of systemtap, we recommend]) + AC_MSG_NOTICE([configuring with a prefix. For example, try]) + AC_MSG_NOTICE([$0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$]) + AC_MSG_NOTICE([Running systemtap uninstalled, entirely out of the build tree,]) + AC_MSG_NOTICE([is not supported.]) +fi -- cgit