aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-07-18 09:41:46 +1000
committerSteve Bennett <steveb@workware.net.au>2011-07-18 09:41:46 +1000
commite46851db8294d66e97e0a98a689f0a562deded4e (patch)
treed7d0a839f9e0fcb76cb7bab7fa43775ec479099d /auto.def
parenta36733634abd60b973979431718d4af889611121 (diff)
downloadjimtcl-e46851db8294d66e97e0a98a689f0a562deded4e.zip
jimtcl-e46851db8294d66e97e0a98a689f0a562deded4e.tar.gz
jimtcl-e46851db8294d66e97e0a98a689f0a562deded4e.tar.bz2
Allow install to be a no-op with --disable-install-jim
When running under automake (as openocd does) it seems impossible to build jimtcl but not install it, so add --disable-install-jim to help out. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index 0ac4dde..c1e24ef 100644
--- a/auto.def
+++ b/auto.def
@@ -55,6 +55,8 @@ options {
Specify jim extensions to build as separate modules (either C or Tcl).
Note that not all extensions can be built as loadable modules.
}
+ # To help out openocd with automake
+ install-jim=1
}
cc-check-types "long long"
@@ -152,6 +154,11 @@ if {[opt-bool shared with-jim-shared]} {
msg-result "Building static library"
define JIM_LIBTYPE static
}
+if {[opt-bool install-jim]} {
+ define install_jim 1
+} else {
+ define install_jim ""
+}
# Note: Extension handling is mapped directly from the configure.ac
# implementation