Tcl Extension Architecture (TEA) Sample Extension

Check-in [4767411521]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Replace broken autoconf tokens. Untangle CFLAGS_DEFAULT, CFLAGS_WARNING, and SHLIB_CFLAGS from CFLAGS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4767411521e3baf029bb5844ce561c1a4792acf460a027b2ccd8db1cbcbfc5b5
User & Date: pooryorick 2018-08-13 08:30:14
Context
2018-10-28
06:55
Merge with trunk check-in: 9011a8649b user: seandeelywoods tags: practcl
2018-08-13
08:30
Replace broken autoconf tokens. Untangle CFLAGS_DEFAULT, CFLAGS_WARNING, and SHLIB_CFLAGS from CFLAGS. Leaf check-in: 4767411521 user: pooryorick tags: trunk
2018-07-21
21:05
Stop using AC_OUPUT in its deprecated form. Add *Config.sh.in setup example (commented-out). Pull in bits from latest tclconfig. check-in: 93bad0be42 user: stu tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

    83     83   pkglibdir	= $(libdir)/$(PKG_DIR)
    84     84   pkgincludedir	= $(includedir)/$(PKG_DIR)
    85     85   
    86     86   top_builddir	= @[email protected]
    87     87   
    88     88   INSTALL_OPTIONS	=
    89     89   INSTALL		= @[email protected] $(INSTALL_OPTIONS)
    90         -INSTALL_DATA_DIR = @[email protected]
           90  +INSTALL_DATA_DIR = ${INSTALL} -d -m 755
    91     91   INSTALL_DATA	= @[email protected]
    92     92   INSTALL_PROGRAM	= @[email protected]
    93     93   INSTALL_SCRIPT	= @[email protected]
    94         -INSTALL_LIBRARY	= @[email protected]
           94  +INSTALL_LIBRARY	= ${INSTALL_DATA}
    95     95   
    96     96   PACKAGE_NAME	= @[email protected]
    97     97   PACKAGE_VERSION	= @[email protected]
    98     98   CC		= @[email protected]
    99     99   CFLAGS_DEFAULT	= @[email protected]
   100    100   CFLAGS_WARNING	= @[email protected]
   101    101   EXEEXT		= @[email protected]
................................................................................
   161    161   CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
   162    162   CLEANFILES	= @[email protected]
   163    163   
   164    164   CPPFLAGS	= @[email protected]
   165    165   LIBS		= @[email protected] @[email protected]
   166    166   AR		= @[email protected]
   167    167   CFLAGS		= @[email protected]
   168         -COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
          168  +COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \
          169  +			  $(CFLAGS_DEFAULT) $(CFLAGS_WARNING) $(SHLIB_CFLAGS) $(CFLAGS)
   169    170   
   170    171   GDB		= gdb
   171    172   VALGRIND	= valgrind
   172    173   VALGRINDARGS	= --tool=memcheck --num-callers=8 --leak-resolution=high \
   173    174   		  --leak-check=yes --show-reachable=yes -v
   174    175   
   175    176   .SUFFIXES: .c .$(OBJEXT)