diff options
author | Vadim Zborovskii <vzborovsky@gmail.com> | 2013-08-18 14:58:27 +0400 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-08-23 08:40:26 +1000 |
commit | 9f6a391ea48da29f46aa92a500df91a944e39307 (patch) | |
tree | 65260db4bcd4a88004a6ed7bd7c647d5ba5c7eaf /auto.def | |
parent | ab939f33357c7ee7825aff0ecf51f3f77b0dde30 (diff) | |
download | jimtcl-9f6a391ea48da29f46aa92a500df91a944e39307.zip jimtcl-9f6a391ea48da29f46aa92a500df91a944e39307.tar.gz jimtcl-9f6a391ea48da29f46aa92a500df91a944e39307.tar.bz2 |
Unbreak shared build on Windows. Collect all version ids to auto.def.
Diffstat (limited to 'auto.def')
-rw-r--r-- | auto.def | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1,6 +1,8 @@ # vim:se syn=tcl: # +define JIM_VERSION 75 + # Note: modules which support options *must* be included before 'options' use cc cc-shared cc-db cc-lib use local @@ -117,12 +119,6 @@ switch -glob -- $host_os { } } -if {[have-feature windows]} { - define LIBSOEXT dll -} else { - define LIBSOEXT so -} - # Find some tools cc-check-tools ar ranlib strip define tclsh [info nameofexecutable] @@ -188,6 +184,7 @@ if {[opt-bool shared with-jim-shared]} { msg-result "Building static library" define JIM_STATICLIB } +define LIBSOEXT [format [get-define SH_SOEXTVER] [format %.2f [expr {[get-define JIM_VERSION] / 100.0}]]] define JIM_INSTALL [opt-bool install-jim] define JIM_DOCS [opt-bool docs] @@ -333,7 +330,7 @@ define C_EXT_SHOBJS [suffix .so $extinfo(module-c)] define TCL_EXTS [suffix .tcl $extinfo(module-tcl)] define EXTRA_OBJS $extra_objs -make-config-header jim-config.h -auto {HAVE_LONG_LONG* JIM_UTF8} -none * +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*} make-template Makefile.in make-template build-jim-ext.in |