Tcl Extension Architecture (TEA) Sample Extension

Check-in [b706d1a065]
Login

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

Overview
Comment:autoconf-2.59
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b706d1a065f95013764fd53f4258c75b7aa4ce1c
User & Date: das 2008-12-22 05:52:35.000
Context
2009-03-12
00:57
Bug 1960628: sampleextension: pkgIndex.tcl.in: use @PACKAGE_NAME@ instead of "Tclsha1" tclconfig: tcl.m4: Allow ${SHLIB_SUFFIX} to be overridden at configure-time Also fix some comment typos, and an uninitialized variable bug-waiting-to-happen. check-in: 09a36ad8cb user: jenglish tags: trunk
2008-12-22
05:52
autoconf-2.59 check-in: b706d1a065 user: das tags: trunk
2008-12-20
00:22
autoconf-2.59 check-in: d1e513348c user: das tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to configure.
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945

7946





7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
  tcl_ok=yes
else
  tcl_ok=no
fi

	    if test "$tcl_ok" = yes; then

		SHLIB_CFLAGS="+z"
		SHLIB_LD="ld -b"
		SHLIB_LD_LIBS='${LIBS}'
		DL_OBJS="tclLoadShl.o"
		DL_LIBS="-ldld"
		LDFLAGS="$LDFLAGS -Wl,-E"
		CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
		LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
		LD_LIBRARY_PATH_VAR="SHLIB_PATH"

fi

	    if test "$GCC" = yes; then

		SHLIB_LD='${CC} -shared'
		SHLIB_LD_LIBS='${LIBS}'

		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}






fi


	    # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
	    #CFLAGS="$CFLAGS +DAportable"

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes"; then

		if test "$GCC" = yes; then

		    case `${CC} -dumpmachine` in
			hppa64*)







<
<





|







|
>
|
>
>
>
>
>




<
<
<







7923
7924
7925
7926
7927
7928
7929


7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954



7955
7956
7957
7958
7959
7960
7961
  tcl_ok=yes
else
  tcl_ok=no
fi

	    if test "$tcl_ok" = yes; then



		SHLIB_LD_LIBS='${LIBS}'
		DL_OBJS="tclLoadShl.o"
		DL_LIBS="-ldld"
		LDFLAGS="$LDFLAGS -Wl,-E"
		CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
		LD_LIBRARY_PATH_VAR="SHLIB_PATH"

fi

	    if test "$GCC" = yes; then

		SHLIB_LD='${CC} -shared'

else

		CFLAGS="$CFLAGS -z"
		# Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
		#CFLAGS="$CFLAGS +DAportable"
		SHLIB_CFLAGS="+z"
		SHLIB_LD="${CC} -Wl,-b"

fi





	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes"; then

		if test "$GCC" = yes; then

		    case `${CC} -dumpmachine` in
			hppa64*)