summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-01-15 12:34:39 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-01-15 12:34:39 -0500
commit2a1c9b5db533fe7d2d2d4bac572195c490de62fb (patch)
tree4e43803760aaecb669989c2362c2ce35733a1457 /configure
parent86f99ad8206574dc6400d48563db58341cb50f52 (diff)
downloadsystemtap-steved-2a1c9b5db533fe7d2d2d4bac572195c490de62fb.tar.gz
systemtap-steved-2a1c9b5db533fe7d2d2d4bac572195c490de62fb.tar.xz
systemtap-steved-2a1c9b5db533fe7d2d2d4bac572195c490de62fb.zip
PR11105: support default unset --prefix
* configure.ac (STAP_PREFIX): Map NONE -> /usr/local.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index e3e358a6..517a681a 100755
--- a/configure
+++ b/configure
@@ -9688,9 +9688,11 @@ done
fi
+stap_prefix=$prefix
+test "$stap_prefix" = NONE && stap_prefix=$ac_default_prefix
cat >>confdefs.h <<_ACEOF
-#define STAP_PREFIX "$prefix"
+#define STAP_PREFIX "$stap_prefix"
_ACEOF