Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
Otherwise install the shipped docs with a warning.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Not all objects were dependent on the Makefile/headers, so the following
build sequence resulted in failure:
./configure CFLAGS="--coverage" LDFLAGS="--coverage" && make
./configure && make
|
|
|
|
Rather than using a hard-coded table
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Needed when using linenoise line editing with utf-8 support
Note that variable width support is not yet added to linenoise
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Includes support for aliases in sub-interp
These are not identical to Tcl interp, but are conceptually very similar
For example:
set i [interp]
$i alias localcmd parentcmd arg1
$i eval { localcmd x }
Invokes: parentcmd arg1 x
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Also, fix build if JIM_OPTIMIZATION is disabled
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Reported-By: Stuart Cassoff <stwo@bell.net>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Allow 3rd party tests to be written and use:
package require tcltest
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
CPPFLAGS is a standard variable to pass additional
preprocessor-related parameters.
Debian build system uses that to add -D_FORTIFY_SOURCE=2 and then
checks the buildlogs to ensure the command line contained all the
fortification parameters (they use "-fstack-protector
--param=ssp-buffer-size=4" for CFLAGS).
Example blhc output before the fix:
CPPFLAGS missing (-D_FORTIFY_SOURCE=2): cc -D_GNU_SOURCE -Wall -I. -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o _load-static-exts.o _load-static-exts.c
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
In the autoconf universe LDFLAGS are used for all linker flags, and
LIBS are used to specify additional libraries. Autosetup has support
for that but Makefile.in needs to honour them too.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
|
|
Compatibility with some build systems
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Stuart Cassoff <stwo@bell.net>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Need to include the version in the name of the library
to match the link line
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Many path inside the makefile are hardcoded, replace them with the
appropriate variables. (Main purpose: '$prefix/lib' is simply wrong
on 64bit systems).
Reported-by: Markus Mayer <lotharlutz@gmx.de>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Reported-by: Markus Mayer <lotharlutz@gmx.de>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
It can be easier for debugging if these files are left around.
They are still deleted by make clean.
Reported-By: Markus Mayer <lotharlutz@gmx.de>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
With --disable-docs
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
When building out of tree
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Removes the need to do a "make clean" after changing jim.h or other
headers.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
|
|
not clean, since it is generated by ./configure
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
And other minor changes for windows platforms
|
|
Otherwise they can't be linked with -l
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
If libjim is built shared, ensure that all symbols are resolved.
This can't be done if libjim is built static.
Also, build-jim-ext now shows stderr from the compiler and linker
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Anything older than sqlite3 is no longer worth supporting
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Also adds Jim_ListGetIndex(), like Jim_ListIndex() but with a more convenient interface
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
If --shared is enabled
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Simplifies the process of building loadable extensions
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Reported-By: Evan Hunter <ehunter@broadcom.com>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Missing parts are binary properties and search.
|
|
Both for loadable modules and for the core.
Also, loadable modules should now build with BSD make.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Use the new conditional template support in autosetup
to avoid (most) GNU-isms in the generated Makefile.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Don't use -Werror
Prefer user CFLAGS over default options
Haiku needs -lnetwork for networking functions
Haiku does not have -lm
Haiku does not have SIGIO
Silence some warnings
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
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>
|
|
All generated sources are now prefixed with an underscore
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Tcl compatible.
Also move jimsh initialisation script into initjimsh.tcl
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|