aboutsummaryrefslogtreecommitdiff
path: root/autosetup/local.tcl
AgeCommit message (Collapse)AuthorFilesLines
2023-02-13configure: Default to --fullSteve Bennett1-21/+22
Now use --minimal and/or --without-ext to disable things. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2022-08-20build: Fix a few places that AS_CFLAGS was missingSteve Bennett1-1/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2021-01-06configure: Add --allextmod optionSteve Bennett1-1/+14
To build all non-default extensions as modules if prerequisites are met. Also move the extension help out of the main help since it is quite long and show it with --extinfo. Now extension help is generated from $extdb to avoid the help and the module configuration becoming out of sync. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2021-01-01sdl: Add support for SDL2Steve Bennett1-14/+43
Now we only support using pkg-config to find SDL, and prefer SDL2 over SDL. For compatibility between versions, the render surface is now cleared on flip. And closing the window now results in a JIM_EXIT return code from flip. Also supports [sdl clear] to clear the background to a given colour. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2019-11-06build: improve build for shared objectsSteve Bennett1-5/+11
Rather than listing the build rules for each shared object (loadable module) in the Makefile template, generate the build rules in configure. Also, if an extension is configured as a module, any automatic dependencies required by the extension are configured as modules by default. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2017-09-21configure: Improve module selectionSteve Bennett1-4/+9
Modules/extensions are now explicitly marked as optional (and enabled with --full), or off (must be explicitly enabled with --with-mod/--with-ext) This means that now binary and tclprefix are correctly not enabled by default, and zlib is enabled with --full. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-17Add pkg-config support: jimtcl.pcSteve Bennett1-0/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-08-28configure: Use pkg-config if possibleSteve Bennett1-12/+37
Use the new pkg-config support in autosetup to search for certain packages such as sqlite3 and sdl
2014-09-11Don't link module LIBS to jimsh/libjimSteve Bennett1-0/+9
Some libraries are only required for specific dynamic modules, so don't include them when linking jimsh or libjim.so Reported-by: Stuart Cassoff Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Enable more extensions by defaultSteve Bennett1-6/+2
For a better "out-of-the-box" experience, most extensions such as binary, tree and tclprefix are enabled by default. Also jim-regexp is enabled by default for better Tcl compatibility. It is still possible to disable any of these with --without-ext=... and --disable-jim-regexp Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-08Better extension selection in auto.defSteve Bennett1-0/+198
The old implementation was cumbersome for adding new extensions The new implementation is still too complex :-( Signed-off-by: Steve Bennett <steveb@workware.net.au>