summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure14
-rw-r--r--configure.ac8
3 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 00cc652f..a786c45d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-12-03 Frank Ch. Eigler <fche@elastic.org>
+ PR6925
+ * configure.ac: Suggest --prefix if configured without.
+ * configure: Regenerated.
+
+2008-12-03 Frank Ch. Eigler <fche@elastic.org>
+
PR 5982: rename -B to -r
* main.cxx (main): Treat -r REV and -r /PATH as complimentary.
Imply -p4 if target mismatches host versions.
diff --git a/configure b/configure
index dc40c1e0..6161eae8 100755
--- a/configure
+++ b/configure
@@ -8664,3 +8664,17 @@ echo "$as_me: running ${elfutils_srcdir}/configure" >&6;}
)
fi
+if test "${prefix}" = "/usr/local"; then
+ { echo "$as_me:$LINENO: " >&5
+echo "$as_me: " >&6;}
+ { echo "$as_me:$LINENO: For a private or temporary build of systemtap, we recommend" >&5
+echo "$as_me: For a private or temporary build of systemtap, we recommend" >&6;}
+ { echo "$as_me:$LINENO: configuring with a prefix. For example, try" >&5
+echo "$as_me: configuring with a prefix. For example, try" >&6;}
+ { echo "$as_me:$LINENO: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&5
+echo "$as_me: $0 $ac_configure_args --prefix=$HOME/systemtap-${PACKAGE_VERSION}-$$" >&6;}
+ { echo "$as_me:$LINENO: Running systemtap uninstalled, entirely out of the build tree," >&5
+echo "$as_me: Running systemtap uninstalled, entirely out of the build tree," >&6;}
+ { echo "$as_me:$LINENO: is not supported." >&5
+echo "$as_me: is not supported." >&6;}
+fi
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