@@ -1293,7 +1293,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
1293
1293
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.dll'
1294
1294
1295
1295
TCL_LIB_VERSIONS_OK=nodots
1296
- ;;
1296
+ ;;
1297
1297
AIX-*)
1298
1298
AS_IF ( [ test "$GCC" != "yes"] , [
1299
1299
# AIX requires the _r compiler when gcc isn't being used
@@ -1303,7 +1303,7 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
1303
1303
;;
1304
1304
*)
1305
1305
# Make sure only first arg gets _r
1306
- CC=`echo "$CC" | sed -e 's/^\([ [ ^ ] ] *\)/\1_r/'`
1306
+ CC=`echo "$CC" | sed -e 's/^\([ [ ^ ] ] *\)/\1_r/'`
1307
1307
;;
1308
1308
esac
1309
1309
AC_MSG_RESULT ( [ Using $CC for compiling with threads] )
@@ -1661,15 +1661,6 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [
1661
1661
] )
1662
1662
# TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS
1663
1663
SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}'
1664
- AC_CACHE_CHECK ( [ if ld accepts -single_module flag] , tcl_cv_ld_single_module , [
1665
- hold_ldflags=$LDFLAGS
1666
- LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
1667
- AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ ] ] , [ [ int i;] ] ) ] ,
1668
- [ tcl_cv_ld_single_module=yes] ,[ tcl_cv_ld_single_module=no] )
1669
- LDFLAGS=$hold_ldflags] )
1670
- AS_IF ( [ test $tcl_cv_ld_single_module = yes] , [
1671
- SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
1672
- ] )
1673
1664
# TEA specific: link shlib with current and compatibility version flags
1674
1665
vers=`echo ${PACKAGE_VERSION} | sed -e 's/^\([ [ 0-9] ] \{1,5\}\)\(\(\.[ [ 0-9] ] \{1,3\}\)\{0,2\}\).*$/\1\2/p' -e d`
1675
1666
SHLIB_LD="${SHLIB_LD} -current_version ${vers:-0} -compatibility_version ${vers:-0}"
@@ -3417,7 +3408,7 @@ AC_DEFUN([TEA_PRIVATE_TCL_HEADERS], [
3417
3408
# If Tcl was built as a framework, attempt to use
3418
3409
# the framework's Headers and PrivateHeaders directories
3419
3410
case ${TCL_DEFS} in
3420
- *TCL_FRAMEWORK*)
3411
+ *TCL_FRAMEWORK*)
3421
3412
if test -d "${TCL_BIN_DIR}/Headers" -a \
3422
3413
-d "${TCL_BIN_DIR}/PrivateHeaders"; then
3423
3414
TCL_INCLUDES="-I\"${TCL_BIN_DIR}/Headers\" -I\"${TCL_BIN_DIR}/PrivateHeaders\" ${TCL_INCLUDES}"
0 commit comments