Jim Tcl
Check-in [482d1fb2ce]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:configure: add SIZEOF_INT to jim-config.h

It can be useful for extensions to know the size of integers

Signed-off-by: Steve Bennett <steveb@workware.net.au>

Timelines: family | ancestors | descendants | both | trunk |
Files: files | file ages | folders
SHA1: 482d1fb2cee45d6d77239c82acae8ab24f8932e8
User & Date: steveb@workware.net.au 2019-11-11 21:32:30
Context
2019-11-11
21:33
aio: tty: allow setting echo

set-only e.g. to disable echo on stdin: stdin tty echo 0

This allows disabling echo while otherwise keeping cooked mode. Setting input to cooked or raw will overwrite this setting

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 7a9585aa6a user: steveb@workware.net.au tags: trunk,

21:32
configure: add SIZEOF_INT to jim-config.h

It can be useful for extensions to know the size of integers

Signed-off-by: Steve Bennett <steveb@workware.net.au> check-in: 482d1fb2ce user: steveb@workware.net.au tags: trunk,

05:00
json: implement -index decode option check-in: 1477093252 user: dbohdan@dbohdan.com tags: trunk,
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to auto.def.

84
85
86
87
88
89
90

91
92
93
94
95
96
97
...
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
# In case -Werror is passed in CFLAGS, set -Wno-error when doing checks
# to prevent warnings from becoming errors
if {"-Werror" in [get-define CFLAGS] && [cctest -cflags -Wno-error]} {
    cc-with {-cflags -Wno-error}
}

cc-check-types "long long"


define CCOPTS ""
define CXXOPTS ""
if {[cctest -cflags -fno-unwind-tables]} {
    define-append CCOPTS -fno-unwind-tables
}
if {[cctest -cflags -fno-asynchronous-unwind-tables]} {
................................................................................
    }
    lappend lines "\t\$(ECHO)\t\"\tLDSO\t\$@\""
    lappend lines "\t\$(Q)\$(CC) \$(CFLAGS) \$(LDFLAGS) \$(SHOBJ_LDFLAGS) -o \$@ $objs \$(SH_LIBJIM) $libs"
    lappend lines ""
}
define BUILD_SHOBJS [join $lines \n]

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

catch {exec chmod +x build-jim-ext}







>







 







|







84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
...
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
# In case -Werror is passed in CFLAGS, set -Wno-error when doing checks
# to prevent warnings from becoming errors
if {"-Werror" in [get-define CFLAGS] && [cctest -cflags -Wno-error]} {
    cc-with {-cflags -Wno-error}
}

cc-check-types "long long"
cc-check-sizeof int

define CCOPTS ""
define CXXOPTS ""
if {[cctest -cflags -fno-unwind-tables]} {
    define-append CCOPTS -fno-unwind-tables
}
if {[cctest -cflags -fno-asynchronous-unwind-tables]} {
................................................................................
    }
    lappend lines "\t\$(ECHO)\t\"\tLDSO\t\$@\""
    lappend lines "\t\$(Q)\$(CC) \$(CFLAGS) \$(LDFLAGS) \$(SHOBJ_LDFLAGS) -o \$@ $objs \$(SH_LIBJIM) $libs"
    lappend lines ""
}
define BUILD_SHOBJS [join $lines \n]

make-config-header jim-config.h -auto {HAVE_LONG_LONG* JIM_UTF8 SIZEOF_INT} -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

catch {exec chmod +x build-jim-ext}