Hex Artifact Content

Artifact d9d6b98bf73fc27f5fcca061b5fde0ce233d3fc5:

Attachment "tclconfig.diff" to ticket [3607702fff] added by xenu536 2013-03-12 03:44:15.
0000: 2d 2d 2d 20 6f 6c 64 2f 74 63 6c 2e 6d 34 09 32  --- old/tcl.m4.2
0010: 30 31 32 2d 30 38 2d 30 37 20 31 39 3a 30 35 3a  012-08-07 19:05:
0020: 33 38 2e 30 30 30 30 30 30 30 30 30 20 2b 30 32  38.000000000 +02
0030: 30 30 0a 2b 2b 2b 20 6e 65 77 2f 74 63 6c 2e 6d  00.+++ new/tcl.m
0040: 34 09 32 30 31 33 2d 30 33 2d 31 31 20 31 39 3a  4.2013-03-11 19:
0050: 32 39 3a 33 37 2e 31 30 33 31 36 35 31 30 30 20  29:37.103165100 
0060: 2b 30 31 30 30 0a 40 40 20 2d 31 39 37 33 2c 36  +0100.@@ -1973,6
0070: 20 2b 31 39 37 33 2c 32 37 20 40 40 0a 20 09 09   +1973,27 @@. ..
0080: 4c 44 5f 53 45 41 52 43 48 5f 46 4c 41 47 53 3d  LD_SEARCH_FLAGS=
0090: 27 2d 52 20 24 7b 4c 49 42 5f 52 55 4e 54 49 4d  '-R ${LIB_RUNTIM
00a0: 45 5f 44 49 52 7d 27 0a 20 09 20 20 20 20 5d 29  E_DIR}'. .    ])
00b0: 0a 20 09 20 20 20 20 3b 3b 0a 2b 09 55 4e 49 58  . .    ;;.+.UNIX
00c0: 5f 53 56 2a 20 7c 20 55 6e 69 78 57 61 72 65 2d  _SV* | UnixWare-
00d0: 35 2a 29 0a 2b 20 20 20 20 20 20 20 23 20 43 6f  5*).+       # Co
00e0: 70 69 65 64 20 66 72 6f 6d 20 54 63 6c 27 73 20  pied from Tcl's 
00f0: 74 63 6c 2e 6d 34 0a 2b 09 20 20 20 20 53 48 4c  tcl.m4.+.    SHL
0100: 49 42 5f 43 46 4c 41 47 53 3d 22 2d 4b 50 49 43  IB_CFLAGS="-KPIC
0110: 22 0a 2b 09 20 20 20 20 53 48 4c 49 42 5f 4c 44  ".+.    SHLIB_LD
0120: 3d 27 24 7b 43 43 7d 20 2d 47 27 0a 2b 09 20 20  ='${CC} -G'.+.  
0130: 20 20 53 48 4c 49 42 5f 4c 44 5f 4c 49 42 53 3d    SHLIB_LD_LIBS=
0140: 22 22 0a 2b 09 20 20 20 20 53 48 4c 49 42 5f 53  "".+.    SHLIB_S
0150: 55 46 46 49 58 3d 22 2e 73 6f 22 0a 2b 09 20 20  UFFIX=".so".+.  
0160: 20 20 44 4c 5f 4f 42 4a 53 3d 22 74 63 6c 4c 6f    DL_OBJS="tclLo
0170: 61 64 44 6c 2e 6f 22 0a 2b 09 20 20 20 20 44 4c  adDl.o".+.    DL
0180: 5f 4c 49 42 53 3d 22 2d 6c 64 6c 22 0a 2b 09 20  _LIBS="-ldl".+. 
0190: 20 20 20 23 20 53 6f 6d 65 20 55 4e 49 58 5f 53     # Some UNIX_S
01a0: 56 2a 20 73 79 73 74 65 6d 73 20 28 75 6e 69 78  V* systems (unix
01b0: 77 61 72 65 20 31 2e 31 2e 32 20 66 6f 72 20 65  ware 1.1.2 for e
01c0: 78 61 6d 70 6c 65 29 20 68 61 76 65 20 6c 69 6e  xample) have lin
01d0: 6b 65 72 73 0a 2b 09 20 20 20 20 23 20 74 68 61  kers.+.    # tha
01e0: 74 20 64 6f 6e 27 74 20 67 72 6f 6b 20 74 68 65  t don't grok the
01f0: 20 2d 42 65 78 70 6f 72 74 20 6f 70 74 69 6f 6e   -Bexport option
0200: 2e 20 20 54 65 73 74 20 74 68 61 74 20 69 74 20  .  Test that it 
0210: 64 6f 65 73 2e 0a 2b 09 20 20 20 20 41 43 5f 43  does..+.    AC_C
0220: 41 43 48 45 5f 43 48 45 43 4b 28 5b 66 6f 72 20  ACHE_CHECK([for 
0230: 6c 64 20 61 63 63 65 70 74 73 20 2d 42 65 78 70  ld accepts -Bexp
0240: 6f 72 74 20 66 6c 61 67 5d 2c 20 74 63 6c 5f 63  ort flag], tcl_c
0250: 76 5f 6c 64 5f 42 65 78 70 6f 72 74 2c 20 5b 0a  v_ld_Bexport, [.
0260: 2b 09 09 68 6f 6c 64 5f 6c 64 66 6c 61 67 73 3d  +..hold_ldflags=
0270: 24 4c 44 46 4c 41 47 53 0a 2b 09 09 4c 44 46 4c  $LDFLAGS.+..LDFL
0280: 41 47 53 3d 22 24 4c 44 46 4c 41 47 53 20 2d 57  AGS="$LDFLAGS -W
0290: 6c 2c 2d 42 65 78 70 6f 72 74 22 0a 2b 09 09 41  l,-Bexport".+..A
02a0: 43 5f 54 52 59 5f 4c 49 4e 4b 28 2c 20 5b 69 6e  C_TRY_LINK(, [in
02b0: 74 20 69 3b 5d 2c 20 74 63 6c 5f 63 76 5f 6c 64  t i;], tcl_cv_ld
02c0: 5f 42 65 78 70 6f 72 74 3d 79 65 73 2c 20 74 63  _Bexport=yes, tc
02d0: 6c 5f 63 76 5f 6c 64 5f 42 65 78 70 6f 72 74 3d  l_cv_ld_Bexport=
02e0: 6e 6f 29 0a 2b 09 20 20 20 20 20 20 20 20 4c 44  no).+.        LD
02f0: 46 4c 41 47 53 3d 24 68 6f 6c 64 5f 6c 64 66 6c  FLAGS=$hold_ldfl
0300: 61 67 73 5d 29 0a 2b 09 20 20 20 20 41 53 5f 49  ags]).+.    AS_I
0310: 46 28 5b 74 65 73 74 20 24 74 63 6c 5f 63 76 5f  F([test $tcl_cv_
0320: 6c 64 5f 42 65 78 70 6f 72 74 20 3d 20 79 65 73  ld_Bexport = yes
0330: 5d 2c 20 5b 0a 2b 09 09 4c 44 46 4c 41 47 53 3d  ], [.+..LDFLAGS=
0340: 22 24 4c 44 46 4c 41 47 53 20 2d 57 6c 2c 2d 42  "$LDFLAGS -Wl,-B
0350: 65 78 70 6f 72 74 22 0a 2b 09 20 20 20 20 5d 29  export".+.    ])
0360: 0a 2b 09 20 20 20 20 43 43 5f 53 45 41 52 43 48  .+.    CC_SEARCH
0370: 5f 46 4c 41 47 53 3d 22 22 0a 2b 09 20 20 20 20  _FLAGS="".+.    
0380: 4c 44 5f 53 45 41 52 43 48 5f 46 4c 41 47 53 3d  LD_SEARCH_FLAGS=
0390: 22 22 0a 2b 09 20 20 20 20 3b 3b 0a 20 20 20 20  "".+.    ;;.    
03a0: 20 65 73 61 63 0a 20 0a 20 20 20 20 20 41 53 5f   esac. .     AS_
03b0: 49 46 28 5b 74 65 73 74 20 22 24 64 6f 36 34 62  IF([test "$do64b
03c0: 69 74 22 20 3d 20 79 65 73 20 2d 61 20 22 24 64  it" = yes -a "$d
03d0: 6f 36 34 62 69 74 5f 6f 6b 22 20 3d 20 6e 6f 5d  o64bit_ok" = no]
03e0: 2c 20 5b 0a                                      , [.