Overview
Comment: | Check for more headers, and add more debugging flags |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bdce79319647f423ac307928d000b0fe |
User & Date: | rkeene on 2018-07-02 06:10:40 |
Other Links: | manifest | tags |
Context
2018-07-02
| ||
06:12 | Improved tests check-in: d603b4fb49 user: rkeene tags: trunk | |
06:10 | Check for more headers, and add more debugging flags check-in: bdce793196 user: rkeene tags: trunk | |
06:10 | A bit of restructuring and cleanup check-in: a1a2a058e2 user: rkeene tags: trunk | |
Changes
Modified configure.ac from [99a6b71ea4] to [960aff5fc5].
1 2 3 4 5 6 7 8 9 10 11 12 13 | dnl Define ourselves AC_INIT(tcl-nano, 0) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL AC_GNU_SOURCE dnl Determine system information DC_CHK_OS_INFO dnl Look for appropriate headers | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | dnl Define ourselves AC_INIT(tcl-nano, 0) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL AC_GNU_SOURCE dnl Determine system information DC_CHK_OS_INFO dnl Look for appropriate headers AC_CHECK_HEADERS(stdint.h limits.h unistd.h stdlib.h string.h sys/stat.h sys/types.h fcntl.h sys/random.h) dnl Perform Tcl Extension required stuff TCLEXT_INIT if test "$TCLEXT_BUILD" != 'static'; then dnl Determine how to make shared objects DC_GET_SHOBJFLAGS |
︙ | ︙ | |||
36 37 38 39 40 41 42 43 44 45 46 47 48 49 | if test "$enableval" = "yes"; then tcl_nano_debug='true' fi ]) if test "$tcl_nano_debug" = 'true'; then AC_DEFINE(TCLEXT_TCL_NANO_DEBUG, [1], [Enable debugging build]) AX_CHECK_COMPILE_FLAG([-fcheck-pointer-bounds], [CFLAGS="$CFLAGS -fcheck-pointer-bounds"]) else dnl If we are not doing debugging disable some of the more annoying warnings AX_CHECK_COMPILE_FLAG([-Wno-unused-value], [CFLAGS="$CFLAGS -Wno-unused-value"]) AX_CHECK_COMPILE_FLAG([-Wno-unused-parameter], [CFLAGS="$CFLAGS -Wno-unused-parameter"]) AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"]) fi AX_CHECK_COMPILE_FLAG([-Wno-sign-compare], [CFLAGS="$CFLAGS -Wno-sign-compare"]) | > > | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | if test "$enableval" = "yes"; then tcl_nano_debug='true' fi ]) if test "$tcl_nano_debug" = 'true'; then AC_DEFINE(TCLEXT_TCL_NANO_DEBUG, [1], [Enable debugging build]) AX_CHECK_COMPILE_FLAG([-fcheck-pointer-bounds], [CFLAGS="$CFLAGS -fcheck-pointer-bounds"]) AX_CHECK_COMPILE_FLAG([-g3], [CFLAGS="$CFLAGS -g3"]) AX_CHECK_COMPILE_FLAG([-ggdb3], [CFLAGS="$CFLAGS -ggdb3"]) else dnl If we are not doing debugging disable some of the more annoying warnings AX_CHECK_COMPILE_FLAG([-Wno-unused-value], [CFLAGS="$CFLAGS -Wno-unused-value"]) AX_CHECK_COMPILE_FLAG([-Wno-unused-parameter], [CFLAGS="$CFLAGS -Wno-unused-parameter"]) AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"]) fi AX_CHECK_COMPILE_FLAG([-Wno-sign-compare], [CFLAGS="$CFLAGS -Wno-sign-compare"]) |
︙ | ︙ | |||
66 67 68 69 70 71 72 | DC_SYNC_RPATH([no]) else DC_SYNC_RPATH([yes]) fi fi dnl Setup a stable ABI | | | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | DC_SYNC_RPATH([no]) else DC_SYNC_RPATH([yes]) fi fi dnl Setup a stable ABI DC_SETUP_STABLE_API([${srcdir}/nano.vers], nano.syms) if test "$tcl_nano_debug" = 'true'; then WEAKENSYMS=':' REMOVESYMS=':' fi dnl Produce output AC_OUTPUT(Makefile pkgIndex.tcl nano.syms) |