aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2018-02-19 07:49:04 +1000
committerSteve Bennett <steveb@workware.net.au>2018-07-25 15:30:45 +1000
commit630df0da46f4237de851c8a44ecb0b382549c67c (patch)
tree8a6c0ff03f8aea10c22160d3d7d17b278595334a /auto.def
parent3e37fe8cb2f93fd385179d7e420656982a6ab709 (diff)
downloadjimtcl-630df0da46f4237de851c8a44ecb0b382549c67c.zip
jimtcl-630df0da46f4237de851c8a44ecb0b382549c67c.tar.gz
jimtcl-630df0da46f4237de851c8a44ecb0b382549c67c.tar.bz2
Update autosetup to v0.6.8
autosetup changes: - The syntax for templates has changed slightly - Update config.guess and config.sub to 2018-03-08 - Add rpath support - Add --runstatedir Also: - enable rpath when building libjim as shared - ensure that 'make test' works on MacOS when libjim is shared Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index 248870d..394cc62 100644
--- a/auto.def
+++ b/auto.def
@@ -300,6 +300,11 @@ if {[opt-bool shared with-jim-shared]} {
}
define VERSION [format %.2f [expr {[get-define JIM_VERSION] / 100.0}]]
define LIBSOEXT [format [get-define SH_SOEXTVER] [get-define VERSION]]
+if {[get-define libdir] ni {/lib /usr/lib}} {
+ define SH_LINKRPATH_FLAGS [format [get-define SH_LINKRPATH] [get-define libdir]]
+} else {
+ define SH_LINKRPATH_FLAGS ""
+}
define JIM_INSTALL [opt-bool install-jim]
define JIM_DOCS [opt-bool docs]
define JIM_RANDOMISE_HASH [opt-bool random-hash]
@@ -484,6 +489,7 @@ define LIBS $LIBS
make-config-header jim-config.h -auto {HAVE_LONG_LONG* JIM_UTF8} -bare JIM_VERSION -none *
make-config-header jimautoconf.h -auto {jim_ext_* TCL_PLATFORM_* TCL_LIBRARY USE_* JIM_* _FILE_OFFSET*} -bare {S_I*}
make-template Makefile.in
+make-template tests/Makefile.in
make-template build-jim-ext.in
make-template jimtcl.pc.in