Tcl Extension Architecture (TEA) Sample Extension

Check-in [2944285a83]
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:
* tcl.m4 (TEA_CONFIG_CFLAGS): harden the check to add _r to CC on AIX with threads.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tea-3-branch
Files: files | file ages | folders
SHA1: 2944285a830054528523b183e8d95872a432c7e8
User & Date: hobbs 2009-04-28 00:38:53
Context
2010-08-12
01:13
* configure, configure.in: TEA 3.8 update, just include tcl.m4, modify TEA_INIT version and run autoconf 2.59
check-in: 6aa11ae8af user: hobbs tags: tea-3-branch
2009-04-28
00:38
* tcl.m4 (TEA_CONFIG_CFLAGS): harden the check to add _r to CC on AIX with threads.
check-in: 2944285a83 user: hobbs tags: tea-3-branch
2009-04-10
23:19
autoconf-2.59 check-in: 15c61971ac user: das tags: tea-3-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to configure.

7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537

7538
7539
7540
7541
7542
7543
7544
	    DL_OBJS="tclLoadNone.obj"
    	    ;;
	AIX-*)
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"; then

		# AIX requires the _r compiler when gcc isn't being used
		case "${CC}" in
		    *_r)
			# ok ...
			;;
		    *)
			CC=${CC}_r

			;;
		esac
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6

fi







|



|
>







7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
	    DL_OBJS="tclLoadNone.obj"
    	    ;;
	AIX-*)
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"; then

		# AIX requires the _r compiler when gcc isn't being used
		case "${CC}" in
		    *_r|*_r\ *)
			# ok ...
			;;
		    *)
			# Make sure only first arg gets _r
		    	CC=`echo "$CC" | sed -e 's/^\([^ ]*\)/\1_r/'`
			;;
		esac
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6

fi