head	1.219;
access;
symbols
	core-8-5-9:1.174.2.23
	core-8-5-8:1.174.2.18
	macosx-cocoa-merge:1.200
	macosx-cocoa-premerge:1.199
	macosx-carbon-freeze:1.198
	core-8-5-7:1.174.2.15
	core-8-5-6:1.174.2.10
	core-8-6-b1:1.190
	core-8-6-a3:1.183
	core-8-5-5:1.174.2.8
	core-8-6-a2:1.181
	core-8-5-4:1.174.2.6
	core-8-5-3:1.174.2.4
	core-8-6-a1:1.179
	core-8-4-19:1.65.2.77
	core-8-5-branch:1.174.0.2
	core-8-5-2:1.174
	core-8-4-18:1.65.2.75
	core-8-5-1:1.169
	core-8-4-17:1.65.2.73
	core-8-5-0:1.166
	core-8-5-b3:1.165
	core-8-5-b2:1.159
	core-8-4-16:1.65.2.70
	core-8-5-b1:1.155
	core-stablilizer-merge:1.150
	core-stabilizer-branch:1.148.0.2
	core-stabilizer-merge:1.174.2.4
	core-8-4-15:1.65.2.65
	core-8-5-a6:1.146
	core-8-5-a5:1.129
	core-8-4-14:1.65.2.55
	core-8-5-a4:1.121
	core-8-4-13:1.65.2.49
	core-8-4-12:1.65.2.42
	core-8-4-11:1.65.2.34
	core-8-5-a3:1.107
	core-8-4-10:1.65.2.32
	core-8-4-9-branch:1.65.2.18.0.2
	core-8-5-a2:1.88
	core-8-4-9:1.65.2.18
	core-8-4-8:1.65.2.17
	core-8-4-7:1.65.2.14
	core-8-5-a1:1.81
	core-8-4-6:1.65.2.11
	core-8-4-5:1.65.2.7
	mistachkin-dev-branch:1.74.0.2
	core-8-4-4:1.65.2.2
	core-8-4-3:1.65.2.1
	core-8-4-branch:1.65.0.2
	core-8-4-2:1.65
	core-8-4-1:1.60
	core-8-3-5:1.3.2.14
	core-8-4-0:1.52
	macosx-8-4-merge-2002-08-31-trunk:1.49
	macosx-8-4-premerge-2002-08-31-branch:1.18.2.3
	macosx-8-4-premerge-2002-08-31-trunk:1.49
	macosx-8-4-merge-2002-08-30-branch:1.18.2.3
	macosx-8-4-merge-2002-08-30-trunk:1.49
	macosx-8-4-merge-2002-08-20-branch:1.18.2.3
	macosx-8-4-merge-2002-08-20-trunk:1.49
	core-8-4-b2:1.48
	core-8-4-b1:1.41
	macosx-premerge-6-9-02:1.18.2.1
	core-8-4-a4:1.34
	core-8-3-4:1.3.2.10
	macosx-8-4-branch:1.18.0.2
	macosx-8-4-branchpoint:1.18
	core-8-4-a3:1.12
	core-8-3-3:1.3.2.2
	core-8-3-1-branch:1.3.0.2
	dgp-privates-into-namespace:1.1.0.4
	core-8-4-win-speedup:1.1.0.2
	core-8-4-a2:1.1;
locks; strict;
comment	@# @;
expand	@b@;


1.219
date	2010.12.13.22.37.20;	author nijtmans;	state Exp;
branches;
next	1.218;

1.218
date	2010.12.12.11.53.55;	author stwo;	state Exp;
branches;
next	1.217;

1.217
date	2010.12.05.08.56.30;	author nijtmans;	state Exp;
branches;
next	1.216;

1.216
date	2010.08.27.01.00.23;	author hobbs;	state Exp;
branches;
next	1.215;

1.215
date	2010.08.12.00.34.56;	author hobbs;	state Exp;
branches;
next	1.214;

1.214
date	2010.05.03.16.30.15;	author dgp;	state Exp;
branches;
next	1.213;

1.213
date	2010.04.06.09.29.14;	author nijtmans;	state Exp;
branches;
next	1.212;

1.212
date	2010.03.29.22.34.01;	author nijtmans;	state Exp;
branches;
next	1.211;

1.211
date	2010.03.23.10.46.33;	author dkf;	state Exp;
branches;
next	1.210;

1.210
date	2010.03.04.22.59.28;	author nijtmans;	state Exp;
branches;
next	1.209;

1.209
date	2010.03.02.23.42.10;	author nijtmans;	state Exp;
branches;
next	1.208;

1.208
date	2010.02.22.23.38.53;	author nijtmans;	state Exp;
branches;
next	1.207;

1.207
date	2010.02.19.15.03.09;	author dkf;	state Exp;
branches;
next	1.206;

1.206
date	2010.02.19.13.40.18;	author stwo;	state Exp;
branches;
next	1.205;

1.205
date	2010.01.10.21.03.20;	author nijtmans;	state Exp;
branches;
next	1.204;

1.204
date	2009.12.23.07.16.53;	author nijtmans;	state Exp;
branches;
next	1.203;

1.203
date	2009.11.19.22.21.01;	author nijtmans;	state Exp;
branches;
next	1.202;

1.202
date	2009.08.24.00.58.01;	author das;	state Exp;
branches;
next	1.201;

1.201
date	2009.07.14.08.35.53;	author das;	state Exp;
branches;
next	1.200;

1.200
date	2009.06.29.14.35.01;	author das;	state Exp;
branches;
next	1.199;

1.199
date	2009.06.26.01.42.05;	author das;	state Exp;
branches;
next	1.198;

1.198
date	2009.04.28.16.54.00;	author hobbs;	state Exp;
branches;
next	1.197;

1.197
date	2009.04.10.18.01.39;	author das;	state Exp;
branches;
next	1.196;

1.196
date	2009.03.14.17.44.16;	author dkf;	state Exp;
branches;
next	1.195;

1.195
date	2009.02.10.22.06.24;	author nijtmans;	state Exp;
branches;
next	1.194;

1.194
date	2009.01.22.02.11.43;	author kennykb;	state Exp;
branches;
next	1.193;

1.193
date	2009.01.20.03.39.06;	author kennykb;	state Exp;
branches;
next	1.192;

1.192
date	2009.01.16.20.55.12;	author dgp;	state Exp;
branches;
next	1.191;

1.191
date	2009.01.13.22.37.19;	author nijtmans;	state Exp;
branches;
next	1.190;

1.190
date	2008.12.19.14.32.25;	author dgp;	state Exp;
branches;
next	1.189;

1.189
date	2008.12.01.09.56.19;	author das;	state Exp;
branches;
next	1.188;

1.188
date	2008.11.12.00.37.01;	author nijtmans;	state Exp;
branches;
next	1.187;

1.187
date	2008.11.06.16.29.05;	author dkf;	state Exp;
branches;
next	1.186;

1.186
date	2008.10.23.16.15.27;	author dgp;	state Exp;
branches;
next	1.185;

1.185
date	2008.10.17.20.15.39;	author nijtmans;	state Exp;
branches;
next	1.184;

1.184
date	2008.10.17.20.09.50;	author nijtmans;	state Exp;
branches;
next	1.183;

1.183
date	2008.10.08.21.36.47;	author nijtmans;	state Exp;
branches;
next	1.182;

1.182
date	2008.08.28.16.29.34;	author dgp;	state Exp;
branches;
next	1.181;

1.181
date	2008.08.13.23.13.39;	author das;	state Exp;
branches;
next	1.180;

1.180
date	2008.08.12.15.14.43;	author dgp;	state Exp;
branches;
next	1.179;

1.179
date	2008.06.19.19.37.59;	author dgp;	state Exp;
branches;
next	1.178;

1.178
date	2008.06.12.06.31.53;	author das;	state Exp;
branches;
next	1.177;

1.177
date	2008.04.02.21.33.20;	author das;	state Exp;
branches;
next	1.176;

1.176
date	2008.04.01.21.43.42;	author das;	state Exp;
branches;
next	1.175;

1.175
date	2008.04.01.16.30.54;	author dgp;	state Exp;
branches;
next	1.174;

1.174
date	2008.03.28.18.45.11;	author dgp;	state Exp;
branches
	1.174.2.1;
next	1.173;

1.173
date	2008.03.28.18.13.39;	author dgp;	state Exp;
branches;
next	1.172;

1.172
date	2008.03.27.13.43.24;	author das;	state Exp;
branches;
next	1.171;

1.171
date	2008.03.13.17.44.15;	author das;	state Exp;
branches;
next	1.170;

1.170
date	2008.03.11.22.34.08;	author das;	state Exp;
branches;
next	1.169;

1.169
date	2008.02.04.17.32.39;	author dgp;	state Exp;
branches;
next	1.168;

1.168
date	2008.02.02.23.58.56;	author das;	state Exp;
branches;
next	1.167;

1.167
date	2008.01.02.19.07.18;	author dgp;	state Exp;
branches;
next	1.166;

1.166
date	2007.12.13.15.28.49;	author dgp;	state Exp;
branches;
next	1.165;

1.165
date	2007.11.19.19.38.00;	author das;	state Exp;
branches;
next	1.164;

1.164
date	2007.11.19.18.39.30;	author dgp;	state Exp;
branches;
next	1.163;

1.163
date	2007.11.18.07.15.33;	author das;	state Exp;
branches;
next	1.162;

1.162
date	2007.11.16.05.33.14;	author das;	state Exp;
branches;
next	1.161;

1.161
date	2007.11.14.03.52.07;	author das;	state Exp;
branches;
next	1.160;

1.160
date	2007.10.30.19.08.15;	author dgp;	state Exp;
branches;
next	1.159;

1.159
date	2007.10.26.15.23.05;	author dgp;	state Exp;
branches;
next	1.158;

1.158
date	2007.10.15.07.24.50;	author das;	state Exp;
branches;
next	1.157;

1.157
date	2007.10.15.07.21.53;	author das;	state Exp;
branches;
next	1.156;

1.156
date	2007.10.02.18.28.15;	author dgp;	state Exp;
branches;
next	1.155;

1.155
date	2007.09.19.17.54.30;	author dgp;	state Exp;
branches;
next	1.154;

1.154
date	2007.09.18.12.47.12;	author das;	state Exp;
branches;
next	1.153;

1.153
date	2007.09.17.20.54.40;	author jenglish;	state Exp;
branches;
next	1.152;

1.152
date	2007.09.15.06.00.54;	author das;	state Exp;
branches;
next	1.151;

1.151
date	2007.08.07.05.07.21;	author das;	state Exp;
branches;
next	1.150;

1.150
date	2007.06.29.03.18.33;	author das;	state Exp;
branches;
next	1.149;

1.149
date	2007.06.06.09.55.21;	author das;	state Exp;
branches;
next	1.148;

1.148
date	2007.05.18.19.21.59;	author dgp;	state Exp;
branches
	1.148.2.1;
next	1.147;

1.147
date	2007.04.29.01.50.24;	author das;	state Exp;
branches;
next	1.146;

1.146
date	2007.04.23.21.19.08;	author das;	state Exp;
branches;
next	1.145;

1.145
date	2007.03.07.23.46.34;	author das;	state Exp;
branches;
next	1.144;

1.144
date	2007.02.19.23.52.46;	author hobbs;	state Exp;
branches;
next	1.143;

1.143
date	2007.02.04.02.51.47;	author das;	state Exp;
branches;
next	1.142;

1.142
date	2007.01.25.02.07.30;	author das;	state Exp;
branches;
next	1.141;

1.141
date	2007.01.19.01.05.17;	author das;	state Exp;
branches;
next	1.140;

1.140
date	2006.12.19.01.19.13;	author das;	state Exp;
branches;
next	1.139;

1.139
date	2006.12.06.16.22.04;	author kennykb;	state Exp;
branches;
next	1.138;

1.138
date	2006.11.27.19.08.56;	author kennykb;	state Exp;
branches;
next	1.137;

1.137
date	2006.11.26.06.05.11;	author das;	state Exp;
branches;
next	1.136;

1.136
date	2006.11.10.01.57.04;	author das;	state Exp;
branches;
next	1.135;

1.135
date	2006.11.08.18.40.45;	author kennykb;	state Exp;
branches;
next	1.134;

1.134
date	2006.11.08.15.50.14;	author kennykb;	state Exp;
branches;
next	1.133;

1.133
date	2006.11.08.15.39.28;	author kennykb;	state Exp;
branches;
next	1.132;

1.132
date	2006.11.08.15.19.51;	author dgp;	state Exp;
branches;
next	1.131;

1.131
date	2006.11.07.21.56.22;	author kennykb;	state Exp;
branches;
next	1.130;

1.130
date	2006.10.23.19.46.13;	author dgp;	state Exp;
branches;
next	1.129;

1.129
date	2006.09.22.19.02.07;	author andreas_kupries;	state Exp;
branches;
next	1.128;

1.128
date	2006.09.10.17.06.32;	author das;	state Exp;
branches;
next	1.127;

1.127
date	2006.08.18.07.47.11;	author das;	state Exp;
branches;
next	1.126;

1.126
date	2006.07.20.07.40.23;	author das;	state Exp;
branches;
next	1.125;

1.125
date	2006.07.20.06.25.19;	author das;	state Exp;
branches;
next	1.124;

1.124
date	2006.05.27.05.23.53;	author das;	state Exp;
branches;
next	1.123;

1.123
date	2006.05.26.19.15.01;	author das;	state Exp;
branches;
next	1.122;

1.122
date	2006.05.04.14.11.46;	author dgp;	state Exp;
branches;
next	1.121;

1.121
date	2006.04.06.09.28.32;	author das;	state Exp;
branches;
next	1.120;

1.120
date	2006.03.22.00.21.18;	author das;	state Exp;
branches;
next	1.119;

1.119
date	2006.03.08.07.12.59;	author jenglish;	state Exp;
branches;
next	1.118;

1.118
date	2006.01.23.00.53.02;	author das;	state Exp;
branches;
next	1.117;

1.117
date	2006.01.10.05.37.52;	author das;	state Exp;
branches;
next	1.116;

1.116
date	2005.12.12.20.58.07;	author hobbs;	state Exp;
branches;
next	1.115;

1.115
date	2005.12.01.04.28.25;	author das;	state Exp;
branches;
next	1.114;

1.114
date	2005.11.27.04.23.10;	author das;	state Exp;
branches;
next	1.113;

1.113
date	2005.11.27.02.36.15;	author das;	state Exp;
branches;
next	1.112;

1.112
date	2005.11.06.16.59.03;	author patthoyts;	state Exp;
branches;
next	1.111;

1.111
date	2005.09.10.14.53.21;	author das;	state Exp;
branches;
next	1.110;

1.110
date	2005.08.23.18.25.34;	author mdejong;	state Exp;
branches;
next	1.109;

1.109
date	2005.06.18.21.46.03;	author das;	state Exp;
branches;
next	1.108;

1.108
date	2005.06.07.14.30.21;	author dgp;	state Exp;
branches;
next	1.107;

1.107
date	2005.06.02.10.08.04;	author rmax;	state Exp;
branches;
next	1.106;

1.106
date	2005.05.29.07.53.08;	author das;	state Exp;
branches;
next	1.105;

1.105
date	2005.05.29.06.47.05;	author das;	state Exp;
branches;
next	1.104;

1.104
date	2005.05.26.11.19.01;	author das;	state Exp;
branches;
next	1.103;

1.103
date	2005.05.24.01.34.24;	author das;	state Exp;
branches;
next	1.102;

1.102
date	2005.05.23.20.24.59;	author das;	state Exp;
branches;
next	1.101;

1.101
date	2005.05.14.20.48.15;	author das;	state Exp;
branches;
next	1.100;

1.100
date	2005.05.07.00.35.39;	author hobbs;	state Exp;
branches;
next	1.99;

1.99
date	2005.05.07.00.28.16;	author hobbs;	state Exp;
branches;
next	1.98;

1.98
date	2005.04.26.00.46.54;	author das;	state Exp;
branches;
next	1.97;

1.97
date	2005.04.09.10.16.25;	author das;	state Exp;
branches;
next	1.96;

1.96
date	2005.03.15.01.43.50;	author patthoyts;	state Exp;
branches;
next	1.95;

1.95
date	2005.02.11.18.31.59;	author hobbs;	state Exp;
branches;
next	1.94;

1.94
date	2005.01.31.19.22.49;	author hobbs;	state Exp;
branches;
next	1.93;

1.93
date	2005.01.25.06.54.18;	author das;	state Exp;
branches;
next	1.92;

1.92
date	2005.01.12.16.16.33;	author dgp;	state Exp;
branches;
next	1.91;

1.91
date	2005.01.10.18.58.26;	author jenglish;	state Exp;
branches;
next	1.90;

1.90
date	2004.12.11.06.09.11;	author dgp;	state Exp;
branches;
next	1.89;

1.89
date	2004.12.09.10.59.26;	author das;	state Exp;
branches;
next	1.88;

1.88
date	2004.11.18.13.22.47;	author rmax;	state Exp;
branches;
next	1.87;

1.87
date	2004.07.30.08.31.41;	author das;	state Exp;
branches;
next	1.86;

1.86
date	2004.07.16.23.40.29;	author hobbs;	state Exp;
branches;
next	1.85;

1.85
date	2004.06.18.15.30.17;	author das;	state Exp;
branches;
next	1.84;

1.84
date	2004.03.26.20.35.49;	author dgp;	state Exp;
branches;
next	1.83;

1.83
date	2004.03.26.19.57.35;	author dgp;	state Exp;
branches;
next	1.82;

1.82
date	2004.03.16.19.53.52;	author hobbs;	state Exp;
branches;
next	1.81;

1.81
date	2004.03.02.00.49.13;	author hobbs;	state Exp;
branches;
next	1.80;

1.80
date	2004.03.01.17.50.10;	author dgp;	state Exp;
branches;
next	1.79;

1.79
date	2003.12.09.21.56.44;	author hobbs;	state Exp;
branches;
next	1.78;

1.78
date	2003.11.12.01.10.40;	author hobbs;	state Exp;
branches;
next	1.77;

1.77
date	2003.10.06.17.11.29;	author dgp;	state Exp;
branches;
next	1.76;

1.76
date	2003.10.06.16.17.43;	author dgp;	state Exp;
branches;
next	1.75;

1.75
date	2003.10.06.15.34.18;	author dgp;	state Exp;
branches;
next	1.74;

1.74
date	2003.09.25.05.36.08;	author das;	state Exp;
branches;
next	1.73;

1.73
date	2003.06.02.16.13.12;	author jenglish;	state Exp;
branches;
next	1.72;

1.72
date	2003.05.31.18.32.21;	author jenglish;	state Exp;
branches;
next	1.71;

1.71
date	2003.04.04.19.29.40;	author mdejong;	state Exp;
branches;
next	1.70;

1.70
date	2003.04.02.06.38.22;	author mdejong;	state Exp;
branches;
next	1.69;

1.69
date	2003.03.28.00.16.02;	author mdejong;	state Exp;
branches;
next	1.68;

1.68
date	2003.03.27.07.13.30;	author mdejong;	state Exp;
branches;
next	1.67;

1.67
date	2003.03.13.10.54.48;	author mdejong;	state Exp;
branches;
next	1.66;

1.66
date	2003.03.04.23.50.44;	author dgp;	state Exp;
branches;
next	1.65;

1.65
date	2003.02.21.03.34.29;	author das;	state Exp;
branches
	1.65.2.1;
next	1.64;

1.64
date	2003.02.19.01.32.48;	author andreas_kupries;	state Exp;
branches;
next	1.63;

1.63
date	2003.02.19.01.22.49;	author mdejong;	state Exp;
branches;
next	1.62;

1.62
date	2003.02.15.02.21.00;	author hobbs;	state Exp;
branches;
next	1.61;

1.61
date	2002.11.06.10.49.59;	author mdejong;	state Exp;
branches;
next	1.60;

1.60
date	2002.10.16.01.17.25;	author hobbs;	state Exp;
branches;
next	1.59;

1.59
date	2002.10.10.05.01.23;	author hobbs;	state Exp;
branches;
next	1.58;

1.58
date	2002.09.27.18.09.53;	author dgp;	state Exp;
branches;
next	1.57;

1.57
date	2002.09.27.01.32.51;	author hobbs;	state Exp;
branches;
next	1.56;

1.56
date	2002.09.24.14.27.56;	author dkf;	state Exp;
branches;
next	1.55;

1.55
date	2002.09.24.09.26.55;	author dkf;	state Exp;
branches;
next	1.54;

1.54
date	2002.09.15.20.38.18;	author mdejong;	state Exp;
branches;
next	1.53;

1.53
date	2002.09.10.09.59.15;	author das;	state Exp;
branches;
next	1.52;

1.52
date	2002.09.02.21.21.50;	author hobbs;	state Exp;
branches;
next	1.51;

1.51
date	2002.09.02.20.16.59;	author hobbs;	state Exp;
branches;
next	1.50;

1.50
date	2002.08.31.13.28.45;	author das;	state Exp;
branches;
next	1.49;

1.49
date	2002.08.20.15.39.13;	author dgp;	state Exp;
branches;
next	1.48;

1.48
date	2002.07.31.10.52.27;	author dkf;	state Exp;
branches;
next	1.47;

1.47
date	2002.07.29.23.03.52;	author mdejong;	state Exp;
branches;
next	1.46;

1.46
date	2002.07.28.03.23.08;	author mdejong;	state Exp;
branches;
next	1.45;

1.45
date	2002.07.23.17.33.43;	author mdejong;	state Exp;
branches;
next	1.44;

1.44
date	2002.07.23.17.24.25;	author mdejong;	state Exp;
branches;
next	1.43;

1.43
date	2002.07.19.20.32.00;	author mdejong;	state Exp;
branches;
next	1.42;

1.42
date	2002.07.14.17.29.57;	author dgp;	state Exp;
branches;
next	1.41;

1.41
date	2002.07.01.17.12.06;	author dgp;	state Exp;
branches;
next	1.40;

1.40
date	2002.06.25.16.45.12;	author rmax;	state Exp;
branches;
next	1.39;

1.39
date	2002.06.25.14.39.07;	author rmax;	state Exp;
branches;
next	1.38;

1.38
date	2002.06.22.00.39.39;	author dkf;	state Exp;
branches;
next	1.37;

1.37
date	2002.05.21.18.27.31;	author mdejong;	state Exp;
branches;
next	1.36;

1.36
date	2002.04.26.19.32.54;	author hobbs;	state Exp;
branches;
next	1.35;

1.35
date	2002.03.28.16.38.00;	author dgp;	state Exp;
branches;
next	1.34;

1.34
date	2002.02.27.01.25.06;	author hobbs;	state Exp;
branches;
next	1.33;

1.33
date	2002.02.23.22.52.03;	author mdejong;	state Exp;
branches;
next	1.32;

1.32
date	2002.02.22.01.34.41;	author hobbs;	state Exp;
branches;
next	1.31;

1.31
date	2002.02.19.01.06.19;	author hobbs;	state Exp;
branches;
next	1.30;

1.30
date	2002.01.29.08.23.36;	author mdejong;	state Exp;
branches;
next	1.29;

1.29
date	2002.01.29.08.04.37;	author mdejong;	state Exp;
branches;
next	1.28;

1.28
date	2002.01.17.02.51.09;	author mdejong;	state Exp;
branches;
next	1.27;

1.27
date	2002.01.11.20.56.38;	author mdejong;	state Exp;
branches;
next	1.26;

1.26
date	2002.01.11.18.41.04;	author mdejong;	state Exp;
branches;
next	1.25;

1.25
date	2001.12.20.21.32.05;	author mdejong;	state Exp;
branches;
next	1.24;

1.24
date	2001.12.19.21.37.33;	author mdejong;	state Exp;
branches;
next	1.23;

1.23
date	2001.12.19.08.01.56;	author mdejong;	state Exp;
branches;
next	1.22;

1.22
date	2001.11.10.00.53.57;	author hobbs;	state Exp;
branches;
next	1.21;

1.21
date	2001.11.09.11.42.26;	author mdejong;	state Exp;
branches;
next	1.20;

1.20
date	2001.11.09.10.59.40;	author mdejong;	state Exp;
branches;
next	1.19;

1.19
date	2001.10.15.21.19.16;	author hobbs;	state Exp;
branches;
next	1.18;

1.18
date	2001.09.20.17.04.34;	author hobbs;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2001.09.12.21.03.51;	author mdejong;	state Exp;
branches;
next	1.16;

1.16
date	2001.09.10.22.47.01;	author mdejong;	state Exp;
branches;
next	1.15;

1.15
date	2001.08.23.19.11.38;	author hobbs;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.12.21.22.47;	author mdejong;	state Exp;
branches;
next	1.13;

1.13
date	2001.08.08.18.41.10;	author dgp;	state Exp;
branches;
next	1.12;

1.12
date	2001.08.07.01.14.19;	author hobbs;	state Exp;
branches;
next	1.11;

1.11
date	2001.07.11.01.36.41;	author mdejong;	state Exp;
branches;
next	1.10;

1.10
date	2001.06.26.20.31.58;	author mdejong;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.26.20.17.22;	author mdejong;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.22.23.59.48;	author mdejong;	state Exp;
branches;
next	1.7;

1.7
date	2001.05.23.10.29.46;	author mdejong;	state Exp;
branches;
next	1.6;

1.6
date	2001.04.25.22.10.58;	author mdejong;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.25.21.51.06;	author mdejong;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.25.20.52.48;	author mdejong;	state Exp;
branches;
next	1.3;

1.3
date	2001.04.02.02.08.55;	author hobbs;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2001.03.29.02.45.32;	author hobbs;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.03.01.21.52;	author hobbs;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.1.2.1
date	2002.04.02.20.58.00;	author hobbs;	state Exp;
branches;
next	;

1.1.4.1
date	2001.07.03.20.01.10;	author dgp;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	2001.07.13.19.33.48;	author dgp;	state Exp;
branches;
next	;

1.3.2.1
date	2001.04.04.07.57.18;	author hobbs;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.04.04.14.47.39;	author dgp;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2001.08.07.00.49.47;	author hobbs;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2001.08.23.19.14.03;	author hobbs;	state Exp;
branches;
next	1.3.2.5;

1.3.2.5
date	2001.09.20.17.06.25;	author hobbs;	state Exp;
branches;
next	1.3.2.6;

1.3.2.6
date	2001.10.03.22.04.52;	author hobbs;	state Exp;
branches;
next	1.3.2.7;

1.3.2.7
date	2001.10.15.21.24.42;	author hobbs;	state Exp;
branches;
next	1.3.2.8;

1.3.2.8
date	2001.10.17.19.11.04;	author hobbs;	state Exp;
branches;
next	1.3.2.9;

1.3.2.9
date	2001.10.18.22.22.58;	author hobbs;	state Exp;
branches;
next	1.3.2.10;

1.3.2.10
date	2001.10.19.22.46.48;	author hobbs;	state Exp;
branches;
next	1.3.2.11;

1.3.2.11
date	2002.03.26.02.31.44;	author hobbs;	state Exp;
branches;
next	1.3.2.12;

1.3.2.12
date	2002.04.26.19.31.19;	author hobbs;	state Exp;
branches;
next	1.3.2.13;

1.3.2.13
date	2002.10.10.07.26.36;	author hobbs;	state Exp;
branches;
next	1.3.2.14;

1.3.2.14
date	2002.10.16.01.05.57;	author hobbs;	state Exp;
branches;
next	1.3.2.15;

1.3.2.15
date	2003.02.15.01.54.32;	author hobbs;	state Exp;
branches;
next	1.3.2.16;

1.3.2.16
date	2010.02.18.21.36.59;	author nijtmans;	state Exp;
branches;
next	;

1.18.2.1
date	2002.02.05.02.25.18;	author wolfsuit;	state Exp;
branches;
next	1.18.2.2;

1.18.2.2
date	2002.06.10.05.38.26;	author wolfsuit;	state Exp;
branches;
next	1.18.2.3;

1.18.2.3
date	2002.08.20.20.27.17;	author das;	state Exp;
branches;
next	;

1.65.2.1
date	2003.05.15.19.04.53;	author hobbs;	state Exp;
branches;
next	1.65.2.2;

1.65.2.2
date	2003.07.15.22.46.35;	author dgp;	state Exp;
branches;
next	1.65.2.3;

1.65.2.3
date	2003.10.03.16.32.39;	author dgp;	state Exp;
branches;
next	1.65.2.4;

1.65.2.4
date	2003.10.06.15.27.32;	author dgp;	state Exp;
branches;
next	1.65.2.5;

1.65.2.5
date	2003.10.06.16.04.36;	author dgp;	state Exp;
branches;
next	1.65.2.6;

1.65.2.6
date	2003.10.06.16.59.24;	author dgp;	state Exp;
branches;
next	1.65.2.7;

1.65.2.7
date	2003.11.12.01.09.16;	author hobbs;	state Exp;
branches;
next	1.65.2.8;

1.65.2.8
date	2003.12.03.17.20.49;	author dgp;	state Exp;
branches;
next	1.65.2.9;

1.65.2.9
date	2003.12.03.17.55.09;	author dgp;	state Exp;
branches;
next	1.65.2.10;

1.65.2.10
date	2004.02.13.01.44.02;	author hobbs;	state Exp;
branches;
next	1.65.2.11;

1.65.2.11
date	2004.03.01.17.49.13;	author dgp;	state Exp;
branches;
next	1.65.2.12;

1.65.2.12
date	2004.07.13.19.32.05;	author hobbs;	state Exp;
branches;
next	1.65.2.13;

1.65.2.13
date	2004.07.19.20.30.01;	author hobbs;	state Exp;
branches;
next	1.65.2.14;

1.65.2.14
date	2004.07.20.11.13.11;	author das;	state Exp;
branches;
next	1.65.2.15;

1.65.2.15
date	2004.07.30.08.32.38;	author das;	state Exp;
branches;
next	1.65.2.16;

1.65.2.16
date	2004.10.28.16.49.43;	author dgp;	state Exp;
branches;
next	1.65.2.17;

1.65.2.17
date	2004.11.18.02.09.00;	author rmax;	state Exp;
branches;
next	1.65.2.18;

1.65.2.18
date	2004.11.25.00.26.22;	author hobbs;	state Exp;
branches;
next	1.65.2.19;

1.65.2.19
date	2005.01.25.06.54.58;	author das;	state Exp;
branches;
next	1.65.2.20;

1.65.2.20
date	2005.01.28.20.59.07;	author hobbs;	state Exp;
branches;
next	1.65.2.21;

1.65.2.21
date	2005.01.29.02.18.56;	author hobbs;	state Exp;
branches;
next	1.65.2.22;

1.65.2.22
date	2005.02.10.23.42.03;	author hobbs;	state Exp;
branches;
next	1.65.2.23;

1.65.2.23
date	2005.03.15.00.29.36;	author patthoyts;	state Exp;
branches;
next	1.65.2.24;

1.65.2.24
date	2005.04.09.10.17.17;	author das;	state Exp;
branches;
next	1.65.2.25;

1.65.2.25
date	2005.04.26.00.49.50;	author das;	state Exp;
branches;
next	1.65.2.26;

1.65.2.26
date	2005.05.07.00.03.00;	author hobbs;	state Exp;
branches;
next	1.65.2.27;

1.65.2.27
date	2005.05.14.20.53.32;	author das;	state Exp;
branches;
next	1.65.2.28;

1.65.2.28
date	2005.05.24.04.21.32;	author das;	state Exp;
branches;
next	1.65.2.29;

1.65.2.29
date	2005.05.25.18.49.45;	author hobbs;	state Exp;
branches;
next	1.65.2.30;

1.65.2.30
date	2005.05.26.11.20.09;	author das;	state Exp;
branches;
next	1.65.2.31;

1.65.2.31
date	2005.05.27.18.52.40;	author hobbs;	state Exp;
branches;
next	1.65.2.32;

1.65.2.32
date	2005.05.29.06.48.15;	author das;	state Exp;
branches;
next	1.65.2.33;

1.65.2.33
date	2005.06.18.19.36.55;	author dgp;	state Exp;
branches;
next	1.65.2.34;

1.65.2.34
date	2005.06.18.21.47.47;	author das;	state Exp;
branches;
next	1.65.2.35;

1.65.2.35
date	2005.07.21.20.54.31;	author hobbs;	state Exp;
branches;
next	1.65.2.36;

1.65.2.36
date	2005.07.25.01.33.52;	author mdejong;	state Exp;
branches;
next	1.65.2.37;

1.65.2.37
date	2005.09.10.14.54.18;	author das;	state Exp;
branches;
next	1.65.2.38;

1.65.2.38
date	2005.11.06.13.44.38;	author patthoyts;	state Exp;
branches;
next	1.65.2.39;

1.65.2.39
date	2005.11.16.22.07.37;	author dgp;	state Exp;
branches;
next	1.65.2.40;

1.65.2.40
date	2005.11.27.02.44.26;	author das;	state Exp;
branches;
next	1.65.2.41;

1.65.2.41
date	2005.11.27.04.23.39;	author das;	state Exp;
branches;
next	1.65.2.42;

1.65.2.42
date	2005.12.01.02.15.46;	author das;	state Exp;
branches;
next	1.65.2.43;

1.65.2.43
date	2005.12.12.20.55.39;	author hobbs;	state Exp;
branches;
next	1.65.2.44;

1.65.2.44
date	2006.01.10.05.38.20;	author das;	state Exp;
branches;
next	1.65.2.45;

1.65.2.45
date	2006.01.23.00.53.21;	author das;	state Exp;
branches;
next	1.65.2.46;

1.65.2.46
date	2006.03.02.01.02.28;	author patthoyts;	state Exp;
branches;
next	1.65.2.47;

1.65.2.47
date	2006.03.07.05.35.34;	author dgp;	state Exp;
branches;
next	1.65.2.48;

1.65.2.48
date	2006.03.22.00.22.07;	author das;	state Exp;
branches;
next	1.65.2.49;

1.65.2.49
date	2006.04.06.09.29.00;	author das;	state Exp;
branches;
next	1.65.2.50;

1.65.2.50
date	2006.05.04.13.09.47;	author dgp;	state Exp;
branches;
next	1.65.2.51;

1.65.2.51
date	2006.05.26.19.21.24;	author das;	state Exp;
branches;
next	1.65.2.52;

1.65.2.52
date	2006.05.27.05.24.12;	author das;	state Exp;
branches;
next	1.65.2.53;

1.65.2.53
date	2006.07.20.06.27.35;	author das;	state Exp;
branches;
next	1.65.2.54;

1.65.2.54
date	2006.08.18.07.47.26;	author das;	state Exp;
branches;
next	1.65.2.55;

1.65.2.55
date	2006.09.22.19.01.51;	author andreas_kupries;	state Exp;
branches;
next	1.65.2.56;

1.65.2.56
date	2006.10.23.17.58.27;	author dgp;	state Exp;
branches;
next	1.65.2.57;

1.65.2.57
date	2006.11.26.06.05.18;	author das;	state Exp;
branches;
next	1.65.2.58;

1.65.2.58
date	2006.12.19.01.20.13;	author das;	state Exp;
branches;
next	1.65.2.59;

1.65.2.59
date	2007.01.19.01.06.21;	author das;	state Exp;
branches;
next	1.65.2.60;

1.65.2.60
date	2007.01.25.02.07.35;	author das;	state Exp;
branches;
next	1.65.2.61;

1.65.2.61
date	2007.01.25.05.20.48;	author das;	state Exp;
branches;
next	1.65.2.62;

1.65.2.62
date	2007.02.04.02.51.57;	author das;	state Exp;
branches;
next	1.65.2.63;

1.65.2.63
date	2007.02.19.23.54.03;	author hobbs;	state Exp;
branches;
next	1.65.2.64;

1.65.2.64
date	2007.03.07.23.48.14;	author das;	state Exp;
branches;
next	1.65.2.65;

1.65.2.65
date	2007.04.29.02.25.36;	author das;	state Exp;
branches;
next	1.65.2.66;

1.65.2.66
date	2007.05.30.14.06.20;	author dgp;	state Exp;
branches;
next	1.65.2.67;

1.65.2.67
date	2007.06.06.09.56.21;	author das;	state Exp;
branches;
next	1.65.2.68;

1.65.2.68
date	2007.08.07.05.07.49;	author das;	state Exp;
branches;
next	1.65.2.69;

1.65.2.69
date	2007.09.11.05.17.05;	author das;	state Exp;
branches;
next	1.65.2.70;

1.65.2.70
date	2007.09.15.06.01.50;	author das;	state Exp;
branches;
next	1.65.2.71;

1.65.2.71
date	2007.10.02.17.55.54;	author dgp;	state Exp;
branches;
next	1.65.2.72;

1.65.2.72
date	2007.10.25.20.41.50;	author das;	state Exp;
branches;
next	1.65.2.73;

1.65.2.73
date	2007.12.31.17.20.39;	author dgp;	state Exp;
branches;
next	1.65.2.74;

1.65.2.74
date	2008.02.02.23.59.11;	author das;	state Exp;
branches;
next	1.65.2.75;

1.65.2.75
date	2008.02.06.15.31.40;	author dgp;	state Exp;
branches;
next	1.65.2.76;

1.65.2.76
date	2008.03.27.13.44.24;	author das;	state Exp;
branches;
next	1.65.2.77;

1.65.2.77
date	2008.04.07.19.17.56;	author dgp;	state Exp;
branches;
next	1.65.2.78;

1.65.2.78
date	2008.06.12.06.38.38;	author das;	state Exp;
branches;
next	1.65.2.79;

1.65.2.79
date	2008.06.12.19.34.17;	author das;	state Exp;
branches;
next	1.65.2.80;

1.65.2.80
date	2008.08.13.23.13.53;	author das;	state Exp;
branches;
next	1.65.2.81;

1.65.2.81
date	2009.04.14.19.58.23;	author stwo;	state Exp;
branches;
next	1.65.2.82;

1.65.2.82
date	2009.04.28.16.52.31;	author hobbs;	state Exp;
branches;
next	;

1.148.2.1
date	2007.05.22.20.34.53;	author dgp;	state Exp;
branches;
next	1.148.2.2;

1.148.2.2
date	2007.06.12.16.22.43;	author dgp;	state Exp;
branches;
next	1.148.2.3;

1.148.2.3
date	2007.07.01.17.31.39;	author dgp;	state Exp;
branches;
next	1.148.2.4;

1.148.2.4
date	2007.09.04.17.44.24;	author dgp;	state Exp;
branches;
next	1.148.2.5;

1.148.2.5
date	2007.09.17.15.22.01;	author dgp;	state Exp;
branches;
next	1.148.2.6;

1.148.2.6
date	2007.09.19.17.28.25;	author dgp;	state Exp;
branches;
next	1.148.2.7;

1.148.2.7
date	2007.10.02.20.43.54;	author dgp;	state Exp;
branches;
next	1.148.2.8;

1.148.2.8
date	2007.10.15.18.38.39;	author dgp;	state Exp;
branches;
next	1.148.2.9;

1.148.2.9
date	2007.10.27.04.23.17;	author dgp;	state Exp;
branches;
next	1.148.2.10;

1.148.2.10
date	2007.11.16.07.14.39;	author dgp;	state Exp;
branches;
next	1.148.2.11;

1.148.2.11
date	2007.11.21.16.46.28;	author dgp;	state Exp;
branches;
next	1.148.2.12;

1.148.2.12
date	2008.01.23.16.39.12;	author dgp;	state Exp;
branches;
next	1.148.2.13;

1.148.2.13
date	2008.01.23.16.52.09;	author dgp;	state Exp;
branches;
next	1.148.2.14;

1.148.2.14
date	2008.02.04.16.07.37;	author dgp;	state Exp;
branches;
next	1.148.2.15;

1.148.2.15
date	2008.03.07.22.15.11;	author dgp;	state Exp;
branches;
next	1.148.2.16;

1.148.2.16
date	2008.03.13.14.57.34;	author dgp;	state Exp;
branches;
next	1.148.2.17;

1.148.2.17
date	2008.03.13.20.34.31;	author dgp;	state Exp;
branches;
next	1.148.2.18;

1.148.2.18
date	2008.03.27.20.33.46;	author dgp;	state Exp;
branches;
next	1.148.2.19;

1.148.2.19
date	2008.06.25.16.46.13;	author dgp;	state Exp;
branches;
next	1.148.2.20;

1.148.2.20
date	2008.06.25.17.06.38;	author dgp;	state Exp;
branches;
next	;

1.174.2.1
date	2008.04.01.21.43.45;	author das;	state Exp;
branches;
next	1.174.2.2;

1.174.2.2
date	2008.04.11.19.00.48;	author dgp;	state Exp;
branches;
next	1.174.2.3;

1.174.2.3
date	2008.06.12.06.35.46;	author das;	state Exp;
branches;
next	1.174.2.4;

1.174.2.4
date	2008.06.30.03.37.37;	author dgp;	state Exp;
branches;
next	1.174.2.5;

1.174.2.5
date	2008.08.08.18.12.30;	author dgp;	state Exp;
branches;
next	1.174.2.6;

1.174.2.6
date	2008.08.13.23.13.42;	author das;	state Exp;
branches;
next	1.174.2.7;

1.174.2.7
date	2008.09.02.22.11.56;	author dgp;	state Exp;
branches;
next	1.174.2.8;

1.174.2.8
date	2008.10.10.18.25.10;	author dgp;	state Exp;
branches;
next	1.174.2.9;

1.174.2.9
date	2008.10.23.16.30.57;	author dgp;	state Exp;
branches;
next	1.174.2.10;

1.174.2.10
date	2008.12.21.21.02.58;	author dgp;	state Exp;
branches;
next	1.174.2.11;

1.174.2.11
date	2009.01.20.03.54.53;	author kennykb;	state Exp;
branches;
next	1.174.2.12;

1.174.2.12
date	2009.01.22.02.16.15;	author kennykb;	state Exp;
branches;
next	1.174.2.13;

1.174.2.13
date	2009.04.10.18.01.48;	author das;	state Exp;
branches;
next	1.174.2.14;

1.174.2.14
date	2009.04.10.18.13.05;	author dgp;	state Exp;
branches;
next	1.174.2.15;

1.174.2.15
date	2009.04.14.20.31.08;	author stwo;	state Exp;
branches;
next	1.174.2.16;

1.174.2.16
date	2009.04.28.16.53.17;	author hobbs;	state Exp;
branches;
next	1.174.2.17;

1.174.2.17
date	2009.07.14.08.36.03;	author das;	state Exp;
branches;
next	1.174.2.18;

1.174.2.18
date	2009.11.03.20.15.25;	author dgp;	state Exp;
branches;
next	1.174.2.19;

1.174.2.19
date	2010.01.06.23.16.20;	author nijtmans;	state Exp;
branches;
next	1.174.2.20;

1.174.2.20
date	2010.02.19.13.26.36;	author stwo;	state Exp;
branches;
next	1.174.2.21;

1.174.2.21
date	2010.08.04.17.06.52;	author dgp;	state Exp;
branches;
next	1.174.2.22;

1.174.2.22
date	2010.08.12.00.14.34;	author hobbs;	state Exp;
branches;
next	1.174.2.23;

1.174.2.23
date	2010.08.27.00.19.28;	author hobbs;	state Exp;
branches;
next	1.174.2.24;

1.174.2.24
date	2010.12.12.12.01.51;	author stwo;	state Exp;
branches;
next	1.174.2.25;

1.174.2.25
date	2010.12.13.21.23.59;	author nijtmans;	state Exp;
branches;
next	;


desc
@@


1.219
log
@[Bug 3135271] Link error due to hidden symbols (CentOS 4.2)
@
text
@#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for tk 8.6.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
DUALCASE=1; export DUALCASE # for MKS sh

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`


# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*\n,,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit
}


case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

as_executable_p="test -f"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH


# Name of the host.
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

exec 6>&1

#
# Initializations.
#
ac_default_prefix=/usr/local
ac_config_libobj_dir=.
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}

# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

# Identity of this package.
PACKAGE_NAME='tk'
PACKAGE_TARNAME='tk'
PACKAGE_VERSION='8.6'
PACKAGE_STRING='tk 8.6'
PACKAGE_BUGREPORT=''

# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif"

ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR ac_ct_AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB DLL_INSTALL_DIR INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY LIB_RUNTIME_DIR PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
ac_subst_files=''

# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

ac_prev=
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case $ac_option in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;

  -enable-* | --enable-*)
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   { (exit 1); exit 1; }; }
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid package name: $ac_package" >&2
   { (exit 1); exit 1; }; }
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

  -*) { echo "$as_me: error: unrecognized option: $ac_option
Try \`$0 --help' for more information." >&2
   { (exit 1); exit 1; }; }
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   { (exit 1); exit 1; }; }
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  { echo "$as_me: error: missing argument to $ac_option" >&2
   { (exit 1); exit 1; }; }
fi

# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used." >&2
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$0" : 'X\(//\)[^/]' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$0" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
   { (exit 1); exit 1; }; }
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
fi
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
   { (exit 1); exit 1; }; }
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<_ACEOF
\`configure' configures tk 8.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print \`checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for \`--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']

_ACEOF

  cat <<_ACEOF
Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
			  [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
			  [PREFIX]

By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
for instance \`--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
_ACEOF

  cat <<\_ACEOF

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of tk 8.6:";;
   esac
  cat <<\_ACEOF

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-man-symlinks   use symlinks for the manpages (default: off)
  --enable-man-compression=PROG
                          compress the manpages with PROG (default: off)
  --enable-man-suffix=STRING
                          use STRING as a suffix to manpage file names
                          (default: no, tk if enabled without
                          specifying STRING)
  --enable-threads        build with threads (default: on)
  --enable-shared         build and link with shared libraries (default: on)
  --enable-64bit          enable 64bit support (default: off)
  --enable-64bit-vis      enable 64bit Sparc VIS support (default: off)
  --disable-rpath         disable rpath support (default: on)
  --enable-corefoundation use CoreFoundation API on MacOSX (default: on)
  --enable-load           allow dynamic loading and "load" command (default:
                          on)
  --enable-symbols        build with debugging symbols (default: off)
  --enable-aqua=yes|carbon|no
                          use Aqua windowingsystem on Mac OS X (default: no)
  --enable-xss            use XScreenSaver for activity timer (default: on)
  --enable-xft            use freetype/fontconfig/xft (default: on)
  --enable-framework      package shared libraries in MacOSX frameworks
                          (default: off)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-tcl              directory containing tcl configuration
                          (tclConfig.sh)
  --with-x                use the X Window System

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

_ACEOF
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  ac_popdir=`pwd`
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    test -d $ac_dir || continue
    ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac

    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
	   test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
    else
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    fi
    cd $ac_popdir
  done
fi

test -n "$ac_init_help" && exit 0
if $ac_init_version; then
  cat <<\_ACEOF
tk configure 8.6
generated by GNU Autoconf 2.59

Copyright (C) 2003 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
  exit 0
fi
exec 5>config.log
cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tk $as_me 8.6, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ $0 $@@

_ACEOF
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  echo "PATH: $as_dir"
done

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_sep=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    case $ac_pass in
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    2)
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
      if test $ac_must_keep_next = true; then
	ac_must_keep_next=false # Got value, back to normal.
      else
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
      fi
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
      ;;
    esac
  done
done
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
trap 'exit_status=$?
  # Save into config.log some information that might help in debugging.
  {
    echo

    cat <<\_ASBOX
## ---------------- ##
## Cache variables. ##
## ---------------- ##
_ASBOX
    echo
    # The following way of writing the cache mishandles newlines in values,
{
  (set) 2>&1 |
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      sed -n \
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
    *)
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
}
    echo

    cat <<\_ASBOX
## ----------------- ##
## Output variables. ##
## ----------------- ##
_ASBOX
    echo
    for ac_var in $ac_subst_vars
    do
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      cat <<\_ASBOX
## ------------- ##
## Output files. ##
## ------------- ##
_ASBOX
      echo
      for ac_var in $ac_subst_files
      do
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      cat <<\_ASBOX
## ----------- ##
## confdefs.h. ##
## ----------- ##
_ASBOX
      echo
      sed "/^$/d" confdefs.h | sort
      echo
    fi
    test "$ac_signal" != 0 &&
      echo "$as_me: caught signal $ac_signal"
    echo "$as_me: exit $exit_status"
  } >&5
  rm -f core *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    exit $exit_status
     ' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_VERSION "$PACKAGE_VERSION"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_STRING "$PACKAGE_STRING"
_ACEOF


cat >>confdefs.h <<_ACEOF
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
_ACEOF


# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
echo "$as_me: loading site script $ac_site_file" >&6;}
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special
  # files actually), so we avoid doing that.
  if test -f "$cache_file"; then
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
echo "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
    esac
  fi
else
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
echo "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
  case $ac_old_set,$ac_new_set in
    set,)
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
echo "$as_me:   former value:  $ac_old_val" >&2;}
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
echo "$as_me:   current value: $ac_new_val" >&2;}
	ac_cache_corrupted=:
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu































TK_VERSION=8.6
TK_MAJOR_VERSION=8
TK_MINOR_VERSION=6
TK_PATCH_LEVEL="b1.2"
VERSION=${TK_VERSION}
LOCALES="cs da de el en en_gb eo es fr hu it nl pl pt ru sv"

#--------------------------------------------------------------------
# Find and load the tclConfig.sh file
#--------------------------------------------------------------------


    #
    # Ok, lets find the tcl configuration
    # First, look for one uninstalled.
    # the alternative search directory is invoked by --with-tcl
    #

    if test x"${no_tcl}" = x ; then
	# we reset no_tcl in case something fails here
	no_tcl=true

# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
  withval="$with_tcl"
  with_tclconfig="${withval}"
fi;
	echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
	if test "${ac_cv_c_tclconfig+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else


	    # First check to see if --with-tcl was specified.
	    if test x"${with_tclconfig}" != x ; then
		case "${with_tclconfig}" in
		    */tclConfig.sh )
			if test -f "${with_tclconfig}"; then
			    { echo "$as_me:$LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
			    with_tclconfig="`echo "${with_tclconfig}" | sed 's!/tclConfig\.sh$!!'`"
			fi ;;
		esac
		if test -f "${with_tclconfig}/tclConfig.sh" ; then
		    ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwd)`"
		else
		    { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
   { (exit 1); exit 1; }; }
		fi
	    fi

	    # then check for a private Tcl installation
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
			../tcl \
			`ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
			../../tcl \
			`ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
			../../../tcl \
			`ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
			ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
			break
		    fi
		done
	    fi

	    # on Darwin, check in Framework installation locations
	    if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then
		for i in `ls -d ~/Library/Frameworks 2>/dev/null` \
			`ls -d /Library/Frameworks 2>/dev/null` \
			`ls -d /Network/Library/Frameworks 2>/dev/null` \
			`ls -d /System/Library/Frameworks 2>/dev/null` \
			; do
		    if test -f "$i/Tcl.framework/tclConfig.sh" ; then
			ac_cv_c_tclconfig="`(cd $i/Tcl.framework; pwd)`"
			break
		    fi
		done
	    fi

	    # check in a few common install locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in `ls -d ${libdir} 2>/dev/null` \
			`ls -d ${exec_prefix}/lib 2>/dev/null` \
			`ls -d ${prefix}/lib 2>/dev/null` \
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			`ls -d /usr/lib64 2>/dev/null` \
			; do
		    if test -f "$i/tclConfig.sh" ; then
			ac_cv_c_tclconfig="`(cd $i; pwd)`"
			break
		    fi
		done
	    fi

	    # check in a few other private locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
			${srcdir}/../tcl \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
		    ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
		    break
		fi
		done
	    fi

fi


	if test x"${ac_cv_c_tclconfig}" = x ; then
	    TCL_BIN_DIR="# no Tcl configs found"
	    { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
	    exit 0
	else
	    no_tcl=
	    TCL_BIN_DIR="${ac_cv_c_tclconfig}"
	    echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
	fi
    fi


    echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6

    if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
        echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6
	. "${TCL_BIN_DIR}/tclConfig.sh"
    else
        echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
    fi

    # eval is required to do the TCL_DBGX substitution
    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""

    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
    if test -f "${TCL_BIN_DIR}/Makefile" ; then
        TCL_LIB_SPEC="${TCL_BUILD_LIB_SPEC}"
        TCL_STUB_LIB_SPEC="${TCL_BUILD_STUB_LIB_SPEC}"
        TCL_STUB_LIB_PATH="${TCL_BUILD_STUB_LIB_PATH}"
    elif test "`uname -s`" = "Darwin"; then
	# If Tcl was built as a framework, attempt to use the libraries
	# from the framework at the given location so that linking works
	# against Tcl.framework installed in an arbitary location.
	case ${TCL_DEFS} in
	    *TCL_FRAMEWORK*)
		if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
		    for i in "`cd "${TCL_BIN_DIR}"; pwd`" \
			     "`cd "${TCL_BIN_DIR}"/../..; pwd`"; do
			if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then
			    TCL_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}"
			    break
			fi
		    done
		fi
		if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then
		    TCL_STUB_LIB_SPEC="-L`echo "${TCL_BIN_DIR}"  | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
		    TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"
		fi
		;;
	esac
    fi

    # eval is required to do the TCL_DBGX substitution
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
















    echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
    if test "${ac_cv_path_tclsh+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	search_path=`echo ${PATH} | sed -e 's/:/ /g'`
	for dir in $search_path ; do
	    for j in `ls -r $dir/tclsh[8-9]* 2> /dev/null` \
		    `ls -r $dir/tclsh* 2> /dev/null` ; do
		if test x"$ac_cv_path_tclsh" = x ; then
		    if test -f "$j" ; then
			ac_cv_path_tclsh=$j
			break
		    fi
		fi
	    done
	done

fi


    if test -f "$ac_cv_path_tclsh" ; then
	TCLSH_PROG="$ac_cv_path_tclsh"
	echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6
    else
	# It is not an error if an installed version of Tcl can't be located.
	TCLSH_PROG=""
	echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6
    fi



    echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6
    BUILD_TCLSH="${TCL_BIN_DIR}"/tclsh
    echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6



#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------

if test "${prefix}" = "NONE"; then
    prefix="$TCL_PREFIX"
fi
if test "${exec_prefix}" = "NONE"; then
    exec_prefix=$prefix
fi
# Make sure srcdir is fully qualified!
srcdir="`cd "$srcdir" ; pwd`"
TK_SRC_DIR="`cd "$srcdir"/..; pwd`"

#------------------------------------------------------------------------
# Compress and/or soft link the manpages?
#------------------------------------------------------------------------


    echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6
    # Check whether --enable-man-symlinks or --disable-man-symlinks was given.
if test "${enable_man_symlinks+set}" = set; then
  enableval="$enable_man_symlinks"
  test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
else
  enableval="no"
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6

    echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6
    # Check whether --enable-man-compression or --disable-man-compression was given.
if test "${enable_man_compression+set}" = set; then
  enableval="$enable_man_compression"
  case $enableval in
	    yes) { { echo "$as_me:$LINENO: error: missing argument to --enable-man-compression" >&5
echo "$as_me: error: missing argument to --enable-man-compression" >&2;}
   { (exit 1); exit 1; }; };;
	    no)  ;;
	    *)   MAN_FLAGS="$MAN_FLAGS --compress $enableval";;
	esac
else
  enableval="no"
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
    if test "$enableval" != "no"; then
	echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6
	touch TeST
	$enableval TeST
	Z=`ls TeST* | sed 's/^....//'`
	rm -f TeST*
	MAN_FLAGS="$MAN_FLAGS --extension $Z"
	echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6
    fi

    echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6
    # Check whether --enable-man-suffix or --disable-man-suffix was given.
if test "${enable_man_suffix+set}" = set; then
  enableval="$enable_man_suffix"
  case $enableval in
	    yes) enableval="tk" MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
	    no)  ;;
	    *)   MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
	esac
else
  enableval="no"
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6




#------------------------------------------------------------------------
# Standard compiler checks
#------------------------------------------------------------------------

# If the user did not set CFLAGS, set it now to keep
# the AC_PROG_CC macro from adding "-g -O2".
if test "${CFLAGS+set}" != "set" ; then
    CFLAGS=""
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@"
  fi
fi
fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  test -n "$ac_ct_CC" && break
done

  CC=$ac_ct_CC
fi

fi


test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&5
echo "$as_me: error: no acceptable C compiler found in \$PATH
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }

# Provide some information about the compiler.
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
	;;
    conftest.$ac_ext )
	# This is the source file.
	;;
    [ab].out )
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
    *.* )
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
	break;;
    * )
	break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
See \`config.log' for more details." >&5
echo "$as_me: error: C compiler cannot create executables
See \`config.log' for more details." >&2;}
   { (exit 77); exit 77; }; }
fi

ac_exeext=$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6

# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
# If not cross compiling, check that we can run a simple program.
if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run C compiled programs.
If you meant to cross compile, use \`--host'.
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
    fi
  fi
fi
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6

rm -f a.out a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
# Check the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# work properly (i.e., refer to `conftest.exe'), while it won't with
# `rm'.
for ac_file in conftest.exe conftest conftest.*; do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	  export ac_cv_exeext
	  break;;
    * ) break;;
  esac
done
else
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest$ac_cv_exeext
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; then
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       break;;
  esac
done
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&5
echo "$as_me: error: cannot compute suffix of object files: cannot compile
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
if test "${ac_cv_c_compiler_gnu+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_compiler_gnu=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
GCC=`test $ac_compiler_gnu = yes && echo yes`
ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS
CFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
if test "${ac_cv_prog_cc_g+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_prog_cc_g=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_prog_cc_stdc=no
ac_save_CC=$CC
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
     char **p;
     int i;
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}

/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   function prototypes and stuff, but not '\xHH' hex character constants.
   These don't provoke an error unfortunately, instead are silently treated
   as 'x'.  The following induces an error, until -std1 is added to get
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   array size at least.  It's necessary to write '\x00'==0 to get something
   that's true only with -std1.  */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];

int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
int
main ()
{
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  ;
  return 0;
}
_ACEOF
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext
done
rm -f conftest.$ac_ext conftest.$ac_objext
CC=$ac_save_CC

fi

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
  *)
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
esac

# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

continue
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline=$ac_kw; break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done

fi
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6


case $ac_cv_c_inline in
  inline | yes) ;;
  *)
    case $ac_cv_c_inline in
      no) ac_val=;;
      *) ac_val=$ac_cv_c_inline;;
    esac
    cat >>confdefs.h <<_ACEOF
#ifndef __cplusplus
#define inline $ac_val
#endif
_ACEOF
    ;;
esac


# limits header checks must come early to prevent
# an autoconf bug that throws errors on configure
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  break
fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  # <limits.h> exists even on freestanding compilers.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
		     Syntax error
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Broken: fails on valid input.
continue
fi
rm -f conftest.err conftest.$ac_ext

  # OK, works on sane cases.  Now check whether non-existent headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ac_nonexistent.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.
continue
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  # Passes both tests.
ac_preproc_ok=:
break
fi
rm -f conftest.err conftest.$ac_ext

done
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.err conftest.$ac_ext
if $ac_preproc_ok; then
  :
else
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&5
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
See \`config.log' for more details." >&2;}
   { (exit 1); exit 1; }; }
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_prog_egrep+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
    fi
fi
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep


echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
if test "${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_stdc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_stdc=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <string.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "memchr" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "free" >/dev/null 2>&1; then
  :
else
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <ctype.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c) \
		   (('a' <= (c) && (c) <= 'i') \
		     || ('j' <= (c) && (c) <= 'r') \
		     || ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
	|| toupper (i) != TOUPPER (i))
      exit(2);
  exit (0);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_header_stdc=no
fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
if test $ac_cv_header_stdc = yes; then

cat >>confdefs.h <<\_ACEOF
#define STDC_HEADERS 1
_ACEOF

fi

# On IRIX 5.3, sys/types and inttypes.h are conflicting.









for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
		  inttypes.h stdint.h unistd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default

#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_Header=no"
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


if test "${ac_cv_header_limits_h+set}" = set; then
  echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
if test "${ac_cv_header_limits_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <limits.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <limits.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
if test "${ac_cv_header_limits_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_limits_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6

fi
if test $ac_cv_header_limits_h = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_LIMITS_H 1
_ACEOF

else

cat >>confdefs.h <<\_ACEOF
#define NO_LIMITS_H 1
_ACEOF

fi



#--------------------------------------------------------------------
# Supply a substitute for stdlib.h if it doesn't define strtol,
# strtoul, or strtod (which it doesn't in some versions of SunOS).
#--------------------------------------------------------------------

if test "${ac_cv_header_stdlib_h+set}" = set; then
  echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
if test "${ac_cv_header_stdlib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <stdlib.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
if test "${ac_cv_header_stdlib_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_stdlib_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6

fi
if test $ac_cv_header_stdlib_h = yes; then
  tk_ok=1
else
  tk_ok=0
fi


cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtol" >/dev/null 2>&1; then
  :
else
  tk_ok=0
fi
rm -f conftest*

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtoul" >/dev/null 2>&1; then
  :
else
  tk_ok=0
fi
rm -f conftest*

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtod" >/dev/null 2>&1; then
  :
else
  tk_ok=0
fi
rm -f conftest*

if test $tk_ok = 0; then

cat >>confdefs.h <<\_ACEOF
#define NO_STDLIB_H 1
_ACEOF

fi

#------------------------------------------------------------------------
# If we're using GCC, see if the compiler understands -pipe.  If so, use it.
# It makes compiling go faster.  (This is only a performance feature.)
#------------------------------------------------------------------------

if test -z "$no_pipe" && test -n "$GCC"; then
    echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
if test "${tcl_cv_cc_pipe+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -pipe"
	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_pipe=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_pipe=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6
    if test $tcl_cv_cc_pipe = yes; then
	CFLAGS="$CFLAGS -pipe"
    fi
fi

#------------------------------------------------------------------------
# Threads support - this auto-enables if Tcl was compiled threaded
#------------------------------------------------------------------------


    # Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
  enableval="$enable_threads"
  tcl_ok=$enableval
else
  tcl_ok=yes
fi;

    if test "${TCL_THREADS}" = 1; then
	tcl_threaded_core=1;
    fi

    if test "$tcl_ok" = "yes" -o "${TCL_THREADS}" = 1; then
	TCL_THREADS=1
	# USE_THREAD_ALLOC tells us to try the special thread-based
	# allocator that significantly reduces lock contention

cat >>confdefs.h <<\_ACEOF
#define USE_THREAD_ALLOC 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define _REENTRANT 1
_ACEOF

	if test "`uname -s`" = "SunOS" ; then

cat >>confdefs.h <<\_ACEOF
#define _POSIX_PTHREAD_SEMANTICS 1
_ACEOF

	fi

cat >>confdefs.h <<\_ACEOF
#define _THREAD_SAFE 1
_ACEOF

	echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
int
main ()
{
pthread_mutex_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pthread_pthread_mutex_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pthread_pthread_mutex_init=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	if test "$tcl_ok" = "no"; then
	    # Check a little harder for __pthread_mutex_init in the same
	    # library, as some systems hide it there until pthread.h is
	    # defined.  We could alternatively do an AC_TRY_COMPILE with
	    # pthread.h, but that will work with libpthread really doesn't
	    # exist, like AIX 4.2.  [Bug: 4359]
	    echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char __pthread_mutex_init ();
int
main ()
{
__pthread_mutex_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pthread___pthread_mutex_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pthread___pthread_mutex_init=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
if test $ac_cv_lib_pthread___pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	fi

	if test "$tcl_ok" = "yes"; then
	    # The space is needed
	    THREADS_LIBS=" -lpthread"
	else
	    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthreads  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
int
main ()
{
pthread_mutex_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_pthreads_pthread_mutex_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_pthreads_pthread_mutex_init=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
if test $ac_cv_lib_pthreads_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	    if test "$tcl_ok" = "yes"; then
		# The space is needed
		THREADS_LIBS=" -lpthreads"
	    else
		echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
int
main ()
{
pthread_mutex_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_c_pthread_mutex_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_c_pthread_mutex_init=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
if test $ac_cv_lib_c_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

		if test "$tcl_ok" = "no"; then
		    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc_r  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
int
main ()
{
pthread_mutex_init ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_c_r_pthread_mutex_init=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_c_r_pthread_mutex_init=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
if test $ac_cv_lib_c_r_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

		    if test "$tcl_ok" = "yes"; then
			# The space is needed
			THREADS_LIBS=" -pthread"
		    else
			TCL_THREADS=0
			{ echo "$as_me:$LINENO: WARNING: Don't know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..." >&5
echo "$as_me: WARNING: Don't know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..." >&2;}
		    fi
		fi
	    fi
	fi

	# Does the pthread-implementation provide
	# 'pthread_attr_setstacksize' ?

for ac_func in pthread_attr_setstacksize
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

    else
	TCL_THREADS=0
    fi
    # Do checking message here to not mess up interleaved configure output
    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
    if test "${TCL_THREADS}" = 1; then

cat >>confdefs.h <<\_ACEOF
#define TCL_THREADS 1
_ACEOF

	if test "${tcl_threaded_core}" = 1; then
	    echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6
	else
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	fi
    else
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
    fi




# Add the threads support libraries
LIBS="$LIBS$THREADS_LIBS"


    echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6
    # Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  tcl_ok=$enableval
else
  tcl_ok=yes
fi;

    if test "${enable_shared+set}" = set; then
	enableval="$enable_shared"
	tcl_ok=$enableval
    else
	tcl_ok=yes
    fi

    if test "$tcl_ok" = "yes" ; then
	echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6
	SHARED_BUILD=1
    else
	echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6
	SHARED_BUILD=0

cat >>confdefs.h <<\_ACEOF
#define STATIC_BUILD 1
_ACEOF

    fi


#--------------------------------------------------------------------
# The statements below define a collection of compile flags.  This
# macro depends on the value of SHARED_BUILD, and should be called
# after SC_ENABLE_SHARED checks the configure switches.
#--------------------------------------------------------------------

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_RANLIB="ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
fi
fi
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  RANLIB=$ac_ct_RANLIB
else
  RANLIB="$ac_cv_prog_RANLIB"
fi



    # Step 0.a: Enable 64 bit support?

    echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit or --disable-64bit was given.
if test "${enable_64bit+set}" = set; then
  enableval="$enable_64bit"
  do64bit=$enableval
else
  do64bit=no
fi;
    echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6

    # Step 0.b: Enable Solaris 64 bit VIS support?

    echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
if test "${enable_64bit_vis+set}" = set; then
  enableval="$enable_64bit_vis"
  do64bitVIS=$enableval
else
  do64bitVIS=no
fi;
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6
    # Force 64bit on with VIS
    if test "$do64bitVIS" = "yes"; then
  do64bit=yes
fi


    # Step 0.c: Check if visibility support is available. Do this here so
    # that platform specific alternatives can be used below if this fails.

    echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6
if test "${tcl_cv_cc_visibility_hidden+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    if test "$GCC" = yes; then

		hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fvisibility=hidden -Werror"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_visibility_hidden=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_visibility_hidden=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
		CFLAGS=$hold_cflags

else

		tcl_cv_cc_visibility_hidden=no

fi


fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6
    if test $tcl_cv_cc_visibility_hidden = yes; then

	CFLAGS="$CFLAGS -fvisibility=hidden"

else


cat >>confdefs.h <<\_ACEOF
#define NO_VIZ
_ACEOF

	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

	    extern __attribute__((__visibility__("hidden"))) void f(void);
	    void f(void) {}
int
main ()
{
f();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_visibility_hidden=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_visibility_hidden=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
	CFLAGS=$hold_cflags
	if test $tcl_cv_cc_visibility_hidden = yes; then


cat >>confdefs.h <<\_ACEOF
#define MODULE_SCOPE extern __attribute__((__visibility__("hidden")))
_ACEOF


fi


fi


    # Step 0.d: Disable -rpath support?

    echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6
    # Check whether --enable-rpath or --disable-rpath was given.
if test "${enable_rpath+set}" = set; then
  enableval="$enable_rpath"
  doRpath=$enableval
else
  doRpath=yes
fi;
    echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6

    # Step 1: set the variable "system" to hold the name and version number
    # for the system.


    echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6
if test "${tcl_cv_sys_version+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	if test -f /usr/lib/NextStep/software_version; then
	    tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
	else
	    tcl_cv_sys_version=`uname -s`-`uname -r`
	    if test "$?" -ne 0 ; then
		{ echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
echo "$as_me: WARNING: can't find uname command" >&2;}
		tcl_cv_sys_version=unknown
	    else
		# Special check for weird MP-RAS system (uname returns weird
		# results, and the version is kept in special file).

		if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
		    tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid`
		fi
		if test "`uname -s`" = "AIX" ; then
		    tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
		fi
	    fi
	fi

fi
echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6
    system=$tcl_cv_sys_version


    # Step 2: check for existence of -ldl library.  This is needed because
    # Linux can use either -ldl or -ldld for dynamic loading.

    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char dlopen ();
int
main ()
{
dlopen ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dl_dlopen=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_dl_dlopen=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
if test $ac_cv_lib_dl_dlopen = yes; then
  have_dl=yes
else
  have_dl=no
fi


    # Require ranlib early so we can override it in special cases below.



    # Step 3: set configuration options based on system name and version.

    do64bit_ok=no
    LDFLAGS_ORIG="$LDFLAGS"
    # When ld needs options to work in 64-bit mode, put them in
    # LDFLAGS_ARCH so they eventually end up in LDFLAGS even if [load]
    # is disabled by the user. [Bug 1016796]
    LDFLAGS_ARCH=""
    UNSHARED_LIB_SUFFIX=""
    TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
    ECHO_VERSION='`echo ${VERSION}`'
    TCL_LIB_VERSIONS_OK=ok
    CFLAGS_DEBUG=-g
    if test "$GCC" = yes; then

	CFLAGS_OPTIMIZE=-O2
	CFLAGS_WARNING="-Wall"

else

	CFLAGS_OPTIMIZE=-O
	CFLAGS_WARNING=""

fi

    if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_AR="${ac_tool_prefix}ar"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
  echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

fi
if test -z "$ac_cv_prog_AR"; then
  ac_ct_AR=$AR
  # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_AR"; then
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_AR="ar"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done

fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  AR=$ac_ct_AR
else
  AR="$ac_cv_prog_AR"
fi

    STLIB_LD='${AR} cr'
    LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH"
    PLAT_OBJS=""
    PLAT_SRCS=""
    LDAIX_SRC=""
    if test x"${SHLIB_VERSION}" = x; then
  SHLIB_VERSION="1.0"
fi

    case $system in
	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

	    LIBS="$LIBS -lc"
	    SHLIB_CFLAGS=""
	    # Note: need the LIBS below, otherwise Tk won't find Tcl's
	    # symbols when dynamically loaded into tclsh.
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"

	    DL_OBJS="tclLoadDl.o"
	    LD_LIBRARY_PATH_VAR="LIBPATH"

	    # ldAix No longer needed with use of -bexpall/-brtl
	    # but some extensions may still reference it
	    LDAIX_SRC='$(UNIX_DIR)/ldAix'

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

		if test "$GCC" = yes; then

		    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}

else

		    do64bit_ok=yes
		    CFLAGS="$CFLAGS -q64"
		    LDFLAGS_ARCH="-q64"
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"

fi


fi


	    if test "`uname -m`" = ia64; then

		# AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		# AIX-5 has dl* in libc.so
		DL_LIBS=""
		if test "$GCC" = yes; then

		    CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'

else

		    CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'

fi

		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'

else

		if test "$GCC" = yes; then

		    SHLIB_LD='${CC} -shared -Wl,-bexpall'

else

		    SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bexpall -H512 -T512 -bnoentry"
		    LDFLAGS="$LDFLAGS -brtl"

fi

		SHLIB_LD="${SHLIB_LD} ${SHLIB_LD_FLAGS}"
		DL_LIBS="-ldl"
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}

fi

	    ;;
	BeOS*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD='${CC} -nostart'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"

	    #-----------------------------------------------------------
	    # Check for inet_ntoa in -lbind, for BeOS (which also needs
	    # -lsocket, even if the network functions are in -lnet which
	    # is always linked to, for compatibility.
	    #-----------------------------------------------------------
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6
if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lbind  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_ntoa ();
int
main ()
{
inet_ntoa ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_bind_inet_ntoa=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_bind_inet_ntoa=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6
if test $ac_cv_lib_bind_inet_ntoa = yes; then
  LIBS="$LIBS -lbind -lsocket"
fi

	    ;;
	BSD/OS-2.1*|BSD/OS-3*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="shlicc -r"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	BSD/OS-4.*)
	    SHLIB_CFLAGS="-export-dynamic -fPIC"
	    SHLIB_LD='${CC} -shared'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    LDFLAGS="$LDFLAGS -export-dynamic"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	CYGWIN_*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD='${CC} -shared'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".dll"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	dgux*)
	    SHLIB_CFLAGS="-K PIC"
	    SHLIB_LD='${CC} -G'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	Haiku*)
	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-lroot"
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6
if test "${ac_cv_lib_network_inet_ntoa+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lnetwork  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_ntoa ();
int
main ()
{
inet_ntoa ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_network_inet_ntoa=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_network_inet_ntoa=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6
if test $ac_cv_lib_network_inet_ntoa = yes; then
  LIBS="$LIBS -lnetwork"
fi

	    ;;
	HP-UX-*.11.*)
	    # Use updated header definitions where possible

cat >>confdefs.h <<\_ACEOF
#define _XOPEN_SOURCE_EXTENDED 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define _XOPEN_SOURCE 1
_ACEOF

	    LIBS="$LIBS -lxnet"               # Use the XOPEN network library

	    if test "`uname -m`" = ia64; then

		SHLIB_SUFFIX=".so"

else

		SHLIB_SUFFIX=".sl"

fi

	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char shl_load ();
int
main ()
{
shl_load ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dld_shl_load=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_dld_shl_load=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
if test $ac_cv_lib_dld_shl_load = yes; then
  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}

else

		CFLAGS="$CFLAGS -z"

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*)
			    # 64-bit gcc in use.  Fix flags for GNU ld.
			    do64bit_ok=yes
			    SHLIB_LD='${CC} -shared'
			    SHLIB_LD_LIBS='${LIBS}'
			    if test $doRpath = yes; then

				CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

			    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
			    ;;
			*)
			    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
			    ;;
		    esac

else

		    do64bit_ok=yes
		    CFLAGS="$CFLAGS +DD64"
		    LDFLAGS_ARCH="+DD64"

fi


fi
 ;;
	HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
	    SHLIB_SUFFIX=".sl"
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char shl_load ();
int
main ()
{
shl_load ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_dld_shl_load=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_dld_shl_load=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
if test $ac_cv_lib_dld_shl_load = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	    if test "$tcl_ok" = yes; then

		SHLIB_CFLAGS="+z"
		SHLIB_LD="ld -b"
		SHLIB_LD_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
 ;;
	IRIX-5.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
  *" mkstemp.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
esac

	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    ;;
	IRIX-6.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -n32 -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
  *" mkstemp.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
esac

	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "$GCC" = yes; then

		CFLAGS="$CFLAGS -mabi=n32"
		LDFLAGS="$LDFLAGS -mabi=n32"

else

		case $system in
		    IRIX-6.3)
			# Use to build 6.2 compatible binaries on 6.3.
			CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS"
			;;
		    *)
			CFLAGS="$CFLAGS -n32"
			;;
		esac
		LDFLAGS="$LDFLAGS -n32"

fi

	    ;;
	IRIX64-6.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -n32 -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
  *" mkstemp.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
esac

	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi


	    # Check to enable 64-bit flags for compiler/linker

	    if test "$do64bit" = yes; then

	        if test "$GCC" = yes; then

	            { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}

else

	            do64bit_ok=yes
	            SHLIB_LD="ld -64 -shared -rdata_shared"
	            CFLAGS="$CFLAGS -64"
	            LDFLAGS_ARCH="-64"

fi


fi

	    ;;
	Linux*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"

	    CFLAGS_OPTIMIZE="-O2"
	    # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings
	    # when you inline the string and math operations.  Turn this off to
	    # get rid of the warnings.
	    #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"

	    SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    if test "`uname -m`" = "alpha"; then
  CFLAGS="$CFLAGS -mieee"
fi

	    if test $do64bit = yes; then

		echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
if test "${tcl_cv_cc_m64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		    hold_cflags=$CFLAGS
		    CFLAGS="$CFLAGS -m64"
		    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_m64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_m64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6
		if test $tcl_cv_cc_m64 = yes; then

		    CFLAGS="$CFLAGS -m64"
		    do64bit_ok=yes

fi


fi


	    # The combo of gcc + glibc has a bug related to inlining of
	    # functions like strtod(). The -fno-builtin flag should address
	    # this problem but it does not work. The -fno-inline flag is kind
	    # of overkill but it works. Disable inlining only when one of the
	    # files in compat/*.c is being linked in.

	    if test x"${USE_COMPAT}" != x; then
  CFLAGS="$CFLAGS -fno-inline"
fi

	    ;;
	GNU*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"

	    SHLIB_LD='${CC} -shared'
	    DL_OBJS=""
	    DL_LIBS="-ldl"
	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    if test "`uname -m`" = "alpha"; then
  CFLAGS="$CFLAGS -mieee"
fi

	    ;;
	Lynx*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    CFLAGS_OPTIMIZE=-02
	    SHLIB_LD='${CC} -shared'
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-mshared -ldl"
	    LD_FLAGS="-Wl,--export-dynamic"
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

	    ;;
	MP-RAS-02*)
	    SHLIB_CFLAGS="-K PIC"
	    SHLIB_LD='${CC} -G'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	MP-RAS-*)
	    SHLIB_CFLAGS="-K PIC"
	    SHLIB_LD='${CC} -G'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    LDFLAGS="$LDFLAGS -Wl,-Bexport"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	NetBSD-1.*|FreeBSD-[1-2].*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="ld -Bshareable -x"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
if test "${tcl_cv_ld_elf+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#ifdef __ELF__
	yes
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "yes" >/dev/null 2>&1; then
  tcl_cv_ld_elf=yes
else
  tcl_cv_ld_elf=no
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
	    if test $tcl_cv_ld_elf = yes; then

		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'

else

		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'

fi


	    # Ancient FreeBSD doesn't handle version numbers with dots.

	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
	OpenBSD-*)
	    arch=`arch -s`
	    case "$arch" in
	    m88k|vax)
		# Equivalent using configure option --disable-load
		# Step 4 will set the necessary variables
		DL_OBJS=""
		;;
	    *)
		SHLIB_CFLAGS="-fPIC"
		SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".so"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS=""
		if test $doRpath = yes; then

		    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
		;;
	    esac
	    case "$arch" in
	    m88k|vax)
		CFLAGS_OPTIMIZE="-O1"
		;;
	    sh)
		CFLAGS_OPTIMIZE="-O0"
		;;
	    *)
		CFLAGS_OPTIMIZE="-O2"
		;;
	    esac
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
if test "${tcl_cv_ld_elf+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

#ifdef __ELF__
	yes
#endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "yes" >/dev/null 2>&1; then
  tcl_cv_ld_elf=yes
else
  tcl_cv_ld_elf=no
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
	    if test $tcl_cv_ld_elf = yes; then

		LDFLAGS=-Wl,-export-dynamic

else
  LDFLAGS=""
fi

	    if test "${TCL_THREADS}" = "1"; then

		# On OpenBSD:	Compile with -pthread
		#		Don't link with -lpthread
		LIBS=`echo $LIBS | sed s/-lpthread//`
		CFLAGS="$CFLAGS -pthread"

fi

	    # OpenBSD doesn't do version numbers with dots.
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
	NetBSD-*|FreeBSD-[3-4].*)
	    # FreeBSD 3.* and greater have ELF.
	    # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LDFLAGS="$LDFLAGS -export-dynamic"
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    if test "${TCL_THREADS}" = "1"; then

		# The -pthread needs to go in the CFLAGS, not LIBS
		LIBS=`echo $LIBS | sed s/-pthread//`
		CFLAGS="$CFLAGS -pthread"
	    	LDFLAGS="$LDFLAGS -pthread"

fi

	    case $system in
	    FreeBSD-3.*)
	    	# FreeBSD-3 doesn't handle version numbers with dots.
	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
	    	TCL_LIB_VERSIONS_OK=nodots
		;;
	    esac
	    ;;
	FreeBSD-*)
	    # This configuration from FreeBSD Ports.
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="${CC} -shared"
	    TCL_SHLIB_LD_EXTRAS="-soname \$@@"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LDFLAGS=""
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "${TCL_THREADS}" = "1"; then

		# The -pthread needs to go in the LDFLAGS, not LIBS
		LIBS=`echo $LIBS | sed s/-pthread//`
		CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
		LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
fi

	    # Version numbers are dot-stripped by system policy.
	    TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
	Darwin-*)
	    CFLAGS_OPTIMIZE="-Os"
	    SHLIB_CFLAGS="-fno-common"
	    # To avoid discrepancies between what headers configure sees during
	    # preprocessing tests and compiling tests, move any -isysroot and
	    # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
	    CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
		if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`"
	    CFLAGS="`echo " ${CFLAGS}" | \
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
		if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`"
	    if test $do64bit = yes; then

		case `arch` in
		    ppc)
			echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6
if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

			    hold_cflags=$CFLAGS
			    CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
			    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_arch_ppc64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_arch_ppc64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
			    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6
			if test $tcl_cv_cc_arch_ppc64 = yes; then

			    CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
			    do64bit_ok=yes

fi
;;
		    i386)
			echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6
if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

			    hold_cflags=$CFLAGS
			    CFLAGS="$CFLAGS -arch x86_64"
			    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_arch_x86_64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_arch_x86_64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
			    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6
			if test $tcl_cv_cc_arch_x86_64 = yes; then

			    CFLAGS="$CFLAGS -arch x86_64"
			    do64bit_ok=yes

fi
;;
		    *)
			{ echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
		esac

else

		# Check for combined 32-bit and 64-bit fat build
		if echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64) ' \
		    && echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '; then

		    fat_32_64=yes
fi


fi

	    SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
	    echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6
if test "${tcl_cv_ld_single_module+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_ld_single_module=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_ld_single_module=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		LDFLAGS=$hold_ldflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
	    if test $tcl_cv_ld_single_module = yes; then

		SHLIB_LD="${SHLIB_LD} -Wl,-single_module"

fi

	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".dylib"
	    DL_OBJS="tclLoadDyld.o"
	    DL_LIBS=""
	    # Don't use -prebind when building for Mac OS X 10.4 or later only:
	    if test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
		"`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4; then

		LDFLAGS="$LDFLAGS -prebind"
fi

	    LDFLAGS="$LDFLAGS -headerpad_max_install_names"
	    echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
if test "${tcl_cv_ld_search_paths_first+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_ld_search_paths_first=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_ld_search_paths_first=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		LDFLAGS=$hold_ldflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
	    if test $tcl_cv_ld_search_paths_first = yes; then

		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"

fi

	    if test "$tcl_cv_cc_visibility_hidden" != yes; then


cat >>confdefs.h <<\_ACEOF
#define MODULE_SCOPE __private_extern__
_ACEOF


fi

	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"

cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TCL 1
_ACEOF

	    PLAT_OBJS='${MAC_OSX_OBJS}'
	    PLAT_SRCS='${MAC_OSX_SRCS}'
	    echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
if test "${enable_corefoundation+set}" = set; then
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
else
  tcl_corefoundation=yes
fi;
	    echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6
	    if test $tcl_corefoundation = yes; then

		echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6
if test "${tcl_cv_lib_corefoundation+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		    hold_libs=$LIBS
		    if test "$fat_32_64" = yes; then

			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    # On Tiger there is no 64-bit CF, so remove 64-bit
			    # archs from CFLAGS et al. while testing for
			    # presence of CF. 64-bit CF is disabled in
			    # tclUnixPort.h if necessary.
			    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
			done
fi

		    LIBS="$LIBS -framework CoreFoundation"
		    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <CoreFoundation/CoreFoundation.h>
int
main ()
{
CFBundleRef b = CFBundleGetMainBundle();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_lib_corefoundation=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_lib_corefoundation=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		    if test "$fat_32_64" = yes; then

			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval $v'="$hold_'$v'"'
		        done
fi

		    LIBS=$hold_libs
fi
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6
		if test $tcl_cv_lib_corefoundation = yes; then

		    LIBS="$LIBS -framework CoreFoundation"

cat >>confdefs.h <<\_ACEOF
#define HAVE_COREFOUNDATION 1
_ACEOF


else
  tcl_corefoundation=no
fi

		if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then

		    echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6
if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
			done
			cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <CoreFoundation/CoreFoundation.h>
int
main ()
{
CFBundleRef b = CFBundleGetMainBundle();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_lib_corefoundation_64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_lib_corefoundation_64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval $v'="$hold_'$v'"'
			done
fi
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6
		    if test $tcl_cv_lib_corefoundation_64 = no; then


cat >>confdefs.h <<\_ACEOF
#define NO_COREFOUNDATION_64 1
_ACEOF

                        LDFLAGS="$LDFLAGS -Wl,-no_arch_warnings"

fi


fi


fi

	    ;;
	NEXTSTEP-*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD='${CC} -nostdlib -r'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadNext.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	OS/390-*)
	    CFLAGS_OPTIMIZE=""		# Optimizer is buggy

cat >>confdefs.h <<\_ACEOF
#define _OE_SOCKETS 1
_ACEOF

	    ;;
	OSF1-1.0|OSF1-1.1|OSF1-1.2)
	    # OSF/1 1.[012] from OSF, and derivatives, including Paragon OSF/1
	    SHLIB_CFLAGS=""
	    # Hack: make package name same as library name
	    SHLIB_LD='ld -R -export :'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadOSF.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	OSF1-1.*)
	    # OSF/1 1.3 from OSF using ELF, and derivatives, including AD2
	    SHLIB_CFLAGS="-fPIC"
	    if test "$SHARED_BUILD" = 1; then
  SHLIB_LD="ld -shared"
else

	        SHLIB_LD="ld -non_shared"

fi

	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	OSF1-V*)
	    # Digital OSF/1
	    SHLIB_CFLAGS=""
	    if test "$SHARED_BUILD" = 1; then

	        SHLIB_LD='ld -shared -expect_unresolved "*"'

else

	        SHLIB_LD='ld -non_shared -expect_unresolved "*"'

fi

	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "$GCC" = yes; then
  CFLAGS="$CFLAGS -mieee"
else

		CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee"
fi

	    # see pthread_intro(3) for pthread support on osf1, k.furukawa
	    if test "${TCL_THREADS}" = 1; then

		CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
		CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
		LIBS=`echo $LIBS | sed s/-lpthreads//`
		if test "$GCC" = yes; then

		    LIBS="$LIBS -lpthread -lmach -lexc"

else

		    CFLAGS="$CFLAGS -pthread"
		    LDFLAGS="$LDFLAGS -pthread"

fi


fi

	    ;;
	QNX-6*)
	    # QNX RTP
	    # This may work for all QNX, but it was only reported for v6.
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="ld -Bshareable -x"
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    # dlopen is in -lc on QNX
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	SCO_SV-3.2*)
	    # Note, dlopen is available only on SCO 3.2.5 and greater. However,
	    # this test works, since "uname -s" was non-standard in 3.2.4 and
	    # below.
	    if test "$GCC" = yes; then

	    	SHLIB_CFLAGS="-fPIC -melf"
	    	LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"

else

	    	SHLIB_CFLAGS="-Kpic -belf"
	    	LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"

fi

	    SHLIB_LD="ld -G"
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	SINIX*5.4*)
	    SHLIB_CFLAGS="-K PIC"
	    SHLIB_LD='${CC} -G'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
	SunOS-4*)
	    SHLIB_CFLAGS="-PIC"
	    SHLIB_LD="ld"
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}

	    # SunOS can't handle version numbers with dots in them in library
	    # specs, like -ltcl7.5, so use -ltcl75 instead.  Also, it
	    # requires an extra version number at the end of .so file names.
	    # So, the library has to have a name like libtcl75.so.1.0

	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
	SunOS-5.[0-6])
	    # Careful to not let 5.10+ fall into this case

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.


cat >>confdefs.h <<\_ACEOF
#define _REENTRANT 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define _POSIX_PTHREAD_SEMANTICS 1
_ACEOF


	    SHLIB_CFLAGS="-KPIC"

	    # Note: need the LIBS below, otherwise Tk won't find Tcl's
	    # symbols when dynamically loaded into tclsh.

	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    if test "$GCC" = yes; then

		SHLIB_LD='${CC} -shared'
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}

else

		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}

fi

	    ;;
	SunOS-5*)
	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.


cat >>confdefs.h <<\_ACEOF
#define _REENTRANT 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define _POSIX_PTHREAD_SEMANTICS 1
_ACEOF


	    SHLIB_CFLAGS="-KPIC"

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

		arch=`isainfo`
		if test "$arch" = "sparcv9 sparc"; then

		    if test "$GCC" = yes; then

			if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt 3; then

			    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}

else

			    do64bit_ok=yes
			    CFLAGS="$CFLAGS -m64 -mcpu=v9"
			    LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
			    SHLIB_CFLAGS="-fPIC"

fi


else

			do64bit_ok=yes
			if test "$do64bitVIS" = yes; then

			    CFLAGS="$CFLAGS -xarch=v9a"
			    LDFLAGS_ARCH="-xarch=v9a"

else

			    CFLAGS="$CFLAGS -xarch=v9"
			    LDFLAGS_ARCH="-xarch=v9"

fi

			# Solaris 64 uses this as well
			#LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"

fi


else
  if test "$arch" = "amd64 i386"; then

		    if test "$GCC" = yes; then

			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				{ echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;};;
			esac

else

			do64bit_ok=yes
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				CFLAGS="$CFLAGS -xarch=amd64"
				LDFLAGS="$LDFLAGS -xarch=amd64";;
			esac

fi


else
  { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
fi

fi


fi


	    #--------------------------------------------------------------------
	    # On Solaris 5.x i386 with the sunpro compiler we need to link
	    # with sunmath to get floating point rounding control
	    #--------------------------------------------------------------------
	    if test "$GCC" = yes; then
  use_sunmath=no
else

		arch=`isainfo`
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
		if test "$arch" = "amd64 i386"; then

			echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
			MATH_LIBS="-lsunmath $MATH_LIBS"
			if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <sunmath.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sunmath.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: sunmath.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: sunmath.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: sunmath.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: sunmath.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_sunmath_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6

fi


			use_sunmath=yes

else

			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
			use_sunmath=no

fi


fi


	    # Note: need the LIBS below, otherwise Tk won't find Tcl's
	    # symbols when dynamically loaded into tclsh.

	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    if test "$GCC" = yes; then

		SHLIB_LD='${CC} -shared'
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		if test "$do64bit_ok" = yes; then

		    if test "$arch" = "sparcv9 sparc"; then

			# We need to specify -static-libgcc or we need to
			# add the path to the sparv9 libgcc.
			SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
			# for finding sparcv9 libgcc, get the regular libgcc
			# path, remove so name and append 'sparcv9'
			#v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
			#CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"

else
  if test "$arch" = "amd64 i386"; then

			SHLIB_LD="$SHLIB_LD -m64 -static-libgcc"

fi

fi


fi


else

		if test "$use_sunmath" = yes; then
  textmode=textoff
else
  textmode=text
fi

		case $system in
		    SunOS-5.[1-9][0-9]*)
			SHLIB_LD="\${CC} -G -z $textmode \${LDFLAGS}";;
		    *)
			SHLIB_LD="/usr/ccs/bin/ld -G -z $textmode";;
		esac
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'

fi

	    ;;
	UNIX_SV* | UnixWare-5*)
	    SHLIB_CFLAGS="-KPIC"
	    SHLIB_LD='${CC} -G'
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
	    # that don't grok the -Bexport option.  Test that it does.
	    echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
if test "${tcl_cv_ld_Bexport+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -Wl,-Bexport"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_ld_Bexport=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_ld_Bexport=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
	        LDFLAGS=$hold_ldflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6
	    if test $tcl_cv_ld_Bexport = yes; then

		LDFLAGS="$LDFLAGS -Wl,-Bexport"

fi

	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
    esac

    if test "$do64bit" = yes -a "$do64bit_ok" = no; then

	{ echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}

fi


    if test "$do64bit" = yes -a "$do64bit_ok" = yes; then


cat >>confdefs.h <<\_ACEOF
#define TCL_CFG_DO64BIT 1
_ACEOF


fi




    # Step 4: disable dynamic loading if requested via a command-line switch.

    # Check whether --enable-load or --disable-load was given.
if test "${enable_load+set}" = set; then
  enableval="$enable_load"
  tcl_ok=$enableval
else
  tcl_ok=yes
fi;
    if test "$tcl_ok" = no; then
  DL_OBJS=""
fi


    if test "x$DL_OBJS" != x; then
  BUILD_DLTEST="\$(DLTEST_TARGETS)"
else

	{ echo "$as_me:$LINENO: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&5
echo "$as_me: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&2;}
	SHLIB_CFLAGS=""
	SHLIB_LD=""
	SHLIB_SUFFIX=""
	DL_OBJS="tclLoadNone.o"
	DL_LIBS=""
	LDFLAGS="$LDFLAGS_ORIG"
	CC_SEARCH_FLAGS=""
	LD_SEARCH_FLAGS=""
	BUILD_DLTEST=""

fi

    LDFLAGS="$LDFLAGS $LDFLAGS_ARCH"

    # If we're running gcc, then change the C flags for compiling shared
    # libraries to the right flags for gcc, instead of those for the
    # standard manufacturer compiler.

    if test "$DL_OBJS" != "tclLoadNone.o" -a "$GCC" = yes; then

	case $system in
	    AIX-*) ;;
	    BSD/OS*) ;;
	    CYGWIN_*) ;;
	    IRIX*) ;;
	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
	    Darwin-*) ;;
	    SCO_SV-3.2*) ;;
	    *) SHLIB_CFLAGS="-fPIC" ;;
	esac
fi


    if test "$SHARED_LIB_SUFFIX" = ""; then

	SHARED_LIB_SUFFIX='${VERSION}${SHLIB_SUFFIX}'
fi

    if test "$UNSHARED_LIB_SUFFIX" = ""; then

	UNSHARED_LIB_SUFFIX='${VERSION}.a'
fi

	DLL_INSTALL_DIR="\$(LIB_INSTALL_DIR)"

    if test "${SHARED_BUILD}" = 1 -a "${SHLIB_SUFFIX}" != ""; then

        LIB_SUFFIX=${SHARED_LIB_SUFFIX}
        MAKE_LIB='${SHLIB_LD} -o $@@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
        if test "${SHLIB_SUFFIX}" = ".dll"; then

            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(BIN_INSTALL_DIR)"/$(LIB_FILE)'
            DLL_INSTALL_DIR="\$(BIN_INSTALL_DIR)"

else

            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE)'

fi


else

        LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}

        if test "$RANLIB" = ""; then

            MAKE_LIB='$(STLIB_LD) $@@ ${OBJS}'
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE)'

else

            MAKE_LIB='${STLIB_LD} $@@ ${OBJS} ; ${RANLIB} $@@'
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE) ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(LIB_FILE))'

fi


fi


    # Stub lib does not depend on shared/static configuration
    if test "$RANLIB" = ""; then

        MAKE_STUB_LIB='${STLIB_LD} $@@ ${STUB_LIB_OBJS}'
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'

else

        MAKE_STUB_LIB='${STLIB_LD} $@@ ${STUB_LIB_OBJS} ; ${RANLIB} $@@'
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)"/$(STUB_LIB_FILE) ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(STUB_LIB_FILE))'

fi


    # Define TCL_LIBS now that we know what DL_LIBS is.
    # The trick here is that we don't want to change the value of TCL_LIBS if
    # it is already set when tclConfig.sh had been loaded by Tk.
    if test "x${TCL_LIBS}" = x; then

        TCL_LIBS="${DL_LIBS} ${LIBS} ${MATH_LIBS}"
fi



    # FIXME: This subst was left in only because the TCL_DL_LIBS
    # entry in tclConfig.sh uses it. It is not clear why someone
    # would use TCL_DL_LIBS instead of TCL_LIBS.

























cat >>confdefs.h <<_ACEOF
#define TCL_SHLIB_EXT "${SHLIB_SUFFIX}"
_ACEOF











    echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6
    # Check whether --enable-symbols or --disable-symbols was given.
if test "${enable_symbols+set}" = set; then
  enableval="$enable_symbols"
  tcl_ok=$enableval
else
  tcl_ok=no
fi;
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
    DBGX=""
    if test "$tcl_ok" = "no"; then
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6

cat >>confdefs.h <<\_ACEOF
#define TCL_CFG_OPTIMIZED 1
_ACEOF

    else
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
	if test "$tcl_ok" = "yes"; then
	    echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6
	fi
    fi


    ### FIXME: Surely TCL_CFG_DEBUG should be set to whether we're debugging?

cat >>confdefs.h <<\_ACEOF
#define TCL_CFG_DEBUG 1
_ACEOF


    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then

cat >>confdefs.h <<\_ACEOF
#define TCL_MEM_DEBUG 1
_ACEOF

    fi



    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
	if test "$tcl_ok" = "all"; then
	    echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6
	else
	    echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
	fi
    fi


#--------------------------------------------------------------------
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------


    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
    tcl_flags=""

    if test "${tcl_cv_flag__isoc99_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
int
main ()
{
char *p = (char *)strtoll; char *q = (char *)strtoull;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__isoc99_source=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define _ISOC99_SOURCE 1
#include <stdlib.h>
int
main ()
{
char *p = (char *)strtoll; char *q = (char *)strtoull;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__isoc99_source=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_flag__isoc99_source=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi

    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define _ISOC99_SOURCE 1
_ACEOF

	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi


    if test "${tcl_cv_flag__largefile64_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/stat.h>
int
main ()
{
struct stat64 buf; int i = stat64("/", &buf);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__largefile64_source=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
int
main ()
{
struct stat64 buf; int i = stat64("/", &buf);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__largefile64_source=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_flag__largefile64_source=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi

    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi


    if test "${tcl_cv_flag__largefile_source64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/stat.h>
int
main ()
{
char *p = (char *)open64;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__largefile_source64=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define _LARGEFILE_SOURCE64 1
#include <sys/stat.h>
int
main ()
{
char *p = (char *)open64;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__largefile_source64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_flag__largefile_source64=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi

    if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE_SOURCE64 1
_ACEOF

	tcl_flags="$tcl_flags _LARGEFILE_SOURCE64"
    fi

    if test "x${tcl_flags}" = "x" ; then
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
    else
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
    fi



    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
    if test "${tcl_cv_type_64bit+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	tcl_cv_type_64bit=none
	# See if the compiler knows natively about __int64
	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
__int64 value = (__int64) 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_type_64bit=__int64
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_type_64bit="long long"
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	# See if we should use long anyway  Note that we substitute in the
	# type that is our current guess for a 64-bit type inside this check
	# program, so it should be modified only carefully...
        cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
switch (0) {
            case 1: case (sizeof(${tcl_type_64bit})==sizeof(long)): ;
        }
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_type_64bit=${tcl_type_64bit}
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi

    if test "${tcl_cv_type_64bit}" = none ; then

cat >>confdefs.h <<\_ACEOF
#define TCL_WIDE_INT_IS_LONG 1
_ACEOF

	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
    else

cat >>confdefs.h <<_ACEOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
_ACEOF

	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6

	# Now check for auxiliary declarations
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
if test "${tcl_cv_struct_dirent64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/dirent.h>
int
main ()
{
struct dirent64 p;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_struct_dirent64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_struct_dirent64=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6
	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_DIRENT64 1
_ACEOF

	fi

	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
if test "${tcl_cv_struct_stat64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/stat.h>
int
main ()
{
struct stat64 p;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_struct_stat64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_struct_stat64=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6
	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_STAT64 1
_ACEOF

	fi



for ac_func in open64 lseek64
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
	if test "${tcl_cv_type_off64_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
int
main ()
{
off64_t offset;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_type_off64_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_type_off64_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi

			if test "x${tcl_cv_type_off64_t}" = "xyes" && \
	        test "x${ac_cv_func_lseek64}" = "xyes" && \
	        test "x${ac_cv_func_open64}" = "xyes" ; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_TYPE_OFF64_T 1
_ACEOF

	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	else
	    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
	fi
    fi


#--------------------------------------------------------------------
#	Check endianness because we can optimize some operations
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # See if sys/param.h defines the BYTE_ORDER macro.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/param.h>

int
main ()
{
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  # It does; now see whether it defined to BIG_ENDIAN or not.
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/param.h>

int
main ()
{
#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_bigendian=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_bigendian=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

# It does not; compile a test program.
if test "$cross_compiling" = yes; then
  # try to guess the endianness by grepping values into an object file
  ac_cv_c_bigendian=unknown
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
int
main ()
{
 _ascii (); _ebcdic ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
  ac_cv_c_bigendian=yes
fi
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  if test "$ac_cv_c_bigendian" = unknown; then
    ac_cv_c_bigendian=no
  else
    # finding both strings is unlikely to happen, but who knows?
    ac_cv_c_bigendian=unknown
  fi
fi
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
int
main ()
{
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_bigendian=no
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
ac_cv_c_bigendian=yes
fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
case $ac_cv_c_bigendian in
  yes)

cat >>confdefs.h <<\_ACEOF
#define WORDS_BIGENDIAN 1
_ACEOF
 ;;
  no)
     ;;
  *)
    { { echo "$as_me:$LINENO: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
echo "$as_me: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
   { (exit 1); exit 1; }; } ;;
esac


#------------------------------------------------------------------------
# If Tcl and Tk are installed in different places, adjust the library
# search path to reflect this.
#------------------------------------------------------------------------

LIB_RUNTIME_DIR='$(libdir)'

if test "$TCL_EXEC_PREFIX" != "$exec_prefix"; then
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${TCL_EXEC_PREFIX}/lib"
fi

if test "$TCL_PREFIX" != "$prefix"; then
    { echo "$as_me:$LINENO: WARNING:
        Different --prefix selected for Tk and Tcl!
        [package require Tk] may not work correctly in tclsh." >&5
echo "$as_me: WARNING:
        Different --prefix selected for Tk and Tcl!
        [package require Tk] may not work correctly in tclsh." >&2;}
fi

#--------------------------------------------------------------------
#	Include sys/select.h if it exists and if it supplies things
#	that appear to be useful and aren't already in sys/types.h.
#	This appears to be true only on the RS/6000 under AIX.  Some
#	systems like OSF/1 have a sys/select.h that's of no use, and
#	other systems like SCO UNIX have a sys/select.h that's
#	pernicious.  If "fd_set" isn't defined anywhere then set a
#	special flag.
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6
if test "${tcl_cv_type_fd_set+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
int
main ()
{
fd_set readMask, writeMask;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_type_fd_set=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_type_fd_set=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6
tk_ok=$tcl_cv_type_fd_set
if test $tk_ok = no; then
    echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6
if test "${tcl_cv_grep_fd_mask+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/select.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "fd_mask" >/dev/null 2>&1; then
  tcl_cv_grep_fd_mask=present
else
  tcl_cv_grep_fd_mask=missing
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6
    if test $tcl_cv_grep_fd_mask = present; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_SELECT_H 1
_ACEOF

	tk_ok=yes
    fi
fi
if test $tk_ok = no; then

cat >>confdefs.h <<\_ACEOF
#define NO_FD_SET 1
_ACEOF

fi

#------------------------------------------------------------------------------
#       Find out all about time handling differences.
#------------------------------------------------------------------------------


for ac_header in sys/time.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

int
main ()
{
if ((struct tm *) 0)
return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_time=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_time=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then

cat >>confdefs.h <<\_ACEOF
#define TIME_WITH_SYS_TIME 1
_ACEOF

fi


#--------------------------------------------------------------------
#	Under Solaris 2.4, strtod returns the wrong value for the
#	terminating character under some conditions.  Check for this
#	and if the problem exists use a substitute procedure
#	"fixstrtod" (provided by Tcl) that corrects the error.
#--------------------------------------------------------------------


    echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6
if test "${ac_cv_func_strtod+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define strtod to an innocuous variant, in case <limits.h> declares strtod.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define strtod innocuous_strtod

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strtod (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef strtod

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strtod ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strtod) || defined (__stub___strtod)
choke me
#else
char (*f) () = strtod;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != strtod;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_strtod=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_strtod=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6
if test $ac_cv_func_strtod = yes; then
  tcl_strtod=1
else
  tcl_strtod=0
fi

    if test "$tcl_strtod" = 1; then
	echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6
if test "${tcl_cv_strtod_buggy+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    if test "$cross_compiling" = yes; then
  tcl_cv_strtod_buggy=buggy
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(nanString, &term);
		    if ((term != nanString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(spaceString, &term);
		    if (term == (spaceString+1)) {
			exit(1);
		    }
		    exit(0);
		}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_strtod_buggy=ok
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
tcl_cv_strtod_buggy=buggy
fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi
echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6
	if test "$tcl_cv_strtod_buggy" = buggy; then
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
  *" fixstrtod.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
esac

	    USE_COMPAT=1

cat >>confdefs.h <<\_ACEOF
#define strtod fixstrtod
_ACEOF

	fi
    fi


#--------------------------------------------------------------------
#	Check for various typedefs and provide substitutes if
#	they don't exist.
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
if test "${ac_cv_type_mode_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((mode_t *) 0)
  return 0;
if (sizeof (mode_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_mode_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_mode_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
if test $ac_cv_type_mode_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define mode_t int
_ACEOF

fi

echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
if test "${ac_cv_type_pid_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((pid_t *) 0)
  return 0;
if (sizeof (pid_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_pid_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_pid_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
if test $ac_cv_type_pid_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define pid_t int
_ACEOF

fi

echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((size_t *) 0)
  return 0;
if (sizeof (size_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_size_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_size_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define size_t unsigned
_ACEOF

fi

echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
if test "${ac_cv_type_uid_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "uid_t" >/dev/null 2>&1; then
  ac_cv_type_uid_t=yes
else
  ac_cv_type_uid_t=no
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
if test $ac_cv_type_uid_t = no; then

cat >>confdefs.h <<\_ACEOF
#define uid_t int
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define gid_t int
_ACEOF

fi


echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
if test "${ac_cv_type_intptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((intptr_t *) 0)
  return 0;
if (sizeof (intptr_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_intptr_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_intptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
if test $ac_cv_type_intptr_t = yes; then


cat >>confdefs.h <<\_ACEOF
#define HAVE_INTPTR_T 1
_ACEOF

else

    echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
if test "${tcl_cv_intptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    for tcl_cv_intptr_t in "int" "long" "long long" none; do
	if test "$tcl_cv_intptr_t" != none; then
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
test_array [0] = 0

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    test "$tcl_ok" = yes && break; fi
    done
fi
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6
    if test "$tcl_cv_intptr_t" != none; then

cat >>confdefs.h <<_ACEOF
#define intptr_t $tcl_cv_intptr_t
_ACEOF

    fi

fi

echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
if test "${ac_cv_type_uintptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((uintptr_t *) 0)
  return 0;
if (sizeof (uintptr_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_uintptr_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_uintptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then


cat >>confdefs.h <<\_ACEOF
#define HAVE_UINTPTR_T 1
_ACEOF

else

    echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
if test "${tcl_cv_uintptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
	    none; do
	if test "$tcl_cv_uintptr_t" != none; then
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
test_array [0] = 0

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    test "$tcl_ok" = yes && break; fi
    done
fi
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6
    if test "$tcl_cv_uintptr_t" != none; then

cat >>confdefs.h <<_ACEOF
#define uintptr_t $tcl_cv_uintptr_t
_ACEOF

    fi

fi


#-------------------------------------------
#     In OS/390 struct pwd has no pw_gecos field
#-------------------------------------------

echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6
if test "${tcl_cv_pwd_pw_gecos+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pwd.h>
int
main ()
{
struct passwd pwd; pwd.pw_gecos;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_pwd_pw_gecos=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_pwd_pw_gecos=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6
if test $tcl_cv_pwd_pw_gecos = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_PW_GECOS 1
_ACEOF

fi

#--------------------------------------------------------------------
#	On Mac OS X, we can build either with X11 or with Aqua
#--------------------------------------------------------------------

MACOSX_SRC_DIR=macosx
if test "`uname -s`" = "Darwin" ; then
    echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6
    # Check whether --enable-aqua or --disable-aqua was given.
if test "${enable_aqua+set}" = set; then
  enableval="$enable_aqua"
  tk_aqua=$enableval
else
  tk_aqua=no
fi;
    if test $tk_aqua = yes -o $tk_aqua = cocoa; then
	tk_aqua=yes
	if test ! -d /System/Library/Frameworks/Cocoa.framework; then
	    { echo "$as_me:$LINENO: WARNING: Aqua can only be used when Cocoa is available" >&5
echo "$as_me: WARNING: Aqua can only be used when Cocoa is available" >&2;}
	    tk_aqua=no
	fi
	if test "`uname -r | awk -F. '{print $1}'`" -lt 9; then
	    { echo "$as_me:$LINENO: WARNING: Aqua requires Mac OS X 10.5 or later" >&5
echo "$as_me: WARNING: Aqua requires Mac OS X 10.5 or later" >&2;}
	    tk_aqua=no
	fi
    elif test $tk_aqua = carbon; then
	if test ! -d /System/Library/Frameworks/Carbon.framework; then
	    { echo "$as_me:$LINENO: WARNING: Aqua can only be used when Carbon is available" >&5
echo "$as_me: WARNING: Aqua can only be used when Carbon is available" >&2;}
	    tk_aqua=no
	fi
	if test "`uname -r | awk -F. '{print $1}'`" -lt 6; then
	    { echo "$as_me:$LINENO: WARNING: Aqua requires Mac OS X 10.2 or later" >&5
echo "$as_me: WARNING: Aqua requires Mac OS X 10.2 or later" >&2;}
	    tk_aqua=no
	fi
    else
	tk_aqua=no
    fi
    if test $tk_aqua != no -a $tcl_corefoundation = no; then
	{ echo "$as_me:$LINENO: WARNING: Aqua can only be used when CoreFoundation is available" >&5
echo "$as_me: WARNING: Aqua can only be used when CoreFoundation is available" >&2;}
	tk_aqua=no
    fi
    if test $tk_aqua = carbon; then
	MACOSX_SRC_DIR=carbon
	echo "$as_me:$LINENO: result: yes (deprecated legacy Carbon implementation)" >&5
echo "${ECHO_T}yes (deprecated legacy Carbon implementation)" >&6
    else
	echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6
    fi
    if test "$fat_32_64" = yes; then
	if test $tk_aqua = no; then
	    echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6
if test "${tcl_cv_lib_x11_64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
		done
		CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
		LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>
int
main ()
{
XrmInitialize();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_lib_x11_64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_lib_x11_64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval $v'="$hold_'$v'"'
		done
fi
echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6
	fi
	# remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit
	# fat builds if configuration does not support 64-bit.
	if test $tk_aqua = carbon -o "$tcl_cv_lib_x11_64" = no; then
	    { echo "$as_me:$LINENO: Removing 64-bit architectures from compiler & linker flags" >&5
echo "$as_me: Removing 64-bit architectures from compiler & linker flags" >&6;}
	    for v in CFLAGS CPPFLAGS LDFLAGS; do
		eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
	    done
	fi
    fi
    if test $tk_aqua = no; then
	# check if weak linking whole libraries is possible.
	echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6
if test "${tcl_cv_ld_weak_l+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    hold_ldflags=$LDFLAGS
	    LDFLAGS="$LDFLAGS -Wl,-weak-lm"
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <math.h>
int
main ()
{
double f = sin(1.0);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_ld_weak_l=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_ld_weak_l=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
	    LDFLAGS=$hold_ldflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6
    fi

for ac_header in AvailabilityMacros.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

    if test "$ac_cv_header_AvailabilityMacros_h" = yes; then
	echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6
if test "${tcl_cv_cc_weak_import+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		    #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
		    #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
		    #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
		    #endif
		    #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1020
		    #error MAC_OS_X_VERSION_MIN_REQUIRED < 1020
		    #endif
		    int rand(void) __attribute__((weak_import));

int
main ()
{
rand();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_weak_import=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_weak_import=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
	    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6
	if test $tcl_cv_cc_weak_import = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_WEAK_IMPORT 1
_ACEOF

	fi
	echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6
if test "${tcl_cv_cc_darwin_c_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		    #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
		    #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
		    #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
		    #endif
		    #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1050
		    #error MAC_OS_X_VERSION_MIN_REQUIRED < 1050
		    #endif
		    #define _DARWIN_C_SOURCE 1
		    #include <sys/cdefs.h>

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_darwin_c_source=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_darwin_c_source=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6
	if test $tcl_cv_cc_darwin_c_source = yes; then

cat >>confdefs.h <<\_ACEOF
#define _DARWIN_C_SOURCE 1
_ACEOF

	fi
    fi
else
    tk_aqua=no
fi

if test $tk_aqua != no; then
    if test $tk_aqua = yes; then
	LIBS="$LIBS -framework Cocoa -framework Carbon -framework IOKit"
	EXTRA_CC_SWITCHES='-std=gnu99 -x objective-c -fobjc-gc'
    else
	LIBS="$LIBS -framework Carbon -framework IOKit"
	CFLAGS="$CFLAGS -fpascal-strings"
    fi

cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TK 1
_ACEOF

    TK_WINDOWINGSYSTEM=AQUA
    if test -n "${enable_symbols}" -a "${enable_symbols}" != no; then

cat >>confdefs.h <<\_ACEOF
#define TK_MAC_DEBUG 1
_ACEOF

    fi
else
    #--------------------------------------------------------------------
    #	Locate the X11 header files and the X11 library archive.  Try
    #	the ac_path_x macro first, but if it doesn't find the X stuff
    #	(e.g. because there's no xmkmf program) then check through
    #	a list of possible directories.  Under some conditions the
    #	autoconf macro will return an include directory that contains
    #	no include files, so double-check its result just to be safe.
    #--------------------------------------------------------------------


    echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6


# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
  withval="$with_x"

fi;
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
  # The user explicitly disabled X.
  have_x=disabled
else
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
rm -fr conftest.dir
if mkdir conftest.dir; then
  cd conftest.dir
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  cat >Imakefile <<'_ACEOF'
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
_ACEOF
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    for ac_extension in a so sl; do
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
	 test -f $ac_im_libdir/libX11.$ac_extension; then
	ac_im_usrlibdir=$ac_im_libdir; break
      fi
    done
    # Screen out bogus values from the imake configuration.  They are
    # bogus both because they are the default anyway, and because
    # using them would break gcc on systems where it needs fixed includes.
    case $ac_im_incroot in
	/usr/include) ;;
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
    esac
    case $ac_im_usrlibdir in
	/usr/lib | /lib) ;;
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
    esac
  fi
  cd ..
  rm -fr conftest.dir
fi

# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include

/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4

/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include

/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4

/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11

/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include

/usr/openwin/include
/usr/openwin/share/include'

if test "$ac_x_includes" = no; then
  # Guess where to find include files, by looking for Intrinsic.h.
  # First, try using that file with no special directory specified.
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Intrinsic.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  # We can compile using X headers with no special include directory.
ac_x_includes=
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  for ac_dir in $ac_x_header_dirs; do
  if test -r "$ac_dir/X11/Intrinsic.h"; then
    ac_x_includes=$ac_dir
    break
  fi
done
fi
rm -f conftest.err conftest.$ac_ext
fi # $ac_x_includes = no

if test "$ac_x_libraries" = no; then
  # Check for the libraries.
  # See if we find them without any special options.
  # Don't add to $LIBS permanently.
  ac_save_LIBS=$LIBS
  LIBS="-lXt $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Intrinsic.h>
int
main ()
{
XtMalloc (0)
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

LIBS=$ac_save_LIBS
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
  # Don't even attempt the hair of trying to link an X program!
  for ac_extension in a so sl; do
    if test -r $ac_dir/libXt.$ac_extension; then
      ac_x_libraries=$ac_dir
      break 2
    fi
  done
done
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi # $ac_x_libraries = no

if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi

  fi
  eval "$ac_cv_have_x"
fi # $with_x != no

if test "$have_x" != yes; then
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
  no_x=yes
else
  # If each of the values was on the command line, it overrides each guess.
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  # Update the cache value to reflect the command line values.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi

    not_really_there=""
    if test "$no_x" = ""; then
	if test "$x_includes" = ""; then
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/XIntrinsic.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  not_really_there="yes"
fi
rm -f conftest.err conftest.$ac_ext
	else
	    if test ! -r $x_includes/X11/Intrinsic.h; then
		not_really_there="yes"
	    fi
	fi
    fi
    if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then
	echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6
	found_xincludes="no"
	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Intrinsic.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  found_xincludes="yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  found_xincludes="no"
fi
rm -f conftest.err conftest.$ac_ext
	if test "$found_xincludes" = "no"; then
	    dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include"
	    for i in $dirs ; do
		if test -r $i/X11/Intrinsic.h; then
		    echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
		    XINCLUDES=" -I$i"
		    found_xincludes="yes"
		    break
		fi
	    done
	fi
    else
	if test "$x_includes" != ""; then
	    XINCLUDES="-I$x_includes"
	    found_xincludes="yes"
	fi
    fi
    if test "$found_xincludes" = "no"; then
	echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6
    fi

    if test "$no_x" = yes; then
	echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6
	XLIBSW=nope
	dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib"
	for i in $dirs ; do
	    if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl -o -r $i/libX11.dylib; then
		echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
		XLIBSW="-L$i -lX11"
		x_libraries="$i"
		break
	    fi
	done
    else
	if test "$x_libraries" = ""; then
	    XLIBSW=-lX11
	else
	    XLIBSW="-L$x_libraries -lX11"
	fi
    fi
    if test "$XLIBSW" = nope ; then
	echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6
if test "${ac_cv_lib_Xwindow_XCreateWindow+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXwindow  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XCreateWindow ();
int
main ()
{
XCreateWindow ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xwindow_XCreateWindow=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xwindow_XCreateWindow=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6
if test $ac_cv_lib_Xwindow_XCreateWindow = yes; then
  XLIBSW=-lXwindow
fi

    fi
    if test "$XLIBSW" = nope ; then
	echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6
	XLIBSW=-lX11
    fi

    TK_WINDOWINGSYSTEM=X11
fi

#--------------------------------------------------------------------
#	Various manipulations on the search path used at runtime to
#	find shared libraries:
#	1. If the X library binaries are in a non-standard directory,
#	   add the X library location into that search path.
#	2. On systems such as AIX and Ultrix that use "-L" as the
#	   search path option, colons cannot be used to separate
#	   directories from each other. Change colons to " -L".
#	3. Create two sets of search flags, one for use in cc lines
#	   and the other for when the linker is invoked directly.  In
#	   the second case, '-Wl,' must be stripped off and commas must
#	   be replaced by spaces.
#--------------------------------------------------------------------

if test "x${x_libraries}" != "x"; then
  if test "x${x_libraries}" != "xNONE"; then
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${x_libraries}"
  fi
fi
if test "${TCL_LD_SEARCH_FLAGS}" = '-L${LIB_RUNTIME_DIR}'; then
    LIB_RUNTIME_DIR=`echo ${LIB_RUNTIME_DIR} |sed -e 's/:/ -L/g'`
fi

#--------------------------------------------------------------------
#	Check for the existence of various libraries.  The order here
#	is important, so that then end up in the right order in the
#	command line generated by make.  The -lsocket and -lnsl libraries
#	require a couple of special tricks:
#	1. Use "connect" and "accept" to check for -lsocket, and
#	   "gethostbyname" to check for -lnsl.
#	2. Use each function name only once:  can't redo a check because
#	   autoconf caches the results of the last check and won't redo it.
#	3. Use -lnsl and -lsocket only if they supply procedures that
#	   aren't already present in the normal libraries.  This is because
#	   IRIX 5.2 has libraries, but they aren't needed and they're
#	   bogus:  they goof up name resolution if used.
#	4. On some SVR4 systems, can't use -lsocket without -lnsl too.
#	   To get around this problem, check for both libraries together
#	   if -lsocket doesn't work by itself.
#--------------------------------------------------------------------

if test $tk_aqua = no; then
    echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
if test "${ac_cv_lib_Xbsd_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXbsd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xbsd_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xbsd_main=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
if test $ac_cv_lib_Xbsd_main = yes; then
  LIBS="$LIBS -lXbsd"
fi

fi

#--------------------------------------------------------------------
# One more check related to the X libraries.  The standard releases
# of Ultrix don't support the "xauth" mechanism, so send won't work
# unless TK_NO_SECURITY is defined.  However, there are usually copies
# of the MIT X server available as well, which do support xauth.
# Check for the MIT stuff and use it if it exists.
#
# Note: can't use ac_check_lib macro (at least, not in Autoconf 2.1)
# because it can't deal with the "-" in the library name.
#--------------------------------------------------------------------

if test -d /usr/include/mit -a $tk_aqua = no; then
    echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6
    tk_oldCFlags=$CFLAGS
    CFLAGS="$CFLAGS -I/usr/include/mit"
    tk_oldLibs=$LIBS
    LIBS="$LIBS -lX11-mit"
    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

	#include <X11/Xlib.h>

int
main ()
{

	XOpenDisplay(0);

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then

	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	XLIBSW="-lX11-mit"
	XINCLUDES="-I/usr/include/mit"

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
    CFLAGS=$tk_oldCFlags
    LIBS=$tk_oldLibs
fi

#--------------------------------------------------------------------
# Check whether the header and library for the XScreenSaver
# extension are available, and set HAVE_XSS if so.
# XScreenSaver is needed for Tk_GetUserInactiveTime().
#--------------------------------------------------------------------

if test $tk_aqua = no; then
    tk_oldCFlags=$CFLAGS
    CFLAGS="$CFLAGS $XINCLUDES"
    tk_oldLibs=$LIBS
    LIBS="$tk_oldLibs $XLIBSW"
    xss_header_found=no
    xss_lib_found=no
    echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6
    # Check whether --enable-xss or --disable-xss was given.
if test "${enable_xss+set}" = set; then
  enableval="$enable_xss"
  enable_xss=$enableval
else
  enable_xss=yes
fi;
    if test "$enable_xss" = "no" ; then
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
    else
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
	echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6
if test "${ac_cv_header_X11_extensions_scrnsaver_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>

#include <X11/extensions/scrnsaver.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_X11_extensions_scrnsaver_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_X11_extensions_scrnsaver_h=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6
if test $ac_cv_header_X11_extensions_scrnsaver_h = yes; then

	    xss_header_found=yes

fi


	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6
if test "${ac_cv_func_XScreenSaverQueryInfo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define XScreenSaverQueryInfo to an innocuous variant, in case <limits.h> declares XScreenSaverQueryInfo.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define XScreenSaverQueryInfo innocuous_XScreenSaverQueryInfo

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char XScreenSaverQueryInfo (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef XScreenSaverQueryInfo

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XScreenSaverQueryInfo ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_XScreenSaverQueryInfo) || defined (__stub___XScreenSaverQueryInfo)
choke me
#else
char (*f) () = XScreenSaverQueryInfo;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != XScreenSaverQueryInfo;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_XScreenSaverQueryInfo=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_XScreenSaverQueryInfo=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6
if test $ac_cv_func_XScreenSaverQueryInfo = yes; then
  :
else

	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6
if test "${ac_cv_lib_Xext_XScreenSaverQueryInfo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXext  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XScreenSaverQueryInfo ();
int
main ()
{
XScreenSaverQueryInfo ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xext_XScreenSaverQueryInfo=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xext_XScreenSaverQueryInfo=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6
if test $ac_cv_lib_Xext_XScreenSaverQueryInfo = yes; then

		XLIBSW="$XLIBSW -lXext"
		xss_lib_found=yes

else

		echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6
if test "${ac_cv_lib_Xss_XScreenSaverQueryInfo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXss -lXext $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XScreenSaverQueryInfo ();
int
main ()
{
XScreenSaverQueryInfo ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xss_XScreenSaverQueryInfo=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xss_XScreenSaverQueryInfo=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6
if test $ac_cv_lib_Xss_XScreenSaverQueryInfo = yes; then

		    if test "$tcl_cv_ld_weak_l" = yes; then
			# On Darwin, weak link libXss if possible,
			# as it is only available on Tiger or later.
			XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
		    else
			XLIBSW="$XLIBSW -lXss -lXext"
		    fi
		    xss_lib_found=yes

fi


fi


fi

    fi
    if test $enable_xss = yes -a $xss_lib_found = yes -a $xss_header_found = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_XSS 1
_ACEOF

    fi
    CFLAGS=$tk_oldCFlags
    LIBS=$tk_oldLibs
fi

#--------------------------------------------------------------------
#	Check for freetype / fontconfig / Xft support.
#--------------------------------------------------------------------

if test $tk_aqua = no; then
    echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6
    # Check whether --enable-xft or --disable-xft was given.
if test "${enable_xft+set}" = set; then
  enableval="$enable_xft"
  enable_xft=$enableval
else
  enable_xft="default"
fi;
    XFT_CFLAGS=""
    XFT_LIBS=""
    if test "$enable_xft" = "no" ; then
	echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6
    else
	found_xft="yes"
			XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
	if test "$found_xft" = "no" ; then
	    found_xft=yes
	    XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
	    XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
	fi
	echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6
		if test "$found_xft" = "yes" ; then
	    tk_oldCFlags=$CFLAGS
	    CFLAGS="$CFLAGS $XINCLUDES $XFT_CFLAGS"
	    tk_oldLibs=$LIBS
	    LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW"
	    echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6
if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>

#include <X11/Xft/Xft.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_X11_Xft_Xft_h=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_header_X11_Xft_Xft_h=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6
if test $ac_cv_header_X11_Xft_Xft_h = yes; then
  :
else

		found_xft=no

fi


	    CFLAGS=$tk_oldCFlags
	    LIBS=$tk_oldLibs
	fi
		if test "$found_xft" = "yes" ; then
	    tk_oldCFlags=$CFLAGS
	    CFLAGS="$CFLAGS $XINCLUDES $XFT_CFLAGS"
	    tk_oldLibs=$LIBS
	    LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW"

echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6
if test "${ac_cv_lib_Xft_FT_New_Face+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXft  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char FT_New_Face ();
int
main ()
{
FT_New_Face ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xft_FT_New_Face=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_Xft_FT_New_Face=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6
if test $ac_cv_lib_Xft_FT_New_Face = yes; then
  cat >>confdefs.h <<_ACEOF
#define HAVE_LIBXFT 1
_ACEOF

  LIBS="-lXft $LIBS"

else

		found_xft=no

fi

	    CFLAGS=$tk_oldCFlags
	    LIBS=$tk_oldLibs
	fi
		if test "$found_xft" = "no" ; then
	    if test "$enable_xft" = "yes" ; then
		{ echo "$as_me:$LINENO: WARNING: Can't find xft configuration, or xft is unusable" >&5
echo "$as_me: WARNING: Can't find xft configuration, or xft is unusable" >&2;}
	    fi
	    enable_xft=no
	    XFT_CFLAGS=""
	    XFT_LIBS=""
	else
            enable_xft=yes
	fi
    fi
    if test $enable_xft = "yes" ; then
	UNIX_FONT_OBJS=tkUnixRFont.o

cat >>confdefs.h <<\_ACEOF
#define HAVE_XFT 1
_ACEOF

    else
	UNIX_FONT_OBJS=tkUnixFont.o
    fi



fi

#--------------------------------------------------------------------
#	Figure out whether "char" is unsigned.  If so, set a
#	#define for __CHAR_UNSIGNED__.
#--------------------------------------------------------------------


echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
if test "${ac_cv_c_char_unsigned+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
static int test_array [1 - 2 * !(((char) -1) < 0)];
test_array [0] = 0

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_char_unsigned=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_c_char_unsigned=yes
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  cat >>confdefs.h <<\_ACEOF
#define __CHAR_UNSIGNED__ 1
_ACEOF

fi


#--------------------------------------------------------------------
#	The statements below define a collection of symbols related to
#	building libtk as a shared library instead of a static library.
#--------------------------------------------------------------------

eval eval "TK_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}"
eval eval "TK_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}"
eval "TK_LIB_FILE=libtk${LIB_SUFFIX}"

# tkConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
# since on some platforms TK_LIB_FILE contains shell escapes.

eval "TK_LIB_FILE=${TK_LIB_FILE}"

if test "${SHARED_BUILD}" = "1" -a "${SHLIB_SUFFIX}" != ""; then
    SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \${TCL_STUB_LIB_SPEC}"
    TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
fi

TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
TK_PKG_DIR='tk$(VERSION)'
TK_RSRC_FILE='tk$(VERSION).rsrc'
WISH_RSRC_FILE='wish$(VERSION).rsrc'

# Note:  in the following variable, it's important to use the absolute
# path name of the Tcl directory rather than "..":  this is because
# AIX remembers this path and will attempt to use it at run-time to look
# up the Tcl library.

if test "`uname -s`" = "Darwin" ; then

    if test "`uname -s`" = "Darwin" ; then
	echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6
	# Check whether --enable-framework or --disable-framework was given.
if test "${enable_framework+set}" = set; then
  enableval="$enable_framework"
  enable_framework=$enableval
else
  enable_framework=no
fi;
	if test $enable_framework = yes; then
	    if test $SHARED_BUILD = 0; then
		{ echo "$as_me:$LINENO: WARNING: Frameworks can only be built if --enable-shared is yes" >&5
echo "$as_me: WARNING: Frameworks can only be built if --enable-shared is yes" >&2;}
		enable_framework=no
	    fi
	    if test $tcl_corefoundation = no; then
		{ echo "$as_me:$LINENO: WARNING: Frameworks can only be used when CoreFoundation is available" >&5
echo "$as_me: WARNING: Frameworks can only be used when CoreFoundation is available" >&2;}
		enable_framework=no
	    fi
	fi
	if test $enable_framework = yes; then
	    echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6
	    FRAMEWORK_BUILD=1
	else
	    if test $SHARED_BUILD = 1; then
		echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6
	    else
		echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6
	    fi
	    FRAMEWORK_BUILD=0
	fi
    fi

    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version ${TK_VERSION}`echo ${TK_PATCH_LEVEL} | awk '{match($0, "\\\.[0-9]+"); print substr($0,RSTART,RLENGTH)}'`"
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name "${DYLIB_INSTALL_DIR}"/${TK_LIB_FILE}'
    if test $tk_aqua = yes; then
	TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -unexported_symbols_list $$(f=$(TK_LIB_FILE).E && nm -gp tkMacOSX*.o 2>/dev/null | awk "/^[0-9a-f]+ . \.objc/ {print \$$3}" > $$f && echo $$f)'
    fi
    echo "$LDFLAGS " | grep -q -- '-prebind ' && TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -seg1addr 0xb000000'
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -sectcreate __TEXT __info_plist Tk-Info.plist'
    EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
    EXTRA_APP_CC_SWITCHES="${EXTRA_APP_CC_SWITCHES}"' -mdynamic-no-pic'
                        ac_config_files="$ac_config_files Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in"

    for l in ${LOCALES}; do CFBUNDLELOCALIZATIONS="${CFBUNDLELOCALIZATIONS}<string>$l</string>"; done
    TK_YEAR="`date +%Y`"
fi

if test "$FRAMEWORK_BUILD" = "1" ; then

cat >>confdefs.h <<\_ACEOF
#define TK_FRAMEWORK 1
_ACEOF

    # Construct a fake local framework structure to make linking with
    # '-framework Tk' and running of tktest work
              ac_config_commands="$ac_config_commands Tk.framework"

    LD_LIBRARY_PATH_VAR="DYLD_FRAMEWORK_PATH"
    if test "${libdir}" = '${exec_prefix}/lib'; then
        # override libdir default
        libdir="/Library/Frameworks"
    fi
    TK_LIB_FILE="Tk"
    TK_LIB_FLAG="-framework Tk"
    TK_BUILD_LIB_SPEC="-F`pwd | sed -e 's/ /\\\\ /g'` -framework Tk"
    TK_LIB_SPEC="-F${libdir} -framework Tk"
    libdir="${libdir}/Tk.framework/Versions/\${VERSION}"
    TK_LIBRARY="${libdir}/Resources/Scripts"
    TK_PKG_DIR="Resources/Scripts"
    TK_RSRC_FILE="Tk.rsrc"
    WISH_RSRC_FILE="Wish.rsrc"
    includedir="${libdir}/Headers"
    PRIVATE_INCLUDE_DIR="${libdir}/PrivateHeaders"
    HTML_DIR="${libdir}/Resources/Documentation/Reference/Tk"
    EXTRA_INSTALL="install-private-headers html-tk"
    EXTRA_BUILD_HTML='@@ln -fs contents.htm "$(HTML_INSTALL_DIR)"/TkTOC.html'
    EXTRA_INSTALL_BINARIES='@@echo "Installing Info.plist to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) Tk-Info.plist "$(LIB_INSTALL_DIR)/Resources/Info.plist"'
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing license.terms to $(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) "$(TOP_DIR)/license.terms" "$(LIB_INSTALL_DIR)/Resources"'
    if test $tk_aqua != no; then
	if test $tk_aqua = yes; then
	    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Images to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && for i in Tk.tiff Tk.icns; do $(INSTALL_DATA) "$(MAC_OSX_DIR)/$$i" "$(LIB_INSTALL_DIR)/Resources"; done'
	else
	    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing ${TK_RSRC_FILE} to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) "${TK_RSRC_FILE}" "$(LIB_INSTALL_DIR)/Resources"'
        fi
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing wish$(VERSION) script to $(INSTALL_ROOT)/'"${bindir}"'" && mkdir -p "$(INSTALL_ROOT)/'"${bindir}"'" && printf > "$(INSTALL_ROOT)/'"${bindir}"'/wish$(VERSION)" "#!/bin/sh\n\"\$$(dirname \$$0)'"`eval d="${bindir}"; echo "$d" | sed -e 's#/[^/][^/]*#/..#g'`"'$(bindir)/Wish\" \"\$$@@\"" && chmod +x "$(INSTALL_ROOT)/'"${bindir}"'/wish$(VERSION)"'
        bindir="${libdir}/Resources/Wish.app/Contents/MacOS"
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Info.plist to $(BIN_INSTALL_DIR)/.." && $(INSTALL_DATA) Wish-Info.plist "$(BIN_INSTALL_DIR)/../Info.plist" && mv -f "$(BIN_INSTALL_DIR)/wish$(VERSION)" "$(BIN_INSTALL_DIR)/Wish"'
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Wish.icns to $(BIN_INSTALL_DIR)/../Resources" && mkdir -p "$(BIN_INSTALL_DIR)/../Resources"'
	if test $tk_aqua = yes; then
	    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && $(INSTALL_DATA) "$(MAC_OSX_DIR)/Tk.icns" "$(BIN_INSTALL_DIR)/../Resources/Wish.icns"'
	    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Wish.sdef to $(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "$(MAC_OSX_DIR)/Wish.sdef" "$(BIN_INSTALL_DIR)/../Resources"'
	else
	    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && $(INSTALL_DATA) "$(MAC_OSX_DIR)/Wish.icns" "$(BIN_INSTALL_DIR)/../Resources" && echo "Installing ${WISH_RSRC_FILE} to $(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "${WISH_RSRC_FILE}" "$(BIN_INSTALL_DIR)/../Resources"'
        fi
    fi
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Finalizing Tk.framework" && rm -f "$(LIB_INSTALL_DIR)/../Current" && ln -s "$(VERSION)" "$(LIB_INSTALL_DIR)/../Current" && for f in "$(LIB_FILE)" tkConfig.sh Resources Headers PrivateHeaders; do rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/Current/$$f" "$(LIB_INSTALL_DIR)/../.."; done && f="$(STUB_LIB_FILE)" && rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/$(VERSION)/$$f" "$(LIB_INSTALL_DIR)/../.."'
    # Don't use AC_DEFINE for the following as the framework version define
    # needs to go into the Makefile even when using autoheader, so that we
    # can pick up a potential make override of VERSION. Also, don't put this
    # into CFLAGS as it should not go into tkConfig.sh
    EXTRA_CC_SWITCHES="$EXTRA_CC_SWITCHES"' -DTK_FRAMEWORK_VERSION=\"$(VERSION)\"'
else
    if test $tk_aqua = yes; then
        EXTRA_INSTALL_BINARIES='@@echo "Installing Images to $(LIB_INSTALL_DIR)" && mkdir -p "$(LIB_INSTALL_DIR)" && for i in Tk.tiff Tk.icns; do $(INSTALL_DATA) "$(MAC_OSX_DIR)/$$i" "$(LIB_INSTALL_DIR)"; done'
    fi
    # libdir must be a fully qualified path and not ${exec_prefix}/lib
    eval libdir="$libdir"
    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
        TK_LIB_FLAG="-ltk${TK_VERSION}"
    else
        TK_LIB_FLAG="-ltk`echo ${TK_VERSION} | tr -d .`"
    fi
    TK_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG}"
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
fi

# Extra bits for legacy Aqua Carbon build (carbon sources and resource files)
if test $tk_aqua = carbon; then
    EXTRA_AQUA_OBJS='tkMacOSXCarbonEvents.o'
    EXTRA_AQUA_SRCS='$(TOP_DIR)/carbon/tkMacOSXCarbonEvents.c'
    LIB_RSRC_FILE='${TK_RSRC_FILE}'
    APP_RSRC_FILE='${WISH_RSRC_FILE}'
    REZ=/Developer/Tools/Rez
    REZ_FLAGS='-d "SystemSevenOrLater=1" -useDF -ro'
    if test "$SHARED_BUILD" = 0; then
	EXTRA_INSTALL_BINARIES='@@echo "Installing $(TK_RSRC_FILE) to $(LIB_INSTALL_DIR)" && $(INSTALL_DATA) $(TK_RSRC_FILE) "$(LIB_INSTALL_DIR)"'
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc `pwd | sed -e 's/ /\\\\ /g'`/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc ${libdir}/\${TK_RSRC_FILE}"
    else
        TK_SHLIB_LD_EXTRAS="$TK_SHLIB_LD_EXTRAS -sectcreate __TEXT __tk_rsrc \${TK_RSRC_FILE}"
    fi
fi

#--------------------------------------------------------------------
#       The statements below define various symbols relating to Tk
#       stub support.
#--------------------------------------------------------------------

# Replace ${VERSION} with contents of ${TK_VERSION}
eval "TK_STUB_LIB_FILE=libtkstub${TK_UNSHARED_LIB_SUFFIX}"
eval "TK_STUB_LIB_DIR=${libdir}"

if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
    TK_STUB_LIB_FLAG="-ltkstub${TK_VERSION}"
else
    TK_STUB_LIB_FLAG="-ltkstub`echo ${TK_VERSION} | tr -d .`"
fi

TK_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_STUB_LIB_FLAG}"
TK_STUB_LIB_SPEC="-L${TK_STUB_LIB_DIR} ${TK_STUB_LIB_FLAG}"
TK_BUILD_STUB_LIB_PATH="`pwd`/${TK_STUB_LIB_FILE}"
TK_STUB_LIB_PATH="${TK_STUB_LIB_DIR}/${TK_STUB_LIB_FILE}"

# Install time header dir can be set via --includedir
eval "TK_INCLUDE_SPEC=\"-I${includedir}\""

#------------------------------------------------------------------------
# tkConfig.sh refers to this by a different name
#------------------------------------------------------------------------

TK_SHARED_BUILD=${SHARED_BUILD}























































                              ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# `ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* `ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
{
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
      # `set' does not quote correctly, so add quotes (double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \).
      sed -n \
	"s/'/'\\\\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;;
    *)
      # `set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
      ;;
    esac;
} |
  sed '
     t clear
     : clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     t end
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    cat confcache >$cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
t quote
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed


ac_libobjs=
ac_ltlibobjs=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs

LTLIBOBJS=$ac_ltlibobjs


CFLAGS="${CFLAGS} ${CPPFLAGS}"; CPPFLAGS=""

: ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
echo "$as_me: creating $CONFIG_STATUS" >&6;}
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=\${CONFIG_SHELL-$SHELL}
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
## --------------------- ##
## M4sh Initialization.  ##
## --------------------- ##

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
fi
DUALCASE=1; export DUALCASE # for MKS sh

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
fi


# Work around bugs in pre-3.0 UWIN ksh.
$as_unset ENV MAIL MAILPATH
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
for as_var in \
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
  LC_TELEPHONE LC_TIME
do
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    eval $as_var=C; export $as_var
  else
    $as_unset $as_var
  fi
done

# Required to use basename.
if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi


# Name of the executable.
as_me=`$as_basename "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`


# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*\n,,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   { (exit 1); exit 1; }; }

  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit
}


case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac

if expr a : '\(a\)' >/dev/null 2>&1; then
  as_expr=expr
else
  as_expr=false
fi

rm -f conf$$ conf$$.exe conf$$.file
echo >conf$$.file
if ln -s conf$$.file conf$$ 2>/dev/null; then
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
    as_ln_s='cp -p'
  else
    as_ln_s='ln -s'
  fi
elif ln conf$$.file conf$$ 2>/dev/null; then
  as_ln_s=ln
else
  as_ln_s='cp -p'
fi
rm -f conf$$ conf$$.exe conf$$.file

if mkdir -p . 2>/dev/null; then
  as_mkdir_p=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

as_executable_p="test -f"

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"


# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

exec 6>&1

# Open the log real soon, to keep \$[0] and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

This file was extended by tk $as_me 8.6, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@@

_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
_ACEOF

# Files that config.status was made for.
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi

cat >>$CONFIG_STATUS <<\_ACEOF

ac_cs_usage="\
\`$as_me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTIONS] [FILE]...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -q, --quiet      do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
  --file=FILE[:TEMPLATE]
		   instantiate the configuration file FILE

Configuration files:
$config_files

Configuration commands:
$config_commands

Report bugs to <bug-autoconf@@gnu.org>."
_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
tk config.status 8.6
configured by $0, generated by GNU Autoconf 2.59,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

Copyright (C) 2003 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
srcdir=$srcdir
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  -*)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
  esac

  case $ac_option in
  # Handling of the options.
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1" ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
if \$ac_cs_recheck; then
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
fi

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF
#
# INIT-COMMANDS section.
#

VERSION=${TK_VERSION} && tk_aqua=${tk_aqua}

_ACEOF



cat >>$CONFIG_STATUS <<\_ACEOF
for ac_config_target in $ac_config_targets
do
  case "$ac_config_target" in
  # Handling of arguments.
  "Tk-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in" ;;
  "Wish-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in" ;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
  "tkConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
  "tk.pc" ) CONFIG_FILES="$CONFIG_FILES tk.pc:../unix/tk.pc.in" ;;
  "Tk.framework" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac
done

# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason to put it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
  test -n "$tmp" && test -d "$tmp"
}  ||
{
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in ." >&2
   { (exit 1); exit 1; }
}

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

#
# CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@TCL_VERSION@@,$TCL_VERSION,;t t
s,@@TCL_PATCH_LEVEL@@,$TCL_PATCH_LEVEL,;t t
s,@@TCL_BIN_DIR@@,$TCL_BIN_DIR,;t t
s,@@TCL_SRC_DIR@@,$TCL_SRC_DIR,;t t
s,@@TCL_LIB_FILE@@,$TCL_LIB_FILE,;t t
s,@@TCL_LIB_FLAG@@,$TCL_LIB_FLAG,;t t
s,@@TCL_LIB_SPEC@@,$TCL_LIB_SPEC,;t t
s,@@TCL_STUB_LIB_FILE@@,$TCL_STUB_LIB_FILE,;t t
s,@@TCL_STUB_LIB_FLAG@@,$TCL_STUB_LIB_FLAG,;t t
s,@@TCL_STUB_LIB_SPEC@@,$TCL_STUB_LIB_SPEC,;t t
s,@@TCLSH_PROG@@,$TCLSH_PROG,;t t
s,@@BUILD_TCLSH@@,$BUILD_TCLSH,;t t
s,@@MAN_FLAGS@@,$MAN_FLAGS,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@CPP@@,$CPP,;t t
s,@@EGREP@@,$EGREP,;t t
s,@@TCL_THREADS@@,$TCL_THREADS,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@AR@@,$AR,;t t
s,@@ac_ct_AR@@,$ac_ct_AR,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@TCL_LIBS@@,$TCL_LIBS,;t t
s,@@DL_LIBS@@,$DL_LIBS,;t t
s,@@DL_OBJS@@,$DL_OBJS,;t t
s,@@PLAT_OBJS@@,$PLAT_OBJS,;t t
s,@@PLAT_SRCS@@,$PLAT_SRCS,;t t
s,@@LDAIX_SRC@@,$LDAIX_SRC,;t t
s,@@CFLAGS_DEBUG@@,$CFLAGS_DEBUG,;t t
s,@@CFLAGS_OPTIMIZE@@,$CFLAGS_OPTIMIZE,;t t
s,@@CFLAGS_WARNING@@,$CFLAGS_WARNING,;t t
s,@@LDFLAGS_DEBUG@@,$LDFLAGS_DEBUG,;t t
s,@@LDFLAGS_OPTIMIZE@@,$LDFLAGS_OPTIMIZE,;t t
s,@@CC_SEARCH_FLAGS@@,$CC_SEARCH_FLAGS,;t t
s,@@LD_SEARCH_FLAGS@@,$LD_SEARCH_FLAGS,;t t
s,@@STLIB_LD@@,$STLIB_LD,;t t
s,@@SHLIB_LD@@,$SHLIB_LD,;t t
s,@@TCL_SHLIB_LD_EXTRAS@@,$TCL_SHLIB_LD_EXTRAS,;t t
s,@@TK_SHLIB_LD_EXTRAS@@,$TK_SHLIB_LD_EXTRAS,;t t
s,@@SHLIB_LD_LIBS@@,$SHLIB_LD_LIBS,;t t
s,@@SHLIB_CFLAGS@@,$SHLIB_CFLAGS,;t t
s,@@SHLIB_SUFFIX@@,$SHLIB_SUFFIX,;t t
s,@@MAKE_LIB@@,$MAKE_LIB,;t t
s,@@MAKE_STUB_LIB@@,$MAKE_STUB_LIB,;t t
s,@@INSTALL_LIB@@,$INSTALL_LIB,;t t
s,@@DLL_INSTALL_DIR@@,$DLL_INSTALL_DIR,;t t
s,@@INSTALL_STUB_LIB@@,$INSTALL_STUB_LIB,;t t
s,@@CFLAGS_DEFAULT@@,$CFLAGS_DEFAULT,;t t
s,@@LDFLAGS_DEFAULT@@,$LDFLAGS_DEFAULT,;t t
s,@@XFT_CFLAGS@@,$XFT_CFLAGS,;t t
s,@@XFT_LIBS@@,$XFT_LIBS,;t t
s,@@UNIX_FONT_OBJS@@,$UNIX_FONT_OBJS,;t t
s,@@TK_VERSION@@,$TK_VERSION,;t t
s,@@TK_MAJOR_VERSION@@,$TK_MAJOR_VERSION,;t t
s,@@TK_MINOR_VERSION@@,$TK_MINOR_VERSION,;t t
s,@@TK_PATCH_LEVEL@@,$TK_PATCH_LEVEL,;t t
s,@@TK_YEAR@@,$TK_YEAR,;t t
s,@@TK_LIB_FILE@@,$TK_LIB_FILE,;t t
s,@@TK_LIB_FLAG@@,$TK_LIB_FLAG,;t t
s,@@TK_LIB_SPEC@@,$TK_LIB_SPEC,;t t
s,@@TK_STUB_LIB_FILE@@,$TK_STUB_LIB_FILE,;t t
s,@@TK_STUB_LIB_FLAG@@,$TK_STUB_LIB_FLAG,;t t
s,@@TK_STUB_LIB_SPEC@@,$TK_STUB_LIB_SPEC,;t t
s,@@TK_STUB_LIB_PATH@@,$TK_STUB_LIB_PATH,;t t
s,@@TK_INCLUDE_SPEC@@,$TK_INCLUDE_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_SPEC@@,$TK_BUILD_STUB_LIB_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_PATH@@,$TK_BUILD_STUB_LIB_PATH,;t t
s,@@TK_SRC_DIR@@,$TK_SRC_DIR,;t t
s,@@TK_SHARED_BUILD@@,$TK_SHARED_BUILD,;t t
s,@@LD_LIBRARY_PATH_VAR@@,$LD_LIBRARY_PATH_VAR,;t t
s,@@TK_BUILD_LIB_SPEC@@,$TK_BUILD_LIB_SPEC,;t t
s,@@TCL_STUB_FLAGS@@,$TCL_STUB_FLAGS,;t t
s,@@XINCLUDES@@,$XINCLUDES,;t t
s,@@XLIBSW@@,$XLIBSW,;t t
s,@@LOCALES@@,$LOCALES,;t t
s,@@TK_WINDOWINGSYSTEM@@,$TK_WINDOWINGSYSTEM,;t t
s,@@TK_PKG_DIR@@,$TK_PKG_DIR,;t t
s,@@TK_LIBRARY@@,$TK_LIBRARY,;t t
s,@@LIB_RUNTIME_DIR@@,$LIB_RUNTIME_DIR,;t t
s,@@PRIVATE_INCLUDE_DIR@@,$PRIVATE_INCLUDE_DIR,;t t
s,@@HTML_DIR@@,$HTML_DIR,;t t
s,@@EXTRA_CC_SWITCHES@@,$EXTRA_CC_SWITCHES,;t t
s,@@EXTRA_APP_CC_SWITCHES@@,$EXTRA_APP_CC_SWITCHES,;t t
s,@@EXTRA_INSTALL@@,$EXTRA_INSTALL,;t t
s,@@EXTRA_INSTALL_BINARIES@@,$EXTRA_INSTALL_BINARIES,;t t
s,@@EXTRA_BUILD_HTML@@,$EXTRA_BUILD_HTML,;t t
s,@@EXTRA_WISH_LIBS@@,$EXTRA_WISH_LIBS,;t t
s,@@EXTRA_AQUA_OBJS@@,$EXTRA_AQUA_OBJS,;t t
s,@@EXTRA_AQUA_SRCS@@,$EXTRA_AQUA_SRCS,;t t
s,@@CFBUNDLELOCALIZATIONS@@,$CFBUNDLELOCALIZATIONS,;t t
s,@@MACOSX_SRC_DIR@@,$MACOSX_SRC_DIR,;t t
s,@@TK_RSRC_FILE@@,$TK_RSRC_FILE,;t t
s,@@WISH_RSRC_FILE@@,$WISH_RSRC_FILE,;t t
s,@@LIB_RSRC_FILE@@,$LIB_RSRC_FILE,;t t
s,@@APP_RSRC_FILE@@,$APP_RSRC_FILE,;t t
s,@@REZ@@,$REZ,;t t
s,@@REZ_FLAGS@@,$REZ_FLAGS,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
  fi
fi # test -n "$CONFIG_FILES"

_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac



  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."

  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
  sed "$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
:t
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi

done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_dest" : 'X\(//\)[^/]' \| \
	 X"$ac_dest" : 'X\(//\)$' \| \
	 X"$ac_dest" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }

  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac


  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    Tk.framework ) n=Tk &&
        f=$n.framework && v=Versions/$VERSION &&
        rm -rf $f && mkdir -p $f/$v/Resources &&
        ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
        ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
        if test $tk_aqua != no; then ln -s ../../../../$n.rsrc $f/$v/Resources; fi &&
        unset n f v
     ;;
  esac
done
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF

{ (exit 0); exit 0; }
_ACEOF
chmod +x $CONFIG_STATUS
ac_clean_files=$ac_clean_files_save


# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; }
fi


@


1.218
log
@Better building on OpenBSD.
@
text
@d4385 5
@


1.217
log
@[Patch #3116490] cross-compile support for unix
@
text
@d5558 15
a5572 8
	    CFLAGS_OPTIMIZE='-O2'
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    if test $doRpath = yes; then
d5574 1
a5574 1
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5577 15
a5591 2
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
d5631 2
a5632 1
		# OpenBSD builds and links with -pthread, never -lpthread.
a5634 1
		SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread"
@


1.216
log
@	* unix/Makefile.in: add valgrind target
	* unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*.
	Add /usr/lib64 to set of auto-search dirs. [Bug 1230554]
	(SC_PATH_X): Correct syntax error when xincludes not found.
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB DLL_INSTALL_DIR INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY LIB_RUNTIME_DIR PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d4603 3
a4605 2
    # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
d4621 1
a4621 1
    ac_cv_prog_AR="ar"
d4639 26
a4664 1
    if test "${AR}" = ""; then
d4666 10
a4675 3
	{ { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
   { (exit 1); exit 1; }; }
d4677 3
d11858 1
@


1.215
log
@        * unix/configure: regen with ac-2.59
        * unix/configure.in, unix/Makefile.in:
        * unix/tcl.m4 (AIX): remove the need for ldAIX, replace with
        -bexpall/-brtl.  Remove TK_EXP_FILE (export file) and other
        baggage that went with it.  Remove pre-4 AIX build support.
@
text
@d1436 1
d6219 1
a6219 1
	    SHLIB_LD_LIBS=""
d9979 1
a9979 1
    if test found_xincludes = "no"; then
@


1.214
log
@        * generic/tk.h:         Bump patchlevel to 8.6b1.2 to distinguish
        * library/tk.tcl:       CVS snapshots from earlier snapshots as well
        * unix/configure.in:    as the 8.6b1 and 8.6b2 releases.
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB DLL_INSTALL_DIR INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY LIB_RUNTIME_DIR PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
a4584 1
    TCL_EXPORT_FILE_SUFFIX=""
a4601 3
    TCL_NEEDS_EXP_FILE=0
    TCL_BUILD_EXP_FILE=""
    TCL_EXP_FILE=""
d4683 6
a4688 2
	    # Check to enable 64-bit flags for compiler/linker on AIX 4+
	    if test "$do64bit" = yes -a "`uname -v`" -gt 3; then
d4731 3
a4733 1
  SHLIB_LD='${CC} -shared'
d4736 2
a4737 1
		    SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d4741 1
a4741 1
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}"
a4744 113
		TCL_NEEDS_EXP_FILE=1
		TCL_EXPORT_FILE_SUFFIX='${VERSION}.exp'
		LDAIX_SRC='$(UNIX_DIR)/ldAix'

fi


	    # AIX v<=4.1 has some different flags than 4.2+
	    if test "$system" = "AIX-4.1" -o "`uname -v`" -lt 4; then

		case $LIBOBJS in
    "tclLoadAix.$ac_objext"   | \
  *" tclLoadAix.$ac_objext"   | \
    "tclLoadAix.$ac_objext "* | \
  *" tclLoadAix.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
esac

		DL_LIBS="-lld"

fi


	    # On AIX <=v4 systems, libbsd.a has to be linked in to support
	    # non-blocking file IO.  This library has to be linked in after
	    # the MATH_LIBS or it breaks the pow() function.  The way to
	    # insure proper sequencing, is to add it to the tail of MATH_LIBS.
	    # This library also supplies gettimeofday.
	    #
	    # AIX does not have a timezone field in struct tm. When the AIX
	    # bsd library is used, the timezone global and the gettimeofday
	    # methods are to be avoided for timezone deduction instead, we
	    # deduce the timezone by comparing the localtime result on a
	    # known GMT value.

	    echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gettimeofday ();
int
main ()
{
gettimeofday ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_bsd_gettimeofday=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_bsd_gettimeofday=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
if test $ac_cv_lib_bsd_gettimeofday = yes; then
  libbsd=yes
else
  libbsd=no
fi

	    if test $libbsd = yes; then

	    	MATH_LIBS="$MATH_LIBS -lbsd"

cat >>confdefs.h <<\_ACEOF
#define USE_DELTA_FOR_TZ 1
_ACEOF

d9740 1
a9740 1
  # Guess where to find include files, by looking for Xlib.h.
d9748 1
a9748 1
#include <X11/Xlib.h>
d9775 1
a9775 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9789 1
a9789 1
  LIBS="-lX11 $LIBS"
d9796 1
a9796 1
#include <X11/Xlib.h>
d9800 1
a9800 1
XrmInitialize ()
d11033 2
a11034 8
    if test "$SHARED_BUILD" = "0" || test "$TCL_NEEDS_EXP_FILE" = "0"; then
        if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
            TK_LIB_FLAG="-ltk${TK_VERSION}"
        else
            TK_LIB_FLAG="-ltk`echo ${TK_VERSION} | tr -d .`"
        fi
        TK_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d11036 1
a11036 10
        TK_BUILD_EXP_FILE="lib.exp"
        eval "TK_EXP_FILE=libtk${TCL_EXPORT_FILE_SUFFIX}"

        if test "$GCC" = "yes" ; then
            TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd | sed -e 's/ /\\\\ /g'`/${TK_BUILD_EXP_FILE} -L`pwd | sed -e 's/ /\\\\ /g'`"
            TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L${libdir}"
        else
            TK_BUILD_LIB_SPEC="-bI:`pwd | sed -e 's/ /\\\\ /g'`/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"
        fi
d11038 2
a11141 2


a11870 2
s,@@TK_BUILD_EXP_FILE@@,$TK_BUILD_EXP_FILE,;t t
s,@@TK_EXP_FILE@@,$TK_EXP_FILE,;t t
@


1.213
log
@regenerated with autoconf-2.59
[Bug 2982540] configure and install* script files
should always have LF
@
text
@d1342 1
a1342 1
TK_PATCH_LEVEL="b1.1"
d9850 1
a9850 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9858 1
a9858 1
#include <X11/Intrinsic.h>
d9885 1
a9885 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9899 1
a9899 1
  LIBS="-lXt $LIBS"
d9906 1
a9906 1
#include <X11/Intrinsic.h>
d9910 1
a9910 1
XtMalloc (0)
@


1.212
log
@Only test for -visibility=hidden with gcc
(Second remark in [Bug 2976508])
@
text
@d855 1
a855 1
  --enable-threads        build with threads (default: off)
d3608 1
a3608 1
  tcl_ok=no
d4144 2
a4145 2
	echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6
@


1.211
log
@regen
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.61 for tk 8.6.
d5 1
a5 2
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d12 1
a12 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d19 2
a20 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d22 1
a31 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d33 1
a33 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d47 1
a47 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d52 1
a52 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d58 1
a58 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d66 1
a66 1
as_me=`$as_basename -- "$0" ||
d69 2
a70 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d72 4
a75 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
a76 2
# CDPATH.
$as_unset CDPATH
d78 7
d86 11
a96 5
if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
a98 16
  if test $as_have_required = yes && 	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}
d100 16
a115 7
exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi
d117 13
a129 35
if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
d135 2
a136 1
  case $as_dir in
d138 1
a138 100
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
(as_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
d141 1
d143 12
a154 96
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        done
        export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell autoconf@@gnu.org about your system,
  echo including any error possibly output before this
  echo message
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d158 4
a161 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d163 2
a164 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a165 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d167 3
a169 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d171 2
a172 1
      s/-\n.*//
d174 1
a174 1
  chmod +x "$as_me.lineno" ||
d180 2
a181 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d187 5
a191 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d194 1
a194 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a200 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d203 4
a206 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d208 3
d216 1
a216 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d225 1
a225 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d234 8
a242 1
exec 7<&0 </dev/null 6>&1
d249 2
a254 1
ac_clean_files=
a255 1
LIBOBJS=
d262 5
d277 1
a277 1
#ifdef HAVE_SYS_TYPES_H
d280 1
a280 1
#ifdef HAVE_SYS_STAT_H
d283 1
a283 1
#ifdef STDC_HEADERS
d287 1
a287 1
# ifdef HAVE_STDLIB_H
d291 2
a292 2
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
d297 1
a297 1
#ifdef HAVE_STRINGS_H
d300 1
a300 1
#ifdef HAVE_INTTYPES_H
d302 4
d307 1
a307 4
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
d311 1
a311 143
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
TCL_VERSION
TCL_PATCH_LEVEL
TCL_BIN_DIR
TCL_SRC_DIR
TCL_LIB_FILE
TCL_LIB_FLAG
TCL_LIB_SPEC
TCL_STUB_LIB_FILE
TCL_STUB_LIB_FLAG
TCL_STUB_LIB_SPEC
TCLSH_PROG
BUILD_TCLSH
MAN_FLAGS
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
CPP
GREP
EGREP
TCL_THREADS
RANLIB
AR
LIBOBJS
TCL_LIBS
DL_LIBS
DL_OBJS
PLAT_OBJS
PLAT_SRCS
LDAIX_SRC
CFLAGS_DEBUG
CFLAGS_OPTIMIZE
CFLAGS_WARNING
LDFLAGS_DEBUG
LDFLAGS_OPTIMIZE
CC_SEARCH_FLAGS
LD_SEARCH_FLAGS
STLIB_LD
SHLIB_LD
TCL_SHLIB_LD_EXTRAS
TK_SHLIB_LD_EXTRAS
SHLIB_LD_LIBS
SHLIB_CFLAGS
SHLIB_SUFFIX
MAKE_LIB
MAKE_STUB_LIB
INSTALL_LIB
DLL_INSTALL_DIR
INSTALL_STUB_LIB
CFLAGS_DEFAULT
LDFLAGS_DEFAULT
XMKMF
XFT_CFLAGS
XFT_LIBS
UNIX_FONT_OBJS
TK_VERSION
TK_MAJOR_VERSION
TK_MINOR_VERSION
TK_PATCH_LEVEL
TK_YEAR
TK_LIB_FILE
TK_LIB_FLAG
TK_LIB_SPEC
TK_STUB_LIB_FILE
TK_STUB_LIB_FLAG
TK_STUB_LIB_SPEC
TK_STUB_LIB_PATH
TK_INCLUDE_SPEC
TK_BUILD_STUB_LIB_SPEC
TK_BUILD_STUB_LIB_PATH
TK_SRC_DIR
TK_SHARED_BUILD
LD_LIBRARY_PATH_VAR
TK_BUILD_LIB_SPEC
TK_BUILD_EXP_FILE
TK_EXP_FILE
TCL_STUB_FLAGS
XINCLUDES
XLIBSW
LOCALES
TK_WINDOWINGSYSTEM
TK_PKG_DIR
TK_LIBRARY
LIB_RUNTIME_DIR
PRIVATE_INCLUDE_DIR
HTML_DIR
EXTRA_CC_SWITCHES
EXTRA_APP_CC_SWITCHES
EXTRA_INSTALL
EXTRA_INSTALL_BINARIES
EXTRA_BUILD_HTML
EXTRA_WISH_LIBS
EXTRA_AQUA_OBJS
EXTRA_AQUA_SRCS
CFBUNDLELOCALIZATIONS
MACOSX_SRC_DIR
TK_RSRC_FILE
WISH_RSRC_FILE
LIB_RSRC_FILE
APP_RSRC_FILE
REZ
REZ_FLAGS
LTLIBOBJS'
a312 11
      ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP
XMKMF'

a338 1
# (The list follows the same order as the GNU Coding Standards.)
d342 1
a342 2
datarootdir='${prefix}/share'
datadir='${datarootdir}'
d346 1
d349 2
a350 9
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
a352 1
ac_dashdash=
d357 1
a357 1
    eval $ac_prev=\$ac_option
d362 1
a362 4
  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac
d366 1
a366 3
  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;
d388 1
a388 1
  -datadir | --datadir | --datadi | --datad)
d390 2
a391 1
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
a393 7
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

d397 1
a397 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d400 2
a401 12
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=no ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;
d406 1
a406 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d409 6
a414 2
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=\$ac_optarg ;;
a440 6
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

a464 5
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

d466 2
a467 1
  | --localstate | --localstat | --localsta | --localst | --locals)
d470 2
a471 1
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
a535 10
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

d588 1
a588 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d591 6
a596 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=\$ac_optarg ;;
d601 1
a601 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d604 2
a605 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=no ;;
d636 2
a637 1
    eval $ac_envvar=\$ac_optarg
d657 2
a658 5
# Be sure to have absolute directory names.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
d660 1
a660 1
  eval ac_val=\$$ac_var
d662 15
a676 2
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
a677 2
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; }
a703 10
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  { echo "$as_me: error: Working directory cannot be determined" >&2
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  { echo "$as_me: error: pwd does not report name of working directory" >&2
   { (exit 1); exit 1; }; }


d707 2
a708 2
  # Try the directory containing this script, then the parent directory.
  ac_confdir=`$as_dirname -- "$0" ||
d712 2
a713 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d715 5
a719 17
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
d721 1
a721 1
  if test ! -r "$srcdir/$ac_unique_file"; then
d727 3
a729 3
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
d731 4
d736 2
a737 3
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
d739 34
a772 18
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

d800 3
d820 1
d827 2
a828 10
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/tk]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]
d883 2
a884 3
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
a885 1
  XMKMF       Path to xmkmf, Makefile generator for X Window System
a890 1
ac_status=$?
d895 1
d897 1
a897 1
    test -d "$ac_dir" || continue
d900 1
a900 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d902 5
a906 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d909 1
a909 1
  .)  # We are building in place.
d911 6
a916 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d918 43
a960 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a961 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d963 12
a974 8
    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
d977 2
a978 2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
d982 1
a982 1
test -n "$ac_init_help" && exit $ac_status
d986 1
a986 1
generated by GNU Autoconf 2.61
d988 1
a988 2
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d992 1
a992 1
  exit
d994 2
a995 1
cat >config.log <<_ACEOF
d1000 1
a1000 1
generated by GNU Autoconf 2.61.  Invocation command line was
a1004 1
exec 5>>config.log
d1023 1
a1023 1
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
a1036 1
IFS=$as_save_IFS
d1058 1
d1069 1
a1069 1
    *\'*)
d1091 3
a1093 1
      ac_configure_args="$ac_configure_args '$ac_arg'"
d1104 2
a1105 2
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
d1118 1
a1118 15
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
d1120 2
a1121 2
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d1123 3
a1125 3
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
d1127 2
a1128 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d1130 2
a1131 3
    esac |
    sort
)
d1142 2
a1143 5
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      echo "$ac_var='\''$ac_val'\''"
d1149 3
a1151 3
## ------------------- ##
## File substitutions. ##
## ------------------- ##
d1156 2
a1157 5
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	echo "$ac_var='\''$ac_val'\''"
d1169 1
a1169 1
      cat confdefs.h
d1176 2
a1177 2
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d1179 1
a1179 1
' 0
d1186 3
a1188 1
rm -f -r conftest* confdefs.h
d1219 6
a1224 7
if test -n "$CONFIG_SITE"; then
  set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
  set x "$ac_default_prefix/share/config.site" \
	"$ac_default_prefix/etc/config.site"
d1226 1
a1226 3
shift
for ac_site_file
do
d1242 2
a1243 2
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
d1255 2
a1256 1
for ac_var in $ac_precious_vars; do
d1259 2
a1260 2
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
d1285 2
a1286 1
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d1303 6
a1332 5
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
d1361 1
a1361 1
# Check whether --with-tcl was given.
d1363 5
a1367 5
  withval=$with_tcl; with_tclconfig="${withval}"
fi

	{ echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6; }
d1469 2
a1470 2
	    { echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1475 2
a1476 2
    { echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6; }
d1479 2
a1480 2
        { echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6; }
d1483 2
a1484 2
        { echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1545 2
a1546 2
    { echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }
d1569 2
a1570 2
	{ echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6; }
d1574 2
a1575 2
	{ echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6; }
d1580 2
a1581 2
    { echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6; }
d1583 2
a1584 2
    { echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6; }
d1607 3
a1609 3
    { echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-symlinks was given.
d1611 2
a1612 1
  enableval=$enable_man_symlinks; test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d1615 7
a1621 8
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }

    { echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-compression was given.
d1623 2
a1624 1
  enableval=$enable_man_compression; case $enableval in
d1633 3
a1635 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1637 2
a1638 2
	{ echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6; }
d1644 2
a1645 2
	{ echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6; }
d1648 3
a1650 3
    { echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-suffix was given.
d1652 2
a1653 1
  enableval=$enable_man_suffix; case $enableval in
d1660 3
a1662 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1685 2
a1686 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1699 1
a1699 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1705 1
IFS=$as_save_IFS
d1711 2
a1712 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1714 2
a1715 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1717 1

d1723 2
a1724 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1737 1
a1737 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1743 1
IFS=$as_save_IFS
d1749 2
a1750 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1752 2
a1753 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1756 1
a1756 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1762 2
a1763 2
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d1765 2
a1766 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1779 1
a1779 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1785 1
IFS=$as_save_IFS
d1791 40
a1830 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1832 2
a1833 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1836 4
a1840 1
  fi
d1845 2
a1846 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1860 1
a1860 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1870 1
IFS=$as_save_IFS
d1888 2
a1889 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1891 2
a1892 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1894 1

d1898 1
a1898 1
  for ac_prog in cl.exe
d1902 2
a1903 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1916 1
a1916 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1922 1
IFS=$as_save_IFS
d1928 2
a1929 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1931 2
a1932 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1934 1

d1940 1
a1940 1
  for ac_prog in cl.exe
d1944 2
a1945 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1958 1
a1958 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1964 1
IFS=$as_save_IFS
d1970 2
a1971 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1973 2
a1974 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1976 1

d1980 1
a1980 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1993 2
a1994 1
echo "$as_me:$LINENO: checking for C compiler version" >&5
d1996 2
a1997 7
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler --version >&5") 2>&5
d2001 2
a2002 7
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -v >&5") 2>&5
d2006 2
a2007 7
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -V >&5") 2>&5
d2032 2
a2033 2
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
d2035 2
a2036 26
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort.  b.out is created by i960 compilers.
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions.  Remove them first so a
# subsequent execution test works.
ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { (ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link_default") 2>&5
d2040 9
a2048 6
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
d2052 4
a2055 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
d2062 5
a2066 9
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an `-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
a2071 2
test "$ac_cv_exeext" = no && ac_cv_exeext=

a2072 6
  ac_file=''
fi

{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
if test -z "$ac_file"; then
d2084 2
d2087 1
a2087 1
# Check that the compiler produces executables we can run.  If not, either
d2089 2
a2090 2
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
d2095 2
a2096 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d2115 2
a2116 2
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d2120 1
a2120 1
# Check that the compiler produces executables we can run.  If not, either
d2122 9
a2130 14
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }

{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d2141 1
a2141 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d2143 1
d2157 2
a2158 2
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
d2163 2
a2164 2
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
d2184 2
a2185 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>&5
d2189 1
a2189 2
  for ac_file in conftest.o conftest.obj conftest.*; do
  test -f "$ac_file" || continue;
d2191 1
a2191 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
d2209 2
a2210 2
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
d2213 2
a2214 2
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
d2237 2
a2238 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2244 14
a2257 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2263 1
a2263 1
	ac_compiler_gnu=no
d2265 1
a2265 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2269 2
a2270 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
d2274 3
a2276 2
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
d2280 1
a2280 5
  ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat >conftest.$ac_ext <<_ACEOF
d2296 2
a2297 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2303 5
a2307 33
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	CFLAGS=""
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2308 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2310 4
a2313 34
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2314 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2316 1
a2316 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2322 1
a2322 7

fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2324 1
a2324 3

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag
d2326 2
a2327 2
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
d2343 3
a2345 3
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
d2348 1
a2348 1
  ac_cv_prog_cc_c89=no
d2382 1
a2382 1
   as 'x'.  The following induces an error, until -std is added to get
d2385 1
a2385 1
   that's true only with -std.  */
a2387 5
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   inside strings and character constants.  */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];

d2402 8
a2409 2
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d2413 2
a2414 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2420 16
a2435 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_c89=$ac_arg
a2439 1

d2441 1
a2441 3

rm -f core conftest.err conftest.$ac_objext
  test "x$ac_cv_prog_cc_c89" != "xno" && break
d2443 1
a2443 1
rm -f conftest.$ac_ext
d2447 5
a2451 8
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c89" in
  x)
    { echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
  xno)
    { echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
d2453 3
a2455 3
    CC="$CC $ac_cv_prog_cc_c89"
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
d2458 39
a2496 15

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
d2503 9
a2511 6
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

d2514 2
a2515 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2521 15
a2535 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_c_inline=$ac_kw
d2540 1
a2540 1

d2542 112
d2655 2
a2656 2
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  test "$ac_cv_c_inline" != no && break
d2660 2
a2661 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
d2687 2
a2688 2
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
d2722 2
a2723 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2729 11
a2739 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2747 1

d2750 1
a2750 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2760 2
a2761 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2767 11
a2777 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2787 1

d2805 2
a2806 2
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
d2829 2
a2830 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2836 11
a2846 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2854 1

d2857 1
a2857 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2867 2
a2868 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2874 11
a2884 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2894 1

d2917 3
a2919 91
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in grep ggrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    # Check for GNU ac_path_GREP and select it if it is found.
  # Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'GREP' >> "conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_GREP="$ac_path_GREP"
      ac_path_GREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_GREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_GREP=$GREP
fi


fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 GREP="$ac_cv_path_GREP"


{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   then ac_cv_path_EGREP="$GREP -E"
   else
     # Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
d2922 3
a2924 32
  ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in egrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    # Check for GNU ac_path_EGREP and select it if it is found.
  # Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'EGREP' >> "conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP="$ac_path_EGREP"
      ac_path_EGREP_max=$ac_count
a2925 30
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_EGREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_EGREP=$EGREP
fi


   fi
d2927 3
a2929 3
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 EGREP="$ac_cv_path_EGREP"
d2932 2
a2933 2
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
d2957 2
a2958 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2964 14
a2977 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2983 1
a2983 1
	ac_cv_header_stdc=no
d2985 1
a2985 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3040 1
#include <stdlib.h>
d3060 2
a3061 2
      return 2;
  return 0;
d3065 2
a3066 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d3070 2
a3071 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d3084 1
a3084 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a3085 2


d3088 2
a3089 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
d3112 3
a3114 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d3128 2
a3129 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3135 14
a3148 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3154 1
a3154 1
	eval "$as_ac_Header=no"
d3156 1
a3156 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3158 2
a3159 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d3171 2
a3172 2
  { echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3176 2
a3177 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3180 2
a3181 2
{ echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; }
d3192 2
a3193 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3199 14
a3212 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3218 1
a3218 1
	ac_header_compiler=no
d3220 3
a3222 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3225 2
a3226 2
{ echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; }
d3235 2
a3236 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3242 11
a3252 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3259 1

d3261 2
a3262 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3286 8
a3293 1

d3296 2
a3297 2
{ echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3303 2
a3304 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3329 2
a3330 2
  { echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3334 2
a3335 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3338 2
a3339 2
{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; }
d3350 2
a3351 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3357 14
a3370 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3376 1
a3376 1
	ac_header_compiler=no
d3378 3
a3380 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3383 2
a3384 2
{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; }
d3393 2
a3394 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3400 11
a3410 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3417 1

d3419 2
a3420 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3444 8
a3451 1

d3454 2
a3455 2
{ echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3461 2
a3462 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3537 2
a3538 2
    { echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6; }
d3560 2
a3561 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3567 14
a3580 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3586 1
a3586 1
	tcl_cv_cc_pipe=no
d3588 1
a3588 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3591 2
a3592 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6; }
d3603 1
a3603 1
    # Check whether --enable-threads was given.
d3605 2
a3606 1
  enableval=$enable_threads; tcl_ok=$enableval
d3609 1
a3609 2
fi

d3641 2
a3642 2
	{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3655 1
a3655 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3659 2
d3665 1
a3665 1
return pthread_mutex_init ();
d3671 2
a3672 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3678 14
a3691 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3697 1
a3697 1
	ac_cv_lib_pthread_pthread_mutex_init=no
d3699 1
a3699 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3703 2
a3704 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
d3717 2
a3718 2
	    { echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3731 1
a3731 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3735 2
d3741 1
a3741 1
return __pthread_mutex_init ();
d3747 2
a3748 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3754 14
a3767 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3773 1
a3773 1
	ac_cv_lib_pthread___pthread_mutex_init=no
d3775 1
a3775 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3779 2
a3780 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6; }
d3793 2
a3794 2
	    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6; }
d3807 1
a3807 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3811 2
d3817 1
a3817 1
return pthread_mutex_init ();
d3823 2
a3824 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3830 14
a3843 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3849 1
a3849 1
	ac_cv_lib_pthreads_pthread_mutex_init=no
d3851 1
a3851 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3855 2
a3856 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6; }
d3867 2
a3868 2
		{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6; }
d3881 1
a3881 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3885 2
d3891 1
a3891 1
return pthread_mutex_init ();
d3897 2
a3898 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3904 14
a3917 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3923 1
a3923 1
	ac_cv_lib_c_pthread_mutex_init=no
d3925 1
a3925 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3929 2
a3930 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6; }
d3938 2
a3939 2
		    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6; }
d3952 1
a3952 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3956 2
d3962 1
a3962 1
return pthread_mutex_init ();
d3968 2
a3969 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3975 14
a3988 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3994 1
a3994 1
	ac_cv_lib_c_r_pthread_mutex_init=no
d3996 1
a3996 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4000 2
a4001 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6; }
d4026 3
a4028 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d4054 1
a4054 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4057 1
d4059 2
d4065 1
a4065 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d4067 5
d4077 1
a4077 1
return $ac_func ();
d4083 2
a4084 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4090 14
a4103 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4109 1
a4109 1
	eval "$as_ac_var=no"
d4111 1
a4111 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4114 2
a4115 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d4128 2
a4129 2
    { echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6; }
d4137 2
a4138 2
	    { echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6; }
d4140 2
a4141 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d4144 2
a4145 2
	{ echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6; }
d4155 3
a4157 3
    { echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }
    # Check whether --enable-shared was given.
d4159 2
a4160 1
  enableval=$enable_shared; tcl_ok=$enableval
d4163 1
a4163 2
fi

d4173 2
a4174 2
	{ echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6; }
d4177 2
a4178 2
	{ echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6; }
d4197 2
a4198 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4211 1
a4211 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4217 1
IFS=$as_save_IFS
d4223 2
a4224 2
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
d4226 2
a4227 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4229 1

d4235 2
a4236 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4249 1
a4249 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4255 1
IFS=$as_save_IFS
d4257 1
d4262 2
a4263 2
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
d4265 2
a4266 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d4269 1
a4269 15
  if test "x$ac_ct_RANLIB" = x; then
    RANLIB=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    RANLIB=$ac_ct_RANLIB
  fi
d4278 3
a4280 3
    { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit was given.
d4282 2
a4283 1
  enableval=$enable_64bit; do64bit=$enableval
d4286 3
a4288 4
fi

    { echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6; }
d4292 3
a4294 3
    { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit-vis was given.
d4296 2
a4297 1
  enableval=$enable_64bit_vis; do64bitVIS=$enableval
d4300 3
a4302 4
fi

    { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6; }
d4312 2
a4313 2
    { echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6; }
d4318 4
a4321 2
	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fvisibility=hidden -Werror"
	cat >conftest.$ac_ext <<_ACEOF
d4337 2
a4338 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d4344 14
a4357 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d4363 9
a4371 1
	tcl_cv_cc_visibility_hidden=no
d4374 1
a4374 2
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
	CFLAGS=$hold_cflags
d4376 2
a4377 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6; }
d4403 2
a4404 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4410 14
a4423 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4429 1
a4429 1
	tcl_cv_cc_visibility_hidden=no
d4431 1
a4431 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4450 3
a4452 3
    { echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6; }
    # Check whether --enable-rpath was given.
d4454 2
a4455 1
  enableval=$enable_rpath; doRpath=$enableval
d4458 3
a4460 4
fi

    { echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6; }
d4466 2
a4467 2
    { echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6; }
d4494 2
a4495 2
{ echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
d4502 2
a4503 2
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
d4516 1
a4516 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4520 2
d4526 1
a4526 1
return dlopen ();
d4532 2
a4533 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4539 14
a4552 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4558 1
a4558 1
	ac_cv_lib_dl_dlopen=no
d4560 1
a4560 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4564 2
a4565 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
d4608 2
a4609 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4622 1
a4622 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4628 1
IFS=$as_save_IFS
d4634 2
a4635 2
  { echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6; }
d4637 2
a4638 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4640 1

d4672 2
a4673 2
		{ echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
d4752 4
a4755 1
		case " $LIBOBJS " in
d4757 1
a4757 2
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
 ;;
d4777 2
a4778 2
	    { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
d4791 1
a4791 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4795 2
d4801 1
a4801 1
return gettimeofday ();
d4807 2
a4808 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4814 14
a4827 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4833 1
a4833 1
	ac_cv_lib_bsd_gettimeofday=no
d4835 1
a4835 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4839 2
a4840 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
d4872 2
a4873 2
	    { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
d4886 1
a4886 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4890 2
d4896 1
a4896 1
return inet_ntoa ();
d4902 2
a4903 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4909 14
a4922 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4928 1
a4928 1
	ac_cv_lib_bind_inet_ntoa=no
d4930 1
a4930 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4934 2
a4935 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
d4990 2
a4991 2
	    { echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6; }
d5004 1
a5004 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5008 2
d5014 1
a5014 1
return inet_ntoa ();
d5020 2
a5021 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5027 14
a5040 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5046 1
a5046 1
	ac_cv_lib_network_inet_ntoa=no
d5048 1
a5048 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5052 2
a5053 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6; }
d5083 2
a5084 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d5097 1
a5097 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5101 2
d5107 1
a5107 1
return shl_load ();
d5113 2
a5114 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5120 14
a5133 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5139 1
a5139 1
	ac_cv_lib_dld_shl_load=no
d5141 1
a5141 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5145 2
a5146 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5220 2
a5221 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d5234 1
a5234 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5238 2
d5244 1
a5244 1
return shl_load ();
d5250 2
a5251 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5257 14
a5270 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5276 1
a5276 1
	ac_cv_lib_dld_shl_load=no
d5278 1
a5278 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5282 2
a5283 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5311 4
a5314 1
	    case " $LIBOBJS " in
d5316 1
a5316 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5333 4
a5336 1
	    case " $LIBOBJS " in
d5338 1
a5338 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5375 4
a5378 1
	    case " $LIBOBJS " in
d5380 1
a5380 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5439 2
a5440 2
		{ echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
d5463 2
a5464 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5470 14
a5483 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5489 1
a5489 1
	tcl_cv_cc_m64=no
d5491 1
a5491 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5495 2
a5496 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
d5585 2
a5586 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5612 2
a5613 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5645 2
a5646 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5672 2
a5673 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5775 2
a5776 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
d5799 2
a5800 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5806 14
a5819 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5825 1
a5825 1
	tcl_cv_cc_arch_ppc64=no
d5827 1
a5827 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5831 2
a5832 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
d5841 2
a5842 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
d5865 2
a5866 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5872 14
a5885 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5891 1
a5891 1
	tcl_cv_cc_arch_x86_64=no
d5893 1
a5893 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5897 2
a5898 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
d5924 2
a5925 2
	    { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
d5948 2
a5949 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5955 14
a5968 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5974 1
a5974 1
	tcl_cv_ld_single_module=no
d5976 1
a5976 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5980 2
a5981 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
d6000 2
a6001 2
	    { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
d6024 2
a6025 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6031 14
a6044 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6050 1
a6050 1
	tcl_cv_ld_search_paths_first=no
d6052 1
a6052 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6056 2
a6057 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
d6084 3
a6086 3
	    { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
	    # Check whether --enable-corefoundation was given.
d6088 2
a6089 1
  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
d6092 3
a6094 4
fi

	    { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6; }
d6097 2
a6098 2
		{ echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
d6132 2
a6133 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6139 14
a6152 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6158 1
a6158 1
	tcl_cv_lib_corefoundation=no
d6160 1
a6160 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6171 2
a6172 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
d6188 2
a6189 2
		    { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
d6213 2
a6214 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6220 14
a6233 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6239 1
a6239 1
	tcl_cv_lib_corefoundation_64=no
d6241 1
a6241 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6247 2
a6248 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
d6584 2
a6585 2
		{ echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6; }
d6588 2
a6589 2
			{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6592 2
a6593 2
  { echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6597 2
a6598 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6601 2
a6602 2
{ echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6; }
d6613 2
a6614 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d6620 14
a6633 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d6639 1
a6639 1
	ac_header_compiler=no
d6641 3
a6643 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d6646 2
a6647 2
{ echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6; }
d6656 2
a6657 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d6663 11
a6673 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a6680 1

d6682 2
a6683 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d6707 8
a6714 1

d6717 2
a6718 2
{ echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6724 2
a6725 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6734 2
a6735 2
			{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6810 2
a6811 2
	    { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
d6834 2
a6835 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6841 14
a6854 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6860 1
a6860 1
	tcl_cv_ld_Bexport=no
d6862 1
a6862 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6866 2
a6867 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
d6902 1
a6902 1
    # Check whether --enable-load was given.
d6904 2
a6905 1
  enableval=$enable_load; tcl_ok=$enableval
d6908 1
a6908 2
fi

d7067 3
a7069 3
    { echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }
    # Check whether --enable-symbols was given.
d7071 2
a7072 1
  enableval=$enable_symbols; tcl_ok=$enableval
d7075 1
a7075 2
fi

d7081 2
a7082 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7092 2
a7093 2
	    { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6; }
d7117 2
a7118 2
	    { echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6; }
d7120 2
a7121 2
	    { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
d7131 2
a7132 2
    { echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6; }
d7154 2
a7155 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7161 14
a7174 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7180 1
a7180 1
	cat >conftest.$ac_ext <<_ACEOF
d7197 2
a7198 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7204 14
a7217 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7223 1
a7223 1
	tcl_cv_flag__isoc99_source=no
d7225 1
a7225 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7227 1
a7227 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7259 2
a7260 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7266 14
a7279 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7285 1
a7285 1
	cat >conftest.$ac_ext <<_ACEOF
d7302 2
a7303 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7309 14
a7322 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7328 1
a7328 1
	tcl_cv_flag__largefile64_source=no
d7330 1
a7330 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7332 1
a7332 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7364 2
a7365 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7371 14
a7384 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7390 1
a7390 1
	cat >conftest.$ac_ext <<_ACEOF
d7407 2
a7408 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7414 14
a7427 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7433 1
a7433 1
	tcl_cv_flag__largefile_source64=no
d7435 1
a7435 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7437 1
a7437 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7450 2
a7451 2
	{ echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6; }
d7453 2
a7454 2
	{ echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6; }
d7459 2
a7460 2
    { echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6; }
d7483 2
a7484 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7490 14
a7503 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7509 1
a7509 1
	tcl_type_64bit="long long"
d7511 1
a7511 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7533 2
a7534 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7540 14
a7553 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a7558 1

d7560 1
a7560 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7569 2
a7570 2
	{ echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6; }
d7577 2
a7578 2
	{ echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6; }
d7581 2
a7582 2
	{ echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6; }
d7604 2
a7605 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7611 14
a7624 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7630 1
a7630 1
	tcl_cv_struct_dirent64=no
d7632 1
a7632 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7634 2
a7635 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6; }
d7644 2
a7645 2
	{ echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6; }
d7667 2
a7668 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7674 14
a7687 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7693 1
a7693 1
	tcl_cv_struct_stat64=no
d7695 1
a7695 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7697 2
a7698 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6; }
d7712 3
a7714 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d7740 1
a7740 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d7743 1
d7745 2
d7751 1
a7751 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d7753 5
d7763 1
a7763 1
return $ac_func ();
d7769 2
a7770 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d7776 14
a7789 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d7795 1
a7795 1
	eval "$as_ac_var=no"
d7797 1
a7797 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d7800 2
a7801 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d7810 2
a7811 2
	{ echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
d7833 2
a7834 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7840 14
a7853 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7859 1
a7859 1
	tcl_cv_type_off64_t=no
d7861 1
a7861 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7872 2
a7873 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d7875 2
a7876 2
	    { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7885 2
a7886 2
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
d7903 1
a7903 2
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
d7912 2
a7913 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7919 14
a7932 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7955 2
a7956 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7962 14
a7975 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7981 1
a7981 1
	ac_cv_c_bigendian=no
d7983 1
a7983 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7988 1
a7988 1
	# It does not; compile a test program.
d7998 2
a7999 2
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d8001 2
a8002 2
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d8013 2
a8014 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8020 14
a8033 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a8048 1

d8050 1
a8050 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a8057 1
$ac_includes_default
a8060 1

d8064 2
a8065 2
    long int l;
    char c[sizeof (long int)];
d8068 1
a8068 4
  return u.c[sizeof (long int) - 1] == 1;

  ;
  return 0;
d8072 2
a8073 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d8077 2
a8078 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d8091 1
a8091 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a8092 2


d8094 1
a8094 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8096 2
a8097 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
d8146 2
a8147 2
{ echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6; }
d8168 2
a8169 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8175 14
a8188 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8194 1
a8194 1
	tcl_cv_type_fd_set=no
d8196 1
a8196 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8198 2
a8199 2
{ echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6; }
d8202 2
a8203 2
    { echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6; }
d8226 2
a8227 2
{ echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6; }
d8253 4
a8256 4
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8259 2
a8260 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8263 2
a8264 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d8275 2
a8276 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8282 14
a8295 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8301 1
a8301 1
	ac_header_compiler=no
d8303 3
a8305 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d8308 2
a8309 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d8318 2
a8319 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d8325 11
a8335 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a8342 1

d8344 2
a8345 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d8369 8
a8376 1

d8379 3
a8381 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8386 2
a8387 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8399 2
a8400 2
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
d8424 2
a8425 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8431 14
a8444 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8450 1
a8450 1
	ac_cv_header_time=no
d8452 1
a8452 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8454 2
a8455 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6; }
d8473 2
a8474 2
    { echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6; }
d8501 1
a8501 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d8504 1
d8506 2
d8512 1
a8512 1
#if defined __stub_strtod || defined __stub___strtod
d8514 5
d8524 1
a8524 1
return strtod ();
d8530 2
a8531 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d8537 14
a8550 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d8556 1
a8556 1
	ac_cv_func_strtod=no
d8558 1
a8558 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d8561 2
a8562 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
d8570 2
a8571 2
	{ echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6; }
d8607 2
a8608 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d8612 2
a8613 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d8626 1
a8626 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a8627 2


d8629 2
a8630 2
{ echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6; }
d8632 4
a8635 1
	    case " $LIBOBJS " in
d8637 1
a8637 2
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext"
 ;;
d8655 2
a8656 2
{ echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
a8666 1
typedef mode_t ac__type_new_;
d8670 1
a8670 1
if ((ac__type_new_ *) 0)
d8672 1
a8672 1
if (sizeof (ac__type_new_))
d8679 2
a8680 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8686 14
a8699 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8705 1
a8705 1
	ac_cv_type_mode_t=no
d8707 1
a8707 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8709 2
a8710 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
d8721 2
a8722 2
{ echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
a8732 1
typedef pid_t ac__type_new_;
d8736 1
a8736 1
if ((ac__type_new_ *) 0)
d8738 1
a8738 1
if (sizeof (ac__type_new_))
d8745 2
a8746 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8752 14
a8765 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8771 1
a8771 1
	ac_cv_type_pid_t=no
d8773 1
a8773 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8775 2
a8776 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
d8787 2
a8788 2
{ echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
a8798 1
typedef size_t ac__type_new_;
d8802 1
a8802 1
if ((ac__type_new_ *) 0)
d8804 1
a8804 1
if (sizeof (ac__type_new_))
d8811 2
a8812 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8818 14
a8831 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8837 1
a8837 1
	ac_cv_type_size_t=no
d8839 1
a8839 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8841 2
a8842 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
d8848 1
a8848 1
#define size_t unsigned int
d8853 2
a8854 2
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
d8876 2
a8877 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
d8892 2
a8893 2
{ echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
a8903 1
typedef intptr_t ac__type_new_;
d8907 1
a8907 1
if ((ac__type_new_ *) 0)
d8909 1
a8909 1
if (sizeof (ac__type_new_))
d8916 2
a8917 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8923 14
a8936 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8942 1
a8942 1
	ac_cv_type_intptr_t=no
d8944 1
a8944 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8946 2
a8947 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
d8957 2
a8958 2
    { echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6; }
d8983 2
a8984 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8990 14
a9003 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9009 1
a9009 1
	tcl_ok=no
d9011 1
a9011 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9015 2
a9016 2
{ echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6; }
d9027 2
a9028 2
{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
a9038 1
typedef uintptr_t ac__type_new_;
d9042 1
a9042 1
if ((ac__type_new_ *) 0)
d9044 1
a9044 1
if (sizeof (ac__type_new_))
d9051 2
a9052 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9058 14
a9071 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9077 1
a9077 1
	ac_cv_type_uintptr_t=no
d9079 1
a9079 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9081 2
a9082 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
d9092 2
a9093 2
    { echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6; }
d9119 2
a9120 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9126 14
a9139 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9145 1
a9145 1
	tcl_ok=no
d9147 1
a9147 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9151 2
a9152 2
{ echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6; }
d9168 2
a9169 2
{ echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6; }
d9190 2
a9191 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9197 14
a9210 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9216 1
a9216 1
	tcl_cv_pwd_pw_gecos=no
d9218 1
a9218 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9220 2
a9221 2
{ echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6; }
d9236 3
a9238 3
    { echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6; }
    # Check whether --enable-aqua was given.
d9240 2
a9241 1
  enableval=$enable_aqua; tk_aqua=$enableval
d9244 1
a9244 2
fi

d9278 2
a9279 2
	{ echo "$as_me:$LINENO: result: yes (deprecated legacy Carbon implementation)" >&5
echo "${ECHO_T}yes (deprecated legacy Carbon implementation)" >&6; }
d9281 2
a9282 2
	{ echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6; }
d9286 2
a9287 2
	    { echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6; }
d9313 2
a9314 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9320 14
a9333 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9339 1
a9339 1
	tcl_cv_lib_x11_64=no
d9341 1
a9341 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9347 2
a9348 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6; }
d9362 2
a9363 2
	{ echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6; }
d9386 2
a9387 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9393 14
a9406 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9412 1
a9412 1
	tcl_cv_ld_weak_l=no
d9414 1
a9414 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9418 2
a9419 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6; }
d9425 4
a9428 4
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d9431 2
a9432 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d9435 2
a9436 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d9447 2
a9448 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9454 14
a9467 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9473 1
a9473 1
	ac_header_compiler=no
d9475 3
a9477 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d9480 2
a9481 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d9490 2
a9491 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9497 11
a9507 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a9514 1

d9516 2
a9517 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d9541 8
a9548 1

d9551 3
a9553 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d9558 2
a9559 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d9572 2
a9573 2
	{ echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6; }
d9604 2
a9605 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9611 14
a9624 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9630 1
a9630 1
	tcl_cv_cc_weak_import=no
d9632 1
a9632 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9636 2
a9637 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6; }
d9645 2
a9646 2
	{ echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6; }
d9678 2
a9679 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9685 14
a9698 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9704 1
a9704 1
	tcl_cv_cc_darwin_c_source=no
d9706 1
a9706 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9709 2
a9710 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6; }
d9755 2
a9756 2
    { echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
d9759 1
a9759 1
# Check whether --with-x was given.
d9761 1
a9761 2
  withval=$with_x;
fi
d9763 1
d9769 5
a9773 5
  case $x_includes,$x_libraries in #(
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
   { (exit 1); exit 1; }; };; #(
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
d9778 1
a9778 1
rm -f -r conftest.dir
d9781 1
d9783 2
a9784 6
incroot:
	@@echo incroot='${INCROOT}'
usrlibdir:
	@@echo usrlibdir='${USRLIBDIR}'
libdir:
	@@echo libdir='${LIBDIR}'
d9786 1
a9786 1
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
d9788 1
a9788 3
    for ac_var in incroot usrlibdir libdir; do
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
    done
d9791 2
a9792 2
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
d9800 1
a9800 1
	/usr/include) ac_x_includes= ;;
d9809 1
a9809 1
  rm -f -r conftest.dir
d9850 1
a9850 1
  # Guess where to find include files, by looking for Xlib.h.
d9858 1
a9858 1
#include <X11/Xlib.h>
d9860 2
a9861 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9867 11
a9877 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
d9885 1
a9885 1
  if test -r "$ac_dir/X11/Xlib.h"; then
a9890 1

d9899 1
a9899 1
  LIBS="-lX11 $LIBS"
d9906 1
a9906 1
#include <X11/Xlib.h>
d9910 1
a9910 1
XrmInitialize ()
d9916 2
a9917 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9923 14
a9936 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9944 1
a9944 1
	LIBS=$ac_save_LIBS
d9949 1
a9949 1
    if test -r "$ac_dir/libX11.$ac_extension"; then
d9956 1
a9956 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9960 8
a9967 10
case $ac_x_includes,$ac_x_libraries in #(
  no,* | *,no | *\'*)
    # Didn't find X, or a directory has "'" in its name.
    ac_cv_have_x="have_x=no";; #(
  *)
    # Record where we found X for the cache.
    ac_cv_have_x="have_x=yes\
	ac_x_includes='$ac_x_includes'\
	ac_x_libraries='$ac_x_libraries'"
esac
d9969 2
a9970 3
;; #(
    *) have_x=yes;;
  esac
d9975 2
a9976 2
  { echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6; }
d9983 4
a9986 5
  ac_cv_have_x="have_x=yes\
	ac_x_includes='$x_includes'\
	ac_x_libraries='$x_libraries'"
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
d10000 2
a10001 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d10007 11
a10017 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a10024 1

d10033 2
a10034 2
	{ echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6; }
d10044 2
a10045 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d10051 11
a10061 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a10068 1

d10074 2
a10075 2
		    { echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d10089 2
a10090 2
	{ echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6; }
d10094 2
a10095 2
	{ echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6; }
d10100 2
a10101 2
		{ echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d10115 2
a10116 2
	{ echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6; }
d10129 1
a10129 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10133 2
d10139 1
a10139 1
return XCreateWindow ();
d10145 2
a10146 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10152 14
a10165 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10171 1
a10171 1
	ac_cv_lib_Xwindow_XCreateWindow=no
d10173 1
a10173 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10177 2
a10178 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6; }
d10185 2
a10186 2
	{ echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6; }
d10235 2
a10236 2
    { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
d10253 1
a10253 1
return main ();
d10259 2
a10260 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10266 14
a10279 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10285 1
a10285 1
	ac_cv_lib_Xbsd_main=no
d10287 1
a10287 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10291 2
a10292 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
d10311 2
a10312 2
    { echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6; }
d10337 2
a10338 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10344 14
a10357 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10359 2
a10360 2
	{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d10368 2
a10369 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d10371 1
a10371 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10390 3
a10392 3
    { echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6; }
    # Check whether --enable-xss was given.
d10394 2
a10395 1
  enableval=$enable_xss; enable_xss=$enableval
d10398 1
a10398 2
fi

d10400 2
a10401 2
	{ echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6; }
d10403 4
a10406 4
	{ echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6; }
	{ echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
d10421 2
a10422 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10428 14
a10441 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10447 1
a10447 1
	ac_cv_header_X11_extensions_scrnsaver_h=no
d10449 1
a10449 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10451 2
a10452 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
d10460 2
a10461 2
	{ echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6; }
d10488 1
a10488 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10491 1
d10493 2
d10499 1
a10499 1
#if defined __stub_XScreenSaverQueryInfo || defined __stub___XScreenSaverQueryInfo
d10501 5
d10511 1
a10511 1
return XScreenSaverQueryInfo ();
d10517 2
a10518 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10524 14
a10537 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10543 1
a10543 1
	ac_cv_func_XScreenSaverQueryInfo=no
d10545 1
a10545 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10548 2
a10549 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6; }
d10554 2
a10555 2
	    { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6; }
d10568 1
a10568 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10572 2
d10578 1
a10578 1
return XScreenSaverQueryInfo ();
d10584 2
a10585 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10591 14
a10604 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10610 1
a10610 1
	ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10612 1
a10612 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10616 2
a10617 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6; }
d10625 2
a10626 2
		{ echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6; }
d10639 1
a10639 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10643 2
d10649 1
a10649 1
return XScreenSaverQueryInfo ();
d10655 2
a10656 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10662 14
a10675 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10681 1
a10681 1
	ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d10683 1
a10683 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10687 2
a10688 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6; }
d10725 3
a10727 3
    { echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6; }
    # Check whether --enable-xft was given.
d10729 2
a10730 1
  enableval=$enable_xft; enable_xft=$enableval
d10733 1
a10733 2
fi

d10737 2
a10738 2
	{ echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6; }
d10748 2
a10749 2
	{ echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6; }
d10755 2
a10756 2
	    { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
d10771 2
a10772 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10778 14
a10791 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10797 1
a10797 1
	ac_cv_header_X11_Xft_Xft_h=no
d10799 1
a10799 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10801 2
a10802 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
d10821 2
a10822 2
{ echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6; }
d10835 1
a10835 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10839 2
d10845 1
a10845 1
return FT_New_Face ();
d10851 2
a10852 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10858 14
a10871 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10877 1
a10877 1
	ac_cv_lib_Xft_FT_New_Face=no
d10879 1
a10879 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10883 2
a10884 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6; }
d10934 2
a10935 2
{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
d10957 2
a10958 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10964 14
a10977 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10983 1
a10983 1
	ac_cv_c_char_unsigned=yes
d10985 1
a10985 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10987 2
a10988 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
d11031 3
a11033 3
	{ echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6; }
	# Check whether --enable-framework was given.
d11035 2
a11036 1
  enableval=$enable_framework; enable_framework=$enableval
d11039 1
a11039 2
fi

d11053 2
a11054 2
	    { echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6; }
d11058 2
a11059 2
		{ echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6; }
d11061 2
a11062 2
		{ echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6; }
d11077 1
a11077 1
    ac_config_files="$ac_config_files Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in"
d11091 1
a11091 1
    ac_config_commands="$ac_config_commands Tk.framework"
d11267 1
a11267 1
ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"
d11287 1
a11287 1
# So, we kill variables containing newlines.
d11290 1
a11290 16
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done

d11292 2
a11293 2
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d11299 1
a11299 1
      ;; #(
d11302 2
a11303 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d11305 2
a11306 3
    esac |
    sort
) |
a11307 1
     /^ac_cv_env_/b end
d11309 1
a11309 1
     :clear
d11312 5
a11316 7
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
d11319 1
a11319 2
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
d11328 15
d11348 1
a11348 1
# take arguments), then branch to the quote section.  Otherwise,
d11350 1
a11350 1
ac_script='
d11352 2
a11353 2
:clear
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
d11355 1
a11355 1
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
d11357 17
a11373 16
b any
:quote
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
s/\[/\\&/g
s/\]/\\&/g
s/\$/$$/g
H
:any
${
	g
	s/^\n//
	s/\n/ /g
	p
}
'
DEFS=`sed -n "$ac_script" confdefs.h`
d11380 5
a11384 6
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
d11416 1
a11416 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d11423 2
a11424 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d11426 1
a11435 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d11437 1
a11437 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d11451 1
a11451 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d11456 1
a11456 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d11462 1
a11462 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d11470 1
a11470 1
as_me=`$as_basename -- "$0" ||
d11473 2
a11474 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d11476 5
a11480 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
d11482 20
a11501 2
# CDPATH.
$as_unset CDPATH
d11504 16
d11521 23
d11546 1
d11548 12
a11559 1
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d11563 4
a11566 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d11568 2
a11569 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a11570 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d11572 3
a11574 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d11576 2
a11577 1
      s/-\n.*//
d11579 3
a11581 2
  chmod +x "$as_me.lineno" ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
d11586 2
a11587 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d11593 5
a11597 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d11600 1
a11600 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a11606 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d11609 4
a11612 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d11614 3
d11622 1
a11622 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d11631 1
a11631 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d11640 9
d11651 1
a11651 1
# Save the log message, to keep $[0] and so on meaningful, and to
d11653 10
a11662 2
# values after options handling.
ac_log="
d11664 1
a11664 1
generated by GNU Autoconf 2.61.  Invocation command line was
d11672 3
a11674 3
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

a11676 1
cat >>$CONFIG_STATUS <<_ACEOF
d11678 11
a11688 2
config_files="$ac_config_files"
config_commands="$ac_config_commands"
d11690 3
a11692 1
_ACEOF
d11695 1
d11703 1
a11703 1
  -V, --version    print version number and configuration settings, then exit
d11717 1
a11718 1
_ACEOF
d11722 2
a11723 2
configured by $0, generated by GNU Autoconf 2.61,
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
d11725 1
a11725 1
Copyright (C) 2006 Free Software Foundation, Inc.
d11728 1
a11728 3

ac_pwd='$ac_pwd'
srcdir='$srcdir'
d11739 2
a11740 2
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
d11743 1
a11743 1
  *)
d11748 4
d11756 2
d11760 12
a11771 3
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
d11777 4
a11780 2
  --he | --h |  --help | --hel | -h )
    echo "$ac_cs_usage"; exit ;;
d11786 4
a11789 2
  -*) { echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
d11792 1
a11792 2
  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;
d11808 2
a11809 4
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  CONFIG_SHELL=$SHELL
  export CONFIG_SHELL
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
a11812 9
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  echo "$ac_log"
} >&5
a11813 1
_ACEOF
d11816 1
a11816 1
# INIT-COMMANDS
d11818 1
d11823 2
a11825 2

# Handling of arguments.
d11828 8
a11835 8
  case $ac_config_target in
    "Tk-Info.plist") CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in" ;;
    "Wish-Info.plist") CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in" ;;
    "Tk.framework") CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
    "tkConfig.sh") CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
    "tk.pc") CONFIG_FILES="$CONFIG_FILES tk.pc:../unix/tk.pc.in" ;;

a11841 1

d11852 1
a11852 1
# simply because there is no reason against having it here, and in addition,
d11854 1
a11854 3
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
d11857 1
a11857 4
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
d11860 1
d11864 1
a11864 1
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d11868 2
a11869 2
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
d11876 4
d11881 1
a11881 1
# Set up the sed scripts for CONFIG_FILES section.
d11886 179
a12064 116
if test -n "$CONFIG_FILES"; then

_ACEOF



ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
TCL_VERSION!$TCL_VERSION$ac_delim
TCL_PATCH_LEVEL!$TCL_PATCH_LEVEL$ac_delim
TCL_BIN_DIR!$TCL_BIN_DIR$ac_delim
TCL_SRC_DIR!$TCL_SRC_DIR$ac_delim
TCL_LIB_FILE!$TCL_LIB_FILE$ac_delim
TCL_LIB_FLAG!$TCL_LIB_FLAG$ac_delim
TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
TCL_STUB_LIB_FILE!$TCL_STUB_LIB_FILE$ac_delim
TCL_STUB_LIB_FLAG!$TCL_STUB_LIB_FLAG$ac_delim
TCL_STUB_LIB_SPEC!$TCL_STUB_LIB_SPEC$ac_delim
TCLSH_PROG!$TCLSH_PROG$ac_delim
BUILD_TCLSH!$BUILD_TCLSH$ac_delim
MAN_FLAGS!$MAN_FLAGS$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
CPP!$CPP$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
TCL_THREADS!$TCL_THREADS$ac_delim
RANLIB!$RANLIB$ac_delim
AR!$AR$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
TCL_LIBS!$TCL_LIBS$ac_delim
DL_LIBS!$DL_LIBS$ac_delim
DL_OBJS!$DL_OBJS$ac_delim
PLAT_OBJS!$PLAT_OBJS$ac_delim
PLAT_SRCS!$PLAT_SRCS$ac_delim
LDAIX_SRC!$LDAIX_SRC$ac_delim
CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
STLIB_LD!$STLIB_LD$ac_delim
SHLIB_LD!$SHLIB_LD$ac_delim
TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
MAKE_LIB!$MAKE_LIB$ac_delim
MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
INSTALL_LIB!$INSTALL_LIB$ac_delim
DLL_INSTALL_DIR!$DLL_INSTALL_DIR$ac_delim
INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim
LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim
XMKMF!$XMKMF$ac_delim
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
XFT_LIBS!$XFT_LIBS$ac_delim
UNIX_FONT_OBJS!$UNIX_FONT_OBJS$ac_delim
TK_VERSION!$TK_VERSION$ac_delim
TK_MAJOR_VERSION!$TK_MAJOR_VERSION$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
d12066 1
a12066 7
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi
a12067 68
cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
CEOF$ac_eof
_ACEOF


ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
TK_MINOR_VERSION!$TK_MINOR_VERSION$ac_delim
TK_PATCH_LEVEL!$TK_PATCH_LEVEL$ac_delim
TK_YEAR!$TK_YEAR$ac_delim
TK_LIB_FILE!$TK_LIB_FILE$ac_delim
TK_LIB_FLAG!$TK_LIB_FLAG$ac_delim
TK_LIB_SPEC!$TK_LIB_SPEC$ac_delim
TK_STUB_LIB_FILE!$TK_STUB_LIB_FILE$ac_delim
TK_STUB_LIB_FLAG!$TK_STUB_LIB_FLAG$ac_delim
TK_STUB_LIB_SPEC!$TK_STUB_LIB_SPEC$ac_delim
TK_STUB_LIB_PATH!$TK_STUB_LIB_PATH$ac_delim
TK_INCLUDE_SPEC!$TK_INCLUDE_SPEC$ac_delim
TK_BUILD_STUB_LIB_SPEC!$TK_BUILD_STUB_LIB_SPEC$ac_delim
TK_BUILD_STUB_LIB_PATH!$TK_BUILD_STUB_LIB_PATH$ac_delim
TK_SRC_DIR!$TK_SRC_DIR$ac_delim
TK_SHARED_BUILD!$TK_SHARED_BUILD$ac_delim
LD_LIBRARY_PATH_VAR!$LD_LIBRARY_PATH_VAR$ac_delim
TK_BUILD_LIB_SPEC!$TK_BUILD_LIB_SPEC$ac_delim
TK_BUILD_EXP_FILE!$TK_BUILD_EXP_FILE$ac_delim
TK_EXP_FILE!$TK_EXP_FILE$ac_delim
TCL_STUB_FLAGS!$TCL_STUB_FLAGS$ac_delim
XINCLUDES!$XINCLUDES$ac_delim
XLIBSW!$XLIBSW$ac_delim
LOCALES!$LOCALES$ac_delim
TK_WINDOWINGSYSTEM!$TK_WINDOWINGSYSTEM$ac_delim
TK_PKG_DIR!$TK_PKG_DIR$ac_delim
TK_LIBRARY!$TK_LIBRARY$ac_delim
LIB_RUNTIME_DIR!$LIB_RUNTIME_DIR$ac_delim
PRIVATE_INCLUDE_DIR!$PRIVATE_INCLUDE_DIR$ac_delim
HTML_DIR!$HTML_DIR$ac_delim
EXTRA_CC_SWITCHES!$EXTRA_CC_SWITCHES$ac_delim
EXTRA_APP_CC_SWITCHES!$EXTRA_APP_CC_SWITCHES$ac_delim
EXTRA_INSTALL!$EXTRA_INSTALL$ac_delim
EXTRA_INSTALL_BINARIES!$EXTRA_INSTALL_BINARIES$ac_delim
EXTRA_BUILD_HTML!$EXTRA_BUILD_HTML$ac_delim
EXTRA_WISH_LIBS!$EXTRA_WISH_LIBS$ac_delim
EXTRA_AQUA_OBJS!$EXTRA_AQUA_OBJS$ac_delim
EXTRA_AQUA_SRCS!$EXTRA_AQUA_SRCS$ac_delim
CFBUNDLELOCALIZATIONS!$CFBUNDLELOCALIZATIONS$ac_delim
MACOSX_SRC_DIR!$MACOSX_SRC_DIR$ac_delim
TK_RSRC_FILE!$TK_RSRC_FILE$ac_delim
WISH_RSRC_FILE!$WISH_RSRC_FILE$ac_delim
LIB_RSRC_FILE!$LIB_RSRC_FILE$ac_delim
APP_RSRC_FILE!$APP_RSRC_FILE$ac_delim
REZ!$REZ$ac_delim
REZ_FLAGS!$REZ_FLAGS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
a12068 54

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
_ACEOF


# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@@srcdir@@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

d12070 10
a12079 15
fi # test -n "$CONFIG_FILES"


for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   { (exit 1); exit 1; }; };;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
a12080 7
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift
d12082 2
a12083 41
  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   { (exit 1); exit 1; }; };;
      esac
      ac_file_inputs="$ac_file_inputs $ac_f"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input="Generated from "`IFS=:
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    fi

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin";;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
d12087 2
a12088 1
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
d12090 9
a12098 22
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
d12100 3
a12102 7
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
d12106 2
a12107 1
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d12109 5
a12113 18
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
d12115 3
a12117 3
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
d12119 1
d12122 1
a12122 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d12124 5
a12128 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d12131 1
a12131 1
  .)  # We are building in place.
d12133 6
a12138 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d12140 43
a12182 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a12183 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
a12185 5
  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #
d12187 15
a12201 1
_ACEOF
d12203 27
a12229 19
cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=

case `sed -n '/datarootdir/ {
  p
  q
}
/@@datadir@@/p
/@@docdir@@/p
/@@infodir@@/p
/@@localedir@@/p
/@@mandir@@/p
' $ac_file_inputs` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*)
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
a12231 14
  ac_datarootdir_hack='
  s&@@datadir@@&$datadir&g
  s&@@docdir@@&$docdir&g
  s&@@infodir@@&$infodir&g
  s&@@localedir@@&$localedir&g
  s&@@mandir@@&$mandir&g
    s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF
d12238 17
a12254 19
s&@@configure_input@@&$configure_input&;t t
s&@@top_builddir@@&$ac_top_builddir_sub&;t t
s&@@srcdir@@&$ac_srcdir&;t t
s&@@abs_srcdir@@&$ac_abs_srcdir&;t t
s&@@top_srcdir@@&$ac_top_srcdir&;t t
s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t
s&@@builddir@@&$ac_builddir&;t t
s&@@abs_builddir@@&$ac_abs_builddir&;t t
s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t
$ac_datarootdir_hack
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}
d12256 56
a12311 6
  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out"; rm -f "$tmp/out";;
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  esac
 ;;
d12313 15
d12329 38
a12366 4
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
 ;;
  esac
d12369 4
a12372 2
  case $ac_file$ac_mode in
    "Tk.framework":C) n=Tk &&
a12379 1

d12381 2
a12382 1
done # for ac_tag
d12384 1
@


1.210
log
@Don't use -fvisibility=hidden for cygwin.
Make tkTestWinProcs const
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59 for tk 8.6.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
d13 2
a14 1
# Be Bourne compatible
d21 30
a50 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a51 1
DUALCASE=1; export DUALCASE # for MKS sh
d61 33
d95 3
a97 1
$as_unset ENV MAIL MAILPATH
d111 1
a111 1
    $as_unset $as_var
d116 2
a117 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d123 1
a123 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d131 1
a131 1
as_me=`$as_basename "$0" ||
d134 1
a134 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d136 17
a152 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d154 23
d178 19
a196 7
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
d198 3
a200 11
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d203 6
d210 1
a210 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
d212 9
a220 13
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
d226 1
a226 2
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
d228 195
a422 1
	   if ("$as_dir/$as_base" -c '
a424 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d426 1
a426 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d430 5
a434 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d436 6
a441 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d443 4
d448 2
a449 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d451 1
a451 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d453 1
a453 1
  chmod +x $as_me.lineno ||
d459 2
a460 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d466 15
a480 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d483 2
a484 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d491 6
d499 6
a504 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a505 3
  else
    as_ln_s='ln -s'
  fi
d511 2
a512 1
rm -f conf$$ conf$$.exe conf$$.file
d521 22
a542 1
as_executable_p="test -f"
a550 8
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH
d552 1
a558 2
exec 6>&1

d563 1
d565 1
a571 5
# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

d582 1
a582 1
#if HAVE_SYS_TYPES_H
d585 1
a585 1
#if HAVE_SYS_STAT_H
d588 1
a588 1
#if STDC_HEADERS
d592 1
a592 1
# if HAVE_STDLIB_H
d596 2
a597 2
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
d602 1
a602 1
#if HAVE_STRINGS_H
d605 1
a605 1
#if HAVE_INTTYPES_H
a606 4
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
d608 4
a611 1
#if HAVE_UNISTD_H
d615 143
a757 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB DLL_INSTALL_DIR INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY LIB_RUNTIME_DIR PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d759 11
d796 1
d800 2
a801 1
datadir='${prefix}/share'
a804 1
libdir='${exec_prefix}/lib'
d807 9
a815 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d818 1
d823 1
a823 1
    eval "$ac_prev=\$ac_option"
d828 4
a831 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d835 3
a837 1
  case $ac_option in
d859 1
a859 1
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
d861 1
a861 2
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
d864 7
d874 1
a874 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d877 12
a888 2
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d893 1
a893 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d896 2
a897 6
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;
d924 6
d954 5
d960 1
a960 2
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
d963 1
a963 2
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
d1028 10
d1090 1
a1090 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1093 2
a1094 6
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;
d1099 1
a1099 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1102 2
a1103 2
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d1134 1
a1134 2
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
d1154 5
a1158 2
# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
d1160 1
a1160 1
  eval ac_val=$`echo $ac_var`
d1162 2
a1163 15
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d1165 2
d1193 10
d1206 2
a1207 2
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
d1211 1
a1211 2
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d1213 17
a1229 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1231 1
a1231 1
  if test ! -r $srcdir/$ac_unique_file; then
d1237 3
a1239 3
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
a1240 4
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
d1242 3
a1244 2
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
d1246 17
a1262 33
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
a1290 3
_ACEOF

  cat <<_ACEOF
a1307 1
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
d1314 10
a1323 2
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
d1378 3
a1380 2
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
d1382 1
d1388 1
a1392 1
  ac_popdir=`pwd`
d1394 1
a1394 1
    test -d $ac_dir || continue
d1397 3
a1399 1
if test "$ac_dir" != .; then
d1401 11
a1411 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d1414 1
a1414 1
  .)  # No --srcdir option.  We are building in place.
d1416 3
a1418 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d1420 6
a1425 43
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
d1427 1
d1429 8
a1436 12
    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
	   test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
d1439 2
a1440 2
    fi
    cd $ac_popdir
d1444 1
a1444 1
test -n "$ac_init_help" && exit 0
d1448 1
a1448 1
generated by GNU Autoconf 2.59
d1450 2
a1451 1
Copyright (C) 2003 Free Software Foundation, Inc.
d1455 1
a1455 1
  exit 0
d1457 1
a1457 2
exec 5>config.log
cat >&5 <<_ACEOF
d1462 1
a1462 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1467 1
d1486 1
a1486 1
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
d1500 1
a1521 1
ac_sep=
d1532 1
a1532 1
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
d1554 1
a1554 3
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
d1565 2
a1566 2
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
d1579 15
a1593 1
{
d1595 2
a1596 2
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d1598 3
a1600 3
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
d1602 1
a1602 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1604 3
a1606 2
    esac;
}
d1617 5
a1621 2
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
d1627 3
a1629 3
## ------------- ##
## Output files. ##
## ------------- ##
d1634 5
a1638 2
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
d1650 1
a1650 1
      sed "/^$/d" confdefs.h | sort
d1657 2
a1658 2
  rm -f core *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
d1660 1
a1660 1
     ' 0
d1667 1
a1667 3
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h
d1698 7
a1704 6
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
d1706 3
a1708 1
for ac_site_file in $CONFIG_SITE; do
d1724 2
a1725 2
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
d1737 1
a1737 2
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1740 2
a1741 2
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
d1766 1
a1766 2
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
a1782 6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

d1807 5
d1840 1
a1840 1
# Check whether --with-tcl or --without-tcl was given.
d1842 5
a1846 5
  withval="$with_tcl"
  with_tclconfig="${withval}"
fi;
	echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
d1948 2
a1949 2
	    echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
d1954 2
a1955 2
    echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
d1958 2
a1959 2
        echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6
d1962 2
a1963 2
        echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
d2024 2
a2025 2
    echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
d2048 2
a2049 2
	echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6
d2053 2
a2054 2
	echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6
d2059 2
a2060 2
    echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6
d2062 2
a2063 2
    echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6
d2086 3
a2088 3
    echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6
    # Check whether --enable-man-symlinks or --disable-man-symlinks was given.
d2090 1
a2090 2
  enableval="$enable_man_symlinks"
  test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d2093 8
a2100 7
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6

    echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6
    # Check whether --enable-man-compression or --disable-man-compression was given.
d2102 1
a2102 2
  enableval="$enable_man_compression"
  case $enableval in
d2111 4
a2114 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2116 2
a2117 2
	echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6
d2123 2
a2124 2
	echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6
d2127 3
a2129 3
    echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6
    # Check whether --enable-man-suffix or --disable-man-suffix was given.
d2131 1
a2131 2
  enableval="$enable_man_suffix"
  case $enableval in
d2138 4
a2141 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2164 2
a2165 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2178 1
a2178 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2185 1
d2191 2
a2192 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2194 2
a2195 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2198 1
d2204 2
a2205 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2218 1
a2218 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2225 1
d2231 2
a2232 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2234 2
a2235 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2238 15
a2252 1
  CC=$ac_ct_CC
d2258 2
a2259 2
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d2261 2
a2262 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2275 1
a2275 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2282 1
d2288 2
a2289 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2291 2
a2292 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2295 1
a2295 23
fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
a2296 19
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

d2301 2
a2302 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2316 1
a2316 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2327 1
d2345 2
a2346 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2348 2
a2349 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2352 1
d2356 1
a2356 1
  for ac_prog in cl
d2360 2
a2361 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2374 1
a2374 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2381 1
d2387 2
a2388 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2390 2
a2391 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2394 1
d2400 1
a2400 1
  for ac_prog in cl
d2404 2
a2405 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2418 1
a2418 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2425 1
d2431 2
a2432 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2434 2
a2435 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2438 1
d2442 15
a2456 1
  CC=$ac_ct_CC
d2469 1
a2469 2
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
d2471 7
a2477 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
d2481 7
a2487 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
d2491 7
a2497 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
d2522 2
a2523 2
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
d2525 26
a2550 2
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
d2554 6
a2559 9
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
d2563 1
a2563 4
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
	;;
    conftest.$ac_ext )
	# This is the source file.
d2570 9
a2578 5
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
d2584 2
d2587 6
a2603 2
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
d2605 1
a2605 1
# Check the compiler produces executables we can run.  If not, either
d2607 2
a2608 2
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
d2613 6
a2618 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2637 2
a2638 2
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d2642 1
a2642 1
# Check the compiler produces executables we can run.  If not, either
d2644 14
a2657 9
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2668 1
a2668 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
a2669 1
	  export ac_cv_exeext
d2683 2
a2684 2
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
d2689 2
a2690 2
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
d2710 7
a2716 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d2720 2
a2721 1
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
d2723 1
a2723 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
d2741 2
a2742 2
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
d2745 2
a2746 2
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
d2769 7
a2775 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2781 4
a2784 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2790 1
a2790 1
ac_compiler_gnu=no
d2792 2
a2793 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2797 2
a2798 2
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
d2802 2
a2803 3
CFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
d2807 5
a2811 1
  cat >conftest.$ac_ext <<_ACEOF
d2827 7
a2833 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2839 33
a2871 5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2873 3
d2877 34
a2910 4
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2912 3
d2916 4
a2919 1
  (exit $ac_status); }; }; then
d2925 4
a2928 1
ac_cv_prog_cc_g=no
d2930 6
a2935 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2937 2
a2938 2
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
d2954 3
a2956 3
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
d2959 1
a2959 1
  ac_cv_prog_cc_stdc=no
d2993 1
a2993 1
   as 'x'.  The following induces an error, until -std1 is added to get
d2996 1
a2996 1
   that's true only with -std1.  */
d2999 5
d3018 2
a3019 8
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d3023 7
a3029 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3035 5
a3039 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
d3044 1
d3046 3
a3048 1
rm -f conftest.err conftest.$ac_objext
d3050 1
a3050 1
rm -f conftest.$ac_ext conftest.$ac_objext
d3054 8
a3061 5

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
d3063 3
a3065 3
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
d3068 15
a3082 39
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
d3089 6
a3094 9
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
d3097 7
a3103 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3109 5
a3113 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
d3118 1
a3118 1
continue
d3120 4
a3123 116
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline=$ac_kw; break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
d3126 2
a3127 2
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
d3153 2
a3154 2
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
d3188 7
a3194 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3200 4
a3203 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3212 1
d3215 1
a3215 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3225 7
a3231 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3237 4
a3240 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3251 1
d3269 2
a3270 2
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
d3293 7
a3299 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3305 4
a3308 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3317 1
d3320 1
a3320 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3330 7
a3336 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3342 4
a3345 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3356 1
d3379 91
a3469 3
echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_prog_egrep+set}" = set; then
d3472 32
a3503 3
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
d3505 26
a3531 3
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep
d3534 9
a3542 2
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
d3566 7
a3572 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3578 4
a3581 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3587 1
a3587 1
ac_cv_header_stdc=no
d3589 2
a3590 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3646 1
d3666 2
a3667 2
      exit(2);
  exit (0);
d3671 7
a3677 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3681 6
a3686 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d3699 1
a3699 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3701 2
d3705 2
a3706 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
d3729 3
a3731 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d3745 7
a3751 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3757 4
a3760 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3766 1
a3766 1
eval "$as_ac_Header=no"
d3768 2
a3769 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3771 3
a3773 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d3785 2
a3786 2
  echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3790 2
a3791 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3794 2
a3795 2
echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
d3806 7
a3812 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3818 4
a3821 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3827 1
a3827 1
ac_header_compiler=no
d3829 4
a3832 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3835 2
a3836 2
echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
d3845 7
a3851 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3857 4
a3860 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3868 1
d3870 2
a3871 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d3895 1
a3895 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d3898 2
a3899 2
echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3905 2
a3906 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3931 2
a3932 2
  echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d3936 2
a3937 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d3940 2
a3941 2
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
d3952 7
a3958 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3964 4
a3967 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3973 1
a3973 1
ac_header_compiler=no
d3975 4
a3978 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3981 2
a3982 2
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
d3991 7
a3997 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d4003 4
a4006 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d4014 1
d4016 2
a4017 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d4041 1
a4041 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d4044 2
a4045 2
echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d4051 2
a4052 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d4127 2
a4128 2
    echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
d4150 7
a4156 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d4162 4
a4165 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4171 1
a4171 1
tcl_cv_cc_pipe=no
d4173 2
a4174 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4177 2
a4178 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6
d4189 1
a4189 1
    # Check whether --enable-threads or --disable-threads was given.
d4191 1
a4191 2
  enableval="$enable_threads"
  tcl_ok=$enableval
d4194 2
a4195 1
fi;
d4227 2
a4228 2
	echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4241 3
a4243 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4246 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4251 1
a4251 1
pthread_mutex_init ();
d4257 7
a4263 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4269 5
a4273 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4279 1
a4279 1
ac_cv_lib_pthread_pthread_mutex_init=no
d4281 2
a4282 1
rm -f conftest.err conftest.$ac_objext \
d4286 2
a4287 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
d4300 2
a4301 2
	    echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4314 3
a4316 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4319 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4324 1
a4324 1
__pthread_mutex_init ();
d4330 7
a4336 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4342 5
a4346 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4352 1
a4352 1
ac_cv_lib_pthread___pthread_mutex_init=no
d4354 2
a4355 1
rm -f conftest.err conftest.$ac_objext \
d4359 2
a4360 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
d4373 2
a4374 2
	    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
d4387 3
a4389 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4392 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4397 1
a4397 1
pthread_mutex_init ();
d4403 7
a4409 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4415 5
a4419 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4425 1
a4425 1
ac_cv_lib_pthreads_pthread_mutex_init=no
d4427 2
a4428 1
rm -f conftest.err conftest.$ac_objext \
d4432 2
a4433 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
d4444 2
a4445 2
		echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
d4458 3
a4460 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4463 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4468 1
a4468 1
pthread_mutex_init ();
d4474 7
a4480 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4486 5
a4490 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4496 1
a4496 1
ac_cv_lib_c_pthread_mutex_init=no
d4498 2
a4499 1
rm -f conftest.err conftest.$ac_objext \
d4503 2
a4504 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
d4512 2
a4513 2
		    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
d4526 3
a4528 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4531 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4536 1
a4536 1
pthread_mutex_init ();
d4542 7
a4548 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4554 5
a4558 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4564 1
a4564 1
ac_cv_lib_c_r_pthread_mutex_init=no
d4566 2
a4567 1
rm -f conftest.err conftest.$ac_objext \
d4571 2
a4572 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
d4597 3
a4599 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d4625 3
a4627 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4629 1
{
a4630 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4635 1
a4635 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a4636 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d4642 1
a4642 1
return f != $ac_func;
d4648 7
a4654 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4660 5
a4664 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4670 1
a4670 1
eval "$as_ac_var=no"
d4672 2
a4673 1
rm -f conftest.err conftest.$ac_objext \
d4676 3
a4678 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d4691 2
a4692 2
    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
d4700 2
a4701 2
	    echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6
d4703 2
a4704 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d4707 2
a4708 2
	echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6
d4718 3
a4720 3
    echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6
    # Check whether --enable-shared or --disable-shared was given.
d4722 1
a4722 2
  enableval="$enable_shared"
  tcl_ok=$enableval
d4725 2
a4726 1
fi;
d4736 2
a4737 2
	echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6
d4740 2
a4741 2
	echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6
d4760 2
a4761 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4774 1
a4774 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4781 1
d4787 2
a4788 2
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
d4790 2
a4791 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4794 1
d4800 2
a4801 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4814 1
a4814 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4821 1
a4822 1
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
d4827 2
a4828 2
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
d4830 2
a4831 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4834 15
a4848 1
  RANLIB=$ac_ct_RANLIB
d4857 3
a4859 3
    echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit or --disable-64bit was given.
d4861 1
a4861 2
  enableval="$enable_64bit"
  do64bit=$enableval
d4864 4
a4867 3
fi;
    echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6
d4871 3
a4873 3
    echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
d4875 1
a4875 2
  enableval="$enable_64bit_vis"
  do64bitVIS=$enableval
d4878 4
a4881 3
fi;
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6
d4891 2
a4892 2
    echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6
d4914 7
a4920 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d4926 4
a4929 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4935 1
a4935 1
tcl_cv_cc_visibility_hidden=no
d4937 2
a4938 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4941 2
a4942 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6
d4968 7
a4974 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4980 5
a4984 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4990 1
a4990 1
tcl_cv_cc_visibility_hidden=no
d4992 2
a4993 1
rm -f conftest.err conftest.$ac_objext \
d5012 3
a5014 3
    echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6
    # Check whether --enable-rpath or --disable-rpath was given.
d5016 1
a5016 2
  enableval="$enable_rpath"
  doRpath=$enableval
d5019 4
a5022 3
fi;
    echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6
d5028 2
a5029 2
    echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6
d5056 2
a5057 2
echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6
d5064 2
a5065 2
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
d5078 3
a5080 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5083 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5088 1
a5088 1
dlopen ();
d5094 7
a5100 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5106 5
a5110 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5116 1
a5116 1
ac_cv_lib_dl_dlopen=no
d5118 2
a5119 1
rm -f conftest.err conftest.$ac_objext \
d5123 2
a5124 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
d5167 2
a5168 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5181 1
a5181 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5188 1
d5194 2
a5195 2
  echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
d5197 2
a5198 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5201 1
d5233 2
a5234 2
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6
d5313 1
a5313 4
		case $LIBOBJS in
    "tclLoadAix.$ac_objext"   | \
  *" tclLoadAix.$ac_objext"   | \
    "tclLoadAix.$ac_objext "* | \
d5315 2
a5316 1
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
d5336 2
a5337 2
	    echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
d5350 3
a5352 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5355 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5360 1
a5360 1
gettimeofday ();
d5366 7
a5372 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5378 5
a5382 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5388 1
a5388 1
ac_cv_lib_bsd_gettimeofday=no
d5390 2
a5391 1
rm -f conftest.err conftest.$ac_objext \
d5395 2
a5396 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
d5428 2
a5429 2
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6
d5442 3
a5444 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5447 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5452 1
a5452 1
inet_ntoa ();
d5458 7
a5464 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5470 5
a5474 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5480 1
a5480 1
ac_cv_lib_bind_inet_ntoa=no
d5482 2
a5483 1
rm -f conftest.err conftest.$ac_objext \
d5487 2
a5488 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6
d5543 2
a5544 2
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6
d5557 3
a5559 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5562 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5567 1
a5567 1
inet_ntoa ();
d5573 7
a5579 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5585 5
a5589 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5595 1
a5595 1
ac_cv_lib_network_inet_ntoa=no
d5597 2
a5598 1
rm -f conftest.err conftest.$ac_objext \
d5602 2
a5603 2
echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6
d5633 2
a5634 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5647 3
a5649 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5652 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5657 1
a5657 1
shl_load ();
d5663 7
a5669 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5675 5
a5679 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5685 1
a5685 1
ac_cv_lib_dld_shl_load=no
d5687 2
a5688 1
rm -f conftest.err conftest.$ac_objext \
d5692 2
a5693 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5767 2
a5768 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5781 3
a5783 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5786 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5791 1
a5791 1
shl_load ();
d5797 7
a5803 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5809 5
a5813 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5819 1
a5819 1
ac_cv_lib_dld_shl_load=no
d5821 2
a5822 1
rm -f conftest.err conftest.$ac_objext \
d5826 2
a5827 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5855 1
a5855 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5857 2
a5858 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5875 1
a5875 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5877 2
a5878 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5915 1
a5915 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5917 2
a5918 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5977 2
a5978 2
		echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
d6001 7
a6007 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6013 5
a6017 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6023 1
a6023 1
tcl_cv_cc_m64=no
d6025 2
a6026 1
rm -f conftest.err conftest.$ac_objext \
d6030 2
a6031 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6
d6120 2
a6121 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d6147 2
a6148 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6180 2
a6181 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d6207 2
a6208 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6310 2
a6311 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6
d6334 7
a6340 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6346 5
a6350 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6356 1
a6356 1
tcl_cv_cc_arch_ppc64=no
d6358 2
a6359 1
rm -f conftest.err conftest.$ac_objext \
d6363 2
a6364 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6
d6373 2
a6374 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6
d6397 7
a6403 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6409 5
a6413 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6419 1
a6419 1
tcl_cv_cc_arch_x86_64=no
d6421 2
a6422 1
rm -f conftest.err conftest.$ac_objext \
d6426 2
a6427 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6
d6453 2
a6454 2
	    echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6
d6477 7
a6483 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6489 5
a6493 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6499 1
a6499 1
tcl_cv_ld_single_module=no
d6501 2
a6502 1
rm -f conftest.err conftest.$ac_objext \
d6506 2
a6507 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
d6526 2
a6527 2
	    echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
d6550 7
a6556 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6562 5
a6566 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6572 1
a6572 1
tcl_cv_ld_search_paths_first=no
d6574 2
a6575 1
rm -f conftest.err conftest.$ac_objext \
d6579 2
a6580 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
d6607 3
a6609 3
	    echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
d6611 1
a6611 2
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
d6614 4
a6617 3
fi;
	    echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6
d6620 2
a6621 2
		echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6
d6655 7
a6661 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6667 5
a6671 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6677 1
a6677 1
tcl_cv_lib_corefoundation=no
d6679 2
a6680 1
rm -f conftest.err conftest.$ac_objext \
d6691 2
a6692 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6
d6708 2
a6709 2
		    echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6
d6733 7
a6739 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6745 5
a6749 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6755 1
a6755 1
tcl_cv_lib_corefoundation_64=no
d6757 2
a6758 1
rm -f conftest.err conftest.$ac_objext \
d6764 2
a6765 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6
d7101 2
a7102 2
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
d7105 2
a7106 2
			echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7109 2
a7110 2
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d7114 2
a7115 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d7118 2
a7119 2
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
d7130 7
a7136 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7142 4
a7145 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7151 1
a7151 1
ac_header_compiler=no
d7153 4
a7156 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d7159 2
a7160 2
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
d7169 7
a7175 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d7181 4
a7184 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d7192 1
d7194 2
a7195 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d7219 1
a7219 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d7222 2
a7223 2
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d7229 2
a7230 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d7239 2
a7240 2
			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7315 2
a7316 2
	    echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
d7339 7
a7345 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d7351 5
a7355 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7361 1
a7361 1
tcl_cv_ld_Bexport=no
d7363 2
a7364 1
rm -f conftest.err conftest.$ac_objext \
d7368 2
a7369 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6
d7404 1
a7404 1
    # Check whether --enable-load or --disable-load was given.
d7406 1
a7406 2
  enableval="$enable_load"
  tcl_ok=$enableval
d7409 2
a7410 1
fi;
d7569 3
a7571 3
    echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6
    # Check whether --enable-symbols or --disable-symbols was given.
d7573 1
a7573 2
  enableval="$enable_symbols"
  tcl_ok=$enableval
d7576 2
a7577 1
fi;
d7583 2
a7584 2
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7594 2
a7595 2
	    echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6
d7619 2
a7620 2
	    echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6
d7622 2
a7623 2
	    echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
d7633 2
a7634 2
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
d7656 7
a7662 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7668 4
a7671 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7677 1
a7677 1
cat >conftest.$ac_ext <<_ACEOF
d7694 7
a7700 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7706 4
a7709 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7715 1
a7715 1
tcl_cv_flag__isoc99_source=no
d7717 2
a7718 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7720 2
a7721 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7753 7
a7759 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7765 4
a7768 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7774 1
a7774 1
cat >conftest.$ac_ext <<_ACEOF
d7791 7
a7797 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7803 4
a7806 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7812 1
a7812 1
tcl_cv_flag__largefile64_source=no
d7814 2
a7815 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7817 2
a7818 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7850 7
a7856 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7862 4
a7865 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7871 1
a7871 1
cat >conftest.$ac_ext <<_ACEOF
d7888 7
a7894 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7900 4
a7903 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7909 1
a7909 1
tcl_cv_flag__largefile_source64=no
d7911 2
a7912 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7914 2
a7915 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7928 2
a7929 2
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
d7931 2
a7932 2
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
d7937 2
a7938 2
    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
d7961 7
a7967 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7973 4
a7976 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7982 1
a7982 1
tcl_type_64bit="long long"
d7984 2
a7985 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8007 7
a8013 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8019 4
a8022 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8028 1
d8030 2
a8031 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8040 2
a8041 2
	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
d8048 2
a8049 2
	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6
d8052 2
a8053 2
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
d8075 7
a8081 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8087 4
a8090 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8096 1
a8096 1
tcl_cv_struct_dirent64=no
d8098 2
a8099 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8101 2
a8102 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6
d8111 2
a8112 2
	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
d8134 7
a8140 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8146 4
a8149 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8155 1
a8155 1
tcl_cv_struct_stat64=no
d8157 2
a8158 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8160 2
a8161 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6
d8175 3
a8177 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d8203 3
a8205 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8207 1
{
a8208 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8213 1
a8213 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a8214 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d8220 1
a8220 1
return f != $ac_func;
d8226 7
a8232 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8238 5
a8242 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8248 1
a8248 1
eval "$as_ac_var=no"
d8250 2
a8251 1
rm -f conftest.err conftest.$ac_objext \
d8254 3
a8256 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d8265 2
a8266 2
	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
d8288 7
a8294 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8300 4
a8303 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8309 1
a8309 1
tcl_cv_type_off64_t=no
d8311 2
a8312 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8323 2
a8324 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d8326 2
a8327 2
	    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8336 2
a8337 2
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
d8354 2
a8355 1
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
d8364 7
a8370 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8376 4
a8379 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8402 7
a8408 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8414 4
a8417 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8423 1
a8423 1
ac_cv_c_bigendian=no
d8425 2
a8426 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8431 1
a8431 1
# It does not; compile a test program.
d8441 2
a8442 2
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d8444 2
a8445 2
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d8456 7
a8462 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8468 4
a8471 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8487 1
d8489 2
a8490 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8498 1
d8502 1
d8506 2
a8507 2
    long l;
    char c[sizeof (long)];
d8510 4
a8513 1
  exit (u.c[sizeof (long) - 1] == 1);
d8517 7
a8523 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8527 6
a8532 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d8545 1
a8545 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8547 2
d8550 2
a8551 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8553 2
a8554 2
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
d8603 2
a8604 2
echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6
d8625 7
a8631 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8637 4
a8640 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8646 1
a8646 1
tcl_cv_type_fd_set=no
d8648 2
a8649 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8651 2
a8652 2
echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6
d8655 2
a8656 2
    echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6
d8679 2
a8680 2
echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6
d8706 4
a8709 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8712 3
a8714 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8717 2
a8718 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d8729 7
a8735 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8741 4
a8744 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8750 1
a8750 1
ac_header_compiler=no
d8752 4
a8755 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d8758 2
a8759 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d8768 7
a8774 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d8780 4
a8783 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d8791 1
d8793 2
a8794 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d8818 1
a8818 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d8821 3
a8823 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8828 3
a8830 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8842 2
a8843 2
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
d8867 7
a8873 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8879 4
a8882 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8888 1
a8888 1
ac_cv_header_time=no
d8890 2
a8891 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8893 2
a8894 2
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
d8912 2
a8913 2
    echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6
d8940 3
a8942 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8944 1
{
a8945 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8950 1
a8950 1
#if defined (__stub_strtod) || defined (__stub___strtod)
a8951 5
#else
char (*f) () = strtod;
#endif
#ifdef __cplusplus
}
d8957 1
a8957 1
return f != strtod;
d8963 7
a8969 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8975 5
a8979 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8985 1
a8985 1
ac_cv_func_strtod=no
d8987 2
a8988 1
rm -f conftest.err conftest.$ac_objext \
d8991 2
a8992 2
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6
d9000 2
a9001 2
	echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6
d9037 7
a9043 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d9047 6
a9052 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d9065 1
a9065 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d9067 2
d9070 2
a9071 2
echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6
d9073 1
a9073 4
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
d9075 2
a9076 1
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
d9094 2
a9095 2
echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
d9106 1
d9110 1
a9110 1
if ((mode_t *) 0)
d9112 1
a9112 1
if (sizeof (mode_t))
d9119 7
a9125 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9131 4
a9134 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9140 1
a9140 1
ac_cv_type_mode_t=no
d9142 2
a9143 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9145 2
a9146 2
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
d9157 2
a9158 2
echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
d9169 1
d9173 1
a9173 1
if ((pid_t *) 0)
d9175 1
a9175 1
if (sizeof (pid_t))
d9182 7
a9188 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9194 4
a9197 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9203 1
a9203 1
ac_cv_type_pid_t=no
d9205 2
a9206 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9208 2
a9209 2
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
d9220 2
a9221 2
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
d9232 1
d9236 1
a9236 1
if ((size_t *) 0)
d9238 1
a9238 1
if (sizeof (size_t))
d9245 7
a9251 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9257 4
a9260 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9266 1
a9266 1
ac_cv_type_size_t=no
d9268 2
a9269 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9271 2
a9272 2
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
d9278 1
a9278 1
#define size_t unsigned
d9283 2
a9284 2
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
d9306 2
a9307 2
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
d9322 2
a9323 2
echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
d9334 1
d9338 1
a9338 1
if ((intptr_t *) 0)
d9340 1
a9340 1
if (sizeof (intptr_t))
d9347 7
a9353 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9359 4
a9362 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9368 1
a9368 1
ac_cv_type_intptr_t=no
d9370 2
a9371 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9373 2
a9374 2
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
d9384 2
a9385 2
    echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
d9410 7
a9416 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9422 4
a9425 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9431 1
a9431 1
tcl_ok=no
d9433 2
a9434 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9438 2
a9439 2
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6
d9450 2
a9451 2
echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
d9462 1
d9466 1
a9466 1
if ((uintptr_t *) 0)
d9468 1
a9468 1
if (sizeof (uintptr_t))
d9475 7
a9481 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9487 4
a9490 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9496 1
a9496 1
ac_cv_type_uintptr_t=no
d9498 2
a9499 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9501 2
a9502 2
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
d9512 2
a9513 2
    echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
d9539 7
a9545 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9551 4
a9554 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9560 1
a9560 1
tcl_ok=no
d9562 2
a9563 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9567 2
a9568 2
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6
d9584 2
a9585 2
echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6
d9606 7
a9612 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9618 4
a9621 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9627 1
a9627 1
tcl_cv_pwd_pw_gecos=no
d9629 2
a9630 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9632 2
a9633 2
echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6
d9648 3
a9650 3
    echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6
    # Check whether --enable-aqua or --disable-aqua was given.
d9652 1
a9652 2
  enableval="$enable_aqua"
  tk_aqua=$enableval
d9655 2
a9656 1
fi;
d9690 2
a9691 2
	echo "$as_me:$LINENO: result: yes (deprecated legacy Carbon implementation)" >&5
echo "${ECHO_T}yes (deprecated legacy Carbon implementation)" >&6
d9693 2
a9694 2
	echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6
d9698 2
a9699 2
	    echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6
d9725 7
a9731 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9737 5
a9741 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9747 1
a9747 1
tcl_cv_lib_x11_64=no
d9749 2
a9750 1
rm -f conftest.err conftest.$ac_objext \
d9756 2
a9757 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6
d9771 2
a9772 2
	echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6
d9795 7
a9801 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9807 5
a9811 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9817 1
a9817 1
tcl_cv_ld_weak_l=no
d9819 2
a9820 1
rm -f conftest.err conftest.$ac_objext \
d9824 2
a9825 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6
d9831 4
a9834 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9837 3
a9839 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9842 2
a9843 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d9854 7
a9860 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9866 4
a9869 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9875 1
a9875 1
ac_header_compiler=no
d9877 4
a9880 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d9883 2
a9884 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d9893 7
a9899 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9905 4
a9908 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9916 1
d9918 2
a9919 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d9943 1
a9943 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d9946 3
a9948 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9953 3
a9955 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9968 2
a9969 2
	echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6
d10000 7
a10006 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10012 5
a10016 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10022 1
a10022 1
tcl_cv_cc_weak_import=no
d10024 2
a10025 1
rm -f conftest.err conftest.$ac_objext \
d10029 2
a10030 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6
d10038 2
a10039 2
	echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6
d10071 7
a10077 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10083 4
a10086 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10092 1
a10092 1
tcl_cv_cc_darwin_c_source=no
d10094 2
a10095 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10098 2
a10099 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6
d10144 2
a10145 2
    echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
d10148 1
a10148 1
# Check whether --with-x or --without-x was given.
d10150 2
a10151 1
  withval="$with_x"
a10152 1
fi;
d10158 5
a10162 5
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
d10167 1
a10167 1
rm -fr conftest.dir
a10169 1
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
d10171 6
a10176 2
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
d10178 1
a10178 1
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
d10180 3
a10182 1
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
d10185 2
a10186 2
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
	 test -f $ac_im_libdir/libX11.$ac_extension; then
d10194 1
a10194 1
	/usr/include) ;;
d10203 1
a10203 1
  rm -fr conftest.dir
d10244 1
a10244 1
  # Guess where to find include files, by looking for Intrinsic.h.
d10252 1
a10252 1
#include <X11/Intrinsic.h>
d10254 7
a10260 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10266 4
a10269 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10277 1
a10277 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d10283 1
d10292 1
a10292 1
  LIBS="-lXt $LIBS"
d10299 1
a10299 1
#include <X11/Intrinsic.h>
d10303 1
a10303 1
XtMalloc (0)
d10309 7
a10315 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10321 5
a10325 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10333 1
a10333 1
LIBS=$ac_save_LIBS
d10338 1
a10338 1
    if test -r $ac_dir/libXt.$ac_extension; then
d10345 2
a10346 1
rm -f conftest.err conftest.$ac_objext \
d10350 10
a10359 7
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d10361 3
a10363 3
fi

  fi
d10368 2
a10369 2
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
d10376 5
a10380 4
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
d10394 7
a10400 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10406 4
a10409 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10417 1
d10426 2
a10427 2
	echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6
d10437 7
a10443 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10449 4
a10452 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10460 1
d10466 2
a10467 2
		    echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d10481 2
a10482 2
	echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6
d10486 2
a10487 2
	echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6
d10492 2
a10493 2
		echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d10507 2
a10508 2
	echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6
d10521 3
a10523 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10526 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10531 1
a10531 1
XCreateWindow ();
d10537 7
a10543 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10549 5
a10553 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10559 1
a10559 1
ac_cv_lib_Xwindow_XCreateWindow=no
d10561 2
a10562 1
rm -f conftest.err conftest.$ac_objext \
d10566 2
a10567 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6
d10574 2
a10575 2
	echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6
d10597 1
d10599 1
d10624 2
a10625 2
    echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
d10642 1
a10642 1
main ();
d10648 7
a10654 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10660 5
a10664 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10670 1
a10670 1
ac_cv_lib_Xbsd_main=no
d10672 2
a10673 1
rm -f conftest.err conftest.$ac_objext \
d10677 2
a10678 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
d10697 2
a10698 2
    echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6
d10723 7
a10729 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10735 5
a10739 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10741 2
a10742 2
	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10750 2
a10751 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10753 2
a10754 1
rm -f conftest.err conftest.$ac_objext \
d10773 3
a10775 3
    echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6
    # Check whether --enable-xss or --disable-xss was given.
d10777 1
a10777 2
  enableval="$enable_xss"
  enable_xss=$enableval
d10780 2
a10781 1
fi;
d10783 2
a10784 2
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
d10786 4
a10789 4
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
	echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6
d10804 7
a10810 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10816 4
a10819 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10825 1
a10825 1
ac_cv_header_X11_extensions_scrnsaver_h=no
d10827 2
a10828 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10830 2
a10831 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6
d10839 2
a10840 2
	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6
d10867 3
a10869 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10871 1
{
a10872 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10877 1
a10877 1
#if defined (__stub_XScreenSaverQueryInfo) || defined (__stub___XScreenSaverQueryInfo)
a10878 5
#else
char (*f) () = XScreenSaverQueryInfo;
#endif
#ifdef __cplusplus
}
d10884 1
a10884 1
return f != XScreenSaverQueryInfo;
d10890 7
a10896 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10902 5
a10906 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10912 1
a10912 1
ac_cv_func_XScreenSaverQueryInfo=no
d10914 2
a10915 1
rm -f conftest.err conftest.$ac_objext \
d10918 2
a10919 2
echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6
d10924 2
a10925 2
	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6
d10938 3
a10940 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10943 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10948 1
a10948 1
XScreenSaverQueryInfo ();
d10954 7
a10960 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10966 5
a10970 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10976 1
a10976 1
ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10978 2
a10979 1
rm -f conftest.err conftest.$ac_objext \
d10983 2
a10984 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6
d10992 2
a10993 2
		echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6
d11006 3
a11008 1
/* Override any gcc2 internal prototype to avoid an error.  */
a11011 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d11016 1
a11016 1
XScreenSaverQueryInfo ();
d11022 7
a11028 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d11034 5
a11038 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11044 1
a11044 1
ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d11046 2
a11047 1
rm -f conftest.err conftest.$ac_objext \
d11051 2
a11052 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6
d11089 3
a11091 3
    echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6
    # Check whether --enable-xft or --disable-xft was given.
d11093 1
a11093 2
  enableval="$enable_xft"
  enable_xft=$enableval
d11096 2
a11097 1
fi;
d11101 2
a11102 2
	echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6
d11112 2
a11113 2
	echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6
d11119 2
a11120 2
	    echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6
d11135 7
a11141 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d11147 4
a11150 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11156 1
a11156 1
ac_cv_header_X11_Xft_Xft_h=no
d11158 2
a11159 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d11161 2
a11162 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6
d11181 2
a11182 2
echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6
d11195 3
a11197 1
/* Override any gcc2 internal prototype to avoid an error.  */
a11200 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d11205 1
a11205 1
FT_New_Face ();
d11211 7
a11217 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d11223 5
a11227 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11233 1
a11233 1
ac_cv_lib_Xft_FT_New_Face=no
d11235 2
a11236 1
rm -f conftest.err conftest.$ac_objext \
d11240 2
a11241 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6
d11291 2
a11292 2
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
d11314 7
a11320 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d11326 4
a11329 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11335 1
a11335 1
ac_cv_c_char_unsigned=yes
d11337 2
a11338 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d11340 2
a11341 2
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
d11384 3
a11386 3
	echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6
	# Check whether --enable-framework or --disable-framework was given.
d11388 1
a11388 2
  enableval="$enable_framework"
  enable_framework=$enableval
d11391 2
a11392 1
fi;
d11406 2
a11407 2
	    echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6
d11411 2
a11412 2
		echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6
d11414 2
a11415 2
		echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6
d11430 1
a11430 1
                        ac_config_files="$ac_config_files Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in"
d11444 1
a11444 1
              ac_config_commands="$ac_config_commands Tk.framework"
d11620 1
a11620 1
                              ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"
d11640 1
a11640 1
# So, don't put newlines in cache variables' values.
d11643 16
a11658 1
{
d11660 2
a11661 2
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d11667 1
a11667 1
      ;;
d11670 1
a11670 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d11672 3
a11674 2
    esac;
} |
d11676 1
d11678 1
a11678 1
     : clear
d11681 7
a11687 5
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
d11690 2
a11691 1
    echo "not updating unwritable cache $cache_file"
a11699 15
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

d11705 1
a11705 1
# take arguments), then we branch to the quote section.  Otherwise,
d11707 1
a11707 1
cat >confdef2opt.sed <<\_ACEOF
d11709 2
a11710 2
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
d11712 1
a11712 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
d11714 16
a11729 17
d
: quote
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
d11736 6
a11741 5
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
d11773 2
a11774 1
# Be Bourne compatible
d11781 30
a11810 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a11811 1
DUALCASE=1; export DUALCASE # for MKS sh
d11821 33
d11855 3
a11857 1
$as_unset ENV MAIL MAILPATH
d11871 1
a11871 1
    $as_unset $as_var
d11876 2
a11877 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11883 1
a11883 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d11891 1
a11891 1
as_me=`$as_basename "$0" ||
d11894 1
a11894 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d11896 13
a11908 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d11910 2
a11912 20
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi
a11916 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d11918 1
a11918 52
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d11922 5
a11926 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d11928 6
a11933 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d11935 4
d11940 2
a11941 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d11943 1
a11943 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d11945 2
a11946 3
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
d11951 2
a11952 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d11958 15
a11972 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d11975 2
a11976 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11983 6
d11991 6
a11996 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a11997 3
  else
    as_ln_s='ln -s'
  fi
d12003 2
a12004 1
rm -f conf$$ conf$$.exe conf$$.file
d12013 22
a12034 1
as_executable_p="test -f"
a12042 9
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

d12045 1
a12045 1
# Open the log real soon, to keep \$[0] and so on meaningful, and to
d12047 2
a12048 10
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

d12050 1
a12050 1
generated by GNU Autoconf 2.59.  Invocation command line was
d12058 3
a12060 3
_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
d12063 1
d12065 2
a12066 3
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
d12068 1
a12068 11
if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
a12070 1

d12078 1
a12078 1
  -V, --version    print version number, then exit
d12092 1
a12093 1

d12097 2
a12098 2
configured by $0, generated by GNU Autoconf 2.59,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d12100 1
a12100 1
Copyright (C) 2003 Free Software Foundation, Inc.
d12103 3
a12105 1
srcdir=$srcdir
d12116 2
a12117 2
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
d12120 1
a12120 1
  -*)
a12124 4
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
a12128 2
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d12131 3
a12133 12
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
d12139 2
a12140 4
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
d12146 2
a12147 4
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
d12150 2
a12151 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d12167 4
a12170 2
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d12174 9
d12184 1
d12187 1
a12187 1
# INIT-COMMANDS section.
a12188 1

d12193 1
d12195 1
a12195 2

cat >>$CONFIG_STATUS <<\_ACEOF
d12198 8
a12205 8
  case "$ac_config_target" in
  # Handling of arguments.
  "Tk-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in" ;;
  "Wish-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in" ;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
  "tkConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
  "tk.pc" ) CONFIG_FILES="$CONFIG_FILES tk.pc:../unix/tk.pc.in" ;;
  "Tk.framework" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
d12212 1
d12223 1
a12223 1
# simply because there is no reason to put it here, and in addition,
d12225 3
a12227 1
# Create a temporary directory, and hook for its removal unless debugging.
d12230 4
a12233 1
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
a12235 1

d12239 1
a12239 1
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
d12243 2
a12244 2
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
d12251 112
d12365 17
d12383 16
a12399 3
#
# CONFIG_FILES section.
#
d12401 59
a12459 181
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@TCL_VERSION@@,$TCL_VERSION,;t t
s,@@TCL_PATCH_LEVEL@@,$TCL_PATCH_LEVEL,;t t
s,@@TCL_BIN_DIR@@,$TCL_BIN_DIR,;t t
s,@@TCL_SRC_DIR@@,$TCL_SRC_DIR,;t t
s,@@TCL_LIB_FILE@@,$TCL_LIB_FILE,;t t
s,@@TCL_LIB_FLAG@@,$TCL_LIB_FLAG,;t t
s,@@TCL_LIB_SPEC@@,$TCL_LIB_SPEC,;t t
s,@@TCL_STUB_LIB_FILE@@,$TCL_STUB_LIB_FILE,;t t
s,@@TCL_STUB_LIB_FLAG@@,$TCL_STUB_LIB_FLAG,;t t
s,@@TCL_STUB_LIB_SPEC@@,$TCL_STUB_LIB_SPEC,;t t
s,@@TCLSH_PROG@@,$TCLSH_PROG,;t t
s,@@BUILD_TCLSH@@,$BUILD_TCLSH,;t t
s,@@MAN_FLAGS@@,$MAN_FLAGS,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@CPP@@,$CPP,;t t
s,@@EGREP@@,$EGREP,;t t
s,@@TCL_THREADS@@,$TCL_THREADS,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@AR@@,$AR,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@TCL_LIBS@@,$TCL_LIBS,;t t
s,@@DL_LIBS@@,$DL_LIBS,;t t
s,@@DL_OBJS@@,$DL_OBJS,;t t
s,@@PLAT_OBJS@@,$PLAT_OBJS,;t t
s,@@PLAT_SRCS@@,$PLAT_SRCS,;t t
s,@@LDAIX_SRC@@,$LDAIX_SRC,;t t
s,@@CFLAGS_DEBUG@@,$CFLAGS_DEBUG,;t t
s,@@CFLAGS_OPTIMIZE@@,$CFLAGS_OPTIMIZE,;t t
s,@@CFLAGS_WARNING@@,$CFLAGS_WARNING,;t t
s,@@LDFLAGS_DEBUG@@,$LDFLAGS_DEBUG,;t t
s,@@LDFLAGS_OPTIMIZE@@,$LDFLAGS_OPTIMIZE,;t t
s,@@CC_SEARCH_FLAGS@@,$CC_SEARCH_FLAGS,;t t
s,@@LD_SEARCH_FLAGS@@,$LD_SEARCH_FLAGS,;t t
s,@@STLIB_LD@@,$STLIB_LD,;t t
s,@@SHLIB_LD@@,$SHLIB_LD,;t t
s,@@TCL_SHLIB_LD_EXTRAS@@,$TCL_SHLIB_LD_EXTRAS,;t t
s,@@TK_SHLIB_LD_EXTRAS@@,$TK_SHLIB_LD_EXTRAS,;t t
s,@@SHLIB_LD_LIBS@@,$SHLIB_LD_LIBS,;t t
s,@@SHLIB_CFLAGS@@,$SHLIB_CFLAGS,;t t
s,@@SHLIB_SUFFIX@@,$SHLIB_SUFFIX,;t t
s,@@MAKE_LIB@@,$MAKE_LIB,;t t
s,@@MAKE_STUB_LIB@@,$MAKE_STUB_LIB,;t t
s,@@INSTALL_LIB@@,$INSTALL_LIB,;t t
s,@@DLL_INSTALL_DIR@@,$DLL_INSTALL_DIR,;t t
s,@@INSTALL_STUB_LIB@@,$INSTALL_STUB_LIB,;t t
s,@@CFLAGS_DEFAULT@@,$CFLAGS_DEFAULT,;t t
s,@@LDFLAGS_DEFAULT@@,$LDFLAGS_DEFAULT,;t t
s,@@XFT_CFLAGS@@,$XFT_CFLAGS,;t t
s,@@XFT_LIBS@@,$XFT_LIBS,;t t
s,@@UNIX_FONT_OBJS@@,$UNIX_FONT_OBJS,;t t
s,@@TK_VERSION@@,$TK_VERSION,;t t
s,@@TK_MAJOR_VERSION@@,$TK_MAJOR_VERSION,;t t
s,@@TK_MINOR_VERSION@@,$TK_MINOR_VERSION,;t t
s,@@TK_PATCH_LEVEL@@,$TK_PATCH_LEVEL,;t t
s,@@TK_YEAR@@,$TK_YEAR,;t t
s,@@TK_LIB_FILE@@,$TK_LIB_FILE,;t t
s,@@TK_LIB_FLAG@@,$TK_LIB_FLAG,;t t
s,@@TK_LIB_SPEC@@,$TK_LIB_SPEC,;t t
s,@@TK_STUB_LIB_FILE@@,$TK_STUB_LIB_FILE,;t t
s,@@TK_STUB_LIB_FLAG@@,$TK_STUB_LIB_FLAG,;t t
s,@@TK_STUB_LIB_SPEC@@,$TK_STUB_LIB_SPEC,;t t
s,@@TK_STUB_LIB_PATH@@,$TK_STUB_LIB_PATH,;t t
s,@@TK_INCLUDE_SPEC@@,$TK_INCLUDE_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_SPEC@@,$TK_BUILD_STUB_LIB_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_PATH@@,$TK_BUILD_STUB_LIB_PATH,;t t
s,@@TK_SRC_DIR@@,$TK_SRC_DIR,;t t
s,@@TK_SHARED_BUILD@@,$TK_SHARED_BUILD,;t t
s,@@LD_LIBRARY_PATH_VAR@@,$LD_LIBRARY_PATH_VAR,;t t
s,@@TK_BUILD_LIB_SPEC@@,$TK_BUILD_LIB_SPEC,;t t
s,@@TK_BUILD_EXP_FILE@@,$TK_BUILD_EXP_FILE,;t t
s,@@TK_EXP_FILE@@,$TK_EXP_FILE,;t t
s,@@TCL_STUB_FLAGS@@,$TCL_STUB_FLAGS,;t t
s,@@XINCLUDES@@,$XINCLUDES,;t t
s,@@XLIBSW@@,$XLIBSW,;t t
s,@@LOCALES@@,$LOCALES,;t t
s,@@TK_WINDOWINGSYSTEM@@,$TK_WINDOWINGSYSTEM,;t t
s,@@TK_PKG_DIR@@,$TK_PKG_DIR,;t t
s,@@TK_LIBRARY@@,$TK_LIBRARY,;t t
s,@@LIB_RUNTIME_DIR@@,$LIB_RUNTIME_DIR,;t t
s,@@PRIVATE_INCLUDE_DIR@@,$PRIVATE_INCLUDE_DIR,;t t
s,@@HTML_DIR@@,$HTML_DIR,;t t
s,@@EXTRA_CC_SWITCHES@@,$EXTRA_CC_SWITCHES,;t t
s,@@EXTRA_APP_CC_SWITCHES@@,$EXTRA_APP_CC_SWITCHES,;t t
s,@@EXTRA_INSTALL@@,$EXTRA_INSTALL,;t t
s,@@EXTRA_INSTALL_BINARIES@@,$EXTRA_INSTALL_BINARIES,;t t
s,@@EXTRA_BUILD_HTML@@,$EXTRA_BUILD_HTML,;t t
s,@@EXTRA_WISH_LIBS@@,$EXTRA_WISH_LIBS,;t t
s,@@EXTRA_AQUA_OBJS@@,$EXTRA_AQUA_OBJS,;t t
s,@@EXTRA_AQUA_SRCS@@,$EXTRA_AQUA_SRCS,;t t
s,@@CFBUNDLELOCALIZATIONS@@,$CFBUNDLELOCALIZATIONS,;t t
s,@@MACOSX_SRC_DIR@@,$MACOSX_SRC_DIR,;t t
s,@@TK_RSRC_FILE@@,$TK_RSRC_FILE,;t t
s,@@WISH_RSRC_FILE@@,$WISH_RSRC_FILE,;t t
s,@@LIB_RSRC_FILE@@,$LIB_RSRC_FILE,;t t
s,@@APP_RSRC_FILE@@,$APP_RSRC_FILE,;t t
s,@@REZ@@,$REZ,;t t
s,@@REZ_FLAGS@@,$REZ_FLAGS,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
d12461 7
a12467 1
fi # test -n "$CONFIG_FILES"
d12469 18
d12488 17
d12506 62
a12567 10
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
d12570 1
a12570 2
  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
d12574 1
a12574 2
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12576 22
a12597 9
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
d12599 7
a12605 3
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
d12609 1
a12609 2
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12611 18
a12628 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d12630 3
a12632 3
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
a12633 1

d12636 3
a12638 1
if test "$ac_dir" != .; then
d12640 11
a12650 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d12653 1
a12653 1
  .)  # No --srcdir option.  We are building in place.
d12655 3
a12657 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d12659 6
a12664 4
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d12666 1
a12667 38
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12669 5
d12675 1
d12677 30
a12706 15
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."
d12708 3
a12710 28
  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
d12718 19
a12736 17
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi
d12738 6
a12743 3
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
a12744 42
#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_dest" : 'X\(//\)[^/]' \| \
	 X"$ac_dest" : 'X\(//\)$' \| \
	 X"$ac_dest" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }
d12746 4
a12749 64
  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12752 2
a12753 4
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    Tk.framework ) n=Tk &&
d12761 1
d12763 1
a12763 2
done
_ACEOF
a12764 1
cat >>$CONFIG_STATUS <<\_ACEOF
@


1.209
log
@[Enh 2959069] Support for -fvisibility=hidden
@
text
@d4318 1
a4318 1
	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -fvisibility=hidden"
@


1.208
log
@Use @@EXEEXT@@ in stead of @@EXT_SUFFIX@@
Use -DBUILD_tk in Makefile
Make internal Tk_ObjCustomOption const
@
text
@d4318 56
d4424 1
a4424 4
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6
    if test $tcl_cv_cc_visibility_hidden = yes; then
d4435 3
@


1.207
log
@regen.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.61 for tk 8.6.
d5 1
a5 2
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d12 1
a12 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d19 2
a20 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d22 1
a31 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d33 1
a33 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d47 1
a47 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d52 1
a52 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d58 1
a58 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d66 1
a66 1
as_me=`$as_basename -- "$0" ||
d69 2
a70 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d72 4
a75 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
a76 2
# CDPATH.
$as_unset CDPATH
d78 7
d86 11
a96 5
if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
a98 16
  if test $as_have_required = yes && 	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}
d100 16
a115 7
exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi
d117 13
a129 35
if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
d135 2
a136 1
  case $as_dir in
d138 1
a138 100
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
(as_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
d141 1
d143 12
a154 96
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        done
        export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell autoconf@@gnu.org about your system,
  echo including any error possibly output before this
  echo message
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d158 4
a161 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d163 2
a164 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a165 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d167 3
a169 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d171 2
a172 1
      s/-\n.*//
d174 1
a174 1
  chmod +x "$as_me.lineno" ||
d180 2
a181 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d187 5
a191 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d194 1
a194 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a200 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d203 4
a206 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d208 3
d216 1
a216 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d225 1
a225 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d234 8
a242 1
exec 7<&0 </dev/null 6>&1
d249 2
a254 1
ac_clean_files=
a255 1
LIBOBJS=
d262 5
d277 1
a277 1
#ifdef HAVE_SYS_TYPES_H
d280 1
a280 1
#ifdef HAVE_SYS_STAT_H
d283 1
a283 1
#ifdef STDC_HEADERS
d287 1
a287 1
# ifdef HAVE_STDLIB_H
d291 2
a292 2
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
d297 1
a297 1
#ifdef HAVE_STRINGS_H
d300 1
a300 1
#ifdef HAVE_INTTYPES_H
d302 4
d307 1
a307 4
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
d311 1
a311 144
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
TCL_VERSION
TCL_PATCH_LEVEL
TCL_BIN_DIR
TCL_SRC_DIR
TCL_LIB_FILE
TCL_LIB_FLAG
TCL_LIB_SPEC
TCL_STUB_LIB_FILE
TCL_STUB_LIB_FLAG
TCL_STUB_LIB_SPEC
TCLSH_PROG
BUILD_TCLSH
MAN_FLAGS
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
CPP
GREP
EGREP
TCL_THREADS
RANLIB
AR
LIBOBJS
TCL_LIBS
DL_LIBS
DL_OBJS
PLAT_OBJS
PLAT_SRCS
LDAIX_SRC
CFLAGS_DEBUG
CFLAGS_OPTIMIZE
CFLAGS_WARNING
LDFLAGS_DEBUG
LDFLAGS_OPTIMIZE
CC_SEARCH_FLAGS
LD_SEARCH_FLAGS
STLIB_LD
SHLIB_LD
TCL_SHLIB_LD_EXTRAS
TK_SHLIB_LD_EXTRAS
SHLIB_LD_LIBS
SHLIB_CFLAGS
SHLIB_SUFFIX
EXE_SUFFIX
MAKE_LIB
MAKE_STUB_LIB
INSTALL_LIB
DLL_INSTALL_DIR
INSTALL_STUB_LIB
CFLAGS_DEFAULT
LDFLAGS_DEFAULT
XMKMF
XFT_CFLAGS
XFT_LIBS
UNIX_FONT_OBJS
TK_VERSION
TK_MAJOR_VERSION
TK_MINOR_VERSION
TK_PATCH_LEVEL
TK_YEAR
TK_LIB_FILE
TK_LIB_FLAG
TK_LIB_SPEC
TK_STUB_LIB_FILE
TK_STUB_LIB_FLAG
TK_STUB_LIB_SPEC
TK_STUB_LIB_PATH
TK_INCLUDE_SPEC
TK_BUILD_STUB_LIB_SPEC
TK_BUILD_STUB_LIB_PATH
TK_SRC_DIR
TK_SHARED_BUILD
LD_LIBRARY_PATH_VAR
TK_BUILD_LIB_SPEC
TK_BUILD_EXP_FILE
TK_EXP_FILE
TCL_STUB_FLAGS
XINCLUDES
XLIBSW
LOCALES
TK_WINDOWINGSYSTEM
TK_PKG_DIR
TK_LIBRARY
LIB_RUNTIME_DIR
PRIVATE_INCLUDE_DIR
HTML_DIR
EXTRA_CC_SWITCHES
EXTRA_APP_CC_SWITCHES
EXTRA_INSTALL
EXTRA_INSTALL_BINARIES
EXTRA_BUILD_HTML
EXTRA_WISH_LIBS
EXTRA_AQUA_OBJS
EXTRA_AQUA_SRCS
CFBUNDLELOCALIZATIONS
MACOSX_SRC_DIR
TK_RSRC_FILE
WISH_RSRC_FILE
LIB_RSRC_FILE
APP_RSRC_FILE
REZ
REZ_FLAGS
LTLIBOBJS'
a312 11
      ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP
XMKMF'

a338 1
# (The list follows the same order as the GNU Coding Standards.)
d342 1
a342 2
datarootdir='${prefix}/share'
datadir='${datarootdir}'
d346 1
d349 2
a350 9
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
a352 1
ac_dashdash=
d357 1
a357 1
    eval $ac_prev=\$ac_option
d362 1
a362 4
  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac
d366 1
a366 3
  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;
d388 1
a388 1
  -datadir | --datadir | --datadi | --datad)
d390 2
a391 1
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
a393 7
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

d397 1
a397 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d400 2
a401 12
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=no ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;
d406 1
a406 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d409 6
a414 2
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=\$ac_optarg ;;
a440 6
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

a464 5
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

d466 2
a467 1
  | --localstate | --localstat | --localsta | --localst | --locals)
d470 2
a471 1
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
a535 10
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

d588 1
a588 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d591 6
a596 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=\$ac_optarg ;;
d601 1
a601 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d604 2
a605 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=no ;;
d636 2
a637 1
    eval $ac_envvar=\$ac_optarg
d657 2
a658 5
# Be sure to have absolute directory names.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
d660 1
a660 1
  eval ac_val=\$$ac_var
d662 15
a676 2
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
a677 2
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; }
a703 10
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  { echo "$as_me: error: Working directory cannot be determined" >&2
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  { echo "$as_me: error: pwd does not report name of working directory" >&2
   { (exit 1); exit 1; }; }


d707 2
a708 2
  # Try the directory containing this script, then the parent directory.
  ac_confdir=`$as_dirname -- "$0" ||
d712 2
a713 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d715 5
a719 17
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
d721 1
a721 1
  if test ! -r "$srcdir/$ac_unique_file"; then
d727 3
a729 3
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
d731 4
d736 2
a737 3
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
d739 34
a772 18
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

d800 3
d820 1
d827 2
a828 10
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/tk]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]
d883 2
a884 3
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
a885 1
  XMKMF       Path to xmkmf, Makefile generator for X Window System
a890 1
ac_status=$?
d895 1
d897 1
a897 1
    test -d "$ac_dir" || continue
d900 1
a900 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d902 5
a906 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d909 1
a909 1
  .)  # We are building in place.
d911 6
a916 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d918 43
a960 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a961 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d963 12
a974 8
    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
d977 2
a978 2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
d982 1
a982 1
test -n "$ac_init_help" && exit $ac_status
d986 1
a986 1
generated by GNU Autoconf 2.61
d988 1
a988 2
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d992 1
a992 1
  exit
d994 2
a995 1
cat >config.log <<_ACEOF
d1000 1
a1000 1
generated by GNU Autoconf 2.61.  Invocation command line was
a1004 1
exec 5>>config.log
d1023 1
a1023 1
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
a1036 1
IFS=$as_save_IFS
d1058 1
d1069 1
a1069 1
    *\'*)
d1091 3
a1093 1
      ac_configure_args="$ac_configure_args '$ac_arg'"
d1104 2
a1105 2
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
d1118 1
a1118 15
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
d1120 2
a1121 2
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d1123 3
a1125 3
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
d1127 2
a1128 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d1130 2
a1131 3
    esac |
    sort
)
d1142 2
a1143 5
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      echo "$ac_var='\''$ac_val'\''"
d1149 3
a1151 3
## ------------------- ##
## File substitutions. ##
## ------------------- ##
d1156 2
a1157 5
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	echo "$ac_var='\''$ac_val'\''"
d1169 1
a1169 1
      cat confdefs.h
d1176 2
a1177 2
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d1179 1
a1179 1
' 0
d1186 3
a1188 1
rm -f -r conftest* confdefs.h
d1219 6
a1224 7
if test -n "$CONFIG_SITE"; then
  set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
  set x "$ac_default_prefix/share/config.site" \
	"$ac_default_prefix/etc/config.site"
d1226 1
a1226 3
shift
for ac_site_file
do
d1242 2
a1243 2
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
d1255 2
a1256 1
for ac_var in $ac_precious_vars; do
d1259 2
a1260 2
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
d1285 2
a1286 1
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d1303 6
a1332 5
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
d1361 1
a1361 1
# Check whether --with-tcl was given.
d1363 5
a1367 5
  withval=$with_tcl; with_tclconfig="${withval}"
fi

	{ echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6; }
d1469 2
a1470 2
	    { echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1475 2
a1476 2
    { echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6; }
d1479 2
a1480 2
        { echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6; }
d1483 2
a1484 2
        { echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1545 2
a1546 2
    { echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }
d1569 2
a1570 2
	{ echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6; }
d1574 2
a1575 2
	{ echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6; }
d1580 2
a1581 2
    { echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6; }
d1583 2
a1584 2
    { echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6; }
d1607 3
a1609 3
    { echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-symlinks was given.
d1611 2
a1612 1
  enableval=$enable_man_symlinks; test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d1615 7
a1621 8
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }

    { echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-compression was given.
d1623 2
a1624 1
  enableval=$enable_man_compression; case $enableval in
d1633 3
a1635 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1637 2
a1638 2
	{ echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6; }
d1644 2
a1645 2
	{ echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6; }
d1648 3
a1650 3
    { echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-suffix was given.
d1652 2
a1653 1
  enableval=$enable_man_suffix; case $enableval in
d1660 3
a1662 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1685 2
a1686 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1699 1
a1699 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1705 1
IFS=$as_save_IFS
d1711 2
a1712 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1714 2
a1715 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1717 1

d1723 2
a1724 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1737 1
a1737 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1743 1
IFS=$as_save_IFS
d1749 2
a1750 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1752 2
a1753 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1756 1
a1756 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1762 2
a1763 2
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d1765 2
a1766 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1779 1
a1779 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1785 1
IFS=$as_save_IFS
d1791 40
a1830 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1832 2
a1833 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1836 4
a1840 1
  fi
d1845 2
a1846 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1860 1
a1860 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1870 1
IFS=$as_save_IFS
d1888 2
a1889 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1891 2
a1892 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1894 1

d1898 1
a1898 1
  for ac_prog in cl.exe
d1902 2
a1903 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1916 1
a1916 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1922 1
IFS=$as_save_IFS
d1928 2
a1929 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1931 2
a1932 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1934 1

d1940 1
a1940 1
  for ac_prog in cl.exe
d1944 2
a1945 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1958 1
a1958 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1964 1
IFS=$as_save_IFS
d1970 2
a1971 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1973 2
a1974 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1976 1

d1980 1
a1980 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1993 2
a1994 1
echo "$as_me:$LINENO: checking for C compiler version" >&5
d1996 2
a1997 7
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler --version >&5") 2>&5
d2001 2
a2002 7
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -v >&5") 2>&5
d2006 2
a2007 7
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -V >&5") 2>&5
d2032 2
a2033 2
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
d2035 2
a2036 26
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort.  b.out is created by i960 compilers.
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions.  Remove them first so a
# subsequent execution test works.
ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { (ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link_default") 2>&5
d2040 9
a2048 6
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
d2052 4
a2055 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
d2062 5
a2066 9
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an `-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
a2071 2
test "$ac_cv_exeext" = no && ac_cv_exeext=

a2072 6
  ac_file=''
fi

{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
if test -z "$ac_file"; then
d2084 2
d2087 1
a2087 1
# Check that the compiler produces executables we can run.  If not, either
d2089 2
a2090 2
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
d2095 2
a2096 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d2115 2
a2116 2
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d2120 1
a2120 1
# Check that the compiler produces executables we can run.  If not, either
d2122 9
a2130 14
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }

{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d2141 1
a2141 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d2143 1
d2157 2
a2158 2
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
d2163 2
a2164 2
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
d2184 2
a2185 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>&5
d2189 1
a2189 2
  for ac_file in conftest.o conftest.obj conftest.*; do
  test -f "$ac_file" || continue;
d2191 1
a2191 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
d2209 2
a2210 2
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
d2213 2
a2214 2
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
d2237 2
a2238 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2244 14
a2257 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2263 1
a2263 1
	ac_compiler_gnu=no
d2265 1
a2265 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2269 2
a2270 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
d2274 3
a2276 2
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
d2280 1
a2280 5
  ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat >conftest.$ac_ext <<_ACEOF
d2296 2
a2297 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2303 5
a2307 33
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	CFLAGS=""
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2308 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2310 4
a2313 34
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2314 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2316 1
a2316 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2322 1
a2322 7

fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2324 1
a2324 3

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag
d2326 2
a2327 2
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
d2343 3
a2345 3
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
d2348 1
a2348 1
  ac_cv_prog_cc_c89=no
d2382 1
a2382 1
   as 'x'.  The following induces an error, until -std is added to get
d2385 1
a2385 1
   that's true only with -std.  */
a2387 5
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   inside strings and character constants.  */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];

d2402 8
a2409 2
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d2413 2
a2414 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2420 16
a2435 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_c89=$ac_arg
a2439 1

d2441 1
a2441 3

rm -f core conftest.err conftest.$ac_objext
  test "x$ac_cv_prog_cc_c89" != "xno" && break
d2443 1
a2443 1
rm -f conftest.$ac_ext
d2447 5
a2451 8
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c89" in
  x)
    { echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
  xno)
    { echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
d2453 3
a2455 3
    CC="$CC $ac_cv_prog_cc_c89"
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
d2458 39
a2496 15

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
d2503 9
a2511 6
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

d2514 2
a2515 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2521 15
a2535 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_c_inline=$ac_kw
d2540 1
a2540 1

d2542 112
d2655 2
a2656 2
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  test "$ac_cv_c_inline" != no && break
d2660 2
a2661 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
d2687 2
a2688 2
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
d2722 2
a2723 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2729 11
a2739 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2747 1

d2750 1
a2750 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2760 2
a2761 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2767 11
a2777 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2787 1

d2805 2
a2806 2
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
d2829 2
a2830 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2836 11
a2846 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2854 1

d2857 1
a2857 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2867 2
a2868 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2874 11
a2884 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2894 1

d2917 3
a2919 91
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in grep ggrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    # Check for GNU ac_path_GREP and select it if it is found.
  # Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'GREP' >> "conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_GREP="$ac_path_GREP"
      ac_path_GREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_GREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_GREP=$GREP
fi


fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 GREP="$ac_cv_path_GREP"


{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   then ac_cv_path_EGREP="$GREP -E"
   else
     # Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
d2922 3
a2924 32
  ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in egrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    # Check for GNU ac_path_EGREP and select it if it is found.
  # Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'EGREP' >> "conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP="$ac_path_EGREP"
      ac_path_EGREP_max=$ac_count
a2925 30
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_EGREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_EGREP=$EGREP
fi


   fi
d2927 3
a2929 3
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 EGREP="$ac_cv_path_EGREP"
d2932 2
a2933 2
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
d2957 2
a2958 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2964 14
a2977 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2983 1
a2983 1
	ac_cv_header_stdc=no
d2985 1
a2985 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3040 1
#include <stdlib.h>
d3060 2
a3061 2
      return 2;
  return 0;
d3065 2
a3066 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d3070 2
a3071 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d3084 1
a3084 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a3085 2


d3088 2
a3089 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
d3112 3
a3114 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d3128 2
a3129 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3135 14
a3148 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3154 1
a3154 1
	eval "$as_ac_Header=no"
d3156 1
a3156 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3158 2
a3159 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d3171 2
a3172 2
  { echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3176 2
a3177 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3180 2
a3181 2
{ echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; }
d3192 2
a3193 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3199 14
a3212 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3218 1
a3218 1
	ac_header_compiler=no
d3220 3
a3222 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3225 2
a3226 2
{ echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; }
d3235 2
a3236 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3242 11
a3252 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3259 1

d3261 2
a3262 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3286 8
a3293 1

d3296 2
a3297 2
{ echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3303 2
a3304 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3329 2
a3330 2
  { echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3334 2
a3335 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3338 2
a3339 2
{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; }
d3350 2
a3351 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3357 14
a3370 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3376 1
a3376 1
	ac_header_compiler=no
d3378 3
a3380 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3383 2
a3384 2
{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; }
d3393 2
a3394 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3400 11
a3410 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3417 1

d3419 2
a3420 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3444 8
a3451 1

d3454 2
a3455 2
{ echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3461 2
a3462 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3537 2
a3538 2
    { echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6; }
d3560 2
a3561 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3567 14
a3580 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3586 1
a3586 1
	tcl_cv_cc_pipe=no
d3588 1
a3588 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3591 2
a3592 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6; }
d3603 1
a3603 1
    # Check whether --enable-threads was given.
d3605 2
a3606 1
  enableval=$enable_threads; tcl_ok=$enableval
d3609 1
a3609 2
fi

d3641 2
a3642 2
	{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3655 1
a3655 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3659 2
d3665 1
a3665 1
return pthread_mutex_init ();
d3671 2
a3672 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3678 14
a3691 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3697 1
a3697 1
	ac_cv_lib_pthread_pthread_mutex_init=no
d3699 1
a3699 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3703 2
a3704 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
d3717 2
a3718 2
	    { echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3731 1
a3731 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3735 2
d3741 1
a3741 1
return __pthread_mutex_init ();
d3747 2
a3748 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3754 14
a3767 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3773 1
a3773 1
	ac_cv_lib_pthread___pthread_mutex_init=no
d3775 1
a3775 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3779 2
a3780 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6; }
d3793 2
a3794 2
	    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6; }
d3807 1
a3807 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3811 2
d3817 1
a3817 1
return pthread_mutex_init ();
d3823 2
a3824 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3830 14
a3843 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3849 1
a3849 1
	ac_cv_lib_pthreads_pthread_mutex_init=no
d3851 1
a3851 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3855 2
a3856 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6; }
d3867 2
a3868 2
		{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6; }
d3881 1
a3881 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3885 2
d3891 1
a3891 1
return pthread_mutex_init ();
d3897 2
a3898 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3904 14
a3917 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3923 1
a3923 1
	ac_cv_lib_c_pthread_mutex_init=no
d3925 1
a3925 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3929 2
a3930 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6; }
d3938 2
a3939 2
		    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6; }
d3952 1
a3952 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3956 2
d3962 1
a3962 1
return pthread_mutex_init ();
d3968 2
a3969 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3975 14
a3988 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3994 1
a3994 1
	ac_cv_lib_c_r_pthread_mutex_init=no
d3996 1
a3996 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4000 2
a4001 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6; }
d4026 3
a4028 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d4054 1
a4054 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4057 1
d4059 2
d4065 1
a4065 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d4067 5
d4077 1
a4077 1
return $ac_func ();
d4083 2
a4084 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4090 14
a4103 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4109 1
a4109 1
	eval "$as_ac_var=no"
d4111 1
a4111 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4114 2
a4115 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d4128 2
a4129 2
    { echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6; }
d4137 2
a4138 2
	    { echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6; }
d4140 2
a4141 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d4144 2
a4145 2
	{ echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6; }
d4155 3
a4157 3
    { echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }
    # Check whether --enable-shared was given.
d4159 2
a4160 1
  enableval=$enable_shared; tcl_ok=$enableval
d4163 1
a4163 2
fi

d4173 2
a4174 2
	{ echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6; }
d4177 2
a4178 2
	{ echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6; }
d4197 2
a4198 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4211 1
a4211 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4217 1
IFS=$as_save_IFS
d4223 2
a4224 2
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
d4226 2
a4227 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4229 1

d4235 2
a4236 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4249 1
a4249 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4255 1
IFS=$as_save_IFS
d4257 1
d4262 2
a4263 2
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
d4265 2
a4266 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d4269 1
a4269 15
  if test "x$ac_ct_RANLIB" = x; then
    RANLIB=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    RANLIB=$ac_ct_RANLIB
  fi
d4278 3
a4280 3
    { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit was given.
d4282 2
a4283 1
  enableval=$enable_64bit; do64bit=$enableval
d4286 3
a4288 4
fi

    { echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6; }
d4292 3
a4294 3
    { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit-vis was given.
d4296 2
a4297 1
  enableval=$enable_64bit_vis; do64bitVIS=$enableval
d4300 3
a4302 4
fi

    { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6; }
d4312 2
a4313 2
    { echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6; }
d4337 2
a4338 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4344 14
a4357 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4363 1
a4363 1
	tcl_cv_cc_visibility_hidden=no
d4365 1
a4365 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4369 2
a4370 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6; }
d4384 3
a4386 3
    { echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6; }
    # Check whether --enable-rpath was given.
d4388 2
a4389 1
  enableval=$enable_rpath; doRpath=$enableval
d4392 3
a4394 4
fi

    { echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6; }
d4400 2
a4401 2
    { echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6; }
d4428 2
a4429 2
{ echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
d4436 2
a4437 2
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
d4450 1
a4450 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4454 2
d4460 1
a4460 1
return dlopen ();
d4466 2
a4467 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4473 14
a4486 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4492 1
a4492 1
	ac_cv_lib_dl_dlopen=no
d4494 1
a4494 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4498 2
a4499 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
a4513 1
    EXE_SUFFIX=""
d4542 2
a4543 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4556 1
a4556 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4562 1
IFS=$as_save_IFS
d4568 2
a4569 2
  { echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6; }
d4571 2
a4572 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4574 1

d4606 2
a4607 2
		{ echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
d4686 4
a4689 1
		case " $LIBOBJS " in
d4691 1
a4691 2
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
 ;;
d4711 2
a4712 2
	    { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
d4725 1
a4725 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4729 2
d4735 1
a4735 1
return gettimeofday ();
d4741 2
a4742 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4748 14
a4761 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4767 1
a4767 1
	ac_cv_lib_bsd_gettimeofday=no
d4769 1
a4769 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4773 2
a4774 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
d4806 2
a4807 2
	    { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
d4820 1
a4820 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4824 2
d4830 1
a4830 1
return inet_ntoa ();
d4836 2
a4837 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4843 14
a4856 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4862 1
a4862 1
	ac_cv_lib_bind_inet_ntoa=no
d4864 1
a4864 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4868 2
a4869 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
a4900 1
	    EXE_SUFFIX=".exe"
d4924 2
a4925 2
	    { echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6; }
d4938 1
a4938 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4942 2
d4948 1
a4948 1
return inet_ntoa ();
d4954 2
a4955 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4961 14
a4974 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4980 1
a4980 1
	ac_cv_lib_network_inet_ntoa=no
d4982 1
a4982 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4986 2
a4987 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6; }
d5017 2
a5018 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d5031 1
a5031 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5035 2
d5041 1
a5041 1
return shl_load ();
d5047 2
a5048 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5054 14
a5067 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5073 1
a5073 1
	ac_cv_lib_dld_shl_load=no
d5075 1
a5075 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5079 2
a5080 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5154 2
a5155 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d5168 1
a5168 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5172 2
d5178 1
a5178 1
return shl_load ();
d5184 2
a5185 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5191 14
a5204 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5210 1
a5210 1
	ac_cv_lib_dld_shl_load=no
d5212 1
a5212 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5216 2
a5217 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5245 4
a5248 1
	    case " $LIBOBJS " in
d5250 1
a5250 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5267 4
a5270 1
	    case " $LIBOBJS " in
d5272 1
a5272 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5309 4
a5312 1
	    case " $LIBOBJS " in
d5314 1
a5314 2
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
 ;;
d5373 2
a5374 2
		{ echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
d5397 2
a5398 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5404 14
a5417 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5423 1
a5423 1
	tcl_cv_cc_m64=no
d5425 1
a5425 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5429 2
a5430 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
d5519 2
a5520 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5546 2
a5547 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5579 2
a5580 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5606 2
a5607 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5709 2
a5710 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
d5733 2
a5734 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5740 14
a5753 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5759 1
a5759 1
	tcl_cv_cc_arch_ppc64=no
d5761 1
a5761 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5765 2
a5766 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
d5775 2
a5776 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
d5799 2
a5800 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5806 14
a5819 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5825 1
a5825 1
	tcl_cv_cc_arch_x86_64=no
d5827 1
a5827 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5831 2
a5832 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
d5858 2
a5859 2
	    { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
d5882 2
a5883 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5889 14
a5902 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5908 1
a5908 1
	tcl_cv_ld_single_module=no
d5910 1
a5910 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5914 2
a5915 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
d5934 2
a5935 2
	    { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
d5958 2
a5959 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5965 14
a5978 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5984 1
a5984 1
	tcl_cv_ld_search_paths_first=no
d5986 1
a5986 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5990 2
a5991 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
d6018 3
a6020 3
	    { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
	    # Check whether --enable-corefoundation was given.
d6022 2
a6023 1
  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
d6026 3
a6028 4
fi

	    { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6; }
d6031 2
a6032 2
		{ echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
d6066 2
a6067 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6073 14
a6086 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6092 1
a6092 1
	tcl_cv_lib_corefoundation=no
d6094 1
a6094 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6105 2
a6106 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
d6122 2
a6123 2
		    { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
d6147 2
a6148 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6154 14
a6167 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6173 1
a6173 1
	tcl_cv_lib_corefoundation_64=no
d6175 1
a6175 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6181 2
a6182 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
d6518 2
a6519 2
		{ echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6; }
d6522 2
a6523 2
			{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6526 2
a6527 2
  { echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6531 2
a6532 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6535 2
a6536 2
{ echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6; }
d6547 2
a6548 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d6554 14
a6567 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d6573 1
a6573 1
	ac_header_compiler=no
d6575 3
a6577 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d6580 2
a6581 2
{ echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6; }
d6590 2
a6591 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d6597 11
a6607 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a6614 1

d6616 2
a6617 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d6641 8
a6648 1

d6651 2
a6652 2
{ echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6658 2
a6659 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6668 2
a6669 2
			{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6744 2
a6745 2
	    { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
d6768 2
a6769 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6775 14
a6788 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6794 1
a6794 1
	tcl_cv_ld_Bexport=no
d6796 1
a6796 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6800 2
a6801 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
d6836 1
a6836 1
    # Check whether --enable-load was given.
d6838 2
a6839 1
  enableval=$enable_load; tcl_ok=$enableval
d6842 1
a6842 2
fi

a6986 1

d7001 3
a7003 3
    { echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }
    # Check whether --enable-symbols was given.
d7005 2
a7006 1
  enableval=$enable_symbols; tcl_ok=$enableval
d7009 1
a7009 2
fi

d7015 2
a7016 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7026 2
a7027 2
	    { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6; }
d7051 2
a7052 2
	    { echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6; }
d7054 2
a7055 2
	    { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
d7065 2
a7066 2
    { echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6; }
d7088 2
a7089 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7095 14
a7108 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7114 1
a7114 1
	cat >conftest.$ac_ext <<_ACEOF
d7131 2
a7132 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7138 14
a7151 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7157 1
a7157 1
	tcl_cv_flag__isoc99_source=no
d7159 1
a7159 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7161 1
a7161 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7193 2
a7194 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7200 14
a7213 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7219 1
a7219 1
	cat >conftest.$ac_ext <<_ACEOF
d7236 2
a7237 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7243 14
a7256 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7262 1
a7262 1
	tcl_cv_flag__largefile64_source=no
d7264 1
a7264 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7266 1
a7266 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7298 2
a7299 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7305 14
a7318 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7324 1
a7324 1
	cat >conftest.$ac_ext <<_ACEOF
d7341 2
a7342 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7348 14
a7361 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7367 1
a7367 1
	tcl_cv_flag__largefile_source64=no
d7369 1
a7369 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7371 1
a7371 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7384 2
a7385 2
	{ echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6; }
d7387 2
a7388 2
	{ echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6; }
d7393 2
a7394 2
    { echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6; }
d7417 2
a7418 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7424 14
a7437 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7443 1
a7443 1
	tcl_type_64bit="long long"
d7445 1
a7445 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7467 2
a7468 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7474 14
a7487 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a7492 1

d7494 1
a7494 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7503 2
a7504 2
	{ echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6; }
d7511 2
a7512 2
	{ echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6; }
d7515 2
a7516 2
	{ echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6; }
d7538 2
a7539 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7545 14
a7558 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7564 1
a7564 1
	tcl_cv_struct_dirent64=no
d7566 1
a7566 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7568 2
a7569 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6; }
d7578 2
a7579 2
	{ echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6; }
d7601 2
a7602 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7608 14
a7621 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7627 1
a7627 1
	tcl_cv_struct_stat64=no
d7629 1
a7629 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7631 2
a7632 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6; }
d7646 3
a7648 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d7674 1
a7674 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d7677 1
d7679 2
d7685 1
a7685 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d7687 5
d7697 1
a7697 1
return $ac_func ();
d7703 2
a7704 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d7710 14
a7723 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d7729 1
a7729 1
	eval "$as_ac_var=no"
d7731 1
a7731 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d7734 2
a7735 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d7744 2
a7745 2
	{ echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
d7767 2
a7768 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7774 14
a7787 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7793 1
a7793 1
	tcl_cv_type_off64_t=no
d7795 1
a7795 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7806 2
a7807 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d7809 2
a7810 2
	    { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7819 2
a7820 2
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
d7837 1
a7837 2
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
d7846 2
a7847 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7853 14
a7866 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7889 2
a7890 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7896 14
a7909 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7915 1
a7915 1
	ac_cv_c_bigendian=no
d7917 1
a7917 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7922 1
a7922 1
	# It does not; compile a test program.
d7932 2
a7933 2
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d7935 2
a7936 2
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d7947 2
a7948 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7954 14
a7967 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a7982 1

d7984 1
a7984 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a7991 1
$ac_includes_default
a7994 1

d7998 2
a7999 2
    long int l;
    char c[sizeof (long int)];
d8002 1
a8002 4
  return u.c[sizeof (long int) - 1] == 1;

  ;
  return 0;
d8006 2
a8007 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d8011 2
a8012 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d8025 1
a8025 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a8026 2


d8028 1
a8028 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8030 2
a8031 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
d8080 2
a8081 2
{ echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6; }
d8102 2
a8103 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8109 14
a8122 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8128 1
a8128 1
	tcl_cv_type_fd_set=no
d8130 1
a8130 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8132 2
a8133 2
{ echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6; }
d8136 2
a8137 2
    { echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6; }
d8160 2
a8161 2
{ echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6; }
d8187 4
a8190 4
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8193 2
a8194 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8197 2
a8198 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d8209 2
a8210 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8216 14
a8229 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8235 1
a8235 1
	ac_header_compiler=no
d8237 3
a8239 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d8242 2
a8243 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d8252 2
a8253 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d8259 11
a8269 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a8276 1

d8278 2
a8279 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d8303 8
a8310 1

d8313 3
a8315 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8320 2
a8321 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8333 2
a8334 2
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
d8358 2
a8359 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8365 14
a8378 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8384 1
a8384 1
	ac_cv_header_time=no
d8386 1
a8386 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8388 2
a8389 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6; }
d8407 2
a8408 2
    { echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6; }
d8435 1
a8435 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d8438 1
d8440 2
d8446 1
a8446 1
#if defined __stub_strtod || defined __stub___strtod
d8448 5
d8458 1
a8458 1
return strtod ();
d8464 2
a8465 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d8471 14
a8484 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d8490 1
a8490 1
	ac_cv_func_strtod=no
d8492 1
a8492 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d8495 2
a8496 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
d8504 2
a8505 2
	{ echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6; }
d8541 2
a8542 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d8546 2
a8547 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d8560 1
a8560 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a8561 2


d8563 2
a8564 2
{ echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6; }
d8566 4
a8569 1
	    case " $LIBOBJS " in
d8571 1
a8571 2
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext"
 ;;
d8589 2
a8590 2
{ echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
a8600 1
typedef mode_t ac__type_new_;
d8604 1
a8604 1
if ((ac__type_new_ *) 0)
d8606 1
a8606 1
if (sizeof (ac__type_new_))
d8613 2
a8614 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8620 14
a8633 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8639 1
a8639 1
	ac_cv_type_mode_t=no
d8641 1
a8641 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8643 2
a8644 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
d8655 2
a8656 2
{ echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
a8666 1
typedef pid_t ac__type_new_;
d8670 1
a8670 1
if ((ac__type_new_ *) 0)
d8672 1
a8672 1
if (sizeof (ac__type_new_))
d8679 2
a8680 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8686 14
a8699 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8705 1
a8705 1
	ac_cv_type_pid_t=no
d8707 1
a8707 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8709 2
a8710 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
d8721 2
a8722 2
{ echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
a8732 1
typedef size_t ac__type_new_;
d8736 1
a8736 1
if ((ac__type_new_ *) 0)
d8738 1
a8738 1
if (sizeof (ac__type_new_))
d8745 2
a8746 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8752 14
a8765 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8771 1
a8771 1
	ac_cv_type_size_t=no
d8773 1
a8773 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8775 2
a8776 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
d8782 1
a8782 1
#define size_t unsigned int
d8787 2
a8788 2
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
d8810 2
a8811 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
d8826 2
a8827 2
{ echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
a8837 1
typedef intptr_t ac__type_new_;
d8841 1
a8841 1
if ((ac__type_new_ *) 0)
d8843 1
a8843 1
if (sizeof (ac__type_new_))
d8850 2
a8851 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8857 14
a8870 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8876 1
a8876 1
	ac_cv_type_intptr_t=no
d8878 1
a8878 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8880 2
a8881 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
d8891 2
a8892 2
    { echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6; }
d8917 2
a8918 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8924 14
a8937 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8943 1
a8943 1
	tcl_ok=no
d8945 1
a8945 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8949 2
a8950 2
{ echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6; }
d8961 2
a8962 2
{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
a8972 1
typedef uintptr_t ac__type_new_;
d8976 1
a8976 1
if ((ac__type_new_ *) 0)
d8978 1
a8978 1
if (sizeof (ac__type_new_))
d8985 2
a8986 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8992 14
a9005 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9011 1
a9011 1
	ac_cv_type_uintptr_t=no
d9013 1
a9013 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9015 2
a9016 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
d9026 2
a9027 2
    { echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6; }
d9053 2
a9054 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9060 14
a9073 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9079 1
a9079 1
	tcl_ok=no
d9081 1
a9081 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9085 2
a9086 2
{ echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6; }
d9102 2
a9103 2
{ echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6; }
d9124 2
a9125 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9131 14
a9144 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9150 1
a9150 1
	tcl_cv_pwd_pw_gecos=no
d9152 1
a9152 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9154 2
a9155 2
{ echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6; }
d9170 3
a9172 3
    { echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6; }
    # Check whether --enable-aqua was given.
d9174 2
a9175 1
  enableval=$enable_aqua; tk_aqua=$enableval
d9178 1
a9178 2
fi

d9212 2
a9213 2
	{ echo "$as_me:$LINENO: result: yes (deprecated legacy Carbon implementation)" >&5
echo "${ECHO_T}yes (deprecated legacy Carbon implementation)" >&6; }
d9215 2
a9216 2
	{ echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6; }
d9220 2
a9221 2
	    { echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6; }
d9247 2
a9248 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9254 14
a9267 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9273 1
a9273 1
	tcl_cv_lib_x11_64=no
d9275 1
a9275 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9281 2
a9282 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6; }
d9296 2
a9297 2
	{ echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6; }
d9320 2
a9321 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9327 14
a9340 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9346 1
a9346 1
	tcl_cv_ld_weak_l=no
d9348 1
a9348 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9352 2
a9353 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6; }
d9359 4
a9362 4
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d9365 2
a9366 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d9369 2
a9370 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d9381 2
a9382 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9388 14
a9401 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9407 1
a9407 1
	ac_header_compiler=no
d9409 3
a9411 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d9414 2
a9415 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d9424 2
a9425 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9431 11
a9441 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a9448 1

d9450 2
a9451 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d9475 8
a9482 1

d9485 3
a9487 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d9492 2
a9493 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d9506 2
a9507 2
	{ echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6; }
d9538 2
a9539 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9545 14
a9558 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9564 1
a9564 1
	tcl_cv_cc_weak_import=no
d9566 1
a9566 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9570 2
a9571 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6; }
d9579 2
a9580 2
	{ echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6; }
d9612 2
a9613 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9619 14
a9632 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9638 1
a9638 1
	tcl_cv_cc_darwin_c_source=no
d9640 1
a9640 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9643 2
a9644 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6; }
d9689 2
a9690 2
    { echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
d9693 1
a9693 1
# Check whether --with-x was given.
d9695 1
a9695 2
  withval=$with_x;
fi
d9697 1
d9703 5
a9707 5
  case $x_includes,$x_libraries in #(
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
   { (exit 1); exit 1; }; };; #(
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
d9712 1
a9712 1
rm -f -r conftest.dir
d9715 1
d9717 2
a9718 6
incroot:
	@@echo incroot='${INCROOT}'
usrlibdir:
	@@echo usrlibdir='${USRLIBDIR}'
libdir:
	@@echo libdir='${LIBDIR}'
d9720 1
a9720 1
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
d9722 1
a9722 3
    for ac_var in incroot usrlibdir libdir; do
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
    done
d9725 2
a9726 2
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
d9734 1
a9734 1
	/usr/include) ac_x_includes= ;;
d9743 1
a9743 1
  rm -f -r conftest.dir
d9784 1
a9784 1
  # Guess where to find include files, by looking for Xlib.h.
d9792 1
a9792 1
#include <X11/Xlib.h>
d9794 2
a9795 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9801 11
a9811 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
d9819 1
a9819 1
  if test -r "$ac_dir/X11/Xlib.h"; then
a9824 1

d9833 1
a9833 1
  LIBS="-lX11 $LIBS"
d9840 1
a9840 1
#include <X11/Xlib.h>
d9844 1
a9844 1
XrmInitialize ()
d9850 2
a9851 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9857 14
a9870 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9878 1
a9878 1
	LIBS=$ac_save_LIBS
d9883 1
a9883 1
    if test -r "$ac_dir/libX11.$ac_extension"; then
d9890 1
a9890 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9894 8
a9901 10
case $ac_x_includes,$ac_x_libraries in #(
  no,* | *,no | *\'*)
    # Didn't find X, or a directory has "'" in its name.
    ac_cv_have_x="have_x=no";; #(
  *)
    # Record where we found X for the cache.
    ac_cv_have_x="have_x=yes\
	ac_x_includes='$ac_x_includes'\
	ac_x_libraries='$ac_x_libraries'"
esac
d9903 2
a9904 3
;; #(
    *) have_x=yes;;
  esac
d9909 2
a9910 2
  { echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6; }
d9917 4
a9920 5
  ac_cv_have_x="have_x=yes\
	ac_x_includes='$x_includes'\
	ac_x_libraries='$x_libraries'"
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
d9934 2
a9935 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9941 11
a9951 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a9958 1

d9967 2
a9968 2
	{ echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6; }
d9978 2
a9979 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9985 11
a9995 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a10002 1

d10008 2
a10009 2
		    { echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d10023 2
a10024 2
	{ echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6; }
d10028 2
a10029 2
	{ echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6; }
d10034 2
a10035 2
		{ echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d10049 2
a10050 2
	{ echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6; }
d10063 1
a10063 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10067 2
d10073 1
a10073 1
return XCreateWindow ();
d10079 2
a10080 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10086 14
a10099 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10105 1
a10105 1
	ac_cv_lib_Xwindow_XCreateWindow=no
d10107 1
a10107 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10111 2
a10112 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6; }
d10119 2
a10120 2
	{ echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6; }
d10167 2
a10168 2
    { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
d10185 1
a10185 1
return main ();
d10191 2
a10192 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10198 14
a10211 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10217 1
a10217 1
	ac_cv_lib_Xbsd_main=no
d10219 1
a10219 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10223 2
a10224 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
d10243 2
a10244 2
    { echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6; }
d10269 2
a10270 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10276 14
a10289 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10291 2
a10292 2
	{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d10300 2
a10301 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d10303 1
a10303 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10322 3
a10324 3
    { echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6; }
    # Check whether --enable-xss was given.
d10326 2
a10327 1
  enableval=$enable_xss; enable_xss=$enableval
d10330 1
a10330 2
fi

d10332 2
a10333 2
	{ echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6; }
d10335 4
a10338 4
	{ echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6; }
	{ echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
d10353 2
a10354 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10360 14
a10373 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10379 1
a10379 1
	ac_cv_header_X11_extensions_scrnsaver_h=no
d10381 1
a10381 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10383 2
a10384 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
d10392 2
a10393 2
	{ echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6; }
d10420 1
a10420 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10423 1
d10425 2
d10431 1
a10431 1
#if defined __stub_XScreenSaverQueryInfo || defined __stub___XScreenSaverQueryInfo
d10433 5
d10443 1
a10443 1
return XScreenSaverQueryInfo ();
d10449 2
a10450 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10456 14
a10469 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10475 1
a10475 1
	ac_cv_func_XScreenSaverQueryInfo=no
d10477 1
a10477 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10480 2
a10481 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6; }
d10486 2
a10487 2
	    { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6; }
d10500 1
a10500 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10504 2
d10510 1
a10510 1
return XScreenSaverQueryInfo ();
d10516 2
a10517 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10523 14
a10536 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10542 1
a10542 1
	ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10544 1
a10544 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10548 2
a10549 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6; }
d10557 2
a10558 2
		{ echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6; }
d10571 1
a10571 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10575 2
d10581 1
a10581 1
return XScreenSaverQueryInfo ();
d10587 2
a10588 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10594 14
a10607 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10613 1
a10613 1
	ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d10615 1
a10615 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10619 2
a10620 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6; }
d10657 3
a10659 3
    { echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6; }
    # Check whether --enable-xft was given.
d10661 2
a10662 1
  enableval=$enable_xft; enable_xft=$enableval
d10665 1
a10665 2
fi

d10669 2
a10670 2
	{ echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6; }
d10680 2
a10681 2
	{ echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6; }
d10687 2
a10688 2
	    { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
d10703 2
a10704 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10710 14
a10723 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10729 1
a10729 1
	ac_cv_header_X11_Xft_Xft_h=no
d10731 1
a10731 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10733 2
a10734 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
d10753 2
a10754 2
{ echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6; }
d10767 1
a10767 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10771 2
d10777 1
a10777 1
return FT_New_Face ();
d10783 2
a10784 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10790 14
a10803 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10809 1
a10809 1
	ac_cv_lib_Xft_FT_New_Face=no
d10811 1
a10811 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10815 2
a10816 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6; }
d10866 2
a10867 2
{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
d10889 2
a10890 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10896 14
a10909 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10915 1
a10915 1
	ac_cv_c_char_unsigned=yes
d10917 1
a10917 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10919 2
a10920 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
d10963 3
a10965 3
	{ echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6; }
	# Check whether --enable-framework was given.
d10967 2
a10968 1
  enableval=$enable_framework; enable_framework=$enableval
d10971 1
a10971 2
fi

d10985 2
a10986 2
	    { echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6; }
d10990 2
a10991 2
		{ echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6; }
d10993 2
a10994 2
		{ echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6; }
d11009 1
a11009 1
    ac_config_files="$ac_config_files Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in"
d11023 1
a11023 1
    ac_config_commands="$ac_config_commands Tk.framework"
d11199 1
a11199 1
ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"
d11219 1
a11219 1
# So, we kill variables containing newlines.
d11222 1
a11222 16
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done

d11224 2
a11225 2
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d11231 1
a11231 1
      ;; #(
d11234 2
a11235 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d11237 2
a11238 3
    esac |
    sort
) |
a11239 1
     /^ac_cv_env_/b end
d11241 1
a11241 1
     :clear
d11244 5
a11248 7
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
d11251 1
a11251 2
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
d11260 15
d11280 1
a11280 1
# take arguments), then branch to the quote section.  Otherwise,
d11282 1
a11282 1
ac_script='
d11284 2
a11285 2
:clear
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
d11287 1
a11287 1
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
d11289 17
a11305 16
b any
:quote
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
s/\[/\\&/g
s/\]/\\&/g
s/\$/$$/g
H
:any
${
	g
	s/^\n//
	s/\n/ /g
	p
}
'
DEFS=`sed -n "$ac_script" confdefs.h`
d11312 5
a11316 6
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
d11348 1
a11348 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d11355 2
a11356 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d11358 1
a11367 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d11369 1
a11369 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d11383 1
a11383 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d11388 1
a11388 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d11394 1
a11394 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d11402 1
a11402 1
as_me=`$as_basename -- "$0" ||
d11405 2
a11406 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d11408 4
a11411 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
d11413 21
a11433 2
# CDPATH.
$as_unset CDPATH
d11436 16
d11453 23
d11478 1
d11480 12
a11491 1
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d11495 4
a11498 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d11500 2
a11501 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a11502 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d11504 3
a11506 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d11508 2
a11509 1
      s/-\n.*//
d11511 3
a11513 2
  chmod +x "$as_me.lineno" ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
d11518 2
a11519 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d11525 5
a11529 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d11532 1
a11532 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a11538 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d11541 4
a11544 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d11546 3
d11554 1
a11554 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d11563 1
a11563 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d11572 9
d11583 1
a11583 1
# Save the log message, to keep $[0] and so on meaningful, and to
d11585 10
a11594 2
# values after options handling.
ac_log="
d11596 1
a11596 1
generated by GNU Autoconf 2.61.  Invocation command line was
d11604 3
a11606 3
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

a11608 1
cat >>$CONFIG_STATUS <<_ACEOF
d11610 7
a11616 2
config_files="$ac_config_files"
config_commands="$ac_config_commands"
d11618 7
a11624 1
_ACEOF
d11627 1
d11635 1
a11635 1
  -V, --version    print version number and configuration settings, then exit
d11649 1
a11650 1
_ACEOF
d11654 2
a11655 2
configured by $0, generated by GNU Autoconf 2.61,
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
d11657 1
a11657 1
Copyright (C) 2006 Free Software Foundation, Inc.
d11660 1
a11660 3

ac_pwd='$ac_pwd'
srcdir='$srcdir'
d11671 2
a11672 2
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
d11675 1
a11675 1
  *)
d11680 4
d11688 2
d11692 12
a11703 3
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
d11709 4
a11712 2
  --he | --h |  --help | --hel | -h )
    echo "$ac_cs_usage"; exit ;;
d11718 4
a11721 2
  -*) { echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
d11724 1
a11724 2
  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;
d11740 2
a11741 4
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  CONFIG_SHELL=$SHELL
  export CONFIG_SHELL
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
a11744 9
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  echo "$ac_log"
} >&5
a11745 1
_ACEOF
d11748 1
a11748 1
# INIT-COMMANDS
d11750 1
d11755 2
a11757 2

# Handling of arguments.
d11760 8
a11767 8
  case $ac_config_target in
    "Tk-Info.plist") CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in" ;;
    "Wish-Info.plist") CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in" ;;
    "Tk.framework") CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
    "tkConfig.sh") CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
    "tk.pc") CONFIG_FILES="$CONFIG_FILES tk.pc:../unix/tk.pc.in" ;;

a11773 1

d11784 1
a11784 1
# simply because there is no reason against having it here, and in addition,
d11786 1
a11786 3
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
d11789 1
a11789 4
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
d11792 1
d11796 1
a11796 1
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d11800 2
a11801 2
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
d11808 4
d11813 1
a11813 1
# Set up the sed scripts for CONFIG_FILES section.
d11818 179
a11996 116
if test -n "$CONFIG_FILES"; then

_ACEOF



ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
TCL_VERSION!$TCL_VERSION$ac_delim
TCL_PATCH_LEVEL!$TCL_PATCH_LEVEL$ac_delim
TCL_BIN_DIR!$TCL_BIN_DIR$ac_delim
TCL_SRC_DIR!$TCL_SRC_DIR$ac_delim
TCL_LIB_FILE!$TCL_LIB_FILE$ac_delim
TCL_LIB_FLAG!$TCL_LIB_FLAG$ac_delim
TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
TCL_STUB_LIB_FILE!$TCL_STUB_LIB_FILE$ac_delim
TCL_STUB_LIB_FLAG!$TCL_STUB_LIB_FLAG$ac_delim
TCL_STUB_LIB_SPEC!$TCL_STUB_LIB_SPEC$ac_delim
TCLSH_PROG!$TCLSH_PROG$ac_delim
BUILD_TCLSH!$BUILD_TCLSH$ac_delim
MAN_FLAGS!$MAN_FLAGS$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
CPP!$CPP$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
TCL_THREADS!$TCL_THREADS$ac_delim
RANLIB!$RANLIB$ac_delim
AR!$AR$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
TCL_LIBS!$TCL_LIBS$ac_delim
DL_LIBS!$DL_LIBS$ac_delim
DL_OBJS!$DL_OBJS$ac_delim
PLAT_OBJS!$PLAT_OBJS$ac_delim
PLAT_SRCS!$PLAT_SRCS$ac_delim
LDAIX_SRC!$LDAIX_SRC$ac_delim
CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
STLIB_LD!$STLIB_LD$ac_delim
SHLIB_LD!$SHLIB_LD$ac_delim
TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
EXE_SUFFIX!$EXE_SUFFIX$ac_delim
MAKE_LIB!$MAKE_LIB$ac_delim
MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
INSTALL_LIB!$INSTALL_LIB$ac_delim
DLL_INSTALL_DIR!$DLL_INSTALL_DIR$ac_delim
INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim
LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim
XMKMF!$XMKMF$ac_delim
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
XFT_LIBS!$XFT_LIBS$ac_delim
UNIX_FONT_OBJS!$UNIX_FONT_OBJS$ac_delim
TK_VERSION!$TK_VERSION$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
d11998 1
a11998 25
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
CEOF$ac_eof
_ACEOF
a11999 88

ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
TK_MAJOR_VERSION!$TK_MAJOR_VERSION$ac_delim
TK_MINOR_VERSION!$TK_MINOR_VERSION$ac_delim
TK_PATCH_LEVEL!$TK_PATCH_LEVEL$ac_delim
TK_YEAR!$TK_YEAR$ac_delim
TK_LIB_FILE!$TK_LIB_FILE$ac_delim
TK_LIB_FLAG!$TK_LIB_FLAG$ac_delim
TK_LIB_SPEC!$TK_LIB_SPEC$ac_delim
TK_STUB_LIB_FILE!$TK_STUB_LIB_FILE$ac_delim
TK_STUB_LIB_FLAG!$TK_STUB_LIB_FLAG$ac_delim
TK_STUB_LIB_SPEC!$TK_STUB_LIB_SPEC$ac_delim
TK_STUB_LIB_PATH!$TK_STUB_LIB_PATH$ac_delim
TK_INCLUDE_SPEC!$TK_INCLUDE_SPEC$ac_delim
TK_BUILD_STUB_LIB_SPEC!$TK_BUILD_STUB_LIB_SPEC$ac_delim
TK_BUILD_STUB_LIB_PATH!$TK_BUILD_STUB_LIB_PATH$ac_delim
TK_SRC_DIR!$TK_SRC_DIR$ac_delim
TK_SHARED_BUILD!$TK_SHARED_BUILD$ac_delim
LD_LIBRARY_PATH_VAR!$LD_LIBRARY_PATH_VAR$ac_delim
TK_BUILD_LIB_SPEC!$TK_BUILD_LIB_SPEC$ac_delim
TK_BUILD_EXP_FILE!$TK_BUILD_EXP_FILE$ac_delim
TK_EXP_FILE!$TK_EXP_FILE$ac_delim
TCL_STUB_FLAGS!$TCL_STUB_FLAGS$ac_delim
XINCLUDES!$XINCLUDES$ac_delim
XLIBSW!$XLIBSW$ac_delim
LOCALES!$LOCALES$ac_delim
TK_WINDOWINGSYSTEM!$TK_WINDOWINGSYSTEM$ac_delim
TK_PKG_DIR!$TK_PKG_DIR$ac_delim
TK_LIBRARY!$TK_LIBRARY$ac_delim
LIB_RUNTIME_DIR!$LIB_RUNTIME_DIR$ac_delim
PRIVATE_INCLUDE_DIR!$PRIVATE_INCLUDE_DIR$ac_delim
HTML_DIR!$HTML_DIR$ac_delim
EXTRA_CC_SWITCHES!$EXTRA_CC_SWITCHES$ac_delim
EXTRA_APP_CC_SWITCHES!$EXTRA_APP_CC_SWITCHES$ac_delim
EXTRA_INSTALL!$EXTRA_INSTALL$ac_delim
EXTRA_INSTALL_BINARIES!$EXTRA_INSTALL_BINARIES$ac_delim
EXTRA_BUILD_HTML!$EXTRA_BUILD_HTML$ac_delim
EXTRA_WISH_LIBS!$EXTRA_WISH_LIBS$ac_delim
EXTRA_AQUA_OBJS!$EXTRA_AQUA_OBJS$ac_delim
EXTRA_AQUA_SRCS!$EXTRA_AQUA_SRCS$ac_delim
CFBUNDLELOCALIZATIONS!$CFBUNDLELOCALIZATIONS$ac_delim
MACOSX_SRC_DIR!$MACOSX_SRC_DIR$ac_delim
TK_RSRC_FILE!$TK_RSRC_FILE$ac_delim
WISH_RSRC_FILE!$WISH_RSRC_FILE$ac_delim
LIB_RSRC_FILE!$LIB_RSRC_FILE$ac_delim
APP_RSRC_FILE!$APP_RSRC_FILE$ac_delim
REZ!$REZ$ac_delim
REZ_FLAGS!$REZ_FLAGS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
a12000 17


# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@@srcdir@@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

d12002 10
a12011 62
fi # test -n "$CONFIG_FILES"


for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   { (exit 1); exit 1; }; };;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   { (exit 1); exit 1; }; };;
      esac
      ac_file_inputs="$ac_file_inputs $ac_f"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input="Generated from "`IFS=:
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    fi

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin";;
    esac
    ;;
d12014 2
a12015 1
  ac_dir=`$as_dirname -- "$ac_file" ||
d12019 2
a12020 1
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
d12022 9
a12030 22
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
d12032 3
a12034 7
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
d12038 2
a12039 1
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d12041 5
a12045 18
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
d12047 3
a12049 3
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
d12051 1
d12054 1
a12054 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d12056 5
a12060 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d12063 1
a12063 1
  .)  # We are building in place.
d12065 6
a12070 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d12072 43
a12114 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a12115 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
a12117 5
  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #
d12119 15
a12133 1
_ACEOF
d12135 27
a12161 29
cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=

case `sed -n '/datarootdir/ {
  p
  q
}
/@@datadir@@/p
/@@docdir@@/p
/@@infodir@@/p
/@@localedir@@/p
/@@mandir@@/p
' $ac_file_inputs` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*)
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
  ac_datarootdir_hack='
  s&@@datadir@@&$datadir&g
  s&@@docdir@@&$docdir&g
  s&@@infodir@@&$infodir&g
  s&@@localedir@@&$localedir&g
  s&@@mandir@@&$mandir&g
    s&\\\${datarootdir}&$datarootdir&g' ;;
esac
a12162 4

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
d12170 64
a12233 19
s&@@configure_input@@&$configure_input&;t t
s&@@top_builddir@@&$ac_top_builddir_sub&;t t
s&@@srcdir@@&$ac_srcdir&;t t
s&@@abs_srcdir@@&$ac_abs_srcdir&;t t
s&@@top_srcdir@@&$ac_top_srcdir&;t t
s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t
s&@@builddir@@&$ac_builddir&;t t
s&@@abs_builddir@@&$ac_abs_builddir&;t t
s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t
$ac_datarootdir_hack
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}
d12235 9
a12243 6
  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out"; rm -f "$tmp/out";;
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  esac
 ;;
d12245 15
d12261 38
a12298 4
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
 ;;
  esac
d12301 4
a12304 2
  case $ac_file$ac_mode in
    "Tk.framework":C) n=Tk &&
a12311 1

d12313 2
a12314 1
done # for ac_tag
d12316 1
d12345 1
@


1.206
log
@Correct compiler/linker flags for threaded builds on OpenBSD.
@
text
@d739 1
d8530 1
a8530 1
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
d11569 1
d12381 1
d12403 1
a12403 1
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
@


1.205
log
@Sync tcl.m4 and configure with Tcl version
Regenerate configure script with autoconf-2.59
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59 for tk 8.6.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
d13 2
a14 1
# Be Bourne compatible
d21 30
a50 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a51 1
DUALCASE=1; export DUALCASE # for MKS sh
d61 33
d95 3
a97 1
$as_unset ENV MAIL MAILPATH
d111 1
a111 1
    $as_unset $as_var
d116 2
a117 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d123 1
a123 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d131 1
a131 1
as_me=`$as_basename "$0" ||
d134 1
a134 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d136 17
a152 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d154 23
d178 19
a196 7
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
d198 3
a200 11
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d203 6
d210 1
a210 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
d212 9
a220 13
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
d226 1
a226 2
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
d228 195
a422 1
	   if ("$as_dir/$as_base" -c '
a424 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d426 1
a426 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d430 5
a434 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d436 6
a441 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d443 4
d448 2
a449 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d451 1
a451 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d453 1
a453 1
  chmod +x $as_me.lineno ||
d459 2
a460 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d466 15
a480 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d483 2
a484 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d491 6
d499 6
a504 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a505 3
  else
    as_ln_s='ln -s'
  fi
d511 2
a512 1
rm -f conf$$ conf$$.exe conf$$.file
d521 22
a542 1
as_executable_p="test -f"
a550 8
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH
d552 1
a558 2
exec 6>&1

d563 1
d565 1
a571 5
# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

d582 1
a582 1
#if HAVE_SYS_TYPES_H
d585 1
a585 1
#if HAVE_SYS_STAT_H
d588 1
a588 1
#if STDC_HEADERS
d592 1
a592 1
# if HAVE_STDLIB_H
d596 2
a597 2
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
d602 1
a602 1
#if HAVE_STRINGS_H
d605 1
a605 1
#if HAVE_INTTYPES_H
a606 4
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
d608 4
a611 1
#if HAVE_UNISTD_H
d615 143
a757 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX EXE_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB DLL_INSTALL_DIR INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d759 11
d796 1
d800 2
a801 1
datadir='${prefix}/share'
a804 1
libdir='${exec_prefix}/lib'
d807 9
a815 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d818 1
d823 1
a823 1
    eval "$ac_prev=\$ac_option"
d828 4
a831 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d835 3
a837 1
  case $ac_option in
d859 1
a859 1
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
d861 1
a861 2
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
d864 7
d874 1
a874 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d877 12
a888 2
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d893 1
a893 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d896 2
a897 6
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;
d924 6
d954 5
d960 1
a960 2
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
d963 1
a963 2
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
d1028 10
d1090 1
a1090 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1093 2
a1094 6
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;
d1099 1
a1099 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1102 2
a1103 2
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d1134 1
a1134 2
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
d1154 5
a1158 2
# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
d1160 1
a1160 1
  eval ac_val=$`echo $ac_var`
d1162 2
a1163 15
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d1165 2
d1193 10
d1206 2
a1207 2
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
d1211 1
a1211 2
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d1213 17
a1229 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1231 1
a1231 1
  if test ! -r $srcdir/$ac_unique_file; then
d1237 3
a1239 3
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
a1240 4
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
d1242 3
a1244 2
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
d1246 17
a1262 33
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
a1290 3
_ACEOF

  cat <<_ACEOF
a1307 1
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
d1314 10
a1323 2
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
d1378 3
a1380 2
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
d1382 1
d1388 1
a1392 1
  ac_popdir=`pwd`
d1394 1
a1394 1
    test -d $ac_dir || continue
d1397 3
a1399 1
if test "$ac_dir" != .; then
d1401 11
a1411 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d1414 1
a1414 1
  .)  # No --srcdir option.  We are building in place.
d1416 3
a1418 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d1420 6
a1425 43
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
d1427 1
d1429 8
a1436 12
    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
	   test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
d1439 2
a1440 2
    fi
    cd $ac_popdir
d1444 1
a1444 1
test -n "$ac_init_help" && exit 0
d1448 1
a1448 1
generated by GNU Autoconf 2.59
d1450 2
a1451 1
Copyright (C) 2003 Free Software Foundation, Inc.
d1455 1
a1455 1
  exit 0
d1457 1
a1457 2
exec 5>config.log
cat >&5 <<_ACEOF
d1462 1
a1462 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1467 1
d1486 1
a1486 1
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
d1500 1
a1521 1
ac_sep=
d1532 1
a1532 1
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
d1554 1
a1554 3
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
d1565 2
a1566 2
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
d1579 15
a1593 1
{
d1595 2
a1596 2
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d1598 3
a1600 3
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
d1602 1
a1602 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1604 3
a1606 2
    esac;
}
d1617 5
a1621 2
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
d1627 3
a1629 3
## ------------- ##
## Output files. ##
## ------------- ##
d1634 5
a1638 2
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
d1650 1
a1650 1
      sed "/^$/d" confdefs.h | sort
d1657 2
a1658 2
  rm -f core *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
d1660 1
a1660 1
     ' 0
d1667 1
a1667 3
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h
d1698 7
a1704 6
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
d1706 3
a1708 1
for ac_site_file in $CONFIG_SITE; do
d1724 2
a1725 2
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
d1737 1
a1737 2
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1740 2
a1741 2
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
d1766 1
a1766 2
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
a1782 6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

d1807 5
d1840 1
a1840 1
# Check whether --with-tcl or --without-tcl was given.
d1842 5
a1846 5
  withval="$with_tcl"
  with_tclconfig="${withval}"
fi;
	echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
d1948 2
a1949 2
	    echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
d1954 2
a1955 2
    echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
d1958 2
a1959 2
        echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6
d1962 2
a1963 2
        echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
d2024 2
a2025 2
    echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
d2048 2
a2049 2
	echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6
d2053 2
a2054 2
	echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6
d2059 2
a2060 2
    echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6
d2062 2
a2063 2
    echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6
d2086 3
a2088 3
    echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6
    # Check whether --enable-man-symlinks or --disable-man-symlinks was given.
d2090 1
a2090 2
  enableval="$enable_man_symlinks"
  test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d2093 8
a2100 7
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6

    echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6
    # Check whether --enable-man-compression or --disable-man-compression was given.
d2102 1
a2102 2
  enableval="$enable_man_compression"
  case $enableval in
d2111 4
a2114 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2116 2
a2117 2
	echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6
d2123 2
a2124 2
	echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6
d2127 3
a2129 3
    echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6
    # Check whether --enable-man-suffix or --disable-man-suffix was given.
d2131 1
a2131 2
  enableval="$enable_man_suffix"
  case $enableval in
d2138 4
a2141 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2164 2
a2165 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2178 1
a2178 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2185 1
d2191 2
a2192 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2194 2
a2195 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2198 1
d2204 2
a2205 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2218 1
a2218 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2225 1
d2231 2
a2232 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2234 2
a2235 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2238 15
a2252 1
  CC=$ac_ct_CC
d2258 2
a2259 2
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d2261 2
a2262 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2275 1
a2275 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2282 1
d2288 2
a2289 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2291 2
a2292 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2295 1
a2295 23
fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
a2296 19
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

d2301 2
a2302 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2316 1
a2316 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2327 1
d2345 2
a2346 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2348 2
a2349 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2352 1
d2356 1
a2356 1
  for ac_prog in cl
d2360 2
a2361 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2374 1
a2374 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2381 1
d2387 2
a2388 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2390 2
a2391 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2394 1
d2400 1
a2400 1
  for ac_prog in cl
d2404 2
a2405 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2418 1
a2418 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2425 1
d2431 2
a2432 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2434 2
a2435 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2438 1
d2442 15
a2456 1
  CC=$ac_ct_CC
d2469 1
a2469 2
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
d2471 7
a2477 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
d2481 7
a2487 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
d2491 7
a2497 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
d2522 2
a2523 2
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
d2525 26
a2550 2
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
d2554 6
a2559 9
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
d2563 1
a2563 4
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
	;;
    conftest.$ac_ext )
	# This is the source file.
d2570 9
a2578 5
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
d2584 2
d2587 6
a2603 2
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
d2605 1
a2605 1
# Check the compiler produces executables we can run.  If not, either
d2607 2
a2608 2
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
d2613 6
a2618 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2637 2
a2638 2
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d2642 1
a2642 1
# Check the compiler produces executables we can run.  If not, either
d2644 14
a2657 9
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2668 1
a2668 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
a2669 1
	  export ac_cv_exeext
d2683 2
a2684 2
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
d2689 2
a2690 2
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
d2710 7
a2716 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d2720 2
a2721 1
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
d2723 1
a2723 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
d2741 2
a2742 2
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
d2745 2
a2746 2
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
d2769 7
a2775 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2781 4
a2784 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2790 1
a2790 1
ac_compiler_gnu=no
d2792 2
a2793 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2797 2
a2798 2
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
d2802 2
a2803 3
CFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
d2807 5
a2811 1
  cat >conftest.$ac_ext <<_ACEOF
d2827 7
a2833 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2839 33
a2871 5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2873 3
d2877 34
a2910 4
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2912 3
d2916 4
a2919 1
  (exit $ac_status); }; }; then
d2925 4
a2928 1
ac_cv_prog_cc_g=no
d2930 6
a2935 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2937 2
a2938 2
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
d2954 3
a2956 3
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
d2959 1
a2959 1
  ac_cv_prog_cc_stdc=no
d2993 1
a2993 1
   as 'x'.  The following induces an error, until -std1 is added to get
d2996 1
a2996 1
   that's true only with -std1.  */
d2999 5
d3018 2
a3019 8
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d3023 7
a3029 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3035 5
a3039 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
d3044 1
d3046 3
a3048 1
rm -f conftest.err conftest.$ac_objext
d3050 1
a3050 1
rm -f conftest.$ac_ext conftest.$ac_objext
d3054 8
a3061 5

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
d3063 3
a3065 3
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
d3068 15
a3082 39
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
d3089 6
a3094 9
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
d3097 7
a3103 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3109 5
a3113 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
d3118 1
a3118 1
continue
d3120 4
a3123 116
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_inline=$ac_kw; break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
d3126 2
a3127 2
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6
d3153 2
a3154 2
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
d3188 7
a3194 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3200 4
a3203 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3212 1
d3215 1
a3215 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3225 7
a3231 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3237 4
a3240 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3251 1
d3269 2
a3270 2
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
d3293 7
a3299 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3305 4
a3308 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3317 1
d3320 1
a3320 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3330 7
a3336 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3342 4
a3345 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3356 1
d3379 91
a3469 3
echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_prog_egrep+set}" = set; then
d3472 32
a3503 3
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
d3505 26
a3531 3
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep
d3534 9
a3542 2
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
d3566 7
a3572 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3578 4
a3581 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3587 1
a3587 1
ac_cv_header_stdc=no
d3589 2
a3590 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3646 1
d3666 2
a3667 2
      exit(2);
  exit (0);
d3671 7
a3677 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3681 6
a3686 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d3699 1
a3699 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3701 2
d3705 2
a3706 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
d3729 3
a3731 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d3745 7
a3751 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3757 4
a3760 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3766 1
a3766 1
eval "$as_ac_Header=no"
d3768 2
a3769 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3771 3
a3773 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d3785 2
a3786 2
  echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3790 2
a3791 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3794 2
a3795 2
echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
d3806 7
a3812 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3818 4
a3821 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3827 1
a3827 1
ac_header_compiler=no
d3829 4
a3832 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3835 2
a3836 2
echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
d3845 7
a3851 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3857 4
a3860 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3868 1
d3870 2
a3871 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d3895 1
a3895 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d3898 2
a3899 2
echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3905 2
a3906 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3931 2
a3932 2
  echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d3936 2
a3937 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d3940 2
a3941 2
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
d3952 7
a3958 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3964 4
a3967 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3973 1
a3973 1
ac_header_compiler=no
d3975 4
a3978 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3981 2
a3982 2
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
d3991 7
a3997 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d4003 4
a4006 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d4014 1
d4016 2
a4017 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d4041 1
a4041 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d4044 2
a4045 2
echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d4051 2
a4052 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d4127 2
a4128 2
    echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
d4150 7
a4156 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d4162 4
a4165 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4171 1
a4171 1
tcl_cv_cc_pipe=no
d4173 2
a4174 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4177 2
a4178 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6
d4189 1
a4189 1
    # Check whether --enable-threads or --disable-threads was given.
d4191 1
a4191 2
  enableval="$enable_threads"
  tcl_ok=$enableval
d4194 2
a4195 1
fi;
d4227 2
a4228 2
	echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4241 3
a4243 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4246 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4251 1
a4251 1
pthread_mutex_init ();
d4257 7
a4263 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4269 5
a4273 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4279 1
a4279 1
ac_cv_lib_pthread_pthread_mutex_init=no
d4281 2
a4282 1
rm -f conftest.err conftest.$ac_objext \
d4286 2
a4287 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
d4300 2
a4301 2
	    echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4314 3
a4316 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4319 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4324 1
a4324 1
__pthread_mutex_init ();
d4330 7
a4336 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4342 5
a4346 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4352 1
a4352 1
ac_cv_lib_pthread___pthread_mutex_init=no
d4354 2
a4355 1
rm -f conftest.err conftest.$ac_objext \
d4359 2
a4360 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
d4373 2
a4374 2
	    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
d4387 3
a4389 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4392 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4397 1
a4397 1
pthread_mutex_init ();
d4403 7
a4409 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4415 5
a4419 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4425 1
a4425 1
ac_cv_lib_pthreads_pthread_mutex_init=no
d4427 2
a4428 1
rm -f conftest.err conftest.$ac_objext \
d4432 2
a4433 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
d4444 2
a4445 2
		echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
d4458 3
a4460 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4463 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4468 1
a4468 1
pthread_mutex_init ();
d4474 7
a4480 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4486 5
a4490 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4496 1
a4496 1
ac_cv_lib_c_pthread_mutex_init=no
d4498 2
a4499 1
rm -f conftest.err conftest.$ac_objext \
d4503 2
a4504 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
d4512 2
a4513 2
		    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
d4526 3
a4528 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4531 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4536 1
a4536 1
pthread_mutex_init ();
d4542 7
a4548 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4554 5
a4558 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4564 1
a4564 1
ac_cv_lib_c_r_pthread_mutex_init=no
d4566 2
a4567 1
rm -f conftest.err conftest.$ac_objext \
d4571 2
a4572 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
d4597 3
a4599 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d4625 3
a4627 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4629 1
{
a4630 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4635 1
a4635 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a4636 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d4642 1
a4642 1
return f != $ac_func;
d4648 7
a4654 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4660 5
a4664 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4670 1
a4670 1
eval "$as_ac_var=no"
d4672 2
a4673 1
rm -f conftest.err conftest.$ac_objext \
d4676 3
a4678 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d4691 2
a4692 2
    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
d4700 2
a4701 2
	    echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6
d4703 2
a4704 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d4707 2
a4708 2
	echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6
d4718 3
a4720 3
    echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6
    # Check whether --enable-shared or --disable-shared was given.
d4722 1
a4722 2
  enableval="$enable_shared"
  tcl_ok=$enableval
d4725 2
a4726 1
fi;
d4736 2
a4737 2
	echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6
d4740 2
a4741 2
	echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6
d4760 2
a4761 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4774 1
a4774 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4781 1
d4787 2
a4788 2
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
d4790 2
a4791 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4794 1
d4800 2
a4801 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4814 1
a4814 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4821 1
a4822 1
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
d4827 2
a4828 2
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
d4830 2
a4831 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4834 15
a4848 1
  RANLIB=$ac_ct_RANLIB
d4857 3
a4859 3
    echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit or --disable-64bit was given.
d4861 1
a4861 2
  enableval="$enable_64bit"
  do64bit=$enableval
d4864 4
a4867 3
fi;
    echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6
d4871 3
a4873 3
    echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
d4875 1
a4875 2
  enableval="$enable_64bit_vis"
  do64bitVIS=$enableval
d4878 4
a4881 3
fi;
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6
d4891 2
a4892 2
    echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6
d4916 7
a4922 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4928 5
a4932 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4938 1
a4938 1
tcl_cv_cc_visibility_hidden=no
d4940 2
a4941 1
rm -f conftest.err conftest.$ac_objext \
d4945 2
a4946 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6
d4960 3
a4962 3
    echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6
    # Check whether --enable-rpath or --disable-rpath was given.
d4964 1
a4964 2
  enableval="$enable_rpath"
  doRpath=$enableval
d4967 4
a4970 3
fi;
    echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6
d4976 2
a4977 2
    echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6
d5004 2
a5005 2
echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6
d5012 2
a5013 2
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
d5026 3
a5028 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5031 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5036 1
a5036 1
dlopen ();
d5042 7
a5048 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5054 5
a5058 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5064 1
a5064 1
ac_cv_lib_dl_dlopen=no
d5066 2
a5067 1
rm -f conftest.err conftest.$ac_objext \
d5071 2
a5072 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
d5116 2
a5117 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5130 1
a5130 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5137 1
d5143 2
a5144 2
  echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
d5146 2
a5147 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5150 1
d5182 2
a5183 2
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6
d5262 1
a5262 4
		case $LIBOBJS in
    "tclLoadAix.$ac_objext"   | \
  *" tclLoadAix.$ac_objext"   | \
    "tclLoadAix.$ac_objext "* | \
d5264 2
a5265 1
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
d5285 2
a5286 2
	    echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
d5299 3
a5301 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5304 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5309 1
a5309 1
gettimeofday ();
d5315 7
a5321 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5327 5
a5331 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5337 1
a5337 1
ac_cv_lib_bsd_gettimeofday=no
d5339 2
a5340 1
rm -f conftest.err conftest.$ac_objext \
d5344 2
a5345 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
d5377 2
a5378 2
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6
d5391 3
a5393 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5396 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5401 1
a5401 1
inet_ntoa ();
d5407 7
a5413 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5419 5
a5423 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5429 1
a5429 1
ac_cv_lib_bind_inet_ntoa=no
d5431 2
a5432 1
rm -f conftest.err conftest.$ac_objext \
d5436 2
a5437 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6
d5493 2
a5494 2
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6
d5507 3
a5509 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5512 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5517 1
a5517 1
inet_ntoa ();
d5523 7
a5529 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5535 5
a5539 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5545 1
a5545 1
ac_cv_lib_network_inet_ntoa=no
d5547 2
a5548 1
rm -f conftest.err conftest.$ac_objext \
d5552 2
a5553 2
echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6
d5583 2
a5584 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5597 3
a5599 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5602 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5607 1
a5607 1
shl_load ();
d5613 7
a5619 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5625 5
a5629 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5635 1
a5635 1
ac_cv_lib_dld_shl_load=no
d5637 2
a5638 1
rm -f conftest.err conftest.$ac_objext \
d5642 2
a5643 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5717 2
a5718 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5731 3
a5733 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5736 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5741 1
a5741 1
shl_load ();
d5747 7
a5753 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5759 5
a5763 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5769 1
a5769 1
ac_cv_lib_dld_shl_load=no
d5771 2
a5772 1
rm -f conftest.err conftest.$ac_objext \
d5776 2
a5777 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5805 1
a5805 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5807 2
a5808 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5825 1
a5825 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5827 2
a5828 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5865 1
a5865 4
	    case $LIBOBJS in
    "mkstemp.$ac_objext"   | \
  *" mkstemp.$ac_objext"   | \
    "mkstemp.$ac_objext "* | \
d5867 2
a5868 1
  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
d5927 2
a5928 2
		echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
d5951 7
a5957 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5963 5
a5967 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5973 1
a5973 1
tcl_cv_cc_m64=no
d5975 2
a5976 1
rm -f conftest.err conftest.$ac_objext \
d5980 2
a5981 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6
d6070 2
a6071 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d6097 2
a6098 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6130 2
a6131 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d6157 2
a6158 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6167 8
d6260 2
a6261 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6
d6284 7
a6290 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6296 5
a6300 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6306 1
a6306 1
tcl_cv_cc_arch_ppc64=no
d6308 2
a6309 1
rm -f conftest.err conftest.$ac_objext \
d6313 2
a6314 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6
d6323 2
a6324 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6
d6347 7
a6353 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6359 5
a6363 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6369 1
a6369 1
tcl_cv_cc_arch_x86_64=no
d6371 2
a6372 1
rm -f conftest.err conftest.$ac_objext \
d6376 2
a6377 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6
d6403 2
a6404 2
	    echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6
d6427 7
a6433 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6439 5
a6443 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6449 1
a6449 1
tcl_cv_ld_single_module=no
d6451 2
a6452 1
rm -f conftest.err conftest.$ac_objext \
d6456 2
a6457 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
d6476 2
a6477 2
	    echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
d6500 7
a6506 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6512 5
a6516 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6522 1
a6522 1
tcl_cv_ld_search_paths_first=no
d6524 2
a6525 1
rm -f conftest.err conftest.$ac_objext \
d6529 2
a6530 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
d6557 3
a6559 3
	    echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
d6561 1
a6561 2
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
d6564 4
a6567 3
fi;
	    echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6
d6570 2
a6571 2
		echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6
d6605 7
a6611 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6617 5
a6621 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6627 1
a6627 1
tcl_cv_lib_corefoundation=no
d6629 2
a6630 1
rm -f conftest.err conftest.$ac_objext \
d6641 2
a6642 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6
d6658 2
a6659 2
		    echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6
d6683 7
a6689 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6695 5
a6699 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6705 1
a6705 1
tcl_cv_lib_corefoundation_64=no
d6707 2
a6708 1
rm -f conftest.err conftest.$ac_objext \
d6714 2
a6715 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6
d7051 2
a7052 2
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
d7055 2
a7056 2
			echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d7059 2
a7060 2
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d7064 2
a7065 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d7068 2
a7069 2
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
d7080 7
a7086 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7092 4
a7095 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7101 1
a7101 1
ac_header_compiler=no
d7103 4
a7106 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d7109 2
a7110 2
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
d7119 7
a7125 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d7131 4
a7134 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d7142 1
d7144 2
a7145 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d7169 1
a7169 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d7172 2
a7173 2
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d7179 2
a7180 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d7189 2
a7190 2
			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7265 2
a7266 2
	    echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
d7289 7
a7295 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d7301 5
a7305 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7311 1
a7311 1
tcl_cv_ld_Bexport=no
d7313 2
a7314 1
rm -f conftest.err conftest.$ac_objext \
d7318 2
a7319 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6
d7354 1
a7354 1
    # Check whether --enable-load or --disable-load was given.
d7356 1
a7356 2
  enableval="$enable_load"
  tcl_ok=$enableval
d7359 2
a7360 1
fi;
d7397 1
a7397 1
	    NetBSD-*|FreeBSD-*) ;;
d7520 3
a7522 3
    echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6
    # Check whether --enable-symbols or --disable-symbols was given.
d7524 1
a7524 2
  enableval="$enable_symbols"
  tcl_ok=$enableval
d7527 2
a7528 1
fi;
d7534 2
a7535 2
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7545 2
a7546 2
	    echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6
d7570 2
a7571 2
	    echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6
d7573 2
a7574 2
	    echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
d7584 2
a7585 2
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
d7607 7
a7613 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7619 4
a7622 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7628 1
a7628 1
cat >conftest.$ac_ext <<_ACEOF
d7645 7
a7651 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7657 4
a7660 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7666 1
a7666 1
tcl_cv_flag__isoc99_source=no
d7668 2
a7669 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7671 2
a7672 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7704 7
a7710 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7716 4
a7719 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7725 1
a7725 1
cat >conftest.$ac_ext <<_ACEOF
d7742 7
a7748 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7754 4
a7757 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7763 1
a7763 1
tcl_cv_flag__largefile64_source=no
d7765 2
a7766 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7768 2
a7769 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7801 7
a7807 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7813 4
a7816 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7822 1
a7822 1
cat >conftest.$ac_ext <<_ACEOF
d7839 7
a7845 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7851 4
a7854 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7860 1
a7860 1
tcl_cv_flag__largefile_source64=no
d7862 2
a7863 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7865 2
a7866 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7879 2
a7880 2
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
d7882 2
a7883 2
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
d7888 2
a7889 2
    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
d7912 7
a7918 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7924 4
a7927 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7933 1
a7933 1
tcl_type_64bit="long long"
d7935 2
a7936 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7958 7
a7964 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7970 4
a7973 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7979 1
d7981 2
a7982 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7991 2
a7992 2
	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
d7999 2
a8000 2
	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6
d8003 2
a8004 2
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
d8026 7
a8032 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8038 4
a8041 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8047 1
a8047 1
tcl_cv_struct_dirent64=no
d8049 2
a8050 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8052 2
a8053 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6
d8062 2
a8063 2
	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
d8085 7
a8091 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8097 4
a8100 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8106 1
a8106 1
tcl_cv_struct_stat64=no
d8108 2
a8109 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8111 2
a8112 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6
d8126 3
a8128 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d8154 3
a8156 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8158 1
{
a8159 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8164 1
a8164 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a8165 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d8171 1
a8171 1
return f != $ac_func;
d8177 7
a8183 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8189 5
a8193 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8199 1
a8199 1
eval "$as_ac_var=no"
d8201 2
a8202 1
rm -f conftest.err conftest.$ac_objext \
d8205 3
a8207 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d8216 2
a8217 2
	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
d8239 7
a8245 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8251 4
a8254 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8260 1
a8260 1
tcl_cv_type_off64_t=no
d8262 2
a8263 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8274 2
a8275 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d8277 2
a8278 2
	    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8287 2
a8288 2
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
d8305 2
a8306 1
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
d8315 7
a8321 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8327 4
a8330 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8353 7
a8359 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8365 4
a8368 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8374 1
a8374 1
ac_cv_c_bigendian=no
d8376 2
a8377 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8382 1
a8382 1
# It does not; compile a test program.
d8392 2
a8393 2
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d8395 2
a8396 2
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d8407 7
a8413 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8419 4
a8422 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8438 1
d8440 2
a8441 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8449 1
d8453 1
d8457 2
a8458 2
    long l;
    char c[sizeof (long)];
d8461 4
a8464 1
  exit (u.c[sizeof (long) - 1] == 1);
d8468 7
a8474 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8478 6
a8483 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d8496 1
a8496 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8498 2
d8501 2
a8502 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8504 2
a8505 2
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
d8554 2
a8555 2
echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6
d8576 7
a8582 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8588 4
a8591 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8597 1
a8597 1
tcl_cv_type_fd_set=no
d8599 2
a8600 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8602 2
a8603 2
echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6
d8606 2
a8607 2
    echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6
d8630 2
a8631 2
echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6
d8657 4
a8660 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8663 3
a8665 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8668 2
a8669 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d8680 7
a8686 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8692 4
a8695 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8701 1
a8701 1
ac_header_compiler=no
d8703 4
a8706 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d8709 2
a8710 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d8719 7
a8725 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d8731 4
a8734 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d8742 1
d8744 2
a8745 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d8769 1
a8769 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d8772 3
a8774 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8779 3
a8781 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8793 2
a8794 2
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
d8818 7
a8824 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8830 4
a8833 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8839 1
a8839 1
ac_cv_header_time=no
d8841 2
a8842 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8844 2
a8845 2
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
d8863 2
a8864 2
    echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6
d8891 3
a8893 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8895 1
{
a8896 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8901 1
a8901 1
#if defined (__stub_strtod) || defined (__stub___strtod)
a8902 5
#else
char (*f) () = strtod;
#endif
#ifdef __cplusplus
}
d8908 1
a8908 1
return f != strtod;
d8914 7
a8920 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8926 5
a8930 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8936 1
a8936 1
ac_cv_func_strtod=no
d8938 2
a8939 1
rm -f conftest.err conftest.$ac_objext \
d8942 2
a8943 2
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6
d8951 2
a8952 2
	echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6
d8988 7
a8994 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8998 6
a9003 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d9016 1
a9016 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d9018 2
d9021 2
a9022 2
echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6
d9024 1
a9024 4
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
d9026 2
a9027 1
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
d9045 2
a9046 2
echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
d9057 1
d9061 1
a9061 1
if ((mode_t *) 0)
d9063 1
a9063 1
if (sizeof (mode_t))
d9070 7
a9076 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9082 4
a9085 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9091 1
a9091 1
ac_cv_type_mode_t=no
d9093 2
a9094 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9096 2
a9097 2
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
d9108 2
a9109 2
echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
d9120 1
d9124 1
a9124 1
if ((pid_t *) 0)
d9126 1
a9126 1
if (sizeof (pid_t))
d9133 7
a9139 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9145 4
a9148 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9154 1
a9154 1
ac_cv_type_pid_t=no
d9156 2
a9157 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9159 2
a9160 2
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
d9171 2
a9172 2
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
d9183 1
d9187 1
a9187 1
if ((size_t *) 0)
d9189 1
a9189 1
if (sizeof (size_t))
d9196 7
a9202 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9208 4
a9211 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9217 1
a9217 1
ac_cv_type_size_t=no
d9219 2
a9220 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9222 2
a9223 2
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
d9229 1
a9229 1
#define size_t unsigned
d9234 2
a9235 2
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
d9257 2
a9258 2
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
d9273 2
a9274 2
echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
d9285 1
d9289 1
a9289 1
if ((intptr_t *) 0)
d9291 1
a9291 1
if (sizeof (intptr_t))
d9298 7
a9304 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9310 4
a9313 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9319 1
a9319 1
ac_cv_type_intptr_t=no
d9321 2
a9322 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9324 2
a9325 2
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
d9335 2
a9336 2
    echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
d9361 7
a9367 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9373 4
a9376 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9382 1
a9382 1
tcl_ok=no
d9384 2
a9385 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9389 2
a9390 2
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6
d9401 2
a9402 2
echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
d9413 1
d9417 1
a9417 1
if ((uintptr_t *) 0)
d9419 1
a9419 1
if (sizeof (uintptr_t))
d9426 7
a9432 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9438 4
a9441 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9447 1
a9447 1
ac_cv_type_uintptr_t=no
d9449 2
a9450 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9452 2
a9453 2
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
d9463 2
a9464 2
    echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
d9490 7
a9496 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9502 4
a9505 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9511 1
a9511 1
tcl_ok=no
d9513 2
a9514 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9518 2
a9519 2
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6
d9535 2
a9536 2
echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6
d9557 7
a9563 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9569 4
a9572 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9578 1
a9578 1
tcl_cv_pwd_pw_gecos=no
d9580 2
a9581 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9583 2
a9584 2
echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6
d9599 3
a9601 3
    echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6
    # Check whether --enable-aqua or --disable-aqua was given.
d9603 1
a9603 2
  enableval="$enable_aqua"
  tk_aqua=$enableval
d9606 2
a9607 1
fi;
d9641 2
a9642 2
	echo "$as_me:$LINENO: result: yes (deprecated legacy Carbon implementation)" >&5
echo "${ECHO_T}yes (deprecated legacy Carbon implementation)" >&6
d9644 2
a9645 2
	echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6
d9649 2
a9650 2
	    echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6
d9676 7
a9682 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9688 5
a9692 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9698 1
a9698 1
tcl_cv_lib_x11_64=no
d9700 2
a9701 1
rm -f conftest.err conftest.$ac_objext \
d9707 2
a9708 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6
d9722 2
a9723 2
	echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6
d9746 7
a9752 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9758 5
a9762 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9768 1
a9768 1
tcl_cv_ld_weak_l=no
d9770 2
a9771 1
rm -f conftest.err conftest.$ac_objext \
d9775 2
a9776 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6
d9782 4
a9785 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9788 3
a9790 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9793 2
a9794 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d9805 7
a9811 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9817 4
a9820 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9826 1
a9826 1
ac_header_compiler=no
d9828 4
a9831 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d9834 2
a9835 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d9844 7
a9850 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9856 4
a9859 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9867 1
d9869 2
a9870 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d9894 1
a9894 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d9897 3
a9899 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d9904 3
a9906 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d9919 2
a9920 2
	echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6
d9951 7
a9957 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9963 5
a9967 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9973 1
a9973 1
tcl_cv_cc_weak_import=no
d9975 2
a9976 1
rm -f conftest.err conftest.$ac_objext \
d9980 2
a9981 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6
d9989 2
a9990 2
	echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6
d10022 7
a10028 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10034 4
a10037 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10043 1
a10043 1
tcl_cv_cc_darwin_c_source=no
d10045 2
a10046 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10049 2
a10050 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6
d10095 2
a10096 2
    echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
d10099 1
a10099 1
# Check whether --with-x or --without-x was given.
d10101 2
a10102 1
  withval="$with_x"
a10103 1
fi;
d10109 5
a10113 5
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
d10118 1
a10118 1
rm -fr conftest.dir
a10120 1
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
d10122 6
a10127 2
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
d10129 1
a10129 1
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
d10131 3
a10133 1
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
d10136 2
a10137 2
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
	 test -f $ac_im_libdir/libX11.$ac_extension; then
d10145 1
a10145 1
	/usr/include) ;;
d10154 1
a10154 1
  rm -fr conftest.dir
d10195 1
a10195 1
  # Guess where to find include files, by looking for Intrinsic.h.
d10203 1
a10203 1
#include <X11/Intrinsic.h>
d10205 7
a10211 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10217 4
a10220 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10228 1
a10228 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d10234 1
d10243 1
a10243 1
  LIBS="-lXt $LIBS"
d10250 1
a10250 1
#include <X11/Intrinsic.h>
d10254 1
a10254 1
XtMalloc (0)
d10260 7
a10266 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10272 5
a10276 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10284 1
a10284 1
LIBS=$ac_save_LIBS
d10289 1
a10289 1
    if test -r $ac_dir/libXt.$ac_extension; then
d10296 2
a10297 1
rm -f conftest.err conftest.$ac_objext \
d10301 10
a10310 7
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d10312 3
a10314 3
fi

  fi
d10319 2
a10320 2
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
d10327 5
a10331 4
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
d10345 7
a10351 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10357 4
a10360 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10368 1
d10377 2
a10378 2
	echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6
d10388 7
a10394 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d10400 4
a10403 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d10411 1
d10417 2
a10418 2
		    echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d10432 2
a10433 2
	echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6
d10437 2
a10438 2
	echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6
d10443 2
a10444 2
		echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d10458 2
a10459 2
	echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6
d10472 3
a10474 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10477 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10482 1
a10482 1
XCreateWindow ();
d10488 7
a10494 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10500 5
a10504 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10510 1
a10510 1
ac_cv_lib_Xwindow_XCreateWindow=no
d10512 2
a10513 1
rm -f conftest.err conftest.$ac_objext \
d10517 2
a10518 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6
d10525 2
a10526 2
	echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6
d10573 2
a10574 2
    echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
d10591 1
a10591 1
main ();
d10597 7
a10603 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10609 5
a10613 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10619 1
a10619 1
ac_cv_lib_Xbsd_main=no
d10621 2
a10622 1
rm -f conftest.err conftest.$ac_objext \
d10626 2
a10627 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
d10646 2
a10647 2
    echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6
d10672 7
a10678 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10684 5
a10688 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10690 2
a10691 2
	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10699 2
a10700 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10702 2
a10703 1
rm -f conftest.err conftest.$ac_objext \
d10722 3
a10724 3
    echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6
    # Check whether --enable-xss or --disable-xss was given.
d10726 1
a10726 2
  enableval="$enable_xss"
  enable_xss=$enableval
d10729 2
a10730 1
fi;
d10732 2
a10733 2
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
d10735 4
a10738 4
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
	echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6
d10753 7
a10759 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10765 4
a10768 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10774 1
a10774 1
ac_cv_header_X11_extensions_scrnsaver_h=no
d10776 2
a10777 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10779 2
a10780 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6
d10788 2
a10789 2
	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6
d10816 3
a10818 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10820 1
{
a10821 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10826 1
a10826 1
#if defined (__stub_XScreenSaverQueryInfo) || defined (__stub___XScreenSaverQueryInfo)
a10827 5
#else
char (*f) () = XScreenSaverQueryInfo;
#endif
#ifdef __cplusplus
}
d10833 1
a10833 1
return f != XScreenSaverQueryInfo;
d10839 7
a10845 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10851 5
a10855 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10861 1
a10861 1
ac_cv_func_XScreenSaverQueryInfo=no
d10863 2
a10864 1
rm -f conftest.err conftest.$ac_objext \
d10867 2
a10868 2
echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6
d10873 2
a10874 2
	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6
d10887 3
a10889 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10892 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10897 1
a10897 1
XScreenSaverQueryInfo ();
d10903 7
a10909 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10915 5
a10919 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10925 1
a10925 1
ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10927 2
a10928 1
rm -f conftest.err conftest.$ac_objext \
d10932 2
a10933 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6
d10941 2
a10942 2
		echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6
d10955 3
a10957 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10960 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10965 1
a10965 1
XScreenSaverQueryInfo ();
d10971 7
a10977 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10983 5
a10987 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10993 1
a10993 1
ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d10995 2
a10996 1
rm -f conftest.err conftest.$ac_objext \
d11000 2
a11001 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6
d11038 3
a11040 3
    echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6
    # Check whether --enable-xft or --disable-xft was given.
d11042 1
a11042 2
  enableval="$enable_xft"
  enable_xft=$enableval
d11045 2
a11046 1
fi;
d11050 2
a11051 2
	echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6
d11061 2
a11062 2
	echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6
d11068 2
a11069 2
	    echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6
d11084 7
a11090 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d11096 4
a11099 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11105 1
a11105 1
ac_cv_header_X11_Xft_Xft_h=no
d11107 2
a11108 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d11110 2
a11111 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6
d11130 2
a11131 2
echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6
d11144 3
a11146 1
/* Override any gcc2 internal prototype to avoid an error.  */
a11149 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d11154 1
a11154 1
FT_New_Face ();
d11160 7
a11166 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d11172 5
a11176 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11182 1
a11182 1
ac_cv_lib_Xft_FT_New_Face=no
d11184 2
a11185 1
rm -f conftest.err conftest.$ac_objext \
d11189 2
a11190 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6
d11240 2
a11241 2
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
d11263 7
a11269 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d11275 4
a11278 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d11284 1
a11284 1
ac_cv_c_char_unsigned=yes
d11286 2
a11287 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d11289 2
a11290 2
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
d11333 3
a11335 3
	echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6
	# Check whether --enable-framework or --disable-framework was given.
d11337 1
a11337 2
  enableval="$enable_framework"
  enable_framework=$enableval
d11340 2
a11341 1
fi;
d11355 2
a11356 2
	    echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6
d11360 2
a11361 2
		echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6
d11363 2
a11364 2
		echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6
d11379 1
a11379 1
                        ac_config_files="$ac_config_files Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in"
d11393 1
a11393 1
              ac_config_commands="$ac_config_commands Tk.framework"
d11568 1
a11568 1
                              ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"
d11588 1
a11588 1
# So, don't put newlines in cache variables' values.
d11591 16
a11606 1
{
d11608 2
a11609 2
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d11615 1
a11615 1
      ;;
d11618 1
a11618 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d11620 3
a11622 2
    esac;
} |
d11624 1
d11626 1
a11626 1
     : clear
d11629 7
a11635 5
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
d11638 2
a11639 1
    echo "not updating unwritable cache $cache_file"
a11647 15
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

d11653 1
a11653 1
# take arguments), then we branch to the quote section.  Otherwise,
d11655 1
a11655 1
cat >confdef2opt.sed <<\_ACEOF
d11657 2
a11658 2
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
d11660 1
a11660 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
d11662 16
a11677 17
d
: quote
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
d11684 6
a11689 5
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
d11721 2
a11722 1
# Be Bourne compatible
d11729 30
a11758 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a11759 1
DUALCASE=1; export DUALCASE # for MKS sh
d11769 33
d11803 3
a11805 1
$as_unset ENV MAIL MAILPATH
d11819 1
a11819 1
    $as_unset $as_var
d11824 2
a11825 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11831 1
a11831 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d11839 1
a11839 1
as_me=`$as_basename "$0" ||
d11842 1
a11842 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d11844 13
a11856 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d11858 2
a11860 20
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi
a11864 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d11866 1
a11866 52
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done

       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d11870 5
a11874 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d11876 6
a11881 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d11883 4
d11888 2
a11889 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d11891 1
a11891 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d11893 2
a11894 3
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
d11899 2
a11900 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d11906 15
a11920 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d11923 2
a11924 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11931 6
d11939 6
a11944 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a11945 3
  else
    as_ln_s='ln -s'
  fi
d11951 2
a11952 1
rm -f conf$$ conf$$.exe conf$$.file
d11961 22
a11982 1
as_executable_p="test -f"
a11990 9
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

d11993 1
a11993 1
# Open the log real soon, to keep \$[0] and so on meaningful, and to
d11995 2
a11996 10
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

d11998 1
a11998 1
generated by GNU Autoconf 2.59.  Invocation command line was
d12006 3
a12008 3
_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
d12011 1
d12013 2
a12014 3
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
d12016 1
a12016 11
if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
a12018 1

d12026 1
a12026 1
  -V, --version    print version number, then exit
d12040 1
a12041 1

d12045 2
a12046 2
configured by $0, generated by GNU Autoconf 2.59,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d12048 1
a12048 1
Copyright (C) 2003 Free Software Foundation, Inc.
d12051 3
a12053 1
srcdir=$srcdir
d12064 2
a12065 2
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
d12068 1
a12068 1
  -*)
a12072 4
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
a12076 2
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d12079 3
a12081 12
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
d12087 2
a12088 4
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
d12094 2
a12095 4
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
d12098 2
a12099 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d12115 4
a12118 2
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d12122 9
d12132 1
d12135 1
a12135 1
# INIT-COMMANDS section.
a12136 1

d12141 1
d12143 1
a12143 2

cat >>$CONFIG_STATUS <<\_ACEOF
d12146 8
a12153 8
  case "$ac_config_target" in
  # Handling of arguments.
  "Tk-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../${MACOSX_SRC_DIR}/Tk-Info.plist.in" ;;
  "Wish-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../${MACOSX_SRC_DIR}/Wish-Info.plist.in" ;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
  "tkConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
  "tk.pc" ) CONFIG_FILES="$CONFIG_FILES tk.pc:../unix/tk.pc.in" ;;
  "Tk.framework" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
d12160 1
d12171 1
a12171 1
# simply because there is no reason to put it here, and in addition,
d12173 3
a12175 1
# Create a temporary directory, and hook for its removal unless debugging.
d12178 4
a12181 1
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
a12183 1

d12187 1
a12187 1
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
d12191 2
a12192 2
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
d12199 112
d12313 17
d12331 17
d12349 50
a12398 3
#
# CONFIG_FILES section.
#
d12400 8
a12407 181
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@TCL_VERSION@@,$TCL_VERSION,;t t
s,@@TCL_PATCH_LEVEL@@,$TCL_PATCH_LEVEL,;t t
s,@@TCL_BIN_DIR@@,$TCL_BIN_DIR,;t t
s,@@TCL_SRC_DIR@@,$TCL_SRC_DIR,;t t
s,@@TCL_LIB_FILE@@,$TCL_LIB_FILE,;t t
s,@@TCL_LIB_FLAG@@,$TCL_LIB_FLAG,;t t
s,@@TCL_LIB_SPEC@@,$TCL_LIB_SPEC,;t t
s,@@TCL_STUB_LIB_FILE@@,$TCL_STUB_LIB_FILE,;t t
s,@@TCL_STUB_LIB_FLAG@@,$TCL_STUB_LIB_FLAG,;t t
s,@@TCL_STUB_LIB_SPEC@@,$TCL_STUB_LIB_SPEC,;t t
s,@@TCLSH_PROG@@,$TCLSH_PROG,;t t
s,@@BUILD_TCLSH@@,$BUILD_TCLSH,;t t
s,@@MAN_FLAGS@@,$MAN_FLAGS,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@CPP@@,$CPP,;t t
s,@@EGREP@@,$EGREP,;t t
s,@@TCL_THREADS@@,$TCL_THREADS,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@AR@@,$AR,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@TCL_LIBS@@,$TCL_LIBS,;t t
s,@@DL_LIBS@@,$DL_LIBS,;t t
s,@@DL_OBJS@@,$DL_OBJS,;t t
s,@@PLAT_OBJS@@,$PLAT_OBJS,;t t
s,@@PLAT_SRCS@@,$PLAT_SRCS,;t t
s,@@LDAIX_SRC@@,$LDAIX_SRC,;t t
s,@@CFLAGS_DEBUG@@,$CFLAGS_DEBUG,;t t
s,@@CFLAGS_OPTIMIZE@@,$CFLAGS_OPTIMIZE,;t t
s,@@CFLAGS_WARNING@@,$CFLAGS_WARNING,;t t
s,@@LDFLAGS_DEBUG@@,$LDFLAGS_DEBUG,;t t
s,@@LDFLAGS_OPTIMIZE@@,$LDFLAGS_OPTIMIZE,;t t
s,@@CC_SEARCH_FLAGS@@,$CC_SEARCH_FLAGS,;t t
s,@@LD_SEARCH_FLAGS@@,$LD_SEARCH_FLAGS,;t t
s,@@STLIB_LD@@,$STLIB_LD,;t t
s,@@SHLIB_LD@@,$SHLIB_LD,;t t
s,@@TCL_SHLIB_LD_EXTRAS@@,$TCL_SHLIB_LD_EXTRAS,;t t
s,@@TK_SHLIB_LD_EXTRAS@@,$TK_SHLIB_LD_EXTRAS,;t t
s,@@SHLIB_LD_LIBS@@,$SHLIB_LD_LIBS,;t t
s,@@SHLIB_CFLAGS@@,$SHLIB_CFLAGS,;t t
s,@@SHLIB_SUFFIX@@,$SHLIB_SUFFIX,;t t
s,@@EXE_SUFFIX@@,$EXE_SUFFIX,;t t
s,@@MAKE_LIB@@,$MAKE_LIB,;t t
s,@@MAKE_STUB_LIB@@,$MAKE_STUB_LIB,;t t
s,@@INSTALL_LIB@@,$INSTALL_LIB,;t t
s,@@DLL_INSTALL_DIR@@,$DLL_INSTALL_DIR,;t t
s,@@INSTALL_STUB_LIB@@,$INSTALL_STUB_LIB,;t t
s,@@CFLAGS_DEFAULT@@,$CFLAGS_DEFAULT,;t t
s,@@LDFLAGS_DEFAULT@@,$LDFLAGS_DEFAULT,;t t
s,@@XFT_CFLAGS@@,$XFT_CFLAGS,;t t
s,@@XFT_LIBS@@,$XFT_LIBS,;t t
s,@@UNIX_FONT_OBJS@@,$UNIX_FONT_OBJS,;t t
s,@@TK_VERSION@@,$TK_VERSION,;t t
s,@@TK_MAJOR_VERSION@@,$TK_MAJOR_VERSION,;t t
s,@@TK_MINOR_VERSION@@,$TK_MINOR_VERSION,;t t
s,@@TK_PATCH_LEVEL@@,$TK_PATCH_LEVEL,;t t
s,@@TK_YEAR@@,$TK_YEAR,;t t
s,@@TK_LIB_FILE@@,$TK_LIB_FILE,;t t
s,@@TK_LIB_FLAG@@,$TK_LIB_FLAG,;t t
s,@@TK_LIB_SPEC@@,$TK_LIB_SPEC,;t t
s,@@TK_STUB_LIB_FILE@@,$TK_STUB_LIB_FILE,;t t
s,@@TK_STUB_LIB_FLAG@@,$TK_STUB_LIB_FLAG,;t t
s,@@TK_STUB_LIB_SPEC@@,$TK_STUB_LIB_SPEC,;t t
s,@@TK_STUB_LIB_PATH@@,$TK_STUB_LIB_PATH,;t t
s,@@TK_INCLUDE_SPEC@@,$TK_INCLUDE_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_SPEC@@,$TK_BUILD_STUB_LIB_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_PATH@@,$TK_BUILD_STUB_LIB_PATH,;t t
s,@@TK_SRC_DIR@@,$TK_SRC_DIR,;t t
s,@@TK_SHARED_BUILD@@,$TK_SHARED_BUILD,;t t
s,@@LD_LIBRARY_PATH_VAR@@,$LD_LIBRARY_PATH_VAR,;t t
s,@@TK_BUILD_LIB_SPEC@@,$TK_BUILD_LIB_SPEC,;t t
s,@@TK_BUILD_EXP_FILE@@,$TK_BUILD_EXP_FILE,;t t
s,@@TK_EXP_FILE@@,$TK_EXP_FILE,;t t
s,@@TCL_STUB_FLAGS@@,$TCL_STUB_FLAGS,;t t
s,@@XINCLUDES@@,$XINCLUDES,;t t
s,@@XLIBSW@@,$XLIBSW,;t t
s,@@LOCALES@@,$LOCALES,;t t
s,@@TK_WINDOWINGSYSTEM@@,$TK_WINDOWINGSYSTEM,;t t
s,@@TK_PKG_DIR@@,$TK_PKG_DIR,;t t
s,@@TK_LIBRARY@@,$TK_LIBRARY,;t t
s,@@PRIVATE_INCLUDE_DIR@@,$PRIVATE_INCLUDE_DIR,;t t
s,@@HTML_DIR@@,$HTML_DIR,;t t
s,@@EXTRA_CC_SWITCHES@@,$EXTRA_CC_SWITCHES,;t t
s,@@EXTRA_APP_CC_SWITCHES@@,$EXTRA_APP_CC_SWITCHES,;t t
s,@@EXTRA_INSTALL@@,$EXTRA_INSTALL,;t t
s,@@EXTRA_INSTALL_BINARIES@@,$EXTRA_INSTALL_BINARIES,;t t
s,@@EXTRA_BUILD_HTML@@,$EXTRA_BUILD_HTML,;t t
s,@@EXTRA_WISH_LIBS@@,$EXTRA_WISH_LIBS,;t t
s,@@EXTRA_AQUA_OBJS@@,$EXTRA_AQUA_OBJS,;t t
s,@@EXTRA_AQUA_SRCS@@,$EXTRA_AQUA_SRCS,;t t
s,@@CFBUNDLELOCALIZATIONS@@,$CFBUNDLELOCALIZATIONS,;t t
s,@@MACOSX_SRC_DIR@@,$MACOSX_SRC_DIR,;t t
s,@@TK_RSRC_FILE@@,$TK_RSRC_FILE,;t t
s,@@WISH_RSRC_FILE@@,$WISH_RSRC_FILE,;t t
s,@@LIB_RSRC_FILE@@,$LIB_RSRC_FILE,;t t
s,@@APP_RSRC_FILE@@,$APP_RSRC_FILE,;t t
s,@@REZ@@,$REZ,;t t
s,@@REZ_FLAGS@@,$REZ_FLAGS,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
d12409 7
a12415 1
fi # test -n "$CONFIG_FILES"
d12417 18
d12436 17
d12454 62
a12515 10
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
d12518 1
a12518 2
  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
d12522 1
a12522 2
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12524 22
a12545 9
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
d12547 7
a12553 3
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
d12557 1
a12557 2
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12559 18
a12576 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d12578 3
a12580 3
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
a12581 1

d12584 3
a12586 1
if test "$ac_dir" != .; then
d12588 11
a12598 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d12601 1
a12601 1
  .)  # No --srcdir option.  We are building in place.
d12603 3
a12605 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d12607 6
a12612 4
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d12614 1
a12615 38
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12617 5
d12623 1
d12625 30
a12654 15
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."
d12656 3
a12658 28
  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
d12666 19
a12684 17
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi
d12686 6
a12691 46
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF

#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_dest" : 'X\(//\)[^/]' \| \
	 X"$ac_dest" : 'X\(//\)$' \| \
	 X"$ac_dest" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }
a12692 1
  ac_builddir=.
d12694 4
a12697 62
if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12700 2
a12701 4
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    Tk.framework ) n=Tk &&
d12709 1
d12711 1
a12711 2
done
_ACEOF
a12712 1
cat >>$CONFIG_STATUS <<\_ACEOF
@


1.204
log
@Use EXE_SUFFIX for Cygwin, and
install libtk8.6.dll in bin directory
@
text
@d5623 1
a5623 1
	NetBSD-*|FreeBSD-*)
d5657 30
@


1.203
log
@[Patch #2883533] tcl.m4 support for Haiku OS
unix/Makefile.in:     Fix library order in X11_LIB_SWITCHES
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS EXTRA_AQUA_OBJS EXTRA_AQUA_SRCS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d4514 1
d4897 11
d6841 1
d6861 1
d6867 11
a6877 1
        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE)'
d6951 1
d6965 1
d11863 1
d11867 1
@


1.202
log
@	* unix/configure: autoconf-2.59
@
text
@d4527 1
a4527 1
	CFLAGS_OPTIMIZE="-O2"
d4906 77
@


1.201
log
@autoconf-2.59
@
text
@d10920 1
@


1.200
log
@Merge of TkAqua Cocoa port
@
text
@d866 1
d10183 17
a10199 1
    echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
d10249 1
a10249 1
	xss_header_found=yes
d10254 1
a10254 2
    xss_lib_found=no
    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
d10348 1
a10348 1
	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
d10414 2
a10415 2
	    XLIBSW="$XLIBSW -lXext"
	    xss_lib_found=yes
d10419 1
a10419 1
	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
d10485 8
a10492 8
		if test "$tcl_cv_ld_weak_l" = yes; then
		    # On Darwin, weak link libXss if possible,
		    # as it is only available on Tiger or later.
		    XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
		else
		    XLIBSW="$XLIBSW -lXss -lXext"
		fi
		xss_lib_found=yes
d10502 2
a10503 1
    if test $xss_lib_found = yes -a $xss_header_found = yes; then
@


1.199
log
@	* unix/Makefile.in:		add support for --enable-aqua=carbon
	* unix/configure.in:		configure option (legacy fallback for
					pre-Mac OS X 10.5 releases).

	* unix/configure:		autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS MACOSX_SRC_DIR TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d9040 10
a9049 4
    if test $tk_aqua = yes -o $tk_aqua = carbon; then
	if test $tcl_corefoundation = no; then
	    { echo "$as_me:$LINENO: WARNING: Aqua can only be used when CoreFoundation is available" >&5
echo "$as_me: WARNING: Aqua can only be used when CoreFoundation is available" >&2;}
d9052 1
d9066 5
d9147 1
a9147 1
	if test $tk_aqua != no -o "$tcl_cv_lib_x11_64" = no; then
d9519 7
a9530 2
    LIBS="$LIBS -framework Carbon -framework IOKit"
    CFLAGS="$CFLAGS -fpascal-strings"
d10847 3
d10892 5
a10896 1
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing ${TK_RSRC_FILE} to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) "${TK_RSRC_FILE}" "$(LIB_INSTALL_DIR)/Resources"'
d10900 6
a10905 2
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Wish.icns to $(BIN_INSTALL_DIR)/../Resources" && mkdir -p "$(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "$(MAC_OSX_DIR)/Wish.icns" "$(BIN_INSTALL_DIR)/../Resources"'
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing ${WISH_RSRC_FILE} to $(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "${WISH_RSRC_FILE}" "$(BIN_INSTALL_DIR)/../Resources"'
d10914 3
d10941 4
a10944 2
# Support for building the Aqua resource files
if test $tk_aqua != no; then
d11040 2
d11787 2
@


1.198
log
@	* unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the check
	to add _r to CC on AIX with threads.
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d864 2
a865 1
  --enable-aqua           use Aqua windowingsystem on Mac OS X (default: off)
d9029 1
d9040 1
a9040 1
    if test $tk_aqua = yes; then
d9056 2
d9059 6
a9064 1
    echo "$as_me:$LINENO: result: $tk_aqua" >&5
d9066 1
d9135 1
a9135 1
	if test $tk_aqua = yes -o "$tcl_cv_lib_x11_64" = no; then
d9506 1
a9506 1
if test $tk_aqua = yes; then
d10834 1
a10834 1
                        ac_config_files="$ac_config_files Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"
d10871 1
a10871 1
    if test $tk_aqua = yes; then
d10911 1
a10911 1
if test $tk_aqua = yes; then
d11006 1
d11570 2
a11571 2
  "Tk-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../macosx/Tk-Info.plist.in" ;;
  "Wish-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../macosx/Wish-Info.plist.in" ;;
d11753 1
d12113 1
a12113 1
        if test $tk_aqua = yes; then ln -s ../../../../$n.rsrc $f/$v/Resources; fi &&
@


1.197
log
@	* unix/configure.in (Darwin):	use Darwin SUSv3 extensions if
					available.
	* unix/configure:		autoconf-2.59
	* unix/tkConfig.h.in:		autoheader-2.59
@
text
@d4596 1
a4596 1
		    *_r)
d4600 2
a4601 1
			CC=${CC}_r
@


1.196
log
@regen
@
text
@d9193 298
d10822 1
a10822 1
    EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
d10873 1
a10873 1
    EXTRA_CC_SWITCHES='-DTK_FRAMEWORK_VERSION=\"$(VERSION)\"'
d10995 1
a10995 1
                    ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in tk.pc:../unix/tk.pc.in"
@


1.195
log
@ fix [tcl-Bug 2502365] Building of head on HPUX is
broken when using the native CC.
@
text
@d10697 1
a10697 1
                    ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in"
d11264 1
@


1.194
log
@* unix/tcl.m4: Corrected a typo ($(SHLIB_VEERSION) should be ${SHLIB_VERSION}).
* unix/configure: Autoconf 2.59
@
text
@d4999 2
d5006 1
a5006 1
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
d5014 2
a5019 4
		# Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
		#CFLAGS="$CFLAGS +DAportable"
		SHLIB_CFLAGS="+z"
		SHLIB_LD="${CC} -b"
d5024 3
@


1.193
log
@Patch 907924
@
text
@d4586 1
a4586 1
    if test x"$(SHLIB_VERSION)" = x; then
@


1.192
log
@        * generic/tk.h:         Bump patchlevel to 8.6b1.1 to distinguish
        * library/tk.tcl:       CVS snapshots from the 8.6b1 and 8.6b2 releases.
        * unix/configure.in:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d4585 5
d4675 1
d5152 8
d5174 8
d5216 8
d5461 1
a5461 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d5472 1
d5485 1
a5485 1
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d6231 1
a6231 1
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d6843 1
d9316 1
a9316 1
  # Guess where to find include files, by looking for Xlib.h.
d9324 1
a9324 1
#include <X11/Xlib.h>
d9351 1
a9351 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9365 1
a9365 1
  LIBS="-lX11 $LIBS"
d9372 1
a9372 1
#include <X11/Xlib.h>
d9376 1
a9376 1
XrmInitialize ()
d11378 1
@


1.191
log
@fix [tcl-Bug 2502365] Building of head on
HPUX is broken when using the native CC
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="b1"
@


1.190
log
@       * README:               Bump version number to 8.6b1
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d5013 1
a5013 1
		SHLIB_LD="${CC} -Wl,-b"
@


1.189
log
@autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a4"
d9284 1
a9284 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9292 1
a9292 1
#include <X11/Intrinsic.h>
d9319 1
a9319 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9333 1
a9333 1
  LIBS="-lXt $LIBS"
d9340 1
a9340 1
#include <X11/Intrinsic.h>
d9344 1
a9344 1
XtMalloc (0)
@


1.188
log
@Use -O2 as gcc optimization compiler flag, and get
rid of -Wno-implicit-int for UNIX
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.61 for tk 8.6.
d5 1
a5 2
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d12 1
a12 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d19 2
a20 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d22 1
a31 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d33 1
a33 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d47 1
a47 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d52 1
a52 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d58 1
a58 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d66 1
a66 1
as_me=`$as_basename -- "$0" ||
d69 2
a70 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d72 4
a75 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
a76 2
# CDPATH.
$as_unset CDPATH
d78 7
d86 11
a96 5
if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
a98 16
  if test $as_have_required = yes && 	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}
d100 16
a115 7
exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi
d117 13
a129 35
if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
d135 2
a136 1
  case $as_dir in
d138 1
a138 100
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@@"}'='"$@@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi


:
(as_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
d141 1
d143 12
a154 96
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
        done
        export CONFIG_SHELL
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell autoconf@@gnu.org about your system,
  echo including any error possibly output before this
  echo message
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d158 4
a161 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d163 2
a164 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a165 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d167 3
a169 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d171 2
a172 1
      s/-\n.*//
d174 1
a174 1
  chmod +x "$as_me.lineno" ||
d180 2
a181 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d187 5
a191 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d194 1
a194 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a200 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d203 4
a206 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d208 3
d216 1
a216 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d225 1
a225 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d234 8
a242 1
exec 7<&0 </dev/null 6>&1
d249 2
a254 1
ac_clean_files=
a255 1
LIBOBJS=
d262 5
d277 1
a277 1
#ifdef HAVE_SYS_TYPES_H
d280 1
a280 1
#ifdef HAVE_SYS_STAT_H
d283 1
a283 1
#ifdef STDC_HEADERS
d287 1
a287 1
# ifdef HAVE_STDLIB_H
d291 2
a292 2
#ifdef HAVE_STRING_H
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
d297 1
a297 1
#ifdef HAVE_STRINGS_H
d300 1
a300 1
#ifdef HAVE_INTTYPES_H
d302 4
d307 1
a307 4
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
d311 1
a311 137
ac_subst_vars='SHELL
PATH_SEPARATOR
PACKAGE_NAME
PACKAGE_TARNAME
PACKAGE_VERSION
PACKAGE_STRING
PACKAGE_BUGREPORT
exec_prefix
prefix
program_transform_name
bindir
sbindir
libexecdir
datarootdir
datadir
sysconfdir
sharedstatedir
localstatedir
includedir
oldincludedir
docdir
infodir
htmldir
dvidir
pdfdir
psdir
libdir
localedir
mandir
DEFS
ECHO_C
ECHO_N
ECHO_T
LIBS
build_alias
host_alias
target_alias
TCL_VERSION
TCL_PATCH_LEVEL
TCL_BIN_DIR
TCL_SRC_DIR
TCL_LIB_FILE
TCL_LIB_FLAG
TCL_LIB_SPEC
TCL_STUB_LIB_FILE
TCL_STUB_LIB_FLAG
TCL_STUB_LIB_SPEC
TCLSH_PROG
BUILD_TCLSH
MAN_FLAGS
CC
CFLAGS
LDFLAGS
CPPFLAGS
ac_ct_CC
EXEEXT
OBJEXT
CPP
GREP
EGREP
TCL_THREADS
RANLIB
AR
LIBOBJS
TCL_LIBS
DL_LIBS
DL_OBJS
PLAT_OBJS
PLAT_SRCS
CFLAGS_DEBUG
CFLAGS_OPTIMIZE
CFLAGS_WARNING
LDFLAGS_DEBUG
LDFLAGS_OPTIMIZE
CC_SEARCH_FLAGS
LD_SEARCH_FLAGS
STLIB_LD
SHLIB_LD
TCL_SHLIB_LD_EXTRAS
TK_SHLIB_LD_EXTRAS
SHLIB_LD_LIBS
SHLIB_CFLAGS
SHLIB_SUFFIX
MAKE_LIB
MAKE_STUB_LIB
INSTALL_LIB
INSTALL_STUB_LIB
CFLAGS_DEFAULT
LDFLAGS_DEFAULT
XMKMF
XFT_CFLAGS
XFT_LIBS
UNIX_FONT_OBJS
TK_VERSION
TK_MAJOR_VERSION
TK_MINOR_VERSION
TK_PATCH_LEVEL
TK_YEAR
TK_LIB_FILE
TK_LIB_FLAG
TK_LIB_SPEC
TK_STUB_LIB_FILE
TK_STUB_LIB_FLAG
TK_STUB_LIB_SPEC
TK_STUB_LIB_PATH
TK_INCLUDE_SPEC
TK_BUILD_STUB_LIB_SPEC
TK_BUILD_STUB_LIB_PATH
TK_SRC_DIR
TK_SHARED_BUILD
LD_LIBRARY_PATH_VAR
TK_BUILD_LIB_SPEC
TK_BUILD_EXP_FILE
TK_EXP_FILE
TCL_STUB_FLAGS
XINCLUDES
XLIBSW
LOCALES
TK_WINDOWINGSYSTEM
TK_PKG_DIR
TK_LIBRARY
PRIVATE_INCLUDE_DIR
HTML_DIR
EXTRA_CC_SWITCHES
EXTRA_APP_CC_SWITCHES
EXTRA_INSTALL
EXTRA_INSTALL_BINARIES
EXTRA_BUILD_HTML
EXTRA_WISH_LIBS
CFBUNDLELOCALIZATIONS
TK_RSRC_FILE
WISH_RSRC_FILE
LIB_RSRC_FILE
APP_RSRC_FILE
REZ
REZ_FLAGS
LTLIBOBJS'
a312 11
      ac_precious_vars='build_alias
host_alias
target_alias
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
CPP
XMKMF'

a338 1
# (The list follows the same order as the GNU Coding Standards.)
d342 1
a342 2
datarootdir='${prefix}/share'
datadir='${datarootdir}'
d346 1
d349 2
a350 9
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'
a352 1
ac_dashdash=
d357 1
a357 1
    eval $ac_prev=\$ac_option
d362 1
a362 4
  case $ac_option in
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *)	ac_optarg=yes ;;
  esac
d366 1
a366 3
  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;
d388 1
a388 1
  -datadir | --datadir | --datadi | --datad)
d390 2
a391 1
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
a393 7
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

d397 1
a397 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d400 2
a401 12
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=no ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;
d406 1
a406 1
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d409 6
a414 2
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    eval enable_$ac_feature=\$ac_optarg ;;
a440 6
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

a464 5
  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

d466 2
a467 1
  | --localstate | --localstat | --localsta | --localst | --locals)
d470 2
a471 1
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
a535 10
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

d588 1
a588 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d591 6
a596 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=\$ac_optarg ;;
d601 1
a601 1
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
d604 2
a605 2
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    eval with_$ac_package=no ;;
d636 2
a637 1
    eval $ac_envvar=\$ac_optarg
d657 2
a658 5
# Be sure to have absolute directory names.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir
d660 1
a660 1
  eval ac_val=\$$ac_var
d662 15
a676 2
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
a677 2
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; }
a703 10
ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  { echo "$as_me: error: Working directory cannot be determined" >&2
   { (exit 1); exit 1; }; }
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  { echo "$as_me: error: pwd does not report name of working directory" >&2
   { (exit 1); exit 1; }; }


d707 2
a708 2
  # Try the directory containing this script, then the parent directory.
  ac_confdir=`$as_dirname -- "$0" ||
d712 2
a713 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d715 5
a719 17
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
d721 1
a721 1
  if test ! -r "$srcdir/$ac_unique_file"; then
d727 3
a729 3
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
d731 4
d736 2
a737 3
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
d739 34
a772 18
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

d800 3
d820 1
d827 2
a828 10
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR          info documentation [DATAROOTDIR/info]
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR           man documentation [DATAROOTDIR/man]
  --docdir=DIR           documentation root [DATAROOTDIR/doc/tk]
  --htmldir=DIR          html documentation [DOCDIR]
  --dvidir=DIR           dvi documentation [DOCDIR]
  --pdfdir=DIR           pdf documentation [DOCDIR]
  --psdir=DIR            ps documentation [DOCDIR]
d881 2
a882 3
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
a883 1
  XMKMF       Path to xmkmf, Makefile generator for X Window System
a888 1
ac_status=$?
d893 1
d895 1
a895 1
    test -d "$ac_dir" || continue
d898 1
a898 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d900 5
a904 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d907 1
a907 1
  .)  # We are building in place.
d909 6
a914 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d916 43
a958 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a959 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
d961 12
a972 8
    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for guested configure.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
d975 2
a976 2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
d980 1
a980 1
test -n "$ac_init_help" && exit $ac_status
d984 1
a984 1
generated by GNU Autoconf 2.61
d986 1
a986 2
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
d990 1
a990 1
  exit
d992 2
a993 1
cat >config.log <<_ACEOF
d998 1
a998 1
generated by GNU Autoconf 2.61.  Invocation command line was
a1002 1
exec 5>>config.log
d1021 1
a1021 1
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
a1034 1
IFS=$as_save_IFS
d1056 1
d1067 1
a1067 1
    *\'*)
d1089 3
a1091 1
      ac_configure_args="$ac_configure_args '$ac_arg'"
d1102 2
a1103 2
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
d1116 1
a1116 15
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done
d1118 2
a1119 2
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d1121 3
a1123 3
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
d1125 2
a1126 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d1128 2
a1129 3
    esac |
    sort
)
d1140 2
a1141 5
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      echo "$ac_var='\''$ac_val'\''"
d1147 3
a1149 3
## ------------------- ##
## File substitutions. ##
## ------------------- ##
d1154 2
a1155 5
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	echo "$ac_var='\''$ac_val'\''"
d1167 1
a1167 1
      cat confdefs.h
d1174 2
a1175 2
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
d1177 1
a1177 1
' 0
d1184 3
a1186 1
rm -f -r conftest* confdefs.h
d1217 6
a1222 7
if test -n "$CONFIG_SITE"; then
  set x "$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
else
  set x "$ac_default_prefix/share/config.site" \
	"$ac_default_prefix/etc/config.site"
d1224 1
a1224 3
shift
for ac_site_file
do
d1240 2
a1241 2
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
d1253 2
a1254 1
for ac_var in $ac_precious_vars; do
d1257 2
a1258 2
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
d1283 2
a1284 1
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
d1301 6
a1330 5
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
d1359 1
a1359 1
# Check whether --with-tcl was given.
d1361 5
a1365 5
  withval=$with_tcl; with_tclconfig="${withval}"
fi

	{ echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6; }
d1467 2
a1468 2
	    { echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1473 2
a1474 2
    { echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6; }
d1477 2
a1478 2
        { echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6; }
d1481 2
a1482 2
        { echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
d1543 2
a1544 2
    { echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }
d1567 2
a1568 2
	{ echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6; }
d1572 2
a1573 2
	{ echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6; }
d1578 2
a1579 2
    { echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6; }
d1581 2
a1582 2
    { echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6; }
d1605 3
a1607 3
    { echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-symlinks was given.
d1609 2
a1610 1
  enableval=$enable_man_symlinks; test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d1613 7
a1619 8
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }

    { echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-compression was given.
d1621 2
a1622 1
  enableval=$enable_man_compression; case $enableval in
d1631 3
a1633 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1635 2
a1636 2
	{ echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6; }
d1642 2
a1643 2
	{ echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6; }
d1646 3
a1648 3
    { echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6; }
    # Check whether --enable-man-suffix was given.
d1650 2
a1651 1
  enableval=$enable_man_suffix; case $enableval in
d1658 3
a1660 4
fi

    { echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6; }
d1683 2
a1684 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1697 1
a1697 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1703 1
IFS=$as_save_IFS
d1709 2
a1710 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1712 2
a1713 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1715 1

d1721 2
a1722 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1735 1
a1735 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1741 1
IFS=$as_save_IFS
d1747 2
a1748 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1750 2
a1751 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1754 1
a1754 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1760 2
a1761 2
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d1763 2
a1764 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1777 1
a1777 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1783 1
IFS=$as_save_IFS
d1789 40
a1828 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1830 2
a1831 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d1834 4
a1838 1
  fi
d1843 2
a1844 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1858 1
a1858 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1868 1
IFS=$as_save_IFS
d1886 2
a1887 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1889 2
a1890 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1892 1

d1896 1
a1896 1
  for ac_prog in cl.exe
d1900 2
a1901 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1914 1
a1914 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1920 1
IFS=$as_save_IFS
d1926 2
a1927 2
  { echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6; }
d1929 2
a1930 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1932 1

d1938 1
a1938 1
  for ac_prog in cl.exe
d1942 2
a1943 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d1956 1
a1956 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a1962 1
IFS=$as_save_IFS
d1968 2
a1969 2
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6; }
d1971 2
a1972 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a1974 1

d1978 1
a1978 15
  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
d1991 2
a1992 1
echo "$as_me:$LINENO: checking for C compiler version" >&5
d1994 2
a1995 7
{ (ac_try="$ac_compiler --version >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler --version >&5") 2>&5
d1999 2
a2000 7
{ (ac_try="$ac_compiler -v >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -v >&5") 2>&5
d2004 2
a2005 7
{ (ac_try="$ac_compiler -V >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compiler -V >&5") 2>&5
d2030 2
a2031 2
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
d2033 2
a2034 26
#
# List of possible output files, starting from the most likely.
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
# only as a last resort.  b.out is created by i960 compilers.
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
#
# The IRIX 6 linker writes into existing files which may not be
# executable, retaining their permissions.  Remove them first so a
# subsequent execution test works.
ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { (ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link_default") 2>&5
d2038 9
a2046 6
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
d2050 4
a2053 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
d2060 5
a2064 9
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an `-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
a2069 2
test "$ac_cv_exeext" = no && ac_cv_exeext=

a2070 6
  ac_file=''
fi

{ echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6; }
if test -z "$ac_file"; then
d2082 2
d2085 1
a2085 1
# Check that the compiler produces executables we can run.  If not, either
d2087 2
a2088 2
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
d2093 2
a2094 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d2113 2
a2114 2
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d2118 1
a2118 1
# Check that the compiler produces executables we can run.  If not, either
d2120 9
a2128 14
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6; }

{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d2139 1
a2139 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
d2141 1
d2155 2
a2156 2
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6; }
d2161 2
a2162 2
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
d2182 2
a2183 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>&5
d2187 1
a2187 2
  for ac_file in conftest.o conftest.obj conftest.*; do
  test -f "$ac_file" || continue;
d2189 1
a2189 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
d2207 2
a2208 2
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6; }
d2211 2
a2212 2
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
d2235 2
a2236 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2242 14
a2255 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2261 1
a2261 1
	ac_compiler_gnu=no
d2263 1
a2263 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2267 2
a2268 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
d2272 3
a2274 2
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
d2278 1
a2278 5
  ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat >conftest.$ac_ext <<_ACEOF
d2294 2
a2295 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2301 5
a2305 33
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_g=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	CFLAGS=""
      cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2306 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2308 4
a2311 34
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  :
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
a2312 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2314 1
a2314 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2320 1
a2320 7

fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d2322 1
a2322 3

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag
d2324 2
a2325 2
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
d2341 3
a2343 3
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
if test "${ac_cv_prog_cc_c89+set}" = set; then
d2346 1
a2346 1
  ac_cv_prog_cc_c89=no
d2380 1
a2380 1
   as 'x'.  The following induces an error, until -std is added to get
d2383 1
a2383 1
   that's true only with -std.  */
a2385 5
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   inside strings and character constants.  */
#define FOO(x) 'x'
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];

d2400 8
a2407 2
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d2411 2
a2412 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2418 16
a2433 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_prog_cc_c89=$ac_arg
a2437 1

d2439 1
a2439 3

rm -f core conftest.err conftest.$ac_objext
  test "x$ac_cv_prog_cc_c89" != "xno" && break
d2441 1
a2441 1
rm -f conftest.$ac_ext
d2445 5
a2449 8
# AC_CACHE_VAL
case "x$ac_cv_prog_cc_c89" in
  x)
    { echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6; } ;;
  xno)
    { echo "$as_me:$LINENO: result: unsupported" >&5
echo "${ECHO_T}unsupported" >&6; } ;;
d2451 3
a2453 3
    CC="$CC $ac_cv_prog_cc_c89"
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
d2456 39
a2494 15

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ echo "$as_me:$LINENO: checking for inline" >&5
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
if test "${ac_cv_c_inline+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
d2501 9
a2509 6
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo () {return 0; }
$ac_kw foo_t foo () {return 0; }
#endif

d2512 2
a2513 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2519 15
a2533 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
  ac_cv_c_inline=$ac_kw
d2538 1
a2538 1

d2540 112
d2653 2
a2654 2
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  test "$ac_cv_c_inline" != no && break
d2658 2
a2659 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
d2685 2
a2686 2
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
d2720 2
a2721 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2727 11
a2737 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2745 1

d2748 1
a2748 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2758 2
a2759 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2765 11
a2775 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2785 1

d2803 2
a2804 2
{ echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6; }
d2827 2
a2828 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2834 11
a2844 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2852 1

d2855 1
a2855 1
  # OK, works on sane cases.  Now check whether nonexistent headers
d2865 2
a2866 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d2872 11
a2882 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a2892 1

d2915 3
a2917 91
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # Extract the first word of "grep ggrep" to use in msg output
if test -z "$GREP"; then
set dummy grep ggrep; ac_prog_name=$2
if test "${ac_cv_path_GREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_path_GREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in grep ggrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    # Check for GNU ac_path_GREP and select it if it is found.
  # Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
*GNU*)
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'GREP' >> "conftest.nl"
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_GREP="$ac_path_GREP"
      ac_path_GREP_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_GREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

GREP="$ac_cv_path_GREP"
if test -z "$GREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_GREP=$GREP
fi


fi
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 GREP="$ac_cv_path_GREP"


{ echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
if test "${ac_cv_path_EGREP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   then ac_cv_path_EGREP="$GREP -E"
   else
     # Extract the first word of "egrep" to use in msg output
if test -z "$EGREP"; then
set dummy egrep; ac_prog_name=$2
if test "${ac_cv_path_EGREP+set}" = set; then
d2920 3
a2922 32
  ac_path_EGREP_found=false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_prog in egrep; do
  for ac_exec_ext in '' $ac_executable_extensions; do
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    # Check for GNU ac_path_EGREP and select it if it is found.
  # Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
*GNU*)
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
*)
  ac_count=0
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    echo 'EGREP' >> "conftest.nl"
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    ac_count=`expr $ac_count + 1`
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP="$ac_path_EGREP"
      ac_path_EGREP_max=$ac_count
a2923 30
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac


    $ac_path_EGREP_found && break 3
  done
done

done
IFS=$as_save_IFS


fi

EGREP="$ac_cv_path_EGREP"
if test -z "$EGREP"; then
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   { (exit 1); exit 1; }; }
fi

else
  ac_cv_path_EGREP=$EGREP
fi


   fi
d2925 3
a2927 3
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 EGREP="$ac_cv_path_EGREP"
d2930 2
a2931 2
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
d2955 2
a2956 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d2962 14
a2975 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d2981 1
a2981 1
	ac_cv_header_stdc=no
d2983 1
a2983 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3038 1
#include <stdlib.h>
d3058 2
a3059 2
      return 2;
  return 0;
d3063 2
a3064 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d3068 2
a3069 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d3082 1
a3082 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a3083 2


d3086 2
a3087 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
d3110 3
a3112 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d3126 2
a3127 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3133 14
a3146 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3152 1
a3152 1
	eval "$as_ac_Header=no"
d3154 1
a3154 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3156 2
a3157 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d3169 2
a3170 2
  { echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3174 2
a3175 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3178 2
a3179 2
{ echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; }
d3190 2
a3191 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3197 14
a3210 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3216 1
a3216 1
	ac_header_compiler=no
d3218 3
a3220 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3223 2
a3224 2
{ echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; }
d3233 2
a3234 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3240 11
a3250 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3257 1

d3259 2
a3260 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3284 8
a3291 1

d3294 2
a3295 2
{ echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; }
d3301 2
a3302 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6; }
d3327 2
a3328 2
  { echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3332 2
a3333 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3336 2
a3337 2
{ echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; }
d3348 2
a3349 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3355 14
a3368 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3374 1
a3374 1
	ac_header_compiler=no
d3376 3
a3378 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d3381 2
a3382 2
{ echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; }
d3391 2
a3392 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d3398 11
a3408 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a3415 1

d3417 2
a3418 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d3442 8
a3449 1

d3452 2
a3453 2
{ echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; }
d3459 2
a3460 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; }
d3535 2
a3536 2
    { echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6; }
d3558 2
a3559 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d3565 14
a3578 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d3584 1
a3584 1
	tcl_cv_cc_pipe=no
d3586 1
a3586 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3589 2
a3590 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6; }
d3601 1
a3601 1
    # Check whether --enable-threads was given.
d3603 2
a3604 1
  enableval=$enable_threads; tcl_ok=$enableval
d3607 1
a3607 2
fi

d3639 2
a3640 2
	{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3653 1
a3653 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3657 2
d3663 1
a3663 1
return pthread_mutex_init ();
d3669 2
a3670 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3676 14
a3689 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3695 1
a3695 1
	ac_cv_lib_pthread_pthread_mutex_init=no
d3697 1
a3697 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3701 2
a3702 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
d3715 2
a3716 2
	    { echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6; }
d3729 1
a3729 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3733 2
d3739 1
a3739 1
return __pthread_mutex_init ();
d3745 2
a3746 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3752 14
a3765 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3771 1
a3771 1
	ac_cv_lib_pthread___pthread_mutex_init=no
d3773 1
a3773 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3777 2
a3778 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6; }
d3791 2
a3792 2
	    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6; }
d3805 1
a3805 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3809 2
d3815 1
a3815 1
return pthread_mutex_init ();
d3821 2
a3822 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3828 14
a3841 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3847 1
a3847 1
	ac_cv_lib_pthreads_pthread_mutex_init=no
d3849 1
a3849 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3853 2
a3854 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6; }
d3865 2
a3866 2
		{ echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6; }
d3879 1
a3879 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3883 2
d3889 1
a3889 1
return pthread_mutex_init ();
d3895 2
a3896 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3902 14
a3915 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3921 1
a3921 1
	ac_cv_lib_c_pthread_mutex_init=no
d3923 1
a3923 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3927 2
a3928 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6; }
d3936 2
a3937 2
		    { echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6; }
d3950 1
a3950 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d3954 2
d3960 1
a3960 1
return pthread_mutex_init ();
d3966 2
a3967 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d3973 14
a3986 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d3992 1
a3992 1
	ac_cv_lib_c_r_pthread_mutex_init=no
d3994 1
a3994 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d3998 2
a3999 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6; }
d4024 3
a4026 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d4052 1
a4052 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4055 1
d4057 2
d4063 1
a4063 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d4065 5
d4075 1
a4075 1
return $ac_func ();
d4081 2
a4082 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4088 14
a4101 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4107 1
a4107 1
	eval "$as_ac_var=no"
d4109 1
a4109 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4112 2
a4113 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d4126 2
a4127 2
    { echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6; }
d4135 2
a4136 2
	    { echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6; }
d4138 2
a4139 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d4142 2
a4143 2
	{ echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6; }
d4153 3
a4155 3
    { echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }
    # Check whether --enable-shared was given.
d4157 2
a4158 1
  enableval=$enable_shared; tcl_ok=$enableval
d4161 1
a4161 2
fi

d4171 2
a4172 2
	{ echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6; }
d4175 2
a4176 2
	{ echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6; }
d4195 2
a4196 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4209 1
a4209 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4215 1
IFS=$as_save_IFS
d4221 2
a4222 2
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6; }
d4224 2
a4225 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4227 1

d4233 2
a4234 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4247 1
a4247 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4253 1
IFS=$as_save_IFS
d4255 1
d4260 2
a4261 2
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
d4263 2
a4264 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d4267 1
a4267 15
  if test "x$ac_ct_RANLIB" = x; then
    RANLIB=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&5
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to autoconf@@gnu.org." >&2;}
ac_tool_warned=yes ;;
esac
    RANLIB=$ac_ct_RANLIB
  fi
d4276 3
a4278 3
    { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit was given.
d4280 2
a4281 1
  enableval=$enable_64bit; do64bit=$enableval
d4284 3
a4286 4
fi

    { echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6; }
d4290 3
a4292 3
    { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
    # Check whether --enable-64bit-vis was given.
d4294 2
a4295 1
  enableval=$enable_64bit_vis; do64bitVIS=$enableval
d4298 3
a4300 4
fi

    { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6; }
d4310 2
a4311 2
    { echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6; }
d4335 2
a4336 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4342 14
a4355 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4361 1
a4361 1
	tcl_cv_cc_visibility_hidden=no
d4363 1
a4363 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4367 2
a4368 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6; }
d4382 3
a4384 3
    { echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6; }
    # Check whether --enable-rpath was given.
d4386 2
a4387 1
  enableval=$enable_rpath; doRpath=$enableval
d4390 3
a4392 4
fi

    { echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6; }
d4398 2
a4399 2
    { echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6; }
d4426 2
a4427 2
{ echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
d4434 2
a4435 2
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
d4448 1
a4448 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4452 2
d4458 1
a4458 1
return dlopen ();
d4464 2
a4465 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4471 14
a4484 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4490 1
a4490 1
	ac_cv_lib_dl_dlopen=no
d4492 1
a4492 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4496 2
a4497 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
d4540 2
a4541 2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
d4554 1
a4554 1
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
a4560 1
IFS=$as_save_IFS
d4566 2
a4567 2
  { echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6; }
d4569 2
a4570 2
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
a4572 1

d4598 2
a4599 2
		{ echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
d4677 4
a4680 1
		case " $LIBOBJS " in
d4682 1
a4682 2
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
 ;;
d4702 2
a4703 2
	    { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
d4716 1
a4716 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4720 2
d4726 1
a4726 1
return gettimeofday ();
d4732 2
a4733 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4739 14
a4752 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4758 1
a4758 1
	ac_cv_lib_bsd_gettimeofday=no
d4760 1
a4760 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4764 2
a4765 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
d4797 2
a4798 2
	    { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
d4811 1
a4811 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4815 2
d4821 1
a4821 1
return inet_ntoa ();
d4827 2
a4828 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4834 14
a4847 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4853 1
a4853 1
	ac_cv_lib_bind_inet_ntoa=no
d4855 1
a4855 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4859 2
a4860 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
d4921 2
a4922 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d4935 1
a4935 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d4939 2
d4945 1
a4945 1
return shl_load ();
d4951 2
a4952 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d4958 14
a4971 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d4977 1
a4977 1
	ac_cv_lib_dld_shl_load=no
d4979 1
a4979 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d4983 2
a4984 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5055 2
a5056 2
	    { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
d5069 1
a5069 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d5073 2
d5079 1
a5079 1
return shl_load ();
d5085 2
a5086 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5092 14
a5105 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5111 1
a5111 1
	ac_cv_lib_dld_shl_load=no
d5113 1
a5113 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5117 2
a5118 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
d5250 2
a5251 2
		{ echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
d5274 2
a5275 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5281 14
a5294 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5300 1
a5300 1
	tcl_cv_cc_m64=no
d5302 1
a5302 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5306 2
a5307 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
d5396 2
a5397 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5423 2
a5424 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5455 2
a5456 2
	    { echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
d5482 2
a5483 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
d5547 2
a5548 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
d5571 2
a5572 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5578 14
a5591 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5597 1
a5597 1
	tcl_cv_cc_arch_ppc64=no
d5599 1
a5599 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5603 2
a5604 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
d5613 2
a5614 2
			{ echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
d5637 2
a5638 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5644 14
a5657 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5663 1
a5663 1
	tcl_cv_cc_arch_x86_64=no
d5665 1
a5665 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5669 2
a5670 2
{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
d5696 2
a5697 2
	    { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
d5720 2
a5721 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5727 14
a5740 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5746 1
a5746 1
	tcl_cv_ld_single_module=no
d5748 1
a5748 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5752 2
a5753 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
d5772 2
a5773 2
	    { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
d5796 2
a5797 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5803 14
a5816 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5822 1
a5822 1
	tcl_cv_ld_search_paths_first=no
d5824 1
a5824 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5828 2
a5829 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
d5856 3
a5858 3
	    { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
	    # Check whether --enable-corefoundation was given.
d5860 2
a5861 1
  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
d5864 3
a5866 4
fi

	    { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6; }
d5869 2
a5870 2
		{ echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
d5904 2
a5905 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5911 14
a5924 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d5930 1
a5930 1
	tcl_cv_lib_corefoundation=no
d5932 1
a5932 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d5943 2
a5944 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
d5960 2
a5961 2
		    { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
d5985 2
a5986 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d5992 14
a6005 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6011 1
a6011 1
	tcl_cv_lib_corefoundation_64=no
d6013 1
a6013 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6019 2
a6020 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
d6356 2
a6357 2
		{ echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6; }
d6360 2
a6361 2
			{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d6364 2
a6365 2
  { echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6369 2
a6370 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6373 2
a6374 2
{ echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6; }
d6385 2
a6386 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d6392 14
a6405 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d6411 1
a6411 1
	ac_header_compiler=no
d6413 3
a6415 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d6418 2
a6419 2
{ echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6; }
d6428 2
a6429 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d6435 11
a6445 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a6452 1

d6454 2
a6455 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d6479 8
a6486 1

d6489 2
a6490 2
{ echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6; }
d6496 2
a6497 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6; }
d6506 2
a6507 2
			{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6582 2
a6583 2
	    { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
d6606 2
a6607 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d6613 14
a6626 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d6632 1
a6632 1
	tcl_cv_ld_Bexport=no
d6634 1
a6634 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d6638 2
a6639 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
d6674 1
a6674 1
    # Check whether --enable-load was given.
d6676 2
a6677 1
  enableval=$enable_load; tcl_ok=$enableval
d6680 1
a6680 2
fi

d6825 3
a6827 3
    { echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }
    # Check whether --enable-symbols was given.
d6829 2
a6830 1
  enableval=$enable_symbols; tcl_ok=$enableval
d6833 1
a6833 2
fi

d6839 2
a6840 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d6850 2
a6851 2
	    { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6; }
d6875 2
a6876 2
	    { echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6; }
d6878 2
a6879 2
	    { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
d6889 2
a6890 2
    { echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6; }
d6912 2
a6913 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d6919 14
a6932 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d6938 1
a6938 1
	cat >conftest.$ac_ext <<_ACEOF
d6955 2
a6956 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d6962 14
a6975 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d6981 1
a6981 1
	tcl_cv_flag__isoc99_source=no
d6983 1
a6983 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d6985 1
a6985 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7017 2
a7018 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7024 14
a7037 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7043 1
a7043 1
	cat >conftest.$ac_ext <<_ACEOF
d7060 2
a7061 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7067 14
a7080 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7086 1
a7086 1
	tcl_cv_flag__largefile64_source=no
d7088 1
a7088 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7090 1
a7090 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7122 2
a7123 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7129 14
a7142 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7148 1
a7148 1
	cat >conftest.$ac_ext <<_ACEOF
d7165 2
a7166 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7172 14
a7185 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7191 1
a7191 1
	tcl_cv_flag__largefile_source64=no
d7193 1
a7193 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7195 1
a7195 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7208 2
a7209 2
	{ echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6; }
d7211 2
a7212 2
	{ echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6; }
d7217 2
a7218 2
    { echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6; }
d7241 2
a7242 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7248 14
a7261 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7267 1
a7267 1
	tcl_type_64bit="long long"
d7269 1
a7269 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7291 2
a7292 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7298 14
a7311 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a7316 1

d7318 1
a7318 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7327 2
a7328 2
	{ echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6; }
d7335 2
a7336 2
	{ echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6; }
d7339 2
a7340 2
	{ echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6; }
d7362 2
a7363 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7369 14
a7382 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7388 1
a7388 1
	tcl_cv_struct_dirent64=no
d7390 1
a7390 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7392 2
a7393 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6; }
d7402 2
a7403 2
	{ echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6; }
d7425 2
a7426 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7432 14
a7445 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7451 1
a7451 1
	tcl_cv_struct_stat64=no
d7453 1
a7453 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7455 2
a7456 2
{ echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6; }
d7470 3
a7472 3
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
d7498 1
a7498 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d7501 1
d7503 2
d7509 1
a7509 1
#if defined __stub_$ac_func || defined __stub___$ac_func
d7511 5
d7521 1
a7521 1
return $ac_func ();
d7527 2
a7528 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d7534 14
a7547 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d7553 1
a7553 1
	eval "$as_ac_var=no"
d7555 1
a7555 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d7558 2
a7559 3
ac_res=`eval echo '${'$as_ac_var'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d7568 2
a7569 2
	{ echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6; }
d7591 2
a7592 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7598 14
a7611 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7617 1
a7617 1
	tcl_cv_type_off64_t=no
d7619 1
a7619 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7630 2
a7631 2
	    { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d7633 2
a7634 2
	    { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d7643 2
a7644 2
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
d7661 1
a7661 2
#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
d7670 2
a7671 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7677 14
a7690 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7713 2
a7714 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7720 14
a7733 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7739 1
a7739 1
	ac_cv_c_bigendian=no
d7741 1
a7741 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7746 1
a7746 1
	# It does not; compile a test program.
d7756 2
a7757 2
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d7759 2
a7760 2
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d7771 2
a7772 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7778 14
a7791 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
a7806 1

d7808 1
a7808 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a7815 1
$ac_includes_default
a7818 1

d7822 2
a7823 2
    long int l;
    char c[sizeof (long int)];
d7826 1
a7826 4
  return u.c[sizeof (long int) - 1] == 1;

  ;
  return 0;
d7830 2
a7831 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d7835 2
a7836 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d7849 1
a7849 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a7850 2


d7852 1
a7852 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7854 2
a7855 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
d7904 2
a7905 2
{ echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6; }
d7926 2
a7927 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d7933 14
a7946 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d7952 1
a7952 1
	tcl_cv_type_fd_set=no
d7954 1
a7954 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d7956 2
a7957 2
{ echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6; }
d7960 2
a7961 2
    { echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6; }
d7984 2
a7985 2
{ echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6; }
d8011 4
a8014 4
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8017 2
a8018 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8021 2
a8022 2
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
d8033 2
a8034 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8040 14
a8053 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8059 1
a8059 1
	ac_header_compiler=no
d8061 3
a8063 4

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6; }
d8066 2
a8067 2
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
d8076 2
a8077 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d8083 11
a8093 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a8100 1

d8102 2
a8103 2
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6; }
d8127 8
a8134 1

d8137 3
a8139 3
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
d8144 2
a8145 3
ac_res=`eval echo '${'$as_ac_Header'}'`
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
echo "${ECHO_T}$ac_res" >&6; }
d8157 2
a8158 2
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
d8182 2
a8183 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8189 14
a8202 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8208 1
a8208 1
	ac_cv_header_time=no
d8210 1
a8210 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8212 2
a8213 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6; }
d8231 2
a8232 2
    { echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6; }
d8259 1
a8259 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d8262 1
d8264 2
d8270 1
a8270 1
#if defined __stub_strtod || defined __stub___strtod
d8272 5
d8282 1
a8282 1
return strtod ();
d8288 2
a8289 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d8295 14
a8308 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d8314 1
a8314 1
	ac_cv_func_strtod=no
d8316 1
a8316 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d8319 2
a8320 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
d8328 2
a8329 2
	{ echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6; }
d8365 2
a8366 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>&5
d8370 2
a8371 6
  { (case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_try") 2>&5
d8384 1
a8384 1
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
a8385 2


d8387 2
a8388 2
{ echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6; }
d8390 4
a8393 1
	    case " $LIBOBJS " in
d8395 1
a8395 2
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext"
 ;;
d8413 2
a8414 2
{ echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
a8424 1
typedef mode_t ac__type_new_;
d8428 1
a8428 1
if ((ac__type_new_ *) 0)
d8430 1
a8430 1
if (sizeof (ac__type_new_))
d8437 2
a8438 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8444 14
a8457 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8463 1
a8463 1
	ac_cv_type_mode_t=no
d8465 1
a8465 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8467 2
a8468 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
d8479 2
a8480 2
{ echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
a8490 1
typedef pid_t ac__type_new_;
d8494 1
a8494 1
if ((ac__type_new_ *) 0)
d8496 1
a8496 1
if (sizeof (ac__type_new_))
d8503 2
a8504 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8510 14
a8523 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8529 1
a8529 1
	ac_cv_type_pid_t=no
d8531 1
a8531 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8533 2
a8534 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
d8545 2
a8546 2
{ echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
a8556 1
typedef size_t ac__type_new_;
d8560 1
a8560 1
if ((ac__type_new_ *) 0)
d8562 1
a8562 1
if (sizeof (ac__type_new_))
d8569 2
a8570 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8576 14
a8589 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8595 1
a8595 1
	ac_cv_type_size_t=no
d8597 1
a8597 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8599 2
a8600 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
d8606 1
a8606 1
#define size_t unsigned int
d8611 2
a8612 2
{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
d8634 2
a8635 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
d8650 2
a8651 2
{ echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
a8661 1
typedef intptr_t ac__type_new_;
d8665 1
a8665 1
if ((ac__type_new_ *) 0)
d8667 1
a8667 1
if (sizeof (ac__type_new_))
d8674 2
a8675 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8681 14
a8694 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8700 1
a8700 1
	ac_cv_type_intptr_t=no
d8702 1
a8702 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8704 2
a8705 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
d8715 2
a8716 2
    { echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6; }
d8741 2
a8742 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8748 14
a8761 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8767 1
a8767 1
	tcl_ok=no
d8769 1
a8769 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8773 2
a8774 2
{ echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6; }
d8785 2
a8786 2
{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
a8796 1
typedef uintptr_t ac__type_new_;
d8800 1
a8800 1
if ((ac__type_new_ *) 0)
d8802 1
a8802 1
if (sizeof (ac__type_new_))
d8809 2
a8810 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8816 14
a8829 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8835 1
a8835 1
	ac_cv_type_uintptr_t=no
d8837 1
a8837 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8839 2
a8840 2
{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
d8850 2
a8851 2
    { echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6; }
d8877 2
a8878 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8884 14
a8897 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8903 1
a8903 1
	tcl_ok=no
d8905 1
a8905 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8909 2
a8910 2
{ echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6; }
d8926 2
a8927 2
{ echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6; }
d8948 2
a8949 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d8955 14
a8968 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d8974 1
a8974 1
	tcl_cv_pwd_pw_gecos=no
d8976 1
a8976 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d8978 2
a8979 2
{ echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6; }
d8993 3
a8995 3
    { echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6; }
    # Check whether --enable-aqua was given.
d8997 2
a8998 1
  enableval=$enable_aqua; tk_aqua=$enableval
d9001 1
a9001 2
fi

d9019 2
a9020 2
    { echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6; }
d9023 2
a9024 2
	    { echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6; }
d9050 2
a9051 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9057 14
a9070 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9076 1
a9076 1
	tcl_cv_lib_x11_64=no
d9078 1
a9078 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9084 2
a9085 2
{ echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6; }
d9099 2
a9100 2
	{ echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6; }
d9123 2
a9124 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9130 14
a9143 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9149 1
a9149 1
	tcl_cv_ld_weak_l=no
d9151 1
a9151 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9155 2
a9156 2
{ echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6; }
d9189 2
a9190 2
    { echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
d9193 1
a9193 1
# Check whether --with-x was given.
d9195 1
a9195 2
  withval=$with_x;
fi
d9197 1
d9203 5
a9207 5
  case $x_includes,$x_libraries in #(
    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
echo "$as_me: error: Cannot use X directory names containing '" >&2;}
   { (exit 1); exit 1; }; };; #(
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
d9212 1
a9212 1
rm -f -r conftest.dir
d9215 1
d9217 2
a9218 6
incroot:
	@@echo incroot='${INCROOT}'
usrlibdir:
	@@echo usrlibdir='${USRLIBDIR}'
libdir:
	@@echo libdir='${LIBDIR}'
d9220 1
a9220 1
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
d9222 1
a9222 3
    for ac_var in incroot usrlibdir libdir; do
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
    done
d9225 2
a9226 2
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
d9234 1
a9234 1
	/usr/include) ac_x_includes= ;;
d9243 1
a9243 1
  rm -f -r conftest.dir
d9284 1
a9284 1
  # Guess where to find include files, by looking for Xlib.h.
d9292 1
a9292 1
#include <X11/Xlib.h>
d9294 2
a9295 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9301 11
a9311 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
d9319 1
a9319 1
  if test -r "$ac_dir/X11/Xlib.h"; then
a9324 1

d9333 1
a9333 1
  LIBS="-lX11 $LIBS"
d9340 1
a9340 1
#include <X11/Xlib.h>
d9344 1
a9344 1
XrmInitialize ()
d9350 2
a9351 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9357 14
a9370 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9378 1
a9378 1
	LIBS=$ac_save_LIBS
d9383 1
a9383 1
    if test -r "$ac_dir/libX11.$ac_extension"; then
d9390 1
a9390 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9394 8
a9401 10
case $ac_x_includes,$ac_x_libraries in #(
  no,* | *,no | *\'*)
    # Didn't find X, or a directory has "'" in its name.
    ac_cv_have_x="have_x=no";; #(
  *)
    # Record where we found X for the cache.
    ac_cv_have_x="have_x=yes\
	ac_x_includes='$ac_x_includes'\
	ac_x_libraries='$ac_x_libraries'"
esac
d9403 2
a9404 3
;; #(
    *) have_x=yes;;
  esac
d9409 2
a9410 2
  { echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6; }
d9417 4
a9420 5
  ac_cv_have_x="have_x=yes\
	ac_x_includes='$x_includes'\
	ac_x_libraries='$x_libraries'"
  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
d9434 2
a9435 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9441 11
a9451 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a9458 1

d9467 2
a9468 2
	{ echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6; }
d9478 2
a9479 7
if { (ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
d9485 11
a9495 4
  (exit $ac_status); } >/dev/null && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }; then
a9502 1

d9508 2
a9509 2
		    { echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d9523 2
a9524 2
	{ echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6; }
d9528 2
a9529 2
	{ echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6; }
d9534 2
a9535 2
		{ echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6; }
d9549 2
a9550 2
	{ echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6; }
d9563 1
a9563 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d9567 2
d9573 1
a9573 1
return XCreateWindow ();
d9579 2
a9580 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9586 14
a9599 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9605 1
a9605 1
	ac_cv_lib_Xwindow_XCreateWindow=no
d9607 1
a9607 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9611 2
a9612 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6; }
d9619 2
a9620 2
	{ echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6; }
d9667 2
a9668 2
    { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; }
d9685 1
a9685 1
return main ();
d9691 2
a9692 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9698 14
a9711 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9717 1
a9717 1
	ac_cv_lib_Xbsd_main=no
d9719 1
a9719 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9723 2
a9724 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; }
d9743 2
a9744 2
    { echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6; }
d9769 2
a9770 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9776 14
a9789 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9791 2
a9792 2
	{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
d9800 2
a9801 2
	{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
d9803 1
a9803 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9821 2
a9822 2
    { echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6; }
d9837 2
a9838 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d9844 14
a9857 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d9863 1
a9863 1
	ac_cv_header_X11_extensions_scrnsaver_h=no
d9865 1
a9865 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d9867 2
a9868 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6; }
d9877 2
a9878 2
    { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6; }
d9905 1
a9905 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d9908 1
d9910 2
d9916 1
a9916 1
#if defined __stub_XScreenSaverQueryInfo || defined __stub___XScreenSaverQueryInfo
d9918 5
d9928 1
a9928 1
return XScreenSaverQueryInfo ();
d9934 2
a9935 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d9941 14
a9954 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d9960 1
a9960 1
	ac_cv_func_XScreenSaverQueryInfo=no
d9962 1
a9962 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d9965 2
a9966 2
{ echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6; }
d9971 2
a9972 2
	{ echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6; }
d9985 1
a9985 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d9989 2
d9995 1
a9995 1
return XScreenSaverQueryInfo ();
d10001 2
a10002 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10008 14
a10021 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10027 1
a10027 1
	ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10029 1
a10029 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10033 2
a10034 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6; }
d10042 2
a10043 2
	    { echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6; }
d10056 1
a10056 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10060 2
d10066 1
a10066 1
return XScreenSaverQueryInfo ();
d10072 2
a10073 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10079 14
a10092 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10098 1
a10098 1
	ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d10100 1
a10100 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10104 2
a10105 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6; }
d10141 3
a10143 3
    { echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6; }
    # Check whether --enable-xft was given.
d10145 2
a10146 1
  enableval=$enable_xft; enable_xft=$enableval
d10149 1
a10149 2
fi

d10153 2
a10154 2
	{ echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6; }
d10164 2
a10165 2
	{ echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6; }
d10171 2
a10172 2
	    { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
d10187 2
a10188 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10194 14
a10207 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10213 1
a10213 1
	ac_cv_header_X11_Xft_Xft_h=no
d10215 1
a10215 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10217 2
a10218 2
{ echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6; }
d10237 2
a10238 2
{ echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6; }
d10251 1
a10251 3
/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
d10255 2
d10261 1
a10261 1
return FT_New_Face ();
d10267 2
a10268 7
if { (ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_link") 2>conftest.er1
d10274 14
a10287 5
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext &&
       $as_test_x conftest$ac_exeext; then
d10293 1
a10293 1
	ac_cv_lib_Xft_FT_New_Face=no
d10295 1
a10295 2

rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d10299 2
a10300 2
{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6; }
d10350 2
a10351 2
{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
d10373 2
a10374 7
if { (ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  (eval "$ac_compile") 2>conftest.er1
d10380 14
a10393 4
  (exit $ac_status); } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext; then
d10399 1
a10399 1
	ac_cv_c_char_unsigned=yes
d10401 1
a10401 2

rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d10403 2
a10404 2
{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
d10447 3
a10449 3
	{ echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6; }
	# Check whether --enable-framework was given.
d10451 2
a10452 1
  enableval=$enable_framework; enable_framework=$enableval
d10455 1
a10455 2
fi

d10469 2
a10470 2
	    { echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6; }
d10474 2
a10475 2
		{ echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6; }
d10477 2
a10478 2
		{ echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6; }
d10490 1
a10490 1
    ac_config_files="$ac_config_files Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"
d10504 1
a10504 1
    ac_config_commands="$ac_config_commands Tk.framework"
d10662 1
a10662 1
ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in"
d10682 1
a10682 1
# So, we kill variables containing newlines.
d10685 1
a10685 16
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      *) $as_unset $ac_var ;;
      esac ;;
    esac
  done

d10687 2
a10688 2
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
d10694 1
a10694 1
      ;; #(
d10697 2
a10698 1
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
d10700 2
a10701 3
    esac |
    sort
) |
a10702 1
     /^ac_cv_env_/b end
d10704 1
a10704 1
     :clear
d10707 5
a10711 7
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    test "x$cache_file" != "x/dev/null" &&
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
echo "$as_me: updating cache $cache_file" >&6;}
d10714 1
a10714 2
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
d10723 15
d10743 1
a10743 1
# take arguments), then branch to the quote section.  Otherwise,
d10745 1
a10745 1
ac_script='
d10747 2
a10748 2
:clear
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
d10750 1
a10750 1
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
d10752 17
a10768 16
b any
:quote
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
s/\[/\\&/g
s/\]/\\&/g
s/\$/$$/g
H
:any
${
	g
	s/^\n//
	s/\n/ /g
	p
}
'
DEFS=`sed -n "$ac_script" confdefs.h`
d10775 5
a10779 6
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`echo "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
d10811 1
a10811 2
# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
d10818 2
a10819 30
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in
  *posix*) set -o posix ;;
esac

fi




# PATH needs CR
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d10821 1
a10830 33
# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
as_nl='
'
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
case $0 in
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  { (exit 1); exit 1; }
fi

d10832 1
a10832 3
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
d10846 1
a10846 1
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
d10851 1
a10851 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
d10857 1
a10857 1
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
d10865 1
a10865 1
as_me=`$as_basename -- "$0" ||
d10868 2
a10869 1
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
d10871 4
a10874 13
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
a10875 2
# CDPATH.
$as_unset CDPATH
d10877 20
d10901 1
d10903 52
a10954 1
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
d10958 4
a10961 5
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
d10963 2
a10964 6
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
  # E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
a10965 4
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
d10967 3
a10969 2
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
d10971 2
a10972 1
      s/-\n.*//
d10974 3
a10976 2
  chmod +x "$as_me.lineno" ||
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
d10981 2
a10982 2
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
d10988 5
a10992 15
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
d10995 1
a10995 2
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
a11001 6
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir
fi
d11004 4
a11007 6
  as_ln_s='ln -s'
  # ... but there are two gotchas:
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  # In both cases, we have to default to `cp -p'.
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
d11009 3
d11017 1
a11017 2
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
d11026 1
a11026 22
if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
        test -d "$1/.";
      else
	case $1 in
        -*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x
d11035 9
d11046 1
a11046 1
# Save the log message, to keep $[0] and so on meaningful, and to
d11048 10
a11057 2
# values after options handling.
ac_log="
d11059 1
a11059 1
generated by GNU Autoconf 2.61.  Invocation command line was
d11067 3
a11069 3
on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

a11071 1
cat >>$CONFIG_STATUS <<_ACEOF
d11073 7
a11079 2
config_files="$ac_config_files"
config_commands="$ac_config_commands"
d11081 7
a11087 1
_ACEOF
d11090 1
d11098 1
a11098 1
  -V, --version    print version number and configuration settings, then exit
d11112 1
a11113 1
_ACEOF
d11117 2
a11118 2
configured by $0, generated by GNU Autoconf 2.61,
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
d11120 1
a11120 1
Copyright (C) 2006 Free Software Foundation, Inc.
d11123 1
a11123 3

ac_pwd='$ac_pwd'
srcdir='$srcdir'
d11134 2
a11135 2
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
d11138 1
a11138 1
  *)
d11143 4
d11151 2
d11155 12
a11166 3
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    echo "$ac_cs_version"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
d11172 4
a11175 2
  --he | --h |  --help | --hel | -h )
    echo "$ac_cs_usage"; exit ;;
d11181 4
a11184 2
  -*) { echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2
d11187 1
a11187 2
  *) ac_config_targets="$ac_config_targets $1"
     ac_need_defaults=false ;;
d11203 2
a11204 4
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  CONFIG_SHELL=$SHELL
  export CONFIG_SHELL
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
a11207 9
cat >>$CONFIG_STATUS <<\_ACEOF
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  echo "$ac_log"
} >&5
a11208 1
_ACEOF
d11211 1
a11211 1
# INIT-COMMANDS
d11213 1
d11218 2
a11220 2

# Handling of arguments.
d11223 7
a11229 7
  case $ac_config_target in
    "Tk-Info.plist") CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../macosx/Tk-Info.plist.in" ;;
    "Wish-Info.plist") CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../macosx/Wish-Info.plist.in" ;;
    "Tk.framework") CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
    "tkConfig.sh") CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;

a11235 1

d11246 1
a11246 1
# simply because there is no reason against having it here, and in addition,
d11248 1
a11248 3
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to `$tmp'.
d11251 1
a11251 4
  tmp=
  trap 'exit_status=$?
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
' 0
d11254 1
d11258 1
a11258 1
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
d11262 2
a11263 2
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
d11270 4
d11275 1
a11275 1
# Set up the sed scripts for CONFIG_FILES section.
d11280 173
a11452 116
if test -n "$CONFIG_FILES"; then

_ACEOF



ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
SHELL!$SHELL$ac_delim
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
exec_prefix!$exec_prefix$ac_delim
prefix!$prefix$ac_delim
program_transform_name!$program_transform_name$ac_delim
bindir!$bindir$ac_delim
sbindir!$sbindir$ac_delim
libexecdir!$libexecdir$ac_delim
datarootdir!$datarootdir$ac_delim
datadir!$datadir$ac_delim
sysconfdir!$sysconfdir$ac_delim
sharedstatedir!$sharedstatedir$ac_delim
localstatedir!$localstatedir$ac_delim
includedir!$includedir$ac_delim
oldincludedir!$oldincludedir$ac_delim
docdir!$docdir$ac_delim
infodir!$infodir$ac_delim
htmldir!$htmldir$ac_delim
dvidir!$dvidir$ac_delim
pdfdir!$pdfdir$ac_delim
psdir!$psdir$ac_delim
libdir!$libdir$ac_delim
localedir!$localedir$ac_delim
mandir!$mandir$ac_delim
DEFS!$DEFS$ac_delim
ECHO_C!$ECHO_C$ac_delim
ECHO_N!$ECHO_N$ac_delim
ECHO_T!$ECHO_T$ac_delim
LIBS!$LIBS$ac_delim
build_alias!$build_alias$ac_delim
host_alias!$host_alias$ac_delim
target_alias!$target_alias$ac_delim
TCL_VERSION!$TCL_VERSION$ac_delim
TCL_PATCH_LEVEL!$TCL_PATCH_LEVEL$ac_delim
TCL_BIN_DIR!$TCL_BIN_DIR$ac_delim
TCL_SRC_DIR!$TCL_SRC_DIR$ac_delim
TCL_LIB_FILE!$TCL_LIB_FILE$ac_delim
TCL_LIB_FLAG!$TCL_LIB_FLAG$ac_delim
TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
TCL_STUB_LIB_FILE!$TCL_STUB_LIB_FILE$ac_delim
TCL_STUB_LIB_FLAG!$TCL_STUB_LIB_FLAG$ac_delim
TCL_STUB_LIB_SPEC!$TCL_STUB_LIB_SPEC$ac_delim
TCLSH_PROG!$TCLSH_PROG$ac_delim
BUILD_TCLSH!$BUILD_TCLSH$ac_delim
MAN_FLAGS!$MAN_FLAGS$ac_delim
CC!$CC$ac_delim
CFLAGS!$CFLAGS$ac_delim
LDFLAGS!$LDFLAGS$ac_delim
CPPFLAGS!$CPPFLAGS$ac_delim
ac_ct_CC!$ac_ct_CC$ac_delim
EXEEXT!$EXEEXT$ac_delim
OBJEXT!$OBJEXT$ac_delim
CPP!$CPP$ac_delim
GREP!$GREP$ac_delim
EGREP!$EGREP$ac_delim
TCL_THREADS!$TCL_THREADS$ac_delim
RANLIB!$RANLIB$ac_delim
AR!$AR$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
TCL_LIBS!$TCL_LIBS$ac_delim
DL_LIBS!$DL_LIBS$ac_delim
DL_OBJS!$DL_OBJS$ac_delim
PLAT_OBJS!$PLAT_OBJS$ac_delim
PLAT_SRCS!$PLAT_SRCS$ac_delim
CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
STLIB_LD!$STLIB_LD$ac_delim
SHLIB_LD!$SHLIB_LD$ac_delim
TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
MAKE_LIB!$MAKE_LIB$ac_delim
MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
INSTALL_LIB!$INSTALL_LIB$ac_delim
INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim
LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim
XMKMF!$XMKMF$ac_delim
XFT_CFLAGS!$XFT_CFLAGS$ac_delim
XFT_LIBS!$XFT_LIBS$ac_delim
UNIX_FONT_OBJS!$UNIX_FONT_OBJS$ac_delim
TK_VERSION!$TK_VERSION$ac_delim
TK_MAJOR_VERSION!$TK_MAJOR_VERSION$ac_delim
TK_MINOR_VERSION!$TK_MINOR_VERSION$ac_delim
TK_PATCH_LEVEL!$TK_PATCH_LEVEL$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
d11454 1
a11454 26
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
CEOF$ac_eof
_ACEOF

a11455 80
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  cat >conf$$subs.sed <<_ACEOF
TK_YEAR!$TK_YEAR$ac_delim
TK_LIB_FILE!$TK_LIB_FILE$ac_delim
TK_LIB_FLAG!$TK_LIB_FLAG$ac_delim
TK_LIB_SPEC!$TK_LIB_SPEC$ac_delim
TK_STUB_LIB_FILE!$TK_STUB_LIB_FILE$ac_delim
TK_STUB_LIB_FLAG!$TK_STUB_LIB_FLAG$ac_delim
TK_STUB_LIB_SPEC!$TK_STUB_LIB_SPEC$ac_delim
TK_STUB_LIB_PATH!$TK_STUB_LIB_PATH$ac_delim
TK_INCLUDE_SPEC!$TK_INCLUDE_SPEC$ac_delim
TK_BUILD_STUB_LIB_SPEC!$TK_BUILD_STUB_LIB_SPEC$ac_delim
TK_BUILD_STUB_LIB_PATH!$TK_BUILD_STUB_LIB_PATH$ac_delim
TK_SRC_DIR!$TK_SRC_DIR$ac_delim
TK_SHARED_BUILD!$TK_SHARED_BUILD$ac_delim
LD_LIBRARY_PATH_VAR!$LD_LIBRARY_PATH_VAR$ac_delim
TK_BUILD_LIB_SPEC!$TK_BUILD_LIB_SPEC$ac_delim
TK_BUILD_EXP_FILE!$TK_BUILD_EXP_FILE$ac_delim
TK_EXP_FILE!$TK_EXP_FILE$ac_delim
TCL_STUB_FLAGS!$TCL_STUB_FLAGS$ac_delim
XINCLUDES!$XINCLUDES$ac_delim
XLIBSW!$XLIBSW$ac_delim
LOCALES!$LOCALES$ac_delim
TK_WINDOWINGSYSTEM!$TK_WINDOWINGSYSTEM$ac_delim
TK_PKG_DIR!$TK_PKG_DIR$ac_delim
TK_LIBRARY!$TK_LIBRARY$ac_delim
PRIVATE_INCLUDE_DIR!$PRIVATE_INCLUDE_DIR$ac_delim
HTML_DIR!$HTML_DIR$ac_delim
EXTRA_CC_SWITCHES!$EXTRA_CC_SWITCHES$ac_delim
EXTRA_APP_CC_SWITCHES!$EXTRA_APP_CC_SWITCHES$ac_delim
EXTRA_INSTALL!$EXTRA_INSTALL$ac_delim
EXTRA_INSTALL_BINARIES!$EXTRA_INSTALL_BINARIES$ac_delim
EXTRA_BUILD_HTML!$EXTRA_BUILD_HTML$ac_delim
EXTRA_WISH_LIBS!$EXTRA_WISH_LIBS$ac_delim
CFBUNDLELOCALIZATIONS!$CFBUNDLELOCALIZATIONS$ac_delim
TK_RSRC_FILE!$TK_RSRC_FILE$ac_delim
WISH_RSRC_FILE!$WISH_RSRC_FILE$ac_delim
LIB_RSRC_FILE!$LIB_RSRC_FILE$ac_delim
APP_RSRC_FILE!$APP_RSRC_FILE$ac_delim
REZ!$REZ$ac_delim
REZ_FLAGS!$REZ_FLAGS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF

  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
    break
  elif $ac_last_try; then
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   { (exit 1); exit 1; }; }
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
if test -n "$ac_eof"; then
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
  ac_eof=`expr $ac_eof + 1`
fi

cat >>$CONFIG_STATUS <<_ACEOF
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
/@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end
_ACEOF
sed '
s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g
s/^/s,@@/; s/!/@@,|#_!!_#|/
:n
t n
s/'"$ac_delim"'$/,g/; t
s/$/\\/; p
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n
' >>$CONFIG_STATUS <conf$$subs.sed
rm -f conf$$subs.sed
cat >>$CONFIG_STATUS <<_ACEOF
:end
s/|#_!!_#|//g
CEOF$ac_eof
a11456 17


# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/
s/:*\${srcdir}:*/:/
s/:*@@srcdir@@:*/:/
s/^\([^=]*=[	 ]*\):*/\1/
s/:*$//
s/^[^=]*=[	 ]*$//
}'
fi

d11458 10
a11467 62
fi # test -n "$CONFIG_FILES"


for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
   { (exit 1); exit 1; }; };;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain `:'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   { (exit 1); exit 1; }; };;
      esac
      ac_file_inputs="$ac_file_inputs $ac_f"
    done

    # Let's still pretend it is `configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input="Generated from "`IFS=:
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    fi

    case $ac_tag in
    *:-:* | *:-) cat >"$tmp/stdin";;
    esac
    ;;
d11470 2
a11471 1
  ac_dir=`$as_dirname -- "$ac_file" ||
d11475 2
a11476 1
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
d11478 9
a11486 22
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  { as_dir="$ac_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
d11488 3
a11490 7
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
d11494 2
a11495 1
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
d11497 5
a11501 18
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
d11503 3
a11505 3
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
echo "$as_me: error: cannot create directory $as_dir" >&2;}
d11507 1
d11510 1
a11510 3
case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
d11512 5
a11516 11
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix
d11519 1
a11519 1
  .)  # We are building in place.
d11521 6
a11526 3
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
d11528 43
a11570 6
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
a11571 1
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
a11573 5
  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #
d11575 15
a11589 1
_ACEOF
d11591 27
a11617 19
cat >>$CONFIG_STATUS <<\_ACEOF
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=

case `sed -n '/datarootdir/ {
  p
  q
}
/@@datadir@@/p
/@@docdir@@/p
/@@infodir@@/p
/@@localedir@@/p
/@@mandir@@/p
' $ac_file_inputs` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*)
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
a11619 14
  ac_datarootdir_hack='
  s&@@datadir@@&$datadir&g
  s&@@docdir@@&$docdir&g
  s&@@infodir@@&$infodir&g
  s&@@localedir@@&$localedir&g
  s&@@mandir@@&$mandir&g
    s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF

# Neutralize VPATH when `$srcdir' = `.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF
d11626 17
a11642 19
s&@@configure_input@@&$configure_input&;t t
s&@@top_builddir@@&$ac_top_builddir_sub&;t t
s&@@srcdir@@&$ac_srcdir&;t t
s&@@abs_srcdir@@&$ac_abs_srcdir&;t t
s&@@top_srcdir@@&$ac_top_srcdir&;t t
s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t
s&@@builddir@@&$ac_builddir&;t t
s&@@abs_builddir@@&$ac_abs_builddir&;t t
s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t
$ac_datarootdir_hack
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined.  Please make sure it is defined." >&2;}
d11644 56
a11699 6
  rm -f "$tmp/stdin"
  case $ac_file in
  -) cat "$tmp/out"; rm -f "$tmp/out";;
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
  esac
 ;;
d11701 15
d11717 38
a11754 4
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
echo "$as_me: executing $ac_file commands" >&6;}
 ;;
  esac
d11757 4
a11760 2
  case $ac_file$ac_mode in
    "Tk.framework":C) n=Tk &&
a11767 1

d11769 2
a11770 1
done # for ac_tag
d11772 1
@


1.187
log
@regen
@
text
@a5089 1
    CFLAGS_OPTIMIZE=-O
d5092 2
a5093 1
	CFLAGS_WARNING="-Wall -Wno-implicit-int"
d5096 4
a5099 1
  CFLAGS_WARNING=""
@


1.186
log
@        * README:               Bump version number to 8.6a4
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59 for tk 8.6.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
d13 2
a14 1
# Be Bourne compatible
d21 30
a50 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a51 1
DUALCASE=1; export DUALCASE # for MKS sh
d61 33
d95 3
a97 1
$as_unset ENV MAIL MAILPATH
d111 1
a111 1
    $as_unset $as_var
d116 2
a117 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d123 1
a123 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d131 1
a131 1
as_me=`$as_basename "$0" ||
d134 1
a134 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d136 17
a152 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d154 23
d178 19
a196 7
# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits
d198 3
a200 11
# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
d203 6
d210 1
a210 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
d212 9
a220 13
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
d226 1
a226 2
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
d228 195
a422 1
	   if ("$as_dir/$as_base" -c '
a424 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d426 1
a426 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d430 5
a434 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d436 6
a441 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d443 4
d448 2
a449 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d451 1
a451 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d453 1
a453 1
  chmod +x $as_me.lineno ||
d459 2
a460 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d466 15
a480 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d483 2
a484 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d491 6
d499 6
a504 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a505 3
  else
    as_ln_s='ln -s'
  fi
d511 2
a512 1
rm -f conf$$ conf$$.exe conf$$.file
d521 22
a542 1
as_executable_p="test -f"
a550 8
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH
d552 1
a558 2
exec 6>&1

d563 1
d565 1
a571 5
# Maximum number of lines to put in a shell here document.
# This variable seems obsolete.  It should probably be removed, and
# only ac_max_sed_lines should be used.
: ${ac_max_here_lines=38}

d582 1
a582 1
#if HAVE_SYS_TYPES_H
d585 1
a585 1
#if HAVE_SYS_STAT_H
d588 1
a588 1
#if STDC_HEADERS
d592 1
a592 1
# if HAVE_STDLIB_H
d596 2
a597 2
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
d602 1
a602 1
#if HAVE_STRINGS_H
d605 1
a605 1
#if HAVE_INTTYPES_H
a606 4
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
d608 4
a611 1
#if HAVE_UNISTD_H
d615 137
a751 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d753 11
d790 1
d794 2
a795 1
datadir='${prefix}/share'
a798 1
libdir='${exec_prefix}/lib'
d801 9
a809 2
infodir='${prefix}/info'
mandir='${prefix}/man'
d812 1
d817 1
a817 1
    eval "$ac_prev=\$ac_option"
d822 4
a825 1
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
d829 3
a831 1
  case $ac_option in
d853 1
a853 1
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
d855 1
a855 2
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
d858 7
d868 1
a868 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d871 12
a882 2
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    eval "enable_$ac_feature=no" ;;
d887 1
a887 1
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d890 2
a891 6
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_$ac_feature='$ac_optarg'" ;;
d918 6
d948 5
d954 1
a954 2
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
d957 1
a957 2
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
d1022 10
d1084 1
a1084 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1087 2
a1088 6
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case $ac_option in
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
      *) ac_optarg=yes ;;
    esac
    eval "with_$ac_package='$ac_optarg'" ;;
d1093 1
a1093 1
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
d1096 2
a1097 2
    ac_package=`echo $ac_package | sed 's/-/_/g'`
    eval "with_$ac_package=no" ;;
d1128 1
a1128 2
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    eval "$ac_envvar='$ac_optarg'"
d1148 5
a1152 2
# Be sure to have absolute paths.
for ac_var in exec_prefix prefix
d1154 1
a1154 1
  eval ac_val=$`echo $ac_var`
d1156 2
a1157 15
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
  esac
done

# Be sure to have absolute paths.
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
	      localstatedir libdir includedir oldincludedir infodir mandir
do
  eval ac_val=$`echo $ac_var`
  case $ac_val in
    [\\/$]* | ?:[\\/]* ) ;;
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   { (exit 1); exit 1; }; };;
d1159 2
d1187 10
d1200 2
a1201 2
  # Try the directory containing this script, then its parent.
  ac_confdir=`(dirname "$0") 2>/dev/null ||
d1205 1
a1205 2
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d1207 17
a1223 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d1225 1
a1225 1
  if test ! -r $srcdir/$ac_unique_file; then
d1231 3
a1233 3
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
a1234 4
  else
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   { (exit 1); exit 1; }; }
  fi
d1236 3
a1238 2
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
d1240 17
a1256 33
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
ac_env_build_alias_set=${build_alias+set}
ac_env_build_alias_value=$build_alias
ac_cv_env_build_alias_set=${build_alias+set}
ac_cv_env_build_alias_value=$build_alias
ac_env_host_alias_set=${host_alias+set}
ac_env_host_alias_value=$host_alias
ac_cv_env_host_alias_set=${host_alias+set}
ac_cv_env_host_alias_value=$host_alias
ac_env_target_alias_set=${target_alias+set}
ac_env_target_alias_value=$target_alias
ac_cv_env_target_alias_set=${target_alias+set}
ac_cv_env_target_alias_value=$target_alias
ac_env_CC_set=${CC+set}
ac_env_CC_value=$CC
ac_cv_env_CC_set=${CC+set}
ac_cv_env_CC_value=$CC
ac_env_CFLAGS_set=${CFLAGS+set}
ac_env_CFLAGS_value=$CFLAGS
ac_cv_env_CFLAGS_set=${CFLAGS+set}
ac_cv_env_CFLAGS_value=$CFLAGS
ac_env_LDFLAGS_set=${LDFLAGS+set}
ac_env_LDFLAGS_value=$LDFLAGS
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
ac_cv_env_LDFLAGS_value=$LDFLAGS
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_env_CPPFLAGS_value=$CPPFLAGS
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
ac_env_CPP_set=${CPP+set}
ac_env_CPP_value=$CPP
ac_cv_env_CPP_set=${CPP+set}
ac_cv_env_CPP_value=$CPP
a1284 3
_ACEOF

  cat <<_ACEOF
a1301 1
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
d1308 10
a1317 2
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]
d1370 3
a1372 2
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
d1374 1
d1380 1
a1384 1
  ac_popdir=`pwd`
d1386 1
a1386 1
    test -d $ac_dir || continue
d1389 3
a1391 1
if test "$ac_dir" != .; then
d1393 11
a1403 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d1406 1
a1406 1
  .)  # No --srcdir option.  We are building in place.
d1408 3
a1410 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d1412 6
a1417 43
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
d1419 1
d1421 8
a1428 12
    cd $ac_dir
    # Check for guested configure; otherwise get Cygnus style configure.
    if test -f $ac_srcdir/configure.gnu; then
      echo
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
    elif test -f $ac_srcdir/configure; then
      echo
      $SHELL $ac_srcdir/configure  --help=recursive
    elif test -f $ac_srcdir/configure.ac ||
	   test -f $ac_srcdir/configure.in; then
      echo
      $ac_configure --help
d1431 2
a1432 2
    fi
    cd $ac_popdir
d1436 1
a1436 1
test -n "$ac_init_help" && exit 0
d1440 1
a1440 1
generated by GNU Autoconf 2.59
d1442 2
a1443 1
Copyright (C) 2003 Free Software Foundation, Inc.
d1447 1
a1447 1
  exit 0
d1449 1
a1449 2
exec 5>config.log
cat >&5 <<_ACEOF
d1454 1
a1454 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1459 1
d1478 1
a1478 1
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
d1492 1
a1513 1
ac_sep=
d1524 1
a1524 1
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
d1546 1
a1546 3
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
      # Get rid of the leading space.
      ac_sep=" "
d1557 2
a1558 2
# WARNING: Be sure not to use single quotes in there, as some shells,
# such as our DU 5.0 friend, will then `close' the trap.
d1571 15
a1585 1
{
d1587 2
a1588 2
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d1590 3
a1592 3
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
      ;;
d1594 1
a1594 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1596 3
a1598 2
    esac;
}
d1609 5
a1613 2
      eval ac_val=$`echo $ac_var`
      echo "$ac_var='"'"'$ac_val'"'"'"
d1619 3
a1621 3
## ------------- ##
## Output files. ##
## ------------- ##
d1626 5
a1630 2
	eval ac_val=$`echo $ac_var`
	echo "$ac_var='"'"'$ac_val'"'"'"
d1642 1
a1642 1
      sed "/^$/d" confdefs.h | sort
d1649 2
a1650 2
  rm -f core *.core &&
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
d1652 1
a1652 1
     ' 0
d1659 1
a1659 3
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo >confdefs.h
d1690 7
a1696 6
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
d1698 3
a1700 1
for ac_site_file in $CONFIG_SITE; do
d1716 2
a1717 2
      [\\/]* | ?:[\\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
d1729 1
a1729 2
for ac_var in `(set) 2>&1 |
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1732 2
a1733 2
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  eval ac_new_val="\$ac_env_${ac_var}_value"
d1758 1
a1758 2
    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
a1774 6
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

d1799 5
d1832 1
a1832 1
# Check whether --with-tcl or --without-tcl was given.
d1834 5
a1838 5
  withval="$with_tcl"
  with_tclconfig="${withval}"
fi;
	echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
d1940 2
a1941 2
	    echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
d1946 2
a1947 2
    echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
d1950 2
a1951 2
        echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6
d1954 2
a1955 2
        echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
d2016 2
a2017 2
    echo "$as_me:$LINENO: checking for tclsh" >&5
echo $ECHO_N "checking for tclsh... $ECHO_C" >&6
d2040 2
a2041 2
	echo "$as_me:$LINENO: result: $TCLSH_PROG" >&5
echo "${ECHO_T}$TCLSH_PROG" >&6
d2045 2
a2046 2
	echo "$as_me:$LINENO: result: No tclsh found on PATH" >&5
echo "${ECHO_T}No tclsh found on PATH" >&6
d2051 2
a2052 2
    echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6
d2054 2
a2055 2
    echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6
d2078 3
a2080 3
    echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
echo $ECHO_N "checking whether to use symlinks for manpages... $ECHO_C" >&6
    # Check whether --enable-man-symlinks or --disable-man-symlinks was given.
d2082 1
a2082 2
  enableval="$enable_man_symlinks"
  test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d2085 8
a2092 7
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6

    echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
echo $ECHO_N "checking whether to compress the manpages... $ECHO_C" >&6
    # Check whether --enable-man-compression or --disable-man-compression was given.
d2094 1
a2094 2
  enableval="$enable_man_compression"
  case $enableval in
d2103 4
a2106 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2108 2
a2109 2
	echo "$as_me:$LINENO: checking for compressed file suffix" >&5
echo $ECHO_N "checking for compressed file suffix... $ECHO_C" >&6
d2115 2
a2116 2
	echo "$as_me:$LINENO: result: $Z" >&5
echo "${ECHO_T}$Z" >&6
d2119 3
a2121 3
    echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
echo $ECHO_N "checking whether to add a package name suffix for the manpages... $ECHO_C" >&6
    # Check whether --enable-man-suffix or --disable-man-suffix was given.
d2123 1
a2123 2
  enableval="$enable_man_suffix"
  case $enableval in
d2130 4
a2133 3
fi;
    echo "$as_me:$LINENO: result: $enableval" >&5
echo "${ECHO_T}$enableval" >&6
d2156 2
a2157 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2170 1
a2170 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2177 1
d2183 2
a2184 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2186 2
a2187 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2190 1
d2196 2
a2197 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2210 1
a2210 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2217 1
d2223 2
a2224 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2226 2
a2227 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2230 15
a2244 1
  CC=$ac_ct_CC
d2250 2
a2251 2
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
d2253 2
a2254 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2267 1
a2267 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2274 1
d2280 2
a2281 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2283 2
a2284 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2287 1
a2287 23
fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
a2288 19
done
done

fi
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi

  CC=$ac_ct_CC
else
  CC="$ac_cv_prog_CC"
fi

d2293 2
a2294 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2308 1
a2308 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2319 1
d2337 2
a2338 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2340 2
a2341 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2344 1
d2348 1
a2348 1
  for ac_prog in cl
d2352 2
a2353 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2366 1
a2366 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2373 1
d2379 2
a2380 2
  echo "$as_me:$LINENO: result: $CC" >&5
echo "${ECHO_T}$CC" >&6
d2382 2
a2383 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2386 1
d2392 1
a2392 1
  for ac_prog in cl
d2396 2
a2397 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d2410 1
a2410 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d2417 1
d2423 2
a2424 2
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
echo "${ECHO_T}$ac_ct_CC" >&6
d2426 2
a2427 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d2430 1
d2434 15
a2448 1
  CC=$ac_ct_CC
d2461 1
a2461 2
echo "$as_me:$LINENO:" \
     "checking for C compiler version" >&5
d2463 7
a2469 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
  (eval $ac_compiler --version </dev/null >&5) 2>&5
d2473 7
a2479 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
  (eval $ac_compiler -v </dev/null >&5) 2>&5
d2483 7
a2489 2
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
  (eval $ac_compiler -V </dev/null >&5) 2>&5
d2514 2
a2515 2
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
d2517 26
a2542 2
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
  (eval $ac_link_default) 2>&5
d2546 6
a2551 9
  # Find the output, starting from the most likely.  This scheme is
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
# resort.

# Be careful to initialize this variable, since it used to be cached.
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
ac_cv_exeext=
# b.out is created by i960 compilers.
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
d2555 1
a2555 4
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
	;;
    conftest.$ac_ext )
	# This is the source file.
d2562 9
a2570 5
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
d2576 2
d2579 6
a2595 2
echo "$as_me:$LINENO: result: $ac_file" >&5
echo "${ECHO_T}$ac_file" >&6
d2597 1
a2597 1
# Check the compiler produces executables we can run.  If not, either
d2599 2
a2600 2
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
d2605 6
a2610 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2629 2
a2630 2
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d2634 1
a2634 1
# Check the compiler produces executables we can run.  If not, either
d2636 14
a2649 9
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
echo "$as_me:$LINENO: result: $cross_compiling" >&5
echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for suffix of executables" >&5
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2660 1
a2660 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
a2661 1
	  export ac_cv_exeext
d2675 2
a2676 2
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
echo "${ECHO_T}$ac_cv_exeext" >&6
d2681 2
a2682 2
echo "$as_me:$LINENO: checking for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
d2702 7
a2708 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d2712 2
a2713 1
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
d2715 1
a2715 1
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
d2733 2
a2734 2
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
echo "${ECHO_T}$ac_cv_objext" >&6
d2737 2
a2738 2
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
d2761 7
a2767 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2773 4
a2776 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d2782 1
a2782 1
ac_compiler_gnu=no
d2784 2
a2785 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2789 2
a2790 2
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
d2794 2
a2795 3
CFLAGS="-g"
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
d2799 5
a2803 1
  cat >conftest.$ac_ext <<_ACEOF
d2819 7
a2825 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d2831 33
a2863 5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2865 3
d2869 34
a2902 4
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d2904 3
d2908 4
a2911 1
  (exit $ac_status); }; }; then
d2917 4
a2920 1
ac_cv_prog_cc_g=no
d2922 6
a2927 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2929 2
a2930 2
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
d2946 3
a2948 3
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
if test "${ac_cv_prog_cc_stdc+set}" = set; then
d2951 1
a2951 1
  ac_cv_prog_cc_stdc=no
d2985 1
a2985 1
   as 'x'.  The following induces an error, until -std1 is added to get
d2988 1
a2988 1
   that's true only with -std1.  */
d2991 5
d3010 2
a3011 8
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX			-qlanglvl=ansi
# Ultrix and OSF/1	-std1
# HP-UX 10.20 and later	-Ae
# HP-UX older versions	-Aa -D_HPUX_SOURCE
# SVR4			-Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
d3015 7
a3021 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3027 5
a3031 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_stdc=$ac_arg
break
d3036 1
d3038 3
a3040 1
rm -f conftest.err conftest.$ac_objext
d3042 1
a3042 1
rm -f conftest.$ac_ext conftest.$ac_objext
d3046 8
a3053 5

case "x$ac_cv_prog_cc_stdc" in
  x|xno)
    echo "$as_me:$LINENO: result: none needed" >&5
echo "${ECHO_T}none needed" >&6 ;;
d3055 3
a3057 3
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    CC="$CC $ac_cv_prog_cc_stdc" ;;
d3060 15
a3074 39
# Some people use a C++ compiler to compile C.  Since we use `exit',
# in C++ we need to declare it.  In case someone uses the same compiler
# for both compiling C and C++ we need to have the C++ compiler decide
# the declaration of exit, since it's the most demanding environment.
cat >conftest.$ac_ext <<_ACEOF
#ifndef __cplusplus
  choke me
#endif
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in \
   '' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do
d3081 6
a3086 9
$ac_declaration
#include <stdlib.h>
int
main ()
{
exit (42);
  ;
  return 0;
}
d3089 7
a3095 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3101 5
a3105 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  :
d3110 7
a3116 1
continue
d3118 15
a3132 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
d3134 2
a3135 60
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_declaration
int
main ()
{
exit (42);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  break
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
done
rm -f conftest*
if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h
fi

else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
a3139 1

d3145 2
a3146 2
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
d3180 7
a3186 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3192 4
a3195 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3204 1
d3207 1
a3207 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3217 7
a3223 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3229 4
a3232 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3243 1
d3261 2
a3262 2
echo "$as_me:$LINENO: result: $CPP" >&5
echo "${ECHO_T}$CPP" >&6
d3285 7
a3291 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3297 4
a3300 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3309 1
d3312 1
a3312 1
  # OK, works on sane cases.  Now check whether non-existent headers
d3322 7
a3328 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3334 4
a3337 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3348 1
d3371 91
a3461 3
echo "$as_me:$LINENO: checking for egrep" >&5
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
if test "${ac_cv_prog_egrep+set}" = set; then
d3464 32
a3495 3
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    then ac_cv_prog_egrep='grep -E'
    else ac_cv_prog_egrep='egrep'
d3497 22
d3520 11
a3530 3
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 EGREP=$ac_cv_prog_egrep
d3533 2
a3534 2
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
d3558 7
a3564 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3570 4
a3573 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3579 1
a3579 1
ac_cv_header_stdc=no
d3581 2
a3582 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3638 1
d3658 2
a3659 2
      exit(2);
  exit (0);
d3663 7
a3669 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3673 6
a3678 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d3691 1
a3691 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3693 2
d3697 2
a3698 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
echo "${ECHO_T}$ac_cv_header_stdc" >&6
d3721 3
a3723 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d3737 7
a3743 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3749 4
a3752 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3758 1
a3758 1
eval "$as_ac_Header=no"
d3760 2
a3761 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3763 3
a3765 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d3777 2
a3778 2
  echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3782 2
a3783 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3786 2
a3787 2
echo "$as_me:$LINENO: checking limits.h usability" >&5
echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6
d3798 7
a3804 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3810 4
a3813 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3819 1
a3819 1
ac_header_compiler=no
d3821 4
a3824 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3827 2
a3828 2
echo "$as_me:$LINENO: checking limits.h presence" >&5
echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6
d3837 7
a3843 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3849 4
a3852 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d3860 1
d3862 2
a3863 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d3887 1
a3887 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d3890 2
a3891 2
echo "$as_me:$LINENO: checking for limits.h" >&5
echo $ECHO_N "checking for limits.h... $ECHO_C" >&6
d3897 2
a3898 2
echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
echo "${ECHO_T}$ac_cv_header_limits_h" >&6
d3923 2
a3924 2
  echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d3928 2
a3929 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d3932 2
a3933 2
echo "$as_me:$LINENO: checking stdlib.h usability" >&5
echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6
d3944 7
a3950 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d3956 4
a3959 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d3965 1
a3965 1
ac_header_compiler=no
d3967 4
a3970 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d3973 2
a3974 2
echo "$as_me:$LINENO: checking stdlib.h presence" >&5
echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6
d3983 7
a3989 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d3995 4
a3998 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d4006 1
d4008 2
a4009 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d4033 1
a4033 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d4036 2
a4037 2
echo "$as_me:$LINENO: checking for stdlib.h" >&5
echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6
d4043 2
a4044 2
echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6
d4119 2
a4120 2
    echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
d4142 7
a4148 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d4154 4
a4157 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4163 1
a4163 1
tcl_cv_cc_pipe=no
d4165 2
a4166 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4169 2
a4170 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_pipe" >&5
echo "${ECHO_T}$tcl_cv_cc_pipe" >&6
d4181 1
a4181 1
    # Check whether --enable-threads or --disable-threads was given.
d4183 1
a4183 2
  enableval="$enable_threads"
  tcl_ok=$enableval
d4186 2
a4187 1
fi;
d4219 2
a4220 2
	echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4233 3
a4235 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4238 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4243 1
a4243 1
pthread_mutex_init ();
d4249 7
a4255 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4261 5
a4265 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4271 1
a4271 1
ac_cv_lib_pthread_pthread_mutex_init=no
d4273 2
a4274 1
rm -f conftest.err conftest.$ac_objext \
d4278 2
a4279 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
d4292 2
a4293 2
	    echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
d4306 3
a4308 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4311 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4316 1
a4316 1
__pthread_mutex_init ();
d4322 7
a4328 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4334 5
a4338 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4344 1
a4344 1
ac_cv_lib_pthread___pthread_mutex_init=no
d4346 2
a4347 1
rm -f conftest.err conftest.$ac_objext \
d4351 2
a4352 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
d4365 2
a4366 2
	    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
d4379 3
a4381 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4384 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4389 1
a4389 1
pthread_mutex_init ();
d4395 7
a4401 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4407 5
a4411 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4417 1
a4417 1
ac_cv_lib_pthreads_pthread_mutex_init=no
d4419 2
a4420 1
rm -f conftest.err conftest.$ac_objext \
d4424 2
a4425 2
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
d4436 2
a4437 2
		echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
d4450 3
a4452 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4455 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4460 1
a4460 1
pthread_mutex_init ();
d4466 7
a4472 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4478 5
a4482 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4488 1
a4488 1
ac_cv_lib_c_pthread_mutex_init=no
d4490 2
a4491 1
rm -f conftest.err conftest.$ac_objext \
d4495 2
a4496 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
d4504 2
a4505 2
		    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
d4518 3
a4520 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4523 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4528 1
a4528 1
pthread_mutex_init ();
d4534 7
a4540 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4546 5
a4550 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4556 1
a4556 1
ac_cv_lib_c_r_pthread_mutex_init=no
d4558 2
a4559 1
rm -f conftest.err conftest.$ac_objext \
d4563 2
a4564 2
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
d4589 3
a4591 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d4617 3
a4619 1
/* Override any gcc2 internal prototype to avoid an error.  */
a4621 1
{
a4622 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d4627 1
a4627 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a4628 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d4634 1
a4634 1
return f != $ac_func;
d4640 7
a4646 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4652 5
a4656 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4662 1
a4662 1
eval "$as_ac_var=no"
d4664 2
a4665 1
rm -f conftest.err conftest.$ac_objext \
d4668 3
a4670 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d4683 2
a4684 2
    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
d4692 2
a4693 2
	    echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6
d4695 2
a4696 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d4699 2
a4700 2
	echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6
d4710 3
a4712 3
    echo "$as_me:$LINENO: checking how to build libraries" >&5
echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6
    # Check whether --enable-shared or --disable-shared was given.
d4714 1
a4714 2
  enableval="$enable_shared"
  tcl_ok=$enableval
d4717 2
a4718 1
fi;
d4728 2
a4729 2
	echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6
d4732 2
a4733 2
	echo "$as_me:$LINENO: result: static" >&5
echo "${ECHO_T}static" >&6
d4752 2
a4753 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4766 1
a4766 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4773 1
d4779 2
a4780 2
  echo "$as_me:$LINENO: result: $RANLIB" >&5
echo "${ECHO_T}$RANLIB" >&6
d4782 2
a4783 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4786 1
d4792 2
a4793 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d4806 1
a4806 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d4813 1
a4814 1
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
d4819 2
a4820 2
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
echo "${ECHO_T}$ac_ct_RANLIB" >&6
d4822 2
a4823 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d4826 15
a4840 1
  RANLIB=$ac_ct_RANLIB
d4849 3
a4851 3
    echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit or --disable-64bit was given.
d4853 1
a4853 2
  enableval="$enable_64bit"
  do64bit=$enableval
d4856 4
a4859 3
fi;
    echo "$as_me:$LINENO: result: $do64bit" >&5
echo "${ECHO_T}$do64bit" >&6
d4863 3
a4865 3
    echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
d4867 1
a4867 2
  enableval="$enable_64bit_vis"
  do64bitVIS=$enableval
d4870 4
a4873 3
fi;
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6
d4883 2
a4884 2
    echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6
d4908 7
a4914 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d4920 5
a4924 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d4930 1
a4930 1
tcl_cv_cc_visibility_hidden=no
d4932 2
a4933 1
rm -f conftest.err conftest.$ac_objext \
d4937 2
a4938 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_visibility_hidden" >&5
echo "${ECHO_T}$tcl_cv_cc_visibility_hidden" >&6
d4952 3
a4954 3
    echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6
    # Check whether --enable-rpath or --disable-rpath was given.
d4956 1
a4956 2
  enableval="$enable_rpath"
  doRpath=$enableval
d4959 4
a4962 3
fi;
    echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6
d4968 2
a4969 2
    echo "$as_me:$LINENO: checking system version" >&5
echo $ECHO_N "checking system version... $ECHO_C" >&6
d4996 2
a4997 2
echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
echo "${ECHO_T}$tcl_cv_sys_version" >&6
d5004 2
a5005 2
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
d5018 3
a5020 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5023 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5028 1
a5028 1
dlopen ();
d5034 7
a5040 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5046 5
a5050 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5056 1
a5056 1
ac_cv_lib_dl_dlopen=no
d5058 2
a5059 1
rm -f conftest.err conftest.$ac_objext \
d5063 2
a5064 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
d5104 2
a5105 2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
d5118 1
a5118 1
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
d5125 1
d5131 2
a5132 2
  echo "$as_me:$LINENO: result: $AR" >&5
echo "${ECHO_T}$AR" >&6
d5134 2
a5135 2
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d5138 1
d5164 2
a5165 2
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6
d5243 1
a5243 4
		case $LIBOBJS in
    "tclLoadAix.$ac_objext"   | \
  *" tclLoadAix.$ac_objext"   | \
    "tclLoadAix.$ac_objext "* | \
d5245 2
a5246 1
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
d5266 2
a5267 2
	    echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
d5280 3
a5282 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5285 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5290 1
a5290 1
gettimeofday ();
d5296 7
a5302 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5308 5
a5312 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5318 1
a5318 1
ac_cv_lib_bsd_gettimeofday=no
d5320 2
a5321 1
rm -f conftest.err conftest.$ac_objext \
d5325 2
a5326 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
d5358 2
a5359 2
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6
d5372 3
a5374 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5377 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5382 1
a5382 1
inet_ntoa ();
d5388 7
a5394 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5400 5
a5404 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5410 1
a5410 1
ac_cv_lib_bind_inet_ntoa=no
d5412 2
a5413 1
rm -f conftest.err conftest.$ac_objext \
d5417 2
a5418 2
echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6
d5479 2
a5480 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5493 3
a5495 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5498 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5503 1
a5503 1
shl_load ();
d5509 7
a5515 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5521 5
a5525 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5531 1
a5531 1
ac_cv_lib_dld_shl_load=no
d5533 2
a5534 1
rm -f conftest.err conftest.$ac_objext \
d5538 2
a5539 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5610 2
a5611 2
	    echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
d5624 3
a5626 1
/* Override any gcc2 internal prototype to avoid an error.  */
a5629 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d5634 1
a5634 1
shl_load ();
d5640 7
a5646 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5652 5
a5656 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5662 1
a5662 1
ac_cv_lib_dld_shl_load=no
d5664 2
a5665 1
rm -f conftest.err conftest.$ac_objext \
d5669 2
a5670 2
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
d5802 2
a5803 2
		echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6
d5826 7
a5832 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d5838 5
a5842 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d5848 1
a5848 1
tcl_cv_cc_m64=no
d5850 2
a5851 1
rm -f conftest.err conftest.$ac_objext \
d5855 2
a5856 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
echo "${ECHO_T}$tcl_cv_cc_m64" >&6
d5945 2
a5946 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d5972 2
a5973 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6004 2
a6005 2
	    echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6
d6031 2
a6032 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
echo "${ECHO_T}$tcl_cv_ld_elf" >&6
d6096 2
a6097 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6
d6120 7
a6126 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6132 5
a6136 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6142 1
a6142 1
tcl_cv_cc_arch_ppc64=no
d6144 2
a6145 1
rm -f conftest.err conftest.$ac_objext \
d6149 2
a6150 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6
d6159 2
a6160 2
			echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6
d6183 7
a6189 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6195 5
a6199 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6205 1
a6205 1
tcl_cv_cc_arch_x86_64=no
d6207 2
a6208 1
rm -f conftest.err conftest.$ac_objext \
d6212 2
a6213 2
echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6
d6239 2
a6240 2
	    echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6
d6263 7
a6269 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6275 5
a6279 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6285 1
a6285 1
tcl_cv_ld_single_module=no
d6287 2
a6288 1
rm -f conftest.err conftest.$ac_objext \
d6292 2
a6293 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
echo "${ECHO_T}$tcl_cv_ld_single_module" >&6
d6312 2
a6313 2
	    echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6
d6336 7
a6342 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6348 5
a6352 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6358 1
a6358 1
tcl_cv_ld_search_paths_first=no
d6360 2
a6361 1
rm -f conftest.err conftest.$ac_objext \
d6365 2
a6366 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
d6393 3
a6395 3
	    echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
d6397 1
a6397 2
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
d6400 4
a6403 3
fi;
	    echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6
d6406 2
a6407 2
		echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6
d6441 7
a6447 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6453 5
a6457 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6463 1
a6463 1
tcl_cv_lib_corefoundation=no
d6465 2
a6466 1
rm -f conftest.err conftest.$ac_objext \
d6477 2
a6478 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6
d6494 2
a6495 2
		    echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6
d6519 7
a6525 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d6531 5
a6535 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6541 1
a6541 1
tcl_cv_lib_corefoundation_64=no
d6543 2
a6544 1
rm -f conftest.err conftest.$ac_objext \
d6550 2
a6551 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6
d6887 2
a6888 2
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
d6891 2
a6892 2
			echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d6895 2
a6896 2
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d6900 2
a6901 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d6904 2
a6905 2
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
d6916 7
a6922 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d6928 4
a6931 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d6937 1
a6937 1
ac_header_compiler=no
d6939 4
a6942 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d6945 2
a6946 2
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
d6955 7
a6961 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d6967 4
a6970 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d6978 1
d6980 2
a6981 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d7005 1
a7005 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d7008 2
a7009 2
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
d7015 2
a7016 2
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
d7025 2
a7026 2
			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7101 2
a7102 2
	    echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
d7125 7
a7131 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d7137 5
a7141 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7147 1
a7147 1
tcl_cv_ld_Bexport=no
d7149 2
a7150 1
rm -f conftest.err conftest.$ac_objext \
d7154 2
a7155 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6
d7190 1
a7190 1
    # Check whether --enable-load or --disable-load was given.
d7192 1
a7192 2
  enableval="$enable_load"
  tcl_ok=$enableval
d7195 2
a7196 1
fi;
d7341 3
a7343 3
    echo "$as_me:$LINENO: checking for build with symbols" >&5
echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6
    # Check whether --enable-symbols or --disable-symbols was given.
d7345 1
a7345 2
  enableval="$enable_symbols"
  tcl_ok=$enableval
d7348 2
a7349 1
fi;
d7355 2
a7356 2
	echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d7366 2
a7367 2
	    echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
echo "${ECHO_T}yes (standard debugging)" >&6
d7391 2
a7392 2
	    echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
echo "${ECHO_T}enabled symbols mem debugging" >&6
d7394 2
a7395 2
	    echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
d7405 2
a7406 2
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
d7428 7
a7434 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7440 4
a7443 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7449 1
a7449 1
cat >conftest.$ac_ext <<_ACEOF
d7466 7
a7472 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7478 4
a7481 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7487 1
a7487 1
tcl_cv_flag__isoc99_source=no
d7489 2
a7490 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7492 2
a7493 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7525 7
a7531 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7537 4
a7540 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7546 1
a7546 1
cat >conftest.$ac_ext <<_ACEOF
d7563 7
a7569 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7575 4
a7578 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7584 1
a7584 1
tcl_cv_flag__largefile64_source=no
d7586 2
a7587 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7589 2
a7590 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7622 7
a7628 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7634 4
a7637 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7643 1
a7643 1
cat >conftest.$ac_ext <<_ACEOF
d7660 7
a7666 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7672 4
a7675 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7681 1
a7681 1
tcl_cv_flag__largefile_source64=no
d7683 2
a7684 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7686 2
a7687 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7700 2
a7701 2
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
d7703 2
a7704 2
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
d7709 2
a7710 2
    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
d7733 7
a7739 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7745 4
a7748 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7754 1
a7754 1
tcl_type_64bit="long long"
d7756 2
a7757 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7779 7
a7785 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7791 4
a7794 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7800 1
d7802 2
a7803 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7812 2
a7813 2
	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
d7820 2
a7821 2
	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6
d7824 2
a7825 2
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
d7847 7
a7853 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7859 4
a7862 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7868 1
a7868 1
tcl_cv_struct_dirent64=no
d7870 2
a7871 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7873 2
a7874 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
echo "${ECHO_T}$tcl_cv_struct_dirent64" >&6
d7883 2
a7884 2
	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
d7906 7
a7912 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d7918 4
a7921 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d7927 1
a7927 1
tcl_cv_struct_stat64=no
d7929 2
a7930 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7932 2
a7933 2
echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
echo "${ECHO_T}$tcl_cv_struct_stat64" >&6
d7947 3
a7949 3
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d7975 3
a7977 1
/* Override any gcc2 internal prototype to avoid an error.  */
a7979 1
{
a7980 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d7985 1
a7985 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a7986 5
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
d7992 1
a7992 1
return f != $ac_func;
d7998 7
a8004 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8010 5
a8014 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8020 1
a8020 1
eval "$as_ac_var=no"
d8022 2
a8023 1
rm -f conftest.err conftest.$ac_objext \
d8026 3
a8028 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
d8037 2
a8038 2
	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
d8060 7
a8066 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8072 4
a8075 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8081 1
a8081 1
tcl_cv_type_off64_t=no
d8083 2
a8084 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8095 2
a8096 2
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d8098 2
a8099 2
	    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d8108 2
a8109 2
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
d8126 2
a8127 1
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
d8136 7
a8142 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8148 4
a8151 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8174 7
a8180 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8186 4
a8189 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8195 1
a8195 1
ac_cv_c_bigendian=no
d8197 2
a8198 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8203 1
a8203 1
# It does not; compile a test program.
d8213 2
a8214 2
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
d8216 2
a8217 2
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
d8228 7
a8234 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8240 5
a8244 15
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
d8259 1
d8261 2
a8262 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8270 1
d8274 1
d8278 2
a8279 2
    long l;
    char c[sizeof (long)];
d8282 4
a8285 1
  exit (u.c[sizeof (long) - 1] == 1);
d8289 7
a8295 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8299 6
a8304 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d8317 1
a8317 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8319 2
d8322 2
a8323 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8325 2
a8326 2
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
d8375 2
a8376 2
echo "$as_me:$LINENO: checking for fd_set in sys/types" >&5
echo $ECHO_N "checking for fd_set in sys/types... $ECHO_C" >&6
d8397 7
a8403 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8409 4
a8412 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8418 1
a8418 1
tcl_cv_type_fd_set=no
d8420 2
a8421 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8423 2
a8424 2
echo "$as_me:$LINENO: result: $tcl_cv_type_fd_set" >&5
echo "${ECHO_T}$tcl_cv_type_fd_set" >&6
d8427 2
a8428 2
    echo "$as_me:$LINENO: checking for fd_mask in sys/select" >&5
echo $ECHO_N "checking for fd_mask in sys/select... $ECHO_C" >&6
d8451 2
a8452 2
echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
echo "${ECHO_T}$tcl_cv_grep_fd_mask" >&6
d8478 4
a8481 4
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8484 3
a8486 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8489 2
a8490 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d8501 7
a8507 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8513 4
a8516 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8522 1
a8522 1
ac_header_compiler=no
d8524 4
a8527 3
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d8530 2
a8531 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d8540 7
a8546 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d8552 4
a8555 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d8563 1
d8565 2
a8566 2
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6
d8590 1
a8590 8
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d8593 3
a8595 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d8600 3
a8602 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8614 2
a8615 2
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
d8639 7
a8645 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8651 4
a8654 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8660 1
a8660 1
ac_cv_header_time=no
d8662 2
a8663 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8665 2
a8666 2
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
d8684 2
a8685 2
    echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6
d8712 3
a8714 1
/* Override any gcc2 internal prototype to avoid an error.  */
a8716 1
{
a8717 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d8722 1
a8722 1
#if defined (__stub_strtod) || defined (__stub___strtod)
a8723 5
#else
char (*f) () = strtod;
#endif
#ifdef __cplusplus
}
d8729 1
a8729 1
return f != strtod;
d8735 7
a8741 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d8747 5
a8751 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8757 1
a8757 1
ac_cv_func_strtod=no
d8759 2
a8760 1
rm -f conftest.err conftest.$ac_objext \
d8763 2
a8764 2
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6
d8772 2
a8773 2
	echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6
d8809 7
a8815 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d8819 6
a8824 2
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
d8837 1
a8837 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8839 2
d8842 2
a8843 2
echo "$as_me:$LINENO: result: $tcl_cv_strtod_buggy" >&5
echo "${ECHO_T}$tcl_cv_strtod_buggy" >&6
d8845 1
a8845 4
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
d8847 2
a8848 1
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
d8866 2
a8867 2
echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
d8878 1
d8882 1
a8882 1
if ((mode_t *) 0)
d8884 1
a8884 1
if (sizeof (mode_t))
d8891 7
a8897 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8903 4
a8906 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8912 1
a8912 1
ac_cv_type_mode_t=no
d8914 2
a8915 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8917 2
a8918 2
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
d8929 2
a8930 2
echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
d8941 1
d8945 1
a8945 1
if ((pid_t *) 0)
d8947 1
a8947 1
if (sizeof (pid_t))
d8954 7
a8960 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8966 4
a8969 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d8975 1
a8975 1
ac_cv_type_pid_t=no
d8977 2
a8978 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8980 2
a8981 2
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
d8992 2
a8993 2
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
d9004 1
d9008 1
a9008 1
if ((size_t *) 0)
d9010 1
a9010 1
if (sizeof (size_t))
d9017 7
a9023 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9029 4
a9032 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9038 1
a9038 1
ac_cv_type_size_t=no
d9040 2
a9041 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9043 2
a9044 2
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
d9050 1
a9050 1
#define size_t unsigned
d9055 2
a9056 2
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
d9078 2
a9079 2
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
d9094 2
a9095 2
echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
d9106 1
d9110 1
a9110 1
if ((intptr_t *) 0)
d9112 1
a9112 1
if (sizeof (intptr_t))
d9119 7
a9125 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9131 4
a9134 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9140 1
a9140 1
ac_cv_type_intptr_t=no
d9142 2
a9143 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9145 2
a9146 2
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
d9156 2
a9157 2
    echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
d9182 7
a9188 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9194 4
a9197 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9203 1
a9203 1
tcl_ok=no
d9205 2
a9206 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9210 2
a9211 2
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6
d9222 2
a9223 2
echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
d9234 1
d9238 1
a9238 1
if ((uintptr_t *) 0)
d9240 1
a9240 1
if (sizeof (uintptr_t))
d9247 7
a9253 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9259 4
a9262 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9268 1
a9268 1
ac_cv_type_uintptr_t=no
d9270 2
a9271 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9273 2
a9274 2
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
d9284 2
a9285 2
    echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
d9311 7
a9317 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9323 4
a9326 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9332 1
a9332 1
tcl_ok=no
d9334 2
a9335 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9339 2
a9340 2
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6
d9356 2
a9357 2
echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6
d9378 7
a9384 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d9390 4
a9393 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9399 1
a9399 1
tcl_cv_pwd_pw_gecos=no
d9401 2
a9402 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d9404 2
a9405 2
echo "$as_me:$LINENO: result: $tcl_cv_pwd_pw_gecos" >&5
echo "${ECHO_T}$tcl_cv_pwd_pw_gecos" >&6
d9419 3
a9421 3
    echo "$as_me:$LINENO: checking whether to use Aqua" >&5
echo $ECHO_N "checking whether to use Aqua... $ECHO_C" >&6
    # Check whether --enable-aqua or --disable-aqua was given.
d9423 1
a9423 2
  enableval="$enable_aqua"
  tk_aqua=$enableval
d9426 2
a9427 1
fi;
d9445 2
a9446 2
    echo "$as_me:$LINENO: result: $tk_aqua" >&5
echo "${ECHO_T}$tk_aqua" >&6
d9449 2
a9450 2
	    echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6
d9476 7
a9482 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9488 5
a9492 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9498 1
a9498 1
tcl_cv_lib_x11_64=no
d9500 2
a9501 1
rm -f conftest.err conftest.$ac_objext \
d9507 2
a9508 2
echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6
d9522 2
a9523 2
	echo "$as_me:$LINENO: checking if ld accepts -weak-l flag" >&5
echo $ECHO_N "checking if ld accepts -weak-l flag... $ECHO_C" >&6
d9546 7
a9552 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9558 5
a9562 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9568 1
a9568 1
tcl_cv_ld_weak_l=no
d9570 2
a9571 1
rm -f conftest.err conftest.$ac_objext \
d9575 2
a9576 2
echo "$as_me:$LINENO: result: $tcl_cv_ld_weak_l" >&5
echo "${ECHO_T}$tcl_cv_ld_weak_l" >&6
d9609 2
a9610 2
    echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6
d9613 1
a9613 1
# Check whether --with-x or --without-x was given.
d9615 2
a9616 1
  withval="$with_x"
a9617 1
fi;
d9623 5
a9627 5
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
d9632 1
a9632 1
rm -fr conftest.dir
a9634 1
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
d9636 6
a9641 2
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
d9643 1
a9643 1
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
d9645 3
a9647 1
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
d9650 2
a9651 2
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
	 test -f $ac_im_libdir/libX11.$ac_extension; then
d9659 1
a9659 1
	/usr/include) ;;
d9668 1
a9668 1
  rm -fr conftest.dir
d9719 7
a9725 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9731 4
a9734 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9748 1
d9774 7
a9780 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d9786 5
a9790 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d9798 1
a9798 1
LIBS=$ac_save_LIBS
d9803 1
a9803 1
    if test -r $ac_dir/libXt.$ac_extension; then
d9810 2
a9811 1
rm -f conftest.err conftest.$ac_objext \
d9815 10
a9824 7
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d9826 3
a9828 3
fi

  fi
d9833 2
a9834 2
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
d9841 5
a9845 4
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
d9859 7
a9865 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9871 4
a9874 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9882 1
d9891 2
a9892 2
	echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6
d9902 7
a9908 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d9914 4
a9917 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
d9925 1
d9931 2
a9932 2
		    echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d9946 2
a9947 2
	echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6
d9951 2
a9952 2
	echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6
d9957 2
a9958 2
		echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
d9972 2
a9973 2
	echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6
d9986 3
a9988 1
/* Override any gcc2 internal prototype to avoid an error.  */
a9991 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d9996 1
a9996 1
XCreateWindow ();
d10002 7
a10008 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10014 5
a10018 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10024 1
a10024 1
ac_cv_lib_Xwindow_XCreateWindow=no
d10026 2
a10027 1
rm -f conftest.err conftest.$ac_objext \
d10031 2
a10032 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6
d10039 2
a10040 2
	echo "$as_me:$LINENO: result: could not find any!  Using -lX11." >&5
echo "${ECHO_T}could not find any!  Using -lX11." >&6
d10087 2
a10088 2
    echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
d10105 1
a10105 1
main ();
d10111 7
a10117 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10123 5
a10127 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10133 1
a10133 1
ac_cv_lib_Xbsd_main=no
d10135 2
a10136 1
rm -f conftest.err conftest.$ac_objext \
d10140 2
a10141 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
d10160 2
a10161 2
    echo "$as_me:$LINENO: checking MIT X libraries" >&5
echo $ECHO_N "checking MIT X libraries... $ECHO_C" >&6
d10186 7
a10192 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10198 5
a10202 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10204 2
a10205 2
	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d10213 2
a10214 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d10216 2
a10217 1
rm -f conftest.err conftest.$ac_objext \
d10235 2
a10236 2
    echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
echo $ECHO_N "checking for X11/extensions/scrnsaver.h... $ECHO_C" >&6
d10251 7
a10257 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10263 4
a10266 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10272 1
a10272 1
ac_cv_header_X11_extensions_scrnsaver_h=no
d10274 2
a10275 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10277 2
a10278 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_scrnsaver_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_extensions_scrnsaver_h" >&6
d10287 2
a10288 2
    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo... $ECHO_C" >&6
d10315 3
a10317 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10319 1
{
a10320 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10325 1
a10325 1
#if defined (__stub_XScreenSaverQueryInfo) || defined (__stub___XScreenSaverQueryInfo)
a10326 5
#else
char (*f) () = XScreenSaverQueryInfo;
#endif
#ifdef __cplusplus
}
d10332 1
a10332 1
return f != XScreenSaverQueryInfo;
d10338 7
a10344 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10350 5
a10354 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10360 1
a10360 1
ac_cv_func_XScreenSaverQueryInfo=no
d10362 2
a10363 1
rm -f conftest.err conftest.$ac_objext \
d10366 2
a10367 2
echo "$as_me:$LINENO: result: $ac_cv_func_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_func_XScreenSaverQueryInfo" >&6
d10372 2
a10373 2
	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXext... $ECHO_C" >&6
d10386 3
a10388 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10391 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10396 1
a10396 1
XScreenSaverQueryInfo ();
d10402 7
a10408 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10414 5
a10418 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10424 1
a10424 1
ac_cv_lib_Xext_XScreenSaverQueryInfo=no
d10426 2
a10427 1
rm -f conftest.err conftest.$ac_objext \
d10431 2
a10432 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xext_XScreenSaverQueryInfo" >&6
d10440 2
a10441 2
	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
echo $ECHO_N "checking for XScreenSaverQueryInfo in -lXss... $ECHO_C" >&6
d10454 3
a10456 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10459 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10464 1
a10464 1
XScreenSaverQueryInfo ();
d10470 7
a10476 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10482 5
a10486 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10492 1
a10492 1
ac_cv_lib_Xss_XScreenSaverQueryInfo=no
d10494 2
a10495 1
rm -f conftest.err conftest.$ac_objext \
d10499 2
a10500 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xss_XScreenSaverQueryInfo" >&5
echo "${ECHO_T}$ac_cv_lib_Xss_XScreenSaverQueryInfo" >&6
d10536 3
a10538 3
    echo "$as_me:$LINENO: checking whether to use xft" >&5
echo $ECHO_N "checking whether to use xft... $ECHO_C" >&6
    # Check whether --enable-xft or --disable-xft was given.
d10540 1
a10540 2
  enableval="$enable_xft"
  enable_xft=$enableval
d10543 2
a10544 1
fi;
d10548 2
a10549 2
	echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6
d10559 2
a10560 2
	echo "$as_me:$LINENO: result: $found_xft" >&5
echo "${ECHO_T}$found_xft" >&6
d10566 2
a10567 2
	    echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6
d10582 7
a10588 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10594 4
a10597 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10603 1
a10603 1
ac_cv_header_X11_Xft_Xft_h=no
d10605 2
a10606 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10608 2
a10609 2
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xft_Xft_h" >&5
echo "${ECHO_T}$ac_cv_header_X11_Xft_Xft_h" >&6
d10628 2
a10629 2
echo "$as_me:$LINENO: checking for FT_New_Face in -lXft" >&5
echo $ECHO_N "checking for FT_New_Face in -lXft... $ECHO_C" >&6
d10642 3
a10644 1
/* Override any gcc2 internal prototype to avoid an error.  */
a10647 2
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
d10652 1
a10652 1
FT_New_Face ();
d10658 7
a10664 2
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
d10670 5
a10674 14
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
d10680 1
a10680 1
ac_cv_lib_Xft_FT_New_Face=no
d10682 2
a10683 1
rm -f conftest.err conftest.$ac_objext \
d10687 2
a10688 2
echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_FT_New_Face" >&5
echo "${ECHO_T}$ac_cv_lib_Xft_FT_New_Face" >&6
d10738 2
a10739 2
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
d10761 7
a10767 2
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d10773 6
a10778 16
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_c_char_unsigned=no
else
d10782 1
a10782 1
ac_cv_c_char_unsigned=yes
d10784 2
a10785 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d10787 2
a10788 2
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
d10831 3
a10833 3
	echo "$as_me:$LINENO: checking how to package libraries" >&5
echo $ECHO_N "checking how to package libraries... $ECHO_C" >&6
	# Check whether --enable-framework or --disable-framework was given.
d10835 1
a10835 2
  enableval="$enable_framework"
  enable_framework=$enableval
d10838 2
a10839 1
fi;
d10853 2
a10854 2
	    echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6
d10858 2
a10859 2
		echo "$as_me:$LINENO: result: shared library" >&5
echo "${ECHO_T}shared library" >&6
d10861 2
a10862 2
		echo "$as_me:$LINENO: result: static library" >&5
echo "${ECHO_T}static library" >&6
d10874 1
a10874 1
                        ac_config_files="$ac_config_files Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"
d10888 1
a10888 1
              ac_config_commands="$ac_config_commands Tk.framework"
d11046 1
a11046 1
                    ac_config_files="$ac_config_files Makefile:../unix/Makefile.in tkConfig.sh:../unix/tkConfig.sh.in"
d11066 1
a11066 1
# So, don't put newlines in cache variables' values.
d11069 16
a11084 1
{
d11086 2
a11087 2
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space=\ *)
d11093 1
a11093 1
      ;;
d11096 1
a11096 2
      sed -n \
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d11098 3
a11100 2
    esac;
} |
d11102 1
d11104 1
a11104 1
     : clear
d11107 7
a11113 5
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     : end' >>confcache
if diff $cache_file confcache >/dev/null 2>&1; then :; else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
d11116 2
a11117 1
    echo "not updating unwritable cache $cache_file"
a11125 15
# VPATH may cause trouble with some makes, so we remove $(srcdir),
# ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
s/:*\$(srcdir):*/:/;
s/:*\${srcdir}:*/:/;
s/:*@@srcdir@@:*/:/;
s/^\([^=]*=[	 ]*\):*/\1/;
s/:*$//;
s/^[^=]*=[	 ]*$//;
}'
fi

d11131 1
a11131 1
# take arguments), then we branch to the quote section.  Otherwise,
d11133 1
a11133 1
cat >confdef2opt.sed <<\_ACEOF
d11135 2
a11136 2
: clear
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
d11138 1
a11138 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
d11140 16
a11155 17
d
: quote
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
d11162 6
a11167 5
  ac_i=`echo "$ac_i" |
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  # 2. Add them.
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
d11199 2
a11200 1
# Be Bourne compatible
d11207 30
a11236 2
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  set -o posix
a11237 1
DUALCASE=1; export DUALCASE # for MKS sh
d11247 33
d11281 3
a11283 1
$as_unset ENV MAIL MAILPATH
d11297 1
a11297 1
    $as_unset $as_var
d11302 2
a11303 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11309 1
a11309 1
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
d11317 1
a11317 1
as_me=`$as_basename "$0" ||
d11320 1
a11320 2
	 X"$0" : 'X\(/\)$' \| \
	 .     : '\(.\)' 2>/dev/null ||
d11322 13
a11334 4
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
  	  /^X\/\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d11336 2
a11337 21

# PATH needs CR, and LINENO needs CR and PATH.
# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh
fi
a11339 16
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no path at all
  # relative or not.
  case $0 in
    *[\\/]* ) as_myself=$0 ;;
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
done
a11340 23
       ;;
  esac
  # We did not find ourselves, most probably we were run as `sh COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
  fi
  case $CONFIG_SHELL in
  '')
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for as_base in sh bash ksh sh5; do
	 case $as_dir in
	 /*)
	   if ("$as_dir/$as_base" -c '
a11342 1
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
d11344 1
a11344 12
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
	     CONFIG_SHELL=$as_dir/$as_base
	     export CONFIG_SHELL
	     exec "$CONFIG_SHELL" "$0" ${1+"$@@"}
	   fi;;
	 esac
       done
done
;;
  esac
d11348 5
a11352 4
  # line-number line before each line; the second 'sed' does the real
  # work.  The second script uses 'N' to pair each line-number line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special case at line end.
d11354 6
a11359 2
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  sed '=' <$as_myself |
d11361 4
d11366 2
a11367 3
      s,$,-,
      : loop
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
d11369 1
a11369 2
      s,-$,,
      s,^['$as_cr_digits']*\n,,
d11371 2
a11372 3
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
d11377 2
a11378 2
  # original and so on.  Autoconf is especially sensible to this).
  . ./$as_me.lineno
d11384 15
a11398 5
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  *c*,-n*) ECHO_N= ECHO_C='
' ECHO_T='	' ;;
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
d11401 2
a11402 1
if expr a : '\(a\)' >/dev/null 2>&1; then
d11409 6
d11417 6
a11422 4
  # We could just check for DJGPP; but this test a) works b) is more generic
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  if test -f conf$$.exe; then
    # Don't use ln at all; we don't have any links
a11423 3
  else
    as_ln_s='ln -s'
  fi
d11429 2
a11430 1
rm -f conf$$ conf$$.exe conf$$.file
d11439 22
a11460 1
as_executable_p="test -f"
a11468 9
# IFS
# We need space, tab and new line, in precisely that order.
as_nl='
'
IFS=" 	$as_nl"

# CDPATH.
$as_unset CDPATH

d11471 1
a11471 1
# Open the log real soon, to keep \$[0] and so on meaningful, and to
d11473 2
a11474 10
# values after options handling.  Logging --version etc. is OK.
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
} >&5
cat >&5 <<_CSEOF

d11476 1
a11476 1
generated by GNU Autoconf 2.59.  Invocation command line was
d11484 3
a11486 3
_CSEOF
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
echo >&5
d11489 1
d11491 2
a11492 3
if test -n "$ac_config_files"; then
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
fi
d11494 1
a11494 11
if test -n "$ac_config_headers"; then
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_links"; then
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
fi

if test -n "$ac_config_commands"; then
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
fi
a11496 1

d11504 1
a11504 1
  -V, --version    print version number, then exit
d11518 1
a11519 1

d11523 2
a11524 2
configured by $0, generated by GNU Autoconf 2.59,
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
d11526 1
a11526 1
Copyright (C) 2003 Free Software Foundation, Inc.
d11529 3
a11531 1
srcdir=$srcdir
d11542 2
a11543 2
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
d11546 1
a11546 1
  -*)
a11550 4
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_option=$1
     ac_need_defaults=false;;
a11554 2
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
d11557 3
a11559 12
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: ambiguous option: $1
Try \`$0 --help' for more information." >&2;}
   { (exit 1); exit 1; }; };;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
d11565 2
a11566 4
  --header | --heade | --head | --hea )
    $ac_shift
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    ac_need_defaults=false;;
d11572 2
a11573 4
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
Try \`$0 --help' for more information." >&5
echo "$as_me: error: unrecognized option: $1
Try \`$0 --help' for more information." >&2;}
d11576 2
a11577 1
  *) ac_config_targets="$ac_config_targets $1" ;;
d11593 4
a11596 2
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
d11600 9
d11610 1
d11613 1
a11613 1
# INIT-COMMANDS section.
a11614 1

d11619 1
d11621 1
a11621 2

cat >>$CONFIG_STATUS <<\_ACEOF
d11624 7
a11630 7
  case "$ac_config_target" in
  # Handling of arguments.
  "Tk-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Tk-Info.plist:../macosx/Tk-Info.plist.in" ;;
  "Wish-Info.plist" ) CONFIG_FILES="$CONFIG_FILES Wish-Info.plist:../macosx/Wish-Info.plist.in" ;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile:../unix/Makefile.in" ;;
  "tkConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tkConfig.sh:../unix/tkConfig.sh.in" ;;
  "Tk.framework" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Tk.framework" ;;
d11637 1
d11648 1
a11648 1
# simply because there is no reason to put it here, and in addition,
d11650 3
a11652 1
# Create a temporary directory, and hook for its removal unless debugging.
d11655 4
a11658 1
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
a11660 1

d11664 1
a11664 1
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
d11668 2
a11669 2
  tmp=./confstat$$-$RANDOM
  (umask 077 && mkdir $tmp)
d11676 8
d11686 121
d11808 16
a11824 3
#
# CONFIG_FILES section.
#
d11826 53
a11878 175
# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "\$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g;
   s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
s,@@SHELL@@,$SHELL,;t t
s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t
s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t
s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t
s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t
s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t
s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t
s,@@exec_prefix@@,$exec_prefix,;t t
s,@@prefix@@,$prefix,;t t
s,@@program_transform_name@@,$program_transform_name,;t t
s,@@bindir@@,$bindir,;t t
s,@@sbindir@@,$sbindir,;t t
s,@@libexecdir@@,$libexecdir,;t t
s,@@datadir@@,$datadir,;t t
s,@@sysconfdir@@,$sysconfdir,;t t
s,@@sharedstatedir@@,$sharedstatedir,;t t
s,@@localstatedir@@,$localstatedir,;t t
s,@@libdir@@,$libdir,;t t
s,@@includedir@@,$includedir,;t t
s,@@oldincludedir@@,$oldincludedir,;t t
s,@@infodir@@,$infodir,;t t
s,@@mandir@@,$mandir,;t t
s,@@build_alias@@,$build_alias,;t t
s,@@host_alias@@,$host_alias,;t t
s,@@target_alias@@,$target_alias,;t t
s,@@DEFS@@,$DEFS,;t t
s,@@ECHO_C@@,$ECHO_C,;t t
s,@@ECHO_N@@,$ECHO_N,;t t
s,@@ECHO_T@@,$ECHO_T,;t t
s,@@LIBS@@,$LIBS,;t t
s,@@TCL_VERSION@@,$TCL_VERSION,;t t
s,@@TCL_PATCH_LEVEL@@,$TCL_PATCH_LEVEL,;t t
s,@@TCL_BIN_DIR@@,$TCL_BIN_DIR,;t t
s,@@TCL_SRC_DIR@@,$TCL_SRC_DIR,;t t
s,@@TCL_LIB_FILE@@,$TCL_LIB_FILE,;t t
s,@@TCL_LIB_FLAG@@,$TCL_LIB_FLAG,;t t
s,@@TCL_LIB_SPEC@@,$TCL_LIB_SPEC,;t t
s,@@TCL_STUB_LIB_FILE@@,$TCL_STUB_LIB_FILE,;t t
s,@@TCL_STUB_LIB_FLAG@@,$TCL_STUB_LIB_FLAG,;t t
s,@@TCL_STUB_LIB_SPEC@@,$TCL_STUB_LIB_SPEC,;t t
s,@@TCLSH_PROG@@,$TCLSH_PROG,;t t
s,@@BUILD_TCLSH@@,$BUILD_TCLSH,;t t
s,@@MAN_FLAGS@@,$MAN_FLAGS,;t t
s,@@CC@@,$CC,;t t
s,@@CFLAGS@@,$CFLAGS,;t t
s,@@LDFLAGS@@,$LDFLAGS,;t t
s,@@CPPFLAGS@@,$CPPFLAGS,;t t
s,@@ac_ct_CC@@,$ac_ct_CC,;t t
s,@@EXEEXT@@,$EXEEXT,;t t
s,@@OBJEXT@@,$OBJEXT,;t t
s,@@CPP@@,$CPP,;t t
s,@@EGREP@@,$EGREP,;t t
s,@@TCL_THREADS@@,$TCL_THREADS,;t t
s,@@RANLIB@@,$RANLIB,;t t
s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t
s,@@AR@@,$AR,;t t
s,@@LIBOBJS@@,$LIBOBJS,;t t
s,@@TCL_LIBS@@,$TCL_LIBS,;t t
s,@@DL_LIBS@@,$DL_LIBS,;t t
s,@@DL_OBJS@@,$DL_OBJS,;t t
s,@@PLAT_OBJS@@,$PLAT_OBJS,;t t
s,@@PLAT_SRCS@@,$PLAT_SRCS,;t t
s,@@CFLAGS_DEBUG@@,$CFLAGS_DEBUG,;t t
s,@@CFLAGS_OPTIMIZE@@,$CFLAGS_OPTIMIZE,;t t
s,@@CFLAGS_WARNING@@,$CFLAGS_WARNING,;t t
s,@@LDFLAGS_DEBUG@@,$LDFLAGS_DEBUG,;t t
s,@@LDFLAGS_OPTIMIZE@@,$LDFLAGS_OPTIMIZE,;t t
s,@@CC_SEARCH_FLAGS@@,$CC_SEARCH_FLAGS,;t t
s,@@LD_SEARCH_FLAGS@@,$LD_SEARCH_FLAGS,;t t
s,@@STLIB_LD@@,$STLIB_LD,;t t
s,@@SHLIB_LD@@,$SHLIB_LD,;t t
s,@@TCL_SHLIB_LD_EXTRAS@@,$TCL_SHLIB_LD_EXTRAS,;t t
s,@@TK_SHLIB_LD_EXTRAS@@,$TK_SHLIB_LD_EXTRAS,;t t
s,@@SHLIB_LD_LIBS@@,$SHLIB_LD_LIBS,;t t
s,@@SHLIB_CFLAGS@@,$SHLIB_CFLAGS,;t t
s,@@SHLIB_SUFFIX@@,$SHLIB_SUFFIX,;t t
s,@@MAKE_LIB@@,$MAKE_LIB,;t t
s,@@MAKE_STUB_LIB@@,$MAKE_STUB_LIB,;t t
s,@@INSTALL_LIB@@,$INSTALL_LIB,;t t
s,@@INSTALL_STUB_LIB@@,$INSTALL_STUB_LIB,;t t
s,@@CFLAGS_DEFAULT@@,$CFLAGS_DEFAULT,;t t
s,@@LDFLAGS_DEFAULT@@,$LDFLAGS_DEFAULT,;t t
s,@@XFT_CFLAGS@@,$XFT_CFLAGS,;t t
s,@@XFT_LIBS@@,$XFT_LIBS,;t t
s,@@UNIX_FONT_OBJS@@,$UNIX_FONT_OBJS,;t t
s,@@TK_VERSION@@,$TK_VERSION,;t t
s,@@TK_MAJOR_VERSION@@,$TK_MAJOR_VERSION,;t t
s,@@TK_MINOR_VERSION@@,$TK_MINOR_VERSION,;t t
s,@@TK_PATCH_LEVEL@@,$TK_PATCH_LEVEL,;t t
s,@@TK_YEAR@@,$TK_YEAR,;t t
s,@@TK_LIB_FILE@@,$TK_LIB_FILE,;t t
s,@@TK_LIB_FLAG@@,$TK_LIB_FLAG,;t t
s,@@TK_LIB_SPEC@@,$TK_LIB_SPEC,;t t
s,@@TK_STUB_LIB_FILE@@,$TK_STUB_LIB_FILE,;t t
s,@@TK_STUB_LIB_FLAG@@,$TK_STUB_LIB_FLAG,;t t
s,@@TK_STUB_LIB_SPEC@@,$TK_STUB_LIB_SPEC,;t t
s,@@TK_STUB_LIB_PATH@@,$TK_STUB_LIB_PATH,;t t
s,@@TK_INCLUDE_SPEC@@,$TK_INCLUDE_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_SPEC@@,$TK_BUILD_STUB_LIB_SPEC,;t t
s,@@TK_BUILD_STUB_LIB_PATH@@,$TK_BUILD_STUB_LIB_PATH,;t t
s,@@TK_SRC_DIR@@,$TK_SRC_DIR,;t t
s,@@TK_SHARED_BUILD@@,$TK_SHARED_BUILD,;t t
s,@@LD_LIBRARY_PATH_VAR@@,$LD_LIBRARY_PATH_VAR,;t t
s,@@TK_BUILD_LIB_SPEC@@,$TK_BUILD_LIB_SPEC,;t t
s,@@TK_BUILD_EXP_FILE@@,$TK_BUILD_EXP_FILE,;t t
s,@@TK_EXP_FILE@@,$TK_EXP_FILE,;t t
s,@@TCL_STUB_FLAGS@@,$TCL_STUB_FLAGS,;t t
s,@@XINCLUDES@@,$XINCLUDES,;t t
s,@@XLIBSW@@,$XLIBSW,;t t
s,@@LOCALES@@,$LOCALES,;t t
s,@@TK_WINDOWINGSYSTEM@@,$TK_WINDOWINGSYSTEM,;t t
s,@@TK_PKG_DIR@@,$TK_PKG_DIR,;t t
s,@@TK_LIBRARY@@,$TK_LIBRARY,;t t
s,@@PRIVATE_INCLUDE_DIR@@,$PRIVATE_INCLUDE_DIR,;t t
s,@@HTML_DIR@@,$HTML_DIR,;t t
s,@@EXTRA_CC_SWITCHES@@,$EXTRA_CC_SWITCHES,;t t
s,@@EXTRA_APP_CC_SWITCHES@@,$EXTRA_APP_CC_SWITCHES,;t t
s,@@EXTRA_INSTALL@@,$EXTRA_INSTALL,;t t
s,@@EXTRA_INSTALL_BINARIES@@,$EXTRA_INSTALL_BINARIES,;t t
s,@@EXTRA_BUILD_HTML@@,$EXTRA_BUILD_HTML,;t t
s,@@EXTRA_WISH_LIBS@@,$EXTRA_WISH_LIBS,;t t
s,@@CFBUNDLELOCALIZATIONS@@,$CFBUNDLELOCALIZATIONS,;t t
s,@@TK_RSRC_FILE@@,$TK_RSRC_FILE,;t t
s,@@WISH_RSRC_FILE@@,$WISH_RSRC_FILE,;t t
s,@@LIB_RSRC_FILE@@,$LIB_RSRC_FILE,;t t
s,@@APP_RSRC_FILE@@,$APP_RSRC_FILE,;t t
s,@@REZ@@,$REZ,;t t
s,@@REZ_FLAGS@@,$REZ_FLAGS,;t t
s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t
CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<\_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
d11880 7
a11886 1
fi # test -n "$CONFIG_FILES"
d11888 3
d11892 32
d11925 62
a11986 10
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
d11989 1
a11989 2
  # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories.
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
d11993 1
a11993 2
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d11995 22
a12016 9
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
d12018 7
a12024 3
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
d12028 1
a12028 2
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d12030 18
a12047 5
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
d12049 3
a12051 3
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
a12052 1

d12055 3
a12057 1
if test "$ac_dir" != .; then
d12059 11
a12069 5
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi
d12072 1
a12072 1
  .)  # No --srcdir option.  We are building in place.
d12074 3
a12076 6
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
d12078 6
a12083 4
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
d12085 1
a12086 38
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12088 5
d12094 1
d12096 30
a12125 15
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
  # Let's still pretend it is `configure' which instantiates (i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated from `echo $ac_file_in |
				     sed 's,.*/,,'` by configure."
d12127 3
a12129 28
  # First look for the input files in the build tree, otherwise in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\\/$]*)
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 echo "$f";;
      *) # Relative
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
echo "$as_me: error: cannot find input file: $f" >&2;}
   { (exit 1); exit 1; }; }
	 fi;;
      esac
    done` || { (exit 1); exit 1; }
_ACEOF
d12137 19
a12155 17
s,@@configure_input@@,$configure_input,;t t
s,@@srcdir@@,$ac_srcdir,;t t
s,@@abs_srcdir@@,$ac_abs_srcdir,;t t
s,@@top_srcdir@@,$ac_top_srcdir,;t t
s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t
s,@@builddir@@,$ac_builddir,;t t
s,@@abs_builddir@@,$ac_abs_builddir,;t t
s,@@top_builddir@@,$ac_top_builddir,;t t
s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  rm -f $tmp/stdin
  if test x"$ac_file" != x-; then
    mv $tmp/out $ac_file
  else
    cat $tmp/out
    rm -f $tmp/out
  fi
d12157 6
a12162 3
done
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
a12163 42
#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_dest" : 'X\(//\)[^/]' \| \
	 X"$ac_dest" : 'X\(//\)$' \| \
	 X"$ac_dest" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$ac_dest" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
  { if $as_mkdir_p; then
    mkdir -p "$ac_dir"
  else
    as_dir="$ac_dir"
    as_dirs=
    while test ! -d "$as_dir"; do
      as_dirs="$as_dir $as_dirs"
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  	  /^X\(\/\/\)$/{ s//\1/; q; }
  	  /^X\(\/\).*/{ s//\1/; q; }
  	  s/.*/./; q'`
    done
    test ! -n "$as_dirs" || mkdir $as_dirs
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   { (exit 1); exit 1; }; }; }
d12165 4
a12168 25
  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir=
fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\\/]* | ?:[\\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
esac
a12169 38
# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d12171 2
a12172 5

  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
echo "$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    Tk.framework ) n=Tk &&
d12180 1
d12182 1
a12182 2
done
_ACEOF
a12183 1
cat >>$CONFIG_STATUS <<\_ACEOF
@


1.185
log
@fix missing "-Wl," prefix in HP-UX build
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a3"
d9210 1
a9210 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9218 1
a9218 1
#include <X11/Intrinsic.h>
d9245 1
a9245 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9259 1
a9259 1
  LIBS="-lXt $LIBS"
d9266 1
a9266 1
#include <X11/Intrinsic.h>
d9270 1
a9270 1
XtMalloc (0)
@


1.184
log
@fix missing "-Wl," prefix in HP-UX build
@
text
@d4924 1
a4924 1
		LD_SEARCH_FLAGS='-Wl,+s -Wl,+b ${LIB_RUNTIME_DIR}:.'
@


1.183
log
@	* unix/tcl.m4:          fix for bug [2073255]
	* unix/configure:       regenerated
@
text
@d4924 1
a4924 1
		LD_SEARCH_FLAGS='-Wl,+s +b ${LIB_RUNTIME_DIR}:.'
@


1.182
log
@        * README:               Bump version number to 8.6a3
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@a4918 2
		SHLIB_CFLAGS="+z"
		SHLIB_LD="ld -b"
d4924 1
a4924 1
		LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
d4932 8
a4939 2
		SHLIB_LD_LIBS='${LIBS}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
a4943 3
	    # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
	    #CFLAGS="$CFLAGS +DAportable"

d9210 1
a9210 1
  # Guess where to find include files, by looking for Xlib.h.
d9218 1
a9218 1
#include <X11/Xlib.h>
d9245 1
a9245 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9259 1
a9259 1
  LIBS="-lX11 $LIBS"
d9266 1
a9266 1
#include <X11/Xlib.h>
d9270 1
a9270 1
XrmInitialize ()
@


1.181
log
@autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a2"
d9209 1
a9209 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9217 1
a9217 1
#include <X11/Intrinsic.h>
d9244 1
a9244 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9258 1
a9258 1
  LIBS="-lXt $LIBS"
d9265 1
a9265 1
#include <X11/Intrinsic.h>
d9269 1
a9269 1
XtMalloc (0)
@


1.180
log
@        * README:               Bump version number to 8.6a2
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@a3949 3
	ac_saved_libs=$LIBS
	LIBS="$LIBS $THREADS_LIBS"

a4050 379
	echo "$as_me:$LINENO: checking for pthread_attr_get_np" >&5
echo $ECHO_N "checking for pthread_attr_get_np... $ECHO_C" >&6
if test "${ac_cv_func_pthread_attr_get_np+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define pthread_attr_get_np to an innocuous variant, in case <limits.h> declares pthread_attr_get_np.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define pthread_attr_get_np innocuous_pthread_attr_get_np

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_attr_get_np (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef pthread_attr_get_np

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_attr_get_np ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pthread_attr_get_np) || defined (__stub___pthread_attr_get_np)
choke me
#else
char (*f) () = pthread_attr_get_np;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != pthread_attr_get_np;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_pthread_attr_get_np=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_pthread_attr_get_np=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_get_np" >&5
echo "${ECHO_T}$ac_cv_func_pthread_attr_get_np" >&6
if test $ac_cv_func_pthread_attr_get_np = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	if test $tcl_ok = yes ; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_PTHREAD_ATTR_GET_NP 1
_ACEOF

	    echo "$as_me:$LINENO: checking for pthread_attr_get_np declaration" >&5
echo $ECHO_N "checking for pthread_attr_get_np declaration... $ECHO_C" >&6
if test "${tcl_cv_grep_pthread_attr_get_np+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pthread.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "pthread_attr_get_np" >/dev/null 2>&1; then
  tcl_cv_grep_pthread_attr_get_np=present
else
  tcl_cv_grep_pthread_attr_get_np=missing
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $tcl_cv_grep_pthread_attr_get_np" >&5
echo "${ECHO_T}$tcl_cv_grep_pthread_attr_get_np" >&6
	    if test $tcl_cv_grep_pthread_attr_get_np = missing ; then

cat >>confdefs.h <<\_ACEOF
#define ATTRGETNP_NOT_DECLARED 1
_ACEOF

	    fi
	else
	    echo "$as_me:$LINENO: checking for pthread_getattr_np" >&5
echo $ECHO_N "checking for pthread_getattr_np... $ECHO_C" >&6
if test "${ac_cv_func_pthread_getattr_np+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define pthread_getattr_np to an innocuous variant, in case <limits.h> declares pthread_getattr_np.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define pthread_getattr_np innocuous_pthread_getattr_np

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char pthread_getattr_np (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef pthread_getattr_np

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_getattr_np ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_pthread_getattr_np) || defined (__stub___pthread_getattr_np)
choke me
#else
char (*f) () = pthread_getattr_np;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != pthread_getattr_np;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_pthread_getattr_np=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_pthread_getattr_np=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_pthread_getattr_np" >&5
echo "${ECHO_T}$ac_cv_func_pthread_getattr_np" >&6
if test $ac_cv_func_pthread_getattr_np = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	    if test $tcl_ok = yes ; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_PTHREAD_GETATTR_NP 1
_ACEOF

		echo "$as_me:$LINENO: checking for pthread_getattr_np declaration" >&5
echo $ECHO_N "checking for pthread_getattr_np declaration... $ECHO_C" >&6
if test "${tcl_cv_grep_pthread_getattr_np+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <pthread.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "pthread_getattr_np" >/dev/null 2>&1; then
  tcl_cv_grep_pthread_getattr_np=present
else
  tcl_cv_grep_pthread_getattr_np=missing
fi
rm -f conftest*

fi
echo "$as_me:$LINENO: result: $tcl_cv_grep_pthread_getattr_np" >&5
echo "${ECHO_T}$tcl_cv_grep_pthread_getattr_np" >&6
		if test $tcl_cv_grep_pthread_getattr_np = missing ; then

cat >>confdefs.h <<\_ACEOF
#define GETATTRNP_NOT_DECLARED 1
_ACEOF

		fi
	    fi
	fi
	if test $tcl_ok = no; then
	    # Darwin thread stacksize API

for ac_func in pthread_get_stacksize_np
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

	fi
	LIBS=$ac_saved_libs
d9209 1
a9209 1
  # Guess where to find include files, by looking for Xlib.h.
d9217 1
a9217 1
#include <X11/Xlib.h>
d9244 1
a9244 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9258 1
a9258 1
  LIBS="-lX11 $LIBS"
d9265 1
a9265 1
#include <X11/Xlib.h>
d9269 1
a9269 1
XrmInitialize ()
d9458 1
a9458 1
	    if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then
@


1.179
log
@        * README:               Bump version number to 8.6a1
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a1"
@


1.178
log
@	* unix/configure: autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a0"
d9591 1
a9591 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9599 1
a9599 1
#include <X11/Intrinsic.h>
d9626 1
a9626 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9640 1
a9640 1
  LIBS="-lXt $LIBS"
d9647 1
a9647 1
#include <X11/Intrinsic.h>
d9651 1
a9651 1
XtMalloc (0)
@


1.177
log
@	* unix/configure:		autoconf-2.59
@
text
@d6618 9
a6626 2
			{ echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
d6631 8
a6638 2
			CFLAGS="$CFLAGS -xarch=amd64"
			LDFLAGS="$LDFLAGS -xarch=amd64"
d6656 3
a6658 3
    	    # with sunmath to get floating point rounding control
    	    #--------------------------------------------------------------------
    	    if test "$GCC" = yes; then
d6663 1
a6663 1
	    	echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
d6667 1
a6667 1
                        echo "$as_me:$LINENO: result: yes" >&5
d6670 1
a6670 1
                        if test "${ac_cv_header_sunmath_h+set}" = set; then
d6837 19
a6855 7
		    # We need to specify -static-libgcc or we need to
		    # add the path to the sparv9 libgcc.
		    SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
		    # for finding sparcv9 libgcc, get the regular libgcc
		    # path, remove so name and append 'sparcv9'
		    #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
		    #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
d6862 1
a6862 1
	        if test "$use_sunmath" = yes; then
@


1.176
log
@autoconf-2.59
@
text
@d10767 1
a10767 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name "${DYLIB_INSTALL_DIR}"/${TK_LIB_FILE} -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp "$(TCL_BIN_DIR)"/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
@


1.175
log
@        * README:               Bump version number to 8.6a0
        * generic/tk.h:
        * library/tk.tcl:
        * macosx/Wish-Common.xcconfig:
        * unix/configure.in:
        * unix/tk.spec:
        * win/README:
        * win/configure.in:
        * win/tcl.m4:

        * unix/configure:       autoconf-2.59
        * win/configure:

        * generic/tkConsole.c:  Relax Tcl_InitStubs() calls so that a Tk 8.6
        * generic/tkMain.c:     might [load] into a Tcl 8.5 interp.
        * generic/tkWindow.c:

        * generic/tkStubLib.c:  Update to compatibility with a libtcl.so
        that contains no "tclStubsPtr" [Tcl Bug 1819422].

        * generic/tkDecls.h:            make genstubs
        * generic/tkIntDecls.h:
        * generic/tkIntPlatDecls.h:
        * generic/tkIntXlibDecls.h:
        * generic/tkPlatDecls.h:
@
text
@d6641 169
d6837 6
d6845 1
a6845 1
			SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
d6847 1
a6847 1
			SHLIB_LD='/usr/ccs/bin/ld -G -z text';;
d9566 1
a9566 1
  # Guess where to find include files, by looking for Xlib.h.
d9574 1
a9574 1
#include <X11/Xlib.h>
d9601 1
a9601 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9615 1
a9615 1
  LIBS="-lX11 $LIBS"
d9622 1
a9622 1
#include <X11/Xlib.h>
d9626 1
a9626 1
XrmInitialize ()
@


1.174
log
@autoconf-2.59
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59 for tk 8.5.
d270 2
a271 2
PACKAGE_VERSION='8.5'
PACKAGE_STRING='tk 8.5'
d780 1
a780 1
\`configure' configures tk 8.5 to adapt to many kinds of systems.
d841 1
a841 1
     short | recursive ) echo "Configuration of tk 8.5:";;
d983 1
a983 1
tk configure 8.5
d997 1
a997 1
It was created by tk $as_me 8.5, which was
d1337 1
a1337 1
TK_VERSION=8.5
d1339 2
a1340 2
TK_MINOR_VERSION=5
TK_PATCH_LEVEL=".2"
a1585 10
if test "${TCL_VERSION}" != "${TK_VERSION}"; then
    { { echo "$as_me:$LINENO: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&5
echo "$as_me: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&2;}
   { (exit 1); exit 1; }; }
fi

d11165 1
a11165 1
This file was extended by tk $as_me 8.5, which was
d11223 1
a11223 1
tk config.status 8.5
@


1.174.2.1
log
@autoconf-2.59
@
text
@a6650 169
	    #--------------------------------------------------------------------
	    # On Solaris 5.x i386 with the sunpro compiler we need to link
    	    # with sunmath to get floating point rounding control
    	    #--------------------------------------------------------------------
    	    if test "$GCC" = yes; then
  use_sunmath=no
else

		arch=`isainfo`
	    	echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
		if test "$arch" = "amd64 i386"; then

                        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
			MATH_LIBS="-lsunmath $MATH_LIBS"
                        if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <sunmath.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sunmath.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: sunmath.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: sunmath.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: sunmath.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: sunmath.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_sunmath_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6

fi


			use_sunmath=yes

else

			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
			use_sunmath=no

fi


fi


a6657 2


a6677 6
	        if test "$use_sunmath" = yes; then
  textmode=textoff
else
  textmode=text
fi

d6680 1
a6680 1
			SHLIB_LD="\${CC} -G -z $textmode \${LDFLAGS}";;
d6682 1
a6682 1
			SHLIB_LD="/usr/ccs/bin/ld -G -z $textmode";;
d9401 1
a9401 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9409 1
a9409 1
#include <X11/Intrinsic.h>
d9436 1
a9436 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9450 1
a9450 1
  LIBS="-lXt $LIBS"
d9457 1
a9457 1
#include <X11/Intrinsic.h>
d9461 1
a9461 1
XtMalloc (0)
@


1.174.2.2
log
@        * generic/tk.h:         Bump version number to 8.5.3b1 to distinguish
        * library/tk.tcl:       CVS development snapshots from the 8.5.2 and
        * unix/configure.in:    8.5.3 releases.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".3b1"
d9578 1
a9578 1
  # Guess where to find include files, by looking for Xlib.h.
d9586 1
a9586 1
#include <X11/Xlib.h>
d9613 1
a9613 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9627 1
a9627 1
  LIBS="-lX11 $LIBS"
d9634 1
a9634 1
#include <X11/Xlib.h>
d9638 1
a9638 1
XrmInitialize ()
@


1.174.2.3
log
@	* unix/configure: autoconf-2.59
@
text
@d6628 2
a6629 9
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				{ echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;};;
			esac
d6634 2
a6635 8
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				CFLAGS="$CFLAGS -xarch=amd64"
				LDFLAGS="$LDFLAGS -xarch=amd64";;
			esac
d6653 3
a6655 3
	    # with sunmath to get floating point rounding control
	    #--------------------------------------------------------------------
	    if test "$GCC" = yes; then
d6660 1
a6660 1
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
d6664 1
a6664 1
			echo "$as_me:$LINENO: result: yes" >&5
d6667 1
a6667 1
			if test "${ac_cv_header_sunmath_h+set}" = set; then
d6827 2
d6836 7
a6842 19
		    if test "$arch" = "sparcv9 sparc"; then

			# We need to specify -static-libgcc or we need to
			# add the path to the sparv9 libgcc.
			SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
			# for finding sparcv9 libgcc, get the regular libgcc
			# path, remove so name and append 'sparcv9'
			#v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
			#CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"

else
  if test "$arch" = "amd64 i386"; then

			SHLIB_LD="$SHLIB_LD -m64 -static-libgcc"

fi

fi

d6849 1
a6849 1
		if test "$use_sunmath" = yes; then
d9578 1
a9578 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9586 1
a9586 1
#include <X11/Intrinsic.h>
d9613 1
a9613 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9627 1
a9627 1
  LIBS="-lXt $LIBS"
d9634 1
a9634 1
#include <X11/Intrinsic.h>
d9638 1
a9638 1
XtMalloc (0)
@


1.174.2.4
log
@        * generic/tk.h:         Bump to 8.5.3 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:

        * changes:      Updates for 8.5.3 release.
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".3"
d9601 1
a9601 1
  # Guess where to find include files, by looking for Xlib.h.
d9609 1
a9609 1
#include <X11/Xlib.h>
d9636 1
a9636 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9650 1
a9650 1
  LIBS="-lX11 $LIBS"
d9657 1
a9657 1
#include <X11/Xlib.h>
d9661 1
a9661 1
XrmInitialize ()
@


1.174.2.5
log
@        * generic/tk.h:         Bump to 8.5.4 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".4"
@


1.174.2.6
log
@autoconf-2.59
@
text
@d9601 1
a9601 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9609 1
a9609 1
#include <X11/Intrinsic.h>
d9636 1
a9636 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9650 1
a9650 1
  LIBS="-lXt $LIBS"
d9657 1
a9657 1
#include <X11/Intrinsic.h>
d9661 1
a9661 1
XtMalloc (0)
d9850 1
a9850 1
	    if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl -o -r $i/libX11.dylib; then
@


1.174.2.7
log
@Commit mysteriously missing autoconf results
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".5b1"
d9601 1
a9601 1
  # Guess where to find include files, by looking for Xlib.h.
d9609 1
a9609 1
#include <X11/Xlib.h>
d9636 1
a9636 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9650 1
a9650 1
  LIBS="-lX11 $LIBS"
d9657 1
a9657 1
#include <X11/Xlib.h>
d9661 1
a9661 1
XrmInitialize ()
@


1.174.2.8
log
@        * generic/tk.h:         Bump to 8.5.5 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".5"
@


1.174.2.9
log
@        * generic/tk.h:         Bump version number to 8.5.6b1 to distinguish
        * library/tk.tcl:       CVS development snapshots from the 8.5.5 and
        * unix/configure.in:    8.5.6 releases.
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".6b1"
@


1.174.2.10
log
@        * generic/tk.h:         Bump to 8.5.6 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".6"
@


1.174.2.11
log
@Backport of Patch 907924
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
a4826 5
    LDAIX_SRC=""
    if test x"$(SHLIB_VERSION)" = x; then
  SHLIB_VERSION="1.0"
fi

a4931 1
		LDAIX_SRC='$(UNIX_DIR)/ldAix'
d5748 1
a5748 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
a5758 1
	    CFLAGS_OPTIMIZE='-O2'
d5771 1
a5771 1
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
d6517 1
a6517 1
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
a7128 1

d9601 1
a9601 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9609 1
a9609 1
#include <X11/Intrinsic.h>
d9636 1
a9636 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9650 1
a9650 1
  LIBS="-lXt $LIBS"
d9657 1
a9657 1
#include <X11/Intrinsic.h>
d9661 1
a9661 1
XtMalloc (0)
a11662 1
s,@@LDAIX_SRC@@,$LDAIX_SRC,;t t
@


1.174.2.12
log
@* unix/tcl.m4: Corrected a typo ($(SHLIB_VEERSION) should be ${SHLIB_VERSION}).
* unix/configure: Autoconf 2.59
@
text
@d4828 1
a4828 1
    if test x"${SHLIB_VERSION}" = x; then
@


1.174.2.13
log
@	* unix/configure.in (Darwin):	use Darwin SUSv3 extensions if
					available.
	* unix/configure:		autoconf-2.59
	* unix/tkConfig.h.in:		autoheader-2.59
@
text
@a9482 298

for ac_header in AvailabilityMacros.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done

    if test "$ac_cv_header_AvailabilityMacros_h" = yes; then
	echo "$as_me:$LINENO: checking if weak import is available" >&5
echo $ECHO_N "checking if weak import is available... $ECHO_C" >&6
if test "${tcl_cv_cc_weak_import+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		    #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
		    #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
		    #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
		    #endif
		    #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1020
		    #error MAC_OS_X_VERSION_MIN_REQUIRED < 1020
		    #endif
		    int rand(void) __attribute__((weak_import));

int
main ()
{
rand();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_weak_import=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_weak_import=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
	    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_weak_import" >&5
echo "${ECHO_T}$tcl_cv_cc_weak_import" >&6
	if test $tcl_cv_cc_weak_import = yes; then

cat >>confdefs.h <<\_ACEOF
#define HAVE_WEAK_IMPORT 1
_ACEOF

	fi
	echo "$as_me:$LINENO: checking if Darwin SUSv3 extensions are available" >&5
echo $ECHO_N "checking if Darwin SUSv3 extensions are available... $ECHO_C" >&6
if test "${tcl_cv_cc_darwin_c_source+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		    #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
		    #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
		    #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
		    #endif
		    #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1050
		    #error MAC_OS_X_VERSION_MIN_REQUIRED < 1050
		    #endif
		    #define _DARWIN_C_SOURCE 1
		    #include <sys/cdefs.h>

int
main ()
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_cc_darwin_c_source=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_cc_darwin_c_source=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_cc_darwin_c_source" >&5
echo "${ECHO_T}$tcl_cv_cc_darwin_c_source" >&6
	if test $tcl_cv_cc_darwin_c_source = yes; then

cat >>confdefs.h <<\_ACEOF
#define _DARWIN_C_SOURCE 1
_ACEOF

	fi
    fi
d10814 1
a10814 1
    EXTRA_APP_CC_SWITCHES="${EXTRA_APP_CC_SWITCHES}"' -mdynamic-no-pic'
d10865 1
a10865 1
    EXTRA_CC_SWITCHES="$EXTRA_CC_SWITCHES"' -DTK_FRAMEWORK_VERSION=\"$(VERSION)\"'
@


1.174.2.14
log
@        * generic/tk.h:         Bump to 8.5.6 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".7"
d9907 1
a9907 1
  # Guess where to find include files, by looking for Xlib.h.
d9915 1
a9915 1
#include <X11/Xlib.h>
d9942 1
a9942 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9956 1
a9956 1
  LIBS="-lX11 $LIBS"
d9963 1
a9963 1
#include <X11/Xlib.h>
d9967 1
a9967 1
XrmInitialize ()
@


1.174.2.15
log
@Removed -Wno-implicit-int from CFLAGS_WARNING.\nRegen unix/configure.
@
text
@d4852 1
a4852 1
	CFLAGS_WARNING="-Wall"
d9907 1
a9907 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9915 1
a9915 1
#include <X11/Intrinsic.h>
d9942 1
a9942 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9956 1
a9956 1
  LIBS="-lXt $LIBS"
d9963 1
a9963 1
#include <X11/Intrinsic.h>
d9967 1
a9967 1
XtMalloc (0)
@


1.174.2.16
log
@	* unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the check
	to add _r to CC on AIX with threads.
@
text
@d4914 1
a4914 1
		    *_r|*_r\ *)
d4918 1
a4918 2
			# Make sure only first arg gets _r
		    	CC=`echo "$CC" | sed -e 's/^\([^ ]*\)/\1_r/'`
@


1.174.2.17
log
@autoconf-2.59
@
text
@a864 1
  --enable-xss            use XScreenSaver for activity timer (default: on)
d10445 1
a10445 17
    xss_lib_found=no
    echo "$as_me:$LINENO: checking whether to try to use XScreenSaver" >&5
echo $ECHO_N "checking whether to try to use XScreenSaver... $ECHO_C" >&6
    # Check whether --enable-xss or --disable-xss was given.
if test "${enable_xss+set}" = set; then
  enableval="$enable_xss"
  enable_xss=$enableval
else
  enable_xss=yes
fi;
    if test "$enable_xss" = "no" ; then
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
    else
	echo "$as_me:$LINENO: result: $enable_xss" >&5
echo "${ECHO_T}$enable_xss" >&6
	echo "$as_me:$LINENO: checking for X11/extensions/scrnsaver.h" >&5
d10495 1
a10495 1
	    xss_header_found=yes
d10500 2
a10501 1
	echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo" >&5
d10595 1
a10595 1
	    echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXext" >&5
d10661 2
a10662 2
		XLIBSW="$XLIBSW -lXext"
		xss_lib_found=yes
d10666 1
a10666 1
		echo "$as_me:$LINENO: checking for XScreenSaverQueryInfo in -lXss" >&5
d10732 8
a10739 8
		    if test "$tcl_cv_ld_weak_l" = yes; then
			# On Darwin, weak link libXss if possible,
			# as it is only available on Tiger or later.
			XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
		    else
			XLIBSW="$XLIBSW -lXss -lXext"
		    fi
		    xss_lib_found=yes
d10749 1
a10749 2
    fi
    if test $enable_xss = yes -a $xss_lib_found = yes -a $xss_header_found = yes; then
@


1.174.2.18
log
@        *** 8.5.8 TAGGED FOR RELEASE ***

        * generic/tk.h:         Bump to 8.5.8 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:

        * changes:      Updated for 8.5.8 release.
@
text
@d1341 1
a1341 1
TK_PATCH_LEVEL=".8"
d9909 1
a9909 1
  # Guess where to find include files, by looking for Xlib.h.
d9917 1
a9917 1
#include <X11/Xlib.h>
d9944 1
a9944 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9958 1
a9958 1
  LIBS="-lX11 $LIBS"
d9965 1
a9965 1
#include <X11/Xlib.h>
d9969 1
a9969 1
XrmInitialize ()
@


1.174.2.19
log
@Trivial CYGWIN fixes (backported from trunk)
@
text
@a5212 10
	CYGWIN_*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD='${CC} -shared'
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".dll"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
a5222 77
	Haiku*)
	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-lroot"
	    echo "$as_me:$LINENO: checking for inet_ntoa in -lnetwork" >&5
echo $ECHO_N "checking for inet_ntoa in -lnetwork... $ECHO_C" >&6
if test "${ac_cv_lib_network_inet_ntoa+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lnetwork  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_ntoa ();
int
main ()
{
inet_ntoa ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_network_inet_ntoa=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_network_inet_ntoa=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_network_inet_ntoa" >&5
echo "${ECHO_T}$ac_cv_lib_network_inet_ntoa" >&6
if test $ac_cv_lib_network_inet_ntoa = yes; then
  LIBS="$LIBS -lnetwork"
fi

	    ;;
d5823 1
a5823 1
	NetBSD-*|FreeBSD-[3-4].*)
a5856 30
	FreeBSD-*)
	    # This configuration from FreeBSD Ports.
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="${CC} -shared"
	    TCL_SHLIB_LD_EXTRAS="-soname \$@@"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LDFLAGS=""
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "${TCL_THREADS}" = "1"; then

		# The -pthread needs to go in the LDFLAGS, not LIBS
		LIBS=`echo $LIBS | sed s/-pthread//`
		CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
		LDFLAGS="$LDFLAGS $PTHREAD_LIBS"
fi

	    # Version numbers are dot-stripped by system policy.
	    TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
a7040 1
	    CYGWIN_*) ;;
@


1.174.2.20
log
@Correct compiler/linker flags for threaded builds on OpenBSD.
@
text
@a5904 8
	    if test "${TCL_THREADS}" = "1"; then

		# OpenBSD builds and links with -pthread, never -lpthread.
		LIBS=`echo $LIBS | sed s/-lpthread//`
		CFLAGS="$CFLAGS -pthread"
		SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread"

fi
d7160 1
a7160 1
	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
d10027 1
a10027 1
  # Guess where to find include files, by looking for Intrinsic.h.
d10035 1
a10035 1
#include <X11/Intrinsic.h>
d10062 1
a10062 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d10076 1
a10076 1
  LIBS="-lXt $LIBS"
d10083 1
a10083 1
#include <X11/Intrinsic.h>
d10087 1
a10087 1
XtMalloc (0)
@


1.174.2.21
log
@        * generic/tk.h:         Bump to 8.5.9 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:

        * changes:      Updated for 8.5.9 release.
@
text
@d1341 1
a1341 1
TK_PATCH_LEVEL=".9"
d10035 1
a10035 1
  # Guess where to find include files, by looking for Xlib.h.
d10043 1
a10043 1
#include <X11/Xlib.h>
d10070 1
a10070 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d10084 1
a10084 1
  LIBS="-lX11 $LIBS"
d10091 1
a10091 1
#include <X11/Xlib.h>
d10095 1
a10095 1
XrmInitialize ()
@


1.174.2.22
log
@        * unix/configure: regen with ac-2.59
        * unix/configure.in, unix/Makefile.in:
        * unix/tcl.m4 (AIX): remove the need for ldAIX, replace with
        -bexpall/-brtl.  Remove TK_EXP_FILE (export file) and other
        baggage that went with it.  Remove pre-4 AIX build support.
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT LIBOBJS XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d4828 1
d4844 1
d4859 3
a4908 1
    LDAIX_SRC=""
d4938 3
a4940 6
	    # ldAix No longer needed with use of -bexpall/-brtl
	    # but some extensions may still reference it
	    LDAIX_SRC='$(UNIX_DIR)/ldAix'

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

		    SHLIB_LD='${CC} -shared -Wl,-bexpall'

d4986 1
a4986 2
		    SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bexpall -H512 -T512 -bnoentry"
		    LDFLAGS="$LDFLAGS -brtl"
d4990 1
a4990 1
		SHLIB_LD="${SHLIB_LD} ${SHLIB_LD_FLAGS}"
d4994 112
d10035 1
a10035 1
  # Guess where to find include files, by looking for Intrinsic.h.
d10043 1
a10043 1
#include <X11/Intrinsic.h>
d10070 1
a10070 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d10084 1
a10084 1
  LIBS="-lXt $LIBS"
d10091 1
a10091 1
#include <X11/Intrinsic.h>
d10095 1
a10095 1
XtMalloc (0)
d11311 8
a11318 2
    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
        TK_LIB_FLAG="-ltk${TK_VERSION}"
d11320 10
a11329 1
        TK_LIB_FLAG="-ltk`echo ${TK_VERSION} | tr -d .`"
a11330 2
    TK_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG}"
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d11427 2
d12107 1
a12133 1
s,@@LIBOBJS@@,$LIBOBJS,;t t
d12156 2
@


1.174.2.23
log
@	* unix/Makefile.in: add valgrind target
	* unix/configure, unix/tcl.m4: SHLIB_LD_LIBS='${LIBS}' for OSF1-V*.
	Add /usr/lib64 to set of auto-search dirs. [Bug 1230554]
	(SC_PATH_X): Correct syntax error when xincludes not found.
@
text
@a1434 1
			`ls -d /usr/lib64 2>/dev/null` \
d6441 1
a6441 1
	    SHLIB_LD_LIBS='${LIBS}'
d10163 1
a10163 1
    if test "$found_xincludes" = "no"; then
@


1.174.2.24
log
@Better building on OpenBSD.
@
text
@d5745 8
a5752 15
	    arch=`arch -s`
	    case "$arch" in
	    m88k|vax)
		# Equivalent using configure option --disable-load
		# Step 4 will set the necessary variables
		DL_OBJS=""
		;;
	    *)
		SHLIB_CFLAGS="-fPIC"
		SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".so"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS=""
		if test $doRpath = yes; then
d5754 1
a5754 1
		    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5757 2
a5758 15
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
		;;
	    esac
	    case "$arch" in
	    m88k|vax)
		CFLAGS_OPTIMIZE="-O1"
		;;
	    sh)
		CFLAGS_OPTIMIZE="-O0"
		;;
	    *)
		CFLAGS_OPTIMIZE="-O2"
		;;
	    esac
d5798 1
a5798 2
		# On OpenBSD:	Compile with -pthread
		#		Don't link with -lpthread
d5801 1
@


1.174.2.25
log
@Cross-compile support for Win and UNIX (backported)
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR ac_ct_AR TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS LDAIX_SRC CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT LIBOBJS XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d4858 2
a4859 3
    if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
d4875 1
a4875 1
    ac_cv_prog_AR="${ac_tool_prefix}ar"
d4893 1
a4893 26
fi
if test -z "$ac_cv_prog_AR"; then
  ac_ct_AR=$AR
  # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$ac_ct_AR"; then
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_AR="ar"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
d4895 3
a4897 10
fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
echo "${ECHO_T}$ac_ct_AR" >&6
else
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
a4898 3
  AR=$ac_ct_AR
else
  AR="$ac_cv_prog_AR"
a12002 1
s,@@ac_ct_AR@@,$ac_ct_AR,;t t
@


1.173
log
@        * README:               Bump to 8.5.2 for release.
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".1"
@


1.172
log
@	* unix/configure: autoconf-2.59
@
text
@d9401 1
a9401 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9409 1
a9409 1
#include <X11/Intrinsic.h>
d9436 1
a9436 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9450 1
a9450 1
  LIBS="-lXt $LIBS"
d9457 1
a9457 1
#include <X11/Intrinsic.h>
d9461 1
a9461 1
XtMalloc (0)
@


1.171
log
@	* unix/configure.in:	use backspace-quoting instead of double-quoting
	* unix/tcl.m4:		for lib paths in tkConfig.sh [Bug 1913622].
	* unix/configure:	autoconf-2.59
@
text
@a5645 8

	    # XIM peeking works under XFree86.

cat >>confdefs.h <<\_ACEOF
#define PEEK_XCLOSEIM 1
_ACEOF


d6680 1
a6680 1
			SHLIB_LD='${CC} -G -z text';;
@


1.170
log
@	* unix/configure:			autoconf-2.59
@
text
@d1509 1
a1509 1
			    TCL_LIB_SPEC="-F\"`dirname "$i"`\" -framework ${TCL_LIB_FILE}"
d1515 1
a1515 1
		    TCL_STUB_LIB_SPEC="-L\"${TCL_BIN_DIR}\" ${TCL_STUB_LIB_FLAG}"
d1524 1
a1524 1
    eval "TCL_LIB_SPEC=\"`echo "${TCL_LIB_SPEC}" | sed -e 's/"/\\\\"/g'`\""
d1526 1
a1526 1
    eval "TCL_STUB_LIB_SPEC=\"`echo "${TCL_STUB_LIB_SPEC}" | sed -e 's/"/\\\\"/g'`\""
d10638 2
a10639 2
    TK_BUILD_LIB_SPEC="-F\"`pwd`\" -framework Tk"
    TK_LIB_SPEC="-F\"${libdir}\" -framework Tk"
d10675 2
a10676 2
        TK_BUILD_LIB_SPEC="-L\"`pwd`\" ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L\"${libdir}\" ${TK_LIB_FLAG}"
d10682 2
a10683 2
            TK_BUILD_LIB_SPEC="-Wl,-bI:\"`pwd`\"/${TK_BUILD_EXP_FILE} -L\"`pwd`\""
            TK_LIB_SPEC="-Wl,-bI:\"${libdir}\"/${TK_EXP_FILE} -L\"`pwd`\""
d10685 2
a10686 2
            TK_BUILD_LIB_SPEC="-bI:\"`pwd`\"/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:\"${libdir}\"/${TK_EXP_FILE}"
d10699 2
a10700 2
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc \"`pwd`\"/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc \"${libdir}\"/\${TK_RSRC_FILE}"
d10721 2
a10722 2
TK_BUILD_STUB_LIB_SPEC="-L\"`pwd`\" ${TK_STUB_LIB_FLAG}"
TK_STUB_LIB_SPEC="-L\"${TK_STUB_LIB_DIR}\" ${TK_STUB_LIB_FLAG}"
@


1.169
log
@        *** 8.5.1 TAGGED FOR RELEASE ***

        * generic/tk.h:         Bump to 8.5.1 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1362 1
a1362 1
  with_tclconfig=${withval}
d1373 1
a1373 1
		case ${with_tclconfig} in
d1375 1
a1375 1
			if test -f ${with_tclconfig}; then
d1378 1
a1378 1
			    with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'`
d1382 1
a1382 1
		    ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
d1406 1
a1406 1
			ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
d1420 1
a1420 1
			ac_cv_c_tclconfig=`(cd $i/Tcl.framework; pwd)`
d1436 1
a1436 1
			ac_cv_c_tclconfig=`(cd $i; pwd)`
d1450 1
a1450 1
		    ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
d1466 1
a1466 1
	    TCL_BIN_DIR=${ac_cv_c_tclconfig}
d1496 3
a1498 3
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
d1506 2
a1507 2
		    for i in "`cd ${TCL_BIN_DIR}; pwd`" \
			     "`cd ${TCL_BIN_DIR}/../..; pwd`"; do
d1509 1
a1509 1
			    TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_FILE}"
d1515 1
a1515 1
		    TCL_STUB_LIB_SPEC="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}"
d1524 1
a1524 1
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
d1526 1
a1526 1
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
d1580 1
a1580 1
    BUILD_TCLSH=${TCL_BIN_DIR}/tclsh
d1607 2
a1608 2
srcdir=`cd $srcdir ; pwd`
TK_SRC_DIR=`cd $srcdir/..; pwd`
d6864 1
a6864 1
        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
d6873 1
a6873 1
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
d6878 1
a6878 1
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
d6890 1
a6890 1
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)'
d6895 1
a6895 1
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))'
d10610 1
a10610 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
d10638 2
a10639 2
    TK_BUILD_LIB_SPEC="-F`pwd` -framework Tk"
    TK_LIB_SPEC="-F${libdir} -framework Tk"
d10649 1
a10649 1
    EXTRA_BUILD_HTML='@@ln -fs contents.htm $(HTML_INSTALL_DIR)/TkTOC.html'
d10675 2
a10676 2
        TK_BUILD_LIB_SPEC="-L`pwd` ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d10682 2
a10683 2
            TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
            TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"
d10685 2
a10686 2
            TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"
d10698 3
a10700 3
        EXTRA_INSTALL_BINARIES='@@echo "Installing $(TK_RSRC_FILE) to $(LIB_INSTALL_DIR)" && $(INSTALL_DATA) $(TK_RSRC_FILE) $(LIB_INSTALL_DIR)'
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc `pwd`/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc ${libdir}/\${TK_RSRC_FILE}"
d10721 2
a10722 2
TK_BUILD_STUB_LIB_SPEC="-L`pwd` ${TK_STUB_LIB_FLAG}"
TK_STUB_LIB_SPEC="-L${TK_STUB_LIB_DIR} ${TK_STUB_LIB_FLAG}"
@


1.168
log
@	* macosx/Wish-Info.plist.in:	add CFBundleLocalizations key, listing
	* unix/configure.in (Darwin):	all library/msgs locales.

	* unix/configure.in (Darwin):	correct Info.plist year substitution in
					non-framework builds.

	* unix/configure:		autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".1b1"
@


1.167
log
@        * generic/tk.h:         Bump version number to 8.5.1b1 to distinguish
        * library/tk.tcl:       CVS development snapshots from the 8.5.0 and
        * unix/configure.in:    8.5.1 releases.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d9409 1
a9409 1
  # Guess where to find include files, by looking for Xlib.h.
d9417 1
a9417 1
#include <X11/Xlib.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9458 1
a9458 1
  LIBS="-lX11 $LIBS"
d9465 1
a9465 1
#include <X11/Xlib.h>
d9469 1
a9469 1
XrmInitialize ()
d10614 1
d10617 2
a10618 1
    EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
a10660 1
    TK_YEAR="`date +%Y`"
d10786 1
d11530 1
@


1.166
log
@merge stable branch onto HEAD
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".0"
d1342 1
a1342 1
LOCALES="cs de el en en_gb eo es fr hu it nl pl pt ru sv"
@


1.165
log
@autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="b3"
d9409 1
a9409 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9417 1
a9417 1
#include <X11/Intrinsic.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9458 1
a9458 1
  LIBS="-lXt $LIBS"
d9465 1
a9465 1
#include <X11/Intrinsic.h>
d9469 1
a9469 1
XtMalloc (0)
@


1.164
log
@        * README:               Bump version number to 8.5b3.
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d9409 1
a9409 1
  # Guess where to find include files, by looking for Xlib.h.
d9417 1
a9417 1
#include <X11/Xlib.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9458 1
a9458 1
  LIBS="-lX11 $LIBS"
d9465 1
a9465 1
#include <X11/Xlib.h>
d9469 1
a9469 1
XrmInitialize ()
@


1.163
log
@autoconf-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="b2.1"
d9409 1
a9409 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9417 1
a9417 1
#include <X11/Intrinsic.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9458 1
a9458 1
  LIBS="-lXt $LIBS"
d9465 1
a9465 1
#include <X11/Intrinsic.h>
d9469 1
a9469 1
XtMalloc (0)
@


1.162
log
@autoconf-2.59
@
text
@d1479 1
a1479 1
	. ${TCL_BIN_DIR}/tclConfig.sh
d5219 1
a5219 1
#define _XOPEN_SOURCE 1
d5224 1
a5224 1
#define _XOPEN_SOURCE_EXTENDED 1
d6161 10
d6174 5
a6362 15
	    if test "$tcl_cv_cc_visibility_hidden" != yes; then


cat >>confdefs.h <<\_ACEOF
#define MODULE_SCOPE __private_extern__
_ACEOF


fi


cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TCL 1
_ACEOF

@


1.161
log
@autoconf-2.59
@
text
@d859 1
d4622 4
a4626 4
    if test "$do64bitVIS" = "yes"; then
	# Force 64bit on with VIS
	do64bit=yes
    fi
d4692 1
d4697 17
a4713 1
    fi
d4845 2
a4846 1
    if test "$GCC" = "yes" ; then
d4848 5
a4852 3
    else
	CFLAGS_WARNING=""
    fi
d4891 2
a4892 1
    if test "${AR}" = "" ; then
d4896 3
a4898 1
    fi
d4905 2
a4906 1
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
d4918 3
a4920 1
	    fi
d4932 4
a4935 2
	    if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
		if test "$GCC" = "yes" ; then
d4938 3
a4940 1
		else
a4946 2
		fi
	    fi
d4948 8
a4955 1
	    if test "`uname -m`" = "ia64" ; then
d4960 2
a4961 1
		if test "$GCC" = "yes" ; then
d4963 3
a4965 1
		else
d4967 3
a4969 1
		fi
d4971 7
a4977 4
	    else
		if test "$GCC" = "yes" ; then
		    SHLIB_LD='${CC} -shared'
		else
d4979 3
a4981 1
		fi
d4988 3
a4990 1
	    fi
d4993 2
a4994 1
	    if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
d5004 3
a5006 1
	    fi
d5091 1
d5098 3
a5100 1
	    fi
d5229 2
a5230 1
	    if test "`uname -m`" = "ia64" ; then
d5232 3
a5234 1
	    else
d5236 3
a5238 1
	    fi
d5310 1
d5320 5
a5324 2
	    fi
	    if test "$GCC" = "yes" ; then
d5328 3
a5330 1
	    fi
d5336 5
a5340 4
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    hpux_arch=`${CC} -dumpmachine`
		    case $hpux_arch in
d5346 5
a5350 1
			    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5358 3
a5360 1
		else
d5364 6
a5369 3
		fi
	    fi
	    ;;
d5443 1
d5453 3
a5455 2
	    fi
	    ;;
d5463 6
a5468 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d5477 8
a5484 3
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
	    if test "$GCC" = "yes" ; then
d5487 3
a5489 1
	    else
d5500 3
a5502 1
	    fi
d5511 6
a5516 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d5520 4
a5523 2
	    if test "$do64bit" = "yes" ; then
	        if test "$GCC" = "yes" ; then
d5526 3
a5528 1
	        else
d5533 6
a5538 2
	        fi
	    fi
d5555 5
a5559 1
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5561 4
a5564 3
	    if test "`uname -m`" = "alpha" ; then
		CFLAGS="$CFLAGS -mieee"
	    fi
d5566 1
d5626 1
a5628 2
		fi
	    fi
d5630 10
a5639 6
	    # The combo of gcc + glibc has a bug related
	    # to inlining of functions like strtod(). The
	    # -fno-builtin flag should address this problem
	    # but it does not work. The -fno-inline flag
	    # is kind of overkill but it works.
	    # Disable inlining only when one of the
d5641 5
a5645 3
	    if test x"${USE_COMPAT}" != x ; then
	        CFLAGS="$CFLAGS -fno-inline"
	    fi
d5666 4
a5669 3
	    if test "`uname -m`" = "alpha" ; then
		CFLAGS="$CFLAGS -mieee"
	    fi
d5680 6
a5685 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5715 6
a5720 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d5751 1
d5753 3
a5755 1
	    else
d5757 3
a5759 1
	    fi
d5773 5
a5777 1
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5810 1
d5812 5
a5816 3
	    else
		LDFLAGS=""
	    fi
d5832 5
a5836 1
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d5838 2
a5839 1
	    if test "${TCL_THREADS}" = "1" ; then
d5844 3
a5846 1
	    fi
d5869 1
d5931 1
d5934 3
a5936 1
			fi;;
d5997 1
d6000 3
a6002 1
			fi;;
d6007 3
a6009 1
	    else
d6011 3
a6013 2
		echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \
		    echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \
d6015 5
a6019 1
	    fi
d6080 1
d6082 3
a6084 1
	    fi
d6090 3
a6092 2
	    test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
		"`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
d6094 2
d6156 1
d6158 3
a6160 1
	    fi
d6178 1
d6186 11
a6196 6
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
			# On Tiger there is no 64-bit CF, so remove 64-bit archs
			# from CFLAGS et al. while testing for presence of CF.
			# 64-bit CF is disabled in tclUnixPort.h if necessary.
			eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
		    done; fi
d6244 8
a6251 3
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
			eval $v'="$hold_'$v'"'
		    done; fi; LIBS=$hold_libs
d6256 1
d6263 5
a6267 3
		else
		    tcl_corefoundation=no
		fi
d6269 1
d6333 1
d6339 9
a6347 3
		    fi
		fi
	    fi
d6350 1
d6355 3
a6357 1
	    fi
d6397 4
a6400 3
	    if test "$SHARED_BUILD" = "1" ; then
	        SHLIB_LD="ld -shared"
	    else
d6402 3
a6404 1
	    fi
d6415 2
a6416 1
	    if test "$SHARED_BUILD" = "1" ; then
d6418 3
a6420 1
	    else
d6422 3
a6424 1
	    fi
d6429 10
a6438 5
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
	    if test "$GCC" = "yes" ; then
		CFLAGS="$CFLAGS -mieee"
            else
d6440 2
a6441 1
	    fi
d6443 2
a6444 1
	    if test "${TCL_THREADS}" = "1" ; then
d6448 2
a6449 1
		if test "$GCC" = "yes" ; then
d6451 3
a6453 1
		else
d6456 5
a6460 2
		fi
	    fi
d6480 2
a6481 1
	    if test "$GCC" = "yes" ; then
d6484 3
a6486 1
	    else
d6489 3
a6491 1
	    fi
d6555 2
a6556 1
	    if test "$GCC" = "yes" ; then
d6560 3
a6562 1
	    else
d6566 3
a6568 1
	    fi
d6588 2
a6589 1
	    if test "$do64bit" = "yes" ; then
d6591 7
a6597 4
		if test "$arch" = "sparcv9 sparc" ; then
			if test "$GCC" = "yes" ; then
			    if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
				{ echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
d6599 3
a6601 7
			    else
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64 -mcpu=v9"
				LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
				SHLIB_CFLAGS="-fPIC"
			    fi
			else
d6603 33
a6635 12
			    if test "$do64bitVIS" = "yes" ; then
				CFLAGS="$CFLAGS -xarch=v9a"
			    	LDFLAGS_ARCH="-xarch=v9a"
			    else
				CFLAGS="$CFLAGS -xarch=v9"
			    	LDFLAGS_ARCH="-xarch=v9"
			    fi
			    # Solaris 64 uses this as well
			    #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"
			fi
		elif test "$arch" = "amd64 i386" ; then
		    if test "$GCC" = "yes" ; then
d6638 3
a6640 1
		    else
d6644 6
a6649 3
		    fi
		else
		    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
d6651 7
a6657 2
		fi
	    fi
d6666 2
a6667 1
	    if test "$GCC" = "yes" ; then
d6671 2
a6672 1
		if test "$do64bit_ok" = "yes" ; then
d6680 6
a6685 2
		fi
	    else
d6694 3
a6696 1
	    fi
d6766 1
d6768 3
a6770 1
	    fi
d6776 2
a6777 1
    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
a6779 1
    fi
d6781 5
a6785 1
    if test "$do64bit" = "yes" -a "$do64bit_ok" = "yes" ; then
d6791 3
a6793 1
    fi
d6806 8
a6813 3
    if test "$tcl_ok" = "no"; then
	DL_OBJS=""
    fi
d6815 2
a6816 5
    if test "x$DL_OBJS" != "x" ; then
	BUILD_DLTEST="\$(DLTEST_TARGETS)"
    else
	echo "Can't figure out how to do dynamic loading or shared libraries"
	echo "on this system."
d6826 3
a6828 1
    fi
d6835 15
a6849 21
    if test "$DL_OBJS" != "tclLoadNone.o" ; then
	if test "$GCC" = "yes" ; then
	    case $system in
		AIX-*)
		    ;;
		BSD/OS*)
		    ;;
		IRIX*)
		    ;;
		NetBSD-*|FreeBSD-*)
		    ;;
		Darwin-*)
		    ;;
		SCO_SV-3.2*)
		    ;;
		*)
		    SHLIB_CFLAGS="-fPIC"
		    ;;
	    esac
	fi
    fi
a6850 1
    if test "$SHARED_LIB_SUFFIX" = "" ; then
d6852 4
a6855 2
    fi
    if test "$UNSHARED_LIB_SUFFIX" = "" ; then
d6857 4
a6860 1
    fi
a6861 1
    if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
d6865 3
a6867 1
    else
d6870 2
a6871 1
        if test "$RANLIB" = "" ; then
d6874 3
a6876 1
        else
a6878 1
        fi
d6880 4
a6883 1
    fi
d6887 2
a6888 1
    if test "$RANLIB" = "" ; then
d6891 3
a6893 1
    else
d6896 3
a6898 1
    fi
d6901 4
a6904 4
    # The trick here is that we don't want to change
    # the value of TCL_LIBS if it is already set when
    # tclConfig.sh had been loaded by Tk.
    if test "x${TCL_LIBS}" = "x"; then
d6906 2
a6907 1
    fi
@


1.160
log
@        * generic/tk.h:         Bump version number to 8.5b2.1 to distinguish
        * library/tk.tcl:       CVS development snapshots from the 8.5b2
        * unix/configure.in:    release.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d9127 1
a9127 1
  # Guess where to find include files, by looking for Xlib.h.
d9135 1
a9135 1
#include <X11/Xlib.h>
d9162 1
a9162 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9176 1
a9176 1
  LIBS="-lX11 $LIBS"
d9183 1
a9183 1
#include <X11/Xlib.h>
d9187 1
a9187 1
XrmInitialize ()
@


1.159
log
@        * README:               Bump version number to 8.5b2.
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="b2"
@


1.158
log
@	* generic/tkArgv.c:		Fix gcc warnings about 'cast to/from
	* generic/tkCanvUtil.c:		pointer from/to integer of different
	* generic/tkCanvas.c:		size' on 64-bit platforms by casting
	* generic/tkCursor.c:		to intermediate types
	* generic/tkInt.h:		intptr_t/uintptr_t via new PTR2INT(),
	* generic/tkListbox.c:		INT2PTR(), PTR2UINT() and UINT2PTR()
	* generic/tkObj.c:		macros.
	* generic/tkStyle.c:
	* generic/tkTextIndex.c:
	* generic/tkUtil.c:
	* generic/ttk/ttkTheme.h:
	* generic/ttk/ttkTreeview.c:
	* unix/tkUnixMenu.c:
	* unix/configure.in:

	* unix/configure:		autoconf-2.59
	* unix/tkConfig.h.in:		autoheader-2.59
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="b1.1"
d9127 1
a9127 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9135 1
a9135 1
#include <X11/Intrinsic.h>
d9162 1
a9162 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9176 1
a9176 1
  LIBS="-lXt $LIBS"
d9183 1
a9183 1
#include <X11/Intrinsic.h>
d9187 1
a9187 1
XtMalloc (0)
@


1.157
log
@	* unix/configure.in (Darwin):	add support for 64-bit X11.
	* unix/configure:		autoconf-2.59
@
text
@d8493 272
@


1.156
log
@        * generic/tk.h:         Bump version number to 8.5b1.1 to distinguish
        * library/tk.tcl:       CVS development snapshots from the 8.5b1
        * unix/configure.in:    release.  Updated LOCALES.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d8592 76
a8667 4
    # remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit fat
    # builds, as neither TkAqua nor TkX11 can be built for 64-bit at present.
    test "$fat_32_64" = yes && for v in CFLAGS CPPFLAGS LDFLAGS; do
	eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'; done
d8855 1
a8855 1
  # Guess where to find include files, by looking for Xlib.h.
d8863 1
a8863 1
#include <X11/Xlib.h>
d8890 1
a8890 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d8904 1
a8904 1
  LIBS="-lX11 $LIBS"
d8911 1
a8911 1
#include <X11/Xlib.h>
d8915 1
a8915 1
XrmInitialize ()
@


1.155
log
@        * README:               Bump version number to 8.5b1.
        * generic/tk.h:         Merge from core-stabilizer-branch.
        * library/tk.tcl:       Stabilizing toward 8.5b1 release now done
        * unix/configure.in:    on the HEAD.  core-stabilizer-branch is
        * unix/tk.spec:         now suspended.
        * win/configure.in:
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="b1"
d1341 1
a1341 1
LOCALES="cs de el en en_gb eo es es_ES fr it nl pl pt ru"
d8783 1
a8783 1
  # Guess where to find include files, by looking for Intrinsic.h.
d8791 1
a8791 1
#include <X11/Intrinsic.h>
d8818 1
a8818 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d8832 1
a8832 1
  LIBS="-lXt $LIBS"
d8839 1
a8839 1
#include <X11/Intrinsic.h>
d8843 1
a8843 1
XtMalloc (0)
@


1.154
log
@autoconf-2.59
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="a7"
@


1.153
log
@Use '${CC} -shared' instead of 'ld -Bshareable' to build shared libraries
on current NetBSDs [#1749251].
@
text
@d975 1
a975 1
    cd "$ac_popdir"
d2252 2
a2253 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2311 2
a2312 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2428 2
a2429 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2483 2
a2484 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2529 2
a2530 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2574 2
a2575 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d2901 2
a2902 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3072 2
a3073 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3136 2
a3137 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3294 2
a3295 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3504 2
a3505 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3615 2
a3616 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3691 2
a3692 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3767 2
a3768 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3841 2
a3842 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d3912 2
a3913 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4030 2
a4031 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4128 2
a4129 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4264 2
a4265 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4407 2
a4408 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4663 2
a4664 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d4775 2
a4776 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5007 2
a5008 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5099 2
a5100 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5218 2
a5219 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5335 2
a5336 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5491 2
a5492 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5692 1
a5692 1
	    SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
d5762 2
a5763 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5825 2
a5826 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5898 2
a5899 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5968 2
a5969 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6052 2
a6053 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6124 2
a6125 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6480 2
a6481 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6763 2
a6764 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6806 2
a6807 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6868 2
a6869 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6911 2
a6912 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d6973 2
a6974 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7016 2
a7017 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7092 2
a7093 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7142 2
a7143 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7213 2
a7214 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7276 2
a7277 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7378 2
a7379 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7442 2
a7443 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7521 2
a7522 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7564 2
a7565 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7622 2
a7623 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7777 2
a7778 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d7884 2
a7885 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8033 2
a8034 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8139 2
a8140 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8288 2
a8289 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8354 2
a8355 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8420 2
a8421 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8527 2
a8528 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8630 2
a8631 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
a8690 1
ac_path_x_has_been_run=yes
d8783 1
a8783 1
  # Guess where to find include files, by looking for a specified header file.
d8857 2
a8858 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d8918 2
a8919 6
  # It might be that x_includes is empty (headers are found in the
  # standard search path. Then output the corresponding message
  ac_out_x_includes=$x_includes
  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
d9086 2
a9087 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9198 2
a9199 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9276 2
a9277 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9344 2
a9345 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9441 2
a9442 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9508 2
a9509 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9579 2
a9580 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9694 2
a9695 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9774 2
a9775 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d9880 2
a9881 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d11071 5
a11113 6

  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
@


1.152
log
@	* unix/tcl.m4:	replace all direct references to compiler by ${CC} to
			enable CC overriding at configure & make time; run
			check for visibility "hidden" with all compilers;
			quoting fixes from TEA tcl.m4.
	(SunOS-5.1x):	replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by
			'cc' compiler driver.
	* unix/configure: autoconf-2.59
@
text
@d975 1
a975 1
    cd $ac_popdir
d2252 1
a2252 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2310 1
a2310 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2426 1
a2426 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2480 1
a2480 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2525 1
a2525 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2569 1
a2569 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d2895 1
a2895 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3065 1
a3065 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3128 1
a3128 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3285 1
a3285 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3494 1
a3494 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3604 1
a3604 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3679 1
a3679 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3754 1
a3754 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3827 1
a3827 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d3897 1
a3897 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4014 1
a4014 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4111 1
a4111 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4246 1
a4246 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4388 1
a4388 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4643 1
a4643 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4754 1
a4754 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d4985 1
a4985 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5076 1
a5076 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5194 1
a5194 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5310 1
a5310 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5465 1
a5465 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5563 1
a5563 2
	NetBSD-*|FreeBSD-[1-2].*)
	    # NetBSD/SPARC needs -fPIC, -fpic will not do.
d5613 1
a5613 7
	    # OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
	    case `machine` in
	    sparc|sparc64)
		SHLIB_CFLAGS="-fPIC";;
	    *)
		SHLIB_CFLAGS="-fpic";;
	    esac
d5661 1
a5661 1
	FreeBSD-*)
d5663 1
d5665 1
a5665 1
	    SHLIB_LD="ld -Bshareable -x"
d5672 1
a5672 1
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d5735 1
a5735 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5797 1
a5797 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5869 1
a5869 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d5938 1
a5938 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6021 1
a6021 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6092 1
a6092 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6447 1
a6447 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6729 1
a6729 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6771 1
a6771 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6832 1
a6832 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6874 1
a6874 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6935 1
a6935 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d6977 1
a6977 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7052 1
a7052 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7101 1
a7101 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7171 1
a7171 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7233 1
a7233 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7334 1
a7334 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7397 1
a7397 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7475 1
a7475 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7517 1
a7517 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7574 1
a7574 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7728 1
a7728 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7834 1
a7834 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d7982 1
a7982 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8087 1
a8087 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8235 1
a8235 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8300 1
a8300 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8365 1
a8365 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8471 1
a8471 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8573 1
a8573 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8633 1
d8726 1
a8726 1
  # Guess where to find include files, by looking for Intrinsic.h.
d8800 1
a8800 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d8860 6
a8865 2
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
d9032 1
a9032 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
a9091 7
# The statement below is very tricky!  It actually *evaluates* the
# string in TCL_CC_SEARCH_FLAGS and TCL_LD_SEARCH_FLAGS which
# causes a substitution of the variable LIB_RUNTIME_DIR.

eval "CC_SEARCH_FLAGS=\"$TCL_CC_SEARCH_FLAGS\""
eval "LD_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""

d9143 1
a9143 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9220 1
a9220 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9287 1
a9287 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9383 1
a9383 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9449 1
a9449 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9519 1
a9519 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9633 1
a9633 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9712 1
a9712 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
d9817 1
a9817 2
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
a11006 5
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
d11045 6
@


1.151
log
@	* unix/Makefile.in:	add support for compile flags specific to
				object files linked directly into executables.

	* unix/configure.in (Darwin): only use -seg1addr flag when prebinding;
	use -mdynamic-no-pic flag for object files linked directly into exes.

	* unix/configure: autoconf-2.59
@
text
@d1494 1
a1494 1
    if test -f ${TCL_BIN_DIR}/Makefile ; then
d1504 1
a1504 1
		if test -f ${TCL_BIN_DIR}/${TCL_LIB_FILE}; then
d1513 1
a1513 1
		if test -f ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}; then
d4627 1
a4627 1
    # Step 0.c: Check if gcc visibility support is available. Do this here so
d4630 2
a4631 3
    if test "$GCC" = "yes" ; then
	echo "$as_me:$LINENO: checking if gcc supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if gcc supports visibility \"hidden\"... $ECHO_C" >&6
d4636 2
a4637 2
	    hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	    cat >conftest.$ac_ext <<_ACEOF
d4644 2
a4645 2
		extern __attribute__((__visibility__("hidden"))) void f(void);
		void f(void) {}
d4685 1
a4685 1
	    CFLAGS=$hold_cflags
d4689 1
a4689 1
	if test $tcl_cv_cc_visibility_hidden = yes; then
a4694 1
	fi
d4932 1
a4932 1
		    SHLIB_LD="gcc -shared"
d5050 1
a5050 1
	    SHLIB_LD="${CC} -nostart"
d5142 1
a5142 1
	    SHLIB_LD="cc -shared"
d5153 1
a5153 1
	    SHLIB_LD="cc -G"
d5262 1
a5262 1
		SHLIB_LD="gcc -shared"
d5278 1
a5278 1
			    SHLIB_LD="${CC} -shared"
d5443 1
a5443 1
	    CFLAGS_OPTIMIZE=-O2
d5547 1
a5547 1
	    SHLIB_LD="${CC} -shared"
d5562 1
a5562 1
	    SHLIB_LD="${CC} -shared "
d5571 1
a5571 1
	    SHLIB_LD="cc -G"
d5581 1
a5581 1
	    SHLIB_LD="cc -G"
d5648 1
a5648 1
	    SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
d6183 1
a6183 1
	    SHLIB_LD="cc -nostdlib -r"
d6293 1
a6293 1
	    SHLIB_LD="cc -G"
d6347 1
a6347 1
		SHLIB_LD="$CC -shared"
d6378 1
a6378 1
			    if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
d6422 1
a6422 1
		SHLIB_LD="$CC -shared"
d6435 6
a6440 1
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d6447 1
a6447 1
	    SHLIB_LD="cc -G"
@


1.150
log
@	* unix/configure.in:		fix flag used to weak-link libXss.
	* unix/configure:		autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d9994 2
a9995 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
d10000 1
d10168 1
d10907 1
@


1.149
log
@	* unix/configure.in (Darwin): link the Tk and Wish plists into their
	binaries in all cases; fix 64bit arch removal in fat 32&64bit builds.

	* unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds.
	* unix/configure: autoconf-2.59
@
text
@d9620 1
a9620 1
		    XLIBSW="$XLIBSW -weak-lXss -lXext"
@


1.148
log
@        * unix/configure:       autoconf-2.59 (FC6 fork)
        * win/configure:

        * README:               Bump version number to 8.5a7
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
@
text
@d6028 2
a6029 2
		    hold_libs=$LIBS; hold_cflags=$CFLAGS
		    if test "$fat_32_64" = yes; then
d6031 1
a6031 1
			# from CFLAGS while testing for presence of CF.
d6033 2
a6034 2
			CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc64 / /g' -e 's/-arch x86_64 / /g'`"
		    fi
d6082 3
a6084 1
		    LIBS=$hold_libs; CFLAGS=$hold_cflags
d6105 3
a6107 2
			hold_cflags=$CFLAGS
			CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc / /g' -e 's/-arch i386 / /g'`"
d6154 3
a6156 1
			CFLAGS=$hold_cflags
d8595 1
a8595 1
    # remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit fat
d8597 2
a8598 2
    test "$fat_32_64" = yes && \
	CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc64 / /g' -e 's/-arch x86_64 / /g'`"
d8786 1
a8786 1
  # Guess where to find include files, by looking for Xlib.h.
d8794 1
a8794 1
#include <X11/Xlib.h>
d8821 1
a8821 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d8835 1
a8835 1
  LIBS="-lX11 $LIBS"
d8842 1
a8842 1
#include <X11/Xlib.h>
d8846 1
a8846 1
XrmInitialize ()
d9995 4
a10006 2
              ac_config_files="$ac_config_files Tk-Info.plist:../macosx/Tk-Info.plist.in"

a10073 3
              ac_config_files="$ac_config_files Wish-Info.plist:../macosx/Wish-Info.plist.in"

    EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
d10082 1
a10082 1
    elif test "$FRAMEWORK_BUILD" = "0"; then
@


1.148.2.1
log
@        [core-stabilizer-branch]

        * unix/configure:       autoconf-2.59 (FC6 fork)
        * win/configure:

        * README:               Bump version number to 8.5b1
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="b1"
@


1.148.2.2
log
@merge updates from HEAD
@
text
@d6028 2
a6029 2
		    hold_libs=$LIBS
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
d6031 1
a6031 1
			# from CFLAGS et al. while testing for presence of CF.
d6033 2
a6034 2
			eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
		    done; fi
d6082 1
a6082 3
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
			eval $v'="$hold_'$v'"'
		    done; fi; LIBS=$hold_libs
d6103 2
a6104 3
			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
			done
d6151 1
a6151 3
			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval $v'="$hold_'$v'"'
			done
d8590 1
a8590 1
    # remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit fat
d8592 2
a8593 2
    test "$fat_32_64" = yes && for v in CFLAGS CPPFLAGS LDFLAGS; do
	eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'; done
d8781 1
a8781 1
  # Guess where to find include files, by looking for Intrinsic.h.
d8789 1
a8789 1
#include <X11/Intrinsic.h>
d8816 1
a8816 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d8830 1
a8830 1
  LIBS="-lXt $LIBS"
d8837 1
a8837 1
#include <X11/Intrinsic.h>
d8841 1
a8841 1
XtMalloc (0)
a9989 4
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -sectcreate __TEXT __info_plist Tk-Info.plist'
    EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
                        ac_config_files="$ac_config_files Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"

d9998 2
d10067 3
d10078 1
a10078 1
    else
@


1.148.2.3
log
@merge updates from HEAD
@
text
@d9620 1
a9620 1
		    XLIBSW="$XLIBSW -Wl,-weak-lXss -lXext"
@


1.148.2.4
log
@merge updates from HEAD
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d9994 1
a9994 2
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
    echo "$LDFLAGS " | grep -q -- '-prebind ' && TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -seg1addr 0xb000000'
a9998 1
    EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
a10165 1

a10903 1
s,@@EXTRA_APP_CC_SWITCHES@@,$EXTRA_APP_CC_SWITCHES,;t t
@


1.148.2.5
log
@merge updates from HEAD
@
text
@d1494 1
a1494 1
    if test -f "${TCL_BIN_DIR}/Makefile" ; then
d1504 1
a1504 1
		if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
d1513 1
a1513 1
		if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then
d4627 1
a4627 1
    # Step 0.c: Check if visibility support is available. Do this here so
d4630 3
a4632 2
    echo "$as_me:$LINENO: checking if compiler supports visibility \"hidden\"" >&5
echo $ECHO_N "checking if compiler supports visibility \"hidden\"... $ECHO_C" >&6
d4637 2
a4638 2
	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
	cat >conftest.$ac_ext <<_ACEOF
d4645 2
a4646 2
	    extern __attribute__((__visibility__("hidden"))) void f(void);
	    void f(void) {}
d4686 1
a4686 1
	CFLAGS=$hold_cflags
d4690 1
a4690 1
    if test $tcl_cv_cc_visibility_hidden = yes; then
d4696 1
d4934 1
a4934 1
		    SHLIB_LD='${CC} -shared'
d5052 1
a5052 1
	    SHLIB_LD='${CC} -nostart'
d5144 1
a5144 1
	    SHLIB_LD='${CC} -shared'
d5155 1
a5155 1
	    SHLIB_LD='${CC} -G'
d5264 1
a5264 1
		SHLIB_LD='${CC} -shared'
d5280 1
a5280 1
			    SHLIB_LD='${CC} -shared'
d5445 1
a5445 1
	    CFLAGS_OPTIMIZE="-O2"
d5549 1
a5549 1
	    SHLIB_LD='${CC} -shared'
d5564 1
a5564 1
	    SHLIB_LD='${CC} -shared'
d5573 1
a5573 1
	    SHLIB_LD='${CC} -G'
d5583 1
a5583 1
	    SHLIB_LD='${CC} -G'
d5650 1
a5650 1
	    SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
d6185 1
a6185 1
	    SHLIB_LD='${CC} -nostdlib -r'
d6295 1
a6295 1
	    SHLIB_LD='${CC} -G'
d6349 1
a6349 1
		SHLIB_LD='${CC} -shared'
d6380 1
a6380 1
			    if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
d6424 1
a6424 1
		SHLIB_LD='${CC} -shared'
d6437 1
a6437 6
		case $system in
		    SunOS-5.[1-9][0-9]*)
			SHLIB_LD='${CC} -G -z text';;
		    *)
			SHLIB_LD='/usr/ccs/bin/ld -G -z text';;
		esac
d6444 1
a6444 1
	    SHLIB_LD='${CC} -G'
@


1.148.2.6
log
@merge updates from HEAD
@
text
@d5590 2
a5591 1
	NetBSD-1.*|FreeBSD-[1-2].*)
d5641 7
a5647 1
	    SHLIB_CFLAGS="-fPIC"
d5695 1
a5695 1
	NetBSD-*|FreeBSD-*)
a5696 1
	    # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs
d5698 1
a5698 1
	    SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
d5705 1
a5705 1
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d9153 7
@


1.148.2.7
log
@Merge updates from HEAD, then

        [core-stabilizer-branch]

        * README:               Bump version number to 8.5.0
        * generic/tk.h:
        * library/tk.tcl:
        * unix/configure.in:    Updated LOCALES.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.59)
        * win/configure:
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL=".0"
d1341 1
a1341 1
LOCALES="cs de el en en_gb eo es fr hu it nl pl pt ru sv"
d8783 1
a8783 1
  # Guess where to find include files, by looking for Xlib.h.
d8791 1
a8791 1
#include <X11/Xlib.h>
d8818 1
a8818 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d8832 1
a8832 1
  LIBS="-lX11 $LIBS"
d8839 1
a8839 1
#include <X11/Xlib.h>
d8843 1
a8843 1
XrmInitialize ()
@


1.148.2.8
log
@merge updates from HEAD
@
text
@a8492 272
echo "$as_me:$LINENO: checking for intptr_t" >&5
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
if test "${ac_cv_type_intptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((intptr_t *) 0)
  return 0;
if (sizeof (intptr_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_intptr_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_intptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
if test $ac_cv_type_intptr_t = yes; then


cat >>confdefs.h <<\_ACEOF
#define HAVE_INTPTR_T 1
_ACEOF

else

    echo "$as_me:$LINENO: checking for pointer-size signed integer type" >&5
echo $ECHO_N "checking for pointer-size signed integer type... $ECHO_C" >&6
if test "${tcl_cv_intptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    for tcl_cv_intptr_t in "int" "long" "long long" none; do
	if test "$tcl_cv_intptr_t" != none; then
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_intptr_t))];
test_array [0] = 0

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    test "$tcl_ok" = yes && break; fi
    done
fi
echo "$as_me:$LINENO: result: $tcl_cv_intptr_t" >&5
echo "${ECHO_T}$tcl_cv_intptr_t" >&6
    if test "$tcl_cv_intptr_t" != none; then

cat >>confdefs.h <<_ACEOF
#define intptr_t $tcl_cv_intptr_t
_ACEOF

    fi

fi

echo "$as_me:$LINENO: checking for uintptr_t" >&5
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
if test "${ac_cv_type_uintptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((uintptr_t *) 0)
  return 0;
if (sizeof (uintptr_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_uintptr_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_uintptr_t=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
if test $ac_cv_type_uintptr_t = yes; then


cat >>confdefs.h <<\_ACEOF
#define HAVE_UINTPTR_T 1
_ACEOF

else

    echo "$as_me:$LINENO: checking for pointer-size unsigned integer type" >&5
echo $ECHO_N "checking for pointer-size unsigned integer type... $ECHO_C" >&6
if test "${tcl_cv_uintptr_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

    for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
	    none; do
	if test "$tcl_cv_uintptr_t" != none; then
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($tcl_cv_uintptr_t))];
test_array [0] = 0

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    test "$tcl_ok" = yes && break; fi
    done
fi
echo "$as_me:$LINENO: result: $tcl_cv_uintptr_t" >&5
echo "${ECHO_T}$tcl_cv_uintptr_t" >&6
    if test "$tcl_cv_uintptr_t" != none; then

cat >>confdefs.h <<_ACEOF
#define uintptr_t $tcl_cv_uintptr_t
_ACEOF

    fi

fi


d8592 4
a8595 76
    if test "$fat_32_64" = yes; then
	if test $tk_aqua = no; then
	    echo "$as_me:$LINENO: checking for 64-bit X11" >&5
echo $ECHO_N "checking for 64-bit X11... $ECHO_C" >&6
if test "${tcl_cv_lib_x11_64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
		done
		CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
		LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Xlib.h>
int
main ()
{
XrmInitialize();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_lib_x11_64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_lib_x11_64=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval $v'="$hold_'$v'"'
		done
fi
echo "$as_me:$LINENO: result: $tcl_cv_lib_x11_64" >&5
echo "${ECHO_T}$tcl_cv_lib_x11_64" >&6
	fi
	# remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit
	# fat builds if configuration does not support 64-bit.
	if test $tk_aqua = yes -o "$tcl_cv_lib_x11_64" = no; then
	    { echo "$as_me:$LINENO: Removing 64-bit architectures from compiler & linker flags" >&5
echo "$as_me: Removing 64-bit architectures from compiler & linker flags" >&6;}
	    for v in CFLAGS CPPFLAGS LDFLAGS; do
		eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
	    done
	fi
    fi
d8783 1
a8783 1
  # Guess where to find include files, by looking for Intrinsic.h.
d8791 1
a8791 1
#include <X11/Intrinsic.h>
d8818 1
a8818 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d8832 1
a8832 1
  LIBS="-lXt $LIBS"
d8839 1
a8839 1
#include <X11/Intrinsic.h>
d8843 1
a8843 1
XtMalloc (0)
@


1.148.2.9
log
@merge updates from HEAD
@
text
@d9127 1
a9127 1
  # Guess where to find include files, by looking for Xlib.h.
d9135 1
a9135 1
#include <X11/Xlib.h>
d9162 1
a9162 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9176 1
a9176 1
  LIBS="-lX11 $LIBS"
d9183 1
a9183 1
#include <X11/Xlib.h>
d9187 1
a9187 1
XrmInitialize ()
@


1.148.2.10
log
@merge updates from HEAD
@
text
@a858 1
  --disable-rpath         disable rpath support (default: on)
d4621 1
a4621 1
    # Force 64bit on with VIS
d4623 3
a4625 3
  do64bit=yes
fi

a4690 1

d4695 1
a4695 17

fi


    # Step 0.d: Disable -rpath support?

    echo "$as_me:$LINENO: checking if rpath support is requested" >&5
echo $ECHO_N "checking if rpath support is requested... $ECHO_C" >&6
    # Check whether --enable-rpath or --disable-rpath was given.
if test "${enable_rpath+set}" = set; then
  enableval="$enable_rpath"
  doRpath=$enableval
else
  doRpath=yes
fi;
    echo "$as_me:$LINENO: result: $doRpath" >&5
echo "${ECHO_T}$doRpath" >&6
d4827 1
a4827 2
    if test "$GCC" = yes; then

d4829 3
a4831 5

else
  CFLAGS_WARNING=""
fi

d4870 1
a4870 2
    if test "${AR}" = ""; then

d4874 1
a4874 3

fi

d4881 1
a4881 2
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes"; then

d4893 1
a4893 3

fi

d4905 2
a4906 4
	    if test "$do64bit" = yes -a "`uname -v`" -gt 3; then

		if test "$GCC" = yes; then

d4909 1
a4909 3

else

d4916 2
d4919 1
a4919 8
fi


fi


	    if test "`uname -m`" = ia64; then

d4924 1
a4924 2
		if test "$GCC" = yes; then

d4926 1
a4926 3

else

d4928 1
a4928 3

fi

d4930 4
a4933 7

else

		if test "$GCC" = yes; then
  SHLIB_LD='${CC} -shared'
else

d4935 1
a4935 3

fi

d4942 1
a4942 3

fi

d4945 1
a4945 2
	    if test "$system" = "AIX-4.1" -o "`uname -v`" -lt 4; then

d4955 1
a4955 3

fi

a5039 1

d5046 1
a5046 3

fi

d5175 1
a5175 2
	    if test "`uname -m`" = ia64; then

d5177 1
a5177 3

else

d5179 1
a5179 3

fi

a5250 1

d5260 2
a5261 5

fi

	    if test "$GCC" = yes; then

d5265 1
a5265 3

fi

d5271 4
a5274 5
	    if test "$do64bit" = "yes"; then

		if test "$GCC" = yes; then

		    case `${CC} -dumpmachine` in
d5280 1
a5280 5
			    if test $doRpath = yes; then

				CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

d5288 1
a5288 3

else

d5292 3
a5294 6

fi


fi
 ;;
a5367 1

d5377 2
a5378 3

fi
 ;;
d5386 2
a5387 6
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

d5396 3
a5398 8
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "$GCC" = yes; then

d5401 1
a5401 3

else

d5412 1
a5412 3

fi

d5421 2
a5422 6
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

d5426 2
a5427 4
	    if test "$do64bit" = yes; then

	        if test "$GCC" = yes; then

d5430 1
a5430 3

else

d5435 2
a5436 6

fi


fi

d5453 1
a5453 5
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

d5455 3
a5457 4
	    if test "`uname -m`" = "alpha"; then
  CFLAGS="$CFLAGS -mieee"
fi

a5458 1

a5517 1

d5520 2
d5523 6
a5528 10
fi


fi


	    # The combo of gcc + glibc has a bug related to inlining of
	    # functions like strtod(). The -fno-builtin flag should address
	    # this problem but it does not work. The -fno-inline flag is kind
	    # of overkill but it works. Disable inlining only when one of the
d5530 3
a5532 5

	    if test x"${USE_COMPAT}" != x; then
  CFLAGS="$CFLAGS -fno-inline"
fi

d5553 3
a5555 4
	    if test "`uname -m`" = "alpha"; then
  CFLAGS="$CFLAGS -mieee"
fi

d5566 2
a5567 6
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

d5597 2
a5598 6
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

a5628 1

d5630 1
a5630 3

else

d5632 1
a5632 3

fi

d5646 1
a5646 5
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

a5678 1

d5680 3
a5682 5

else
  LDFLAGS=""
fi

d5698 1
a5698 5
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
fi

d5700 1
a5700 2
	    if test "${TCL_THREADS}" = "1"; then

d5705 1
a5705 3

fi

a5727 1

a5788 1

d5791 1
a5791 3

fi
;;
a5851 1

d5854 1
a5854 3

fi
;;
d5859 1
a5859 3

else

d5861 2
a5862 3
		if echo "$CFLAGS " |grep -E -q -- '-arch (ppc64|x86_64) ' \
		    && echo "$CFLAGS " |grep -E -q -- '-arch (ppc|i386) '; then

d5864 1
a5864 5
fi


fi

a5924 1

d5926 1
a5926 3

fi

d5932 2
a5933 3
	    if test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
		"`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4; then

a5934 2
fi

a5994 1

d5996 1
a5996 3

fi

a6013 1

d6021 6
a6026 11
		    if test "$fat_32_64" = yes; then

			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    # On Tiger there is no 64-bit CF, so remove 64-bit
			    # archs from CFLAGS et al. while testing for
			    # presence of CF. 64-bit CF is disabled in
			    # tclUnixPort.h if necessary.
			    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
			done
fi

d6074 3
a6076 8
		    if test "$fat_32_64" = yes; then

			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval $v'="$hold_'$v'"'
		        done
fi

		    LIBS=$hold_libs
a6080 1

d6087 3
a6089 5

else
  tcl_corefoundation=no
fi

a6090 1

a6153 1

d6159 3
a6161 9

fi


fi


fi

a6163 1

d6168 1
a6168 3

fi

d6208 3
a6210 4
	    if test "$SHARED_BUILD" = 1; then
  SHLIB_LD="ld -shared"
else

d6212 1
a6212 3

fi

d6223 1
a6223 2
	    if test "$SHARED_BUILD" = 1; then

d6225 1
a6225 3

else

d6227 1
a6227 3

fi

d6232 5
a6236 10
	    if test $doRpath = yes; then

		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
fi

	    if test "$GCC" = yes; then
  CFLAGS="$CFLAGS -mieee"
else

d6238 1
a6238 2
fi

d6240 1
a6240 2
	    if test "${TCL_THREADS}" = 1; then

d6244 1
a6244 2
		if test "$GCC" = yes; then

d6246 1
a6246 3

else

d6249 2
a6250 5

fi


fi
d6270 1
a6270 2
	    if test "$GCC" = yes; then

d6273 1
a6273 3

else

d6276 1
a6276 3

fi

d6340 1
a6340 2
	    if test "$GCC" = yes; then

d6344 1
a6344 3

else

d6348 1
a6348 3

fi

d6368 1
a6368 2
	    if test "$do64bit" = yes; then

d6370 4
a6373 7
		if test "$arch" = "sparcv9 sparc"; then

		    if test "$GCC" = yes; then

			if test "`${CC} -dumpversion | awk -F. '{print $1}'`" -lt 3; then

			    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
d6375 7
a6381 3

else

d6383 12
a6394 33
			    CFLAGS="$CFLAGS -m64 -mcpu=v9"
			    LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
			    SHLIB_CFLAGS="-fPIC"

fi


else

			do64bit_ok=yes
			if test "$do64bitVIS" = yes; then

			    CFLAGS="$CFLAGS -xarch=v9a"
			    LDFLAGS_ARCH="-xarch=v9a"

else

			    CFLAGS="$CFLAGS -xarch=v9"
			    LDFLAGS_ARCH="-xarch=v9"

fi

			# Solaris 64 uses this as well
			#LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"

fi


else
  if test "$arch" = "amd64 i386"; then

		    if test "$GCC" = yes; then

d6397 1
a6397 3

else

d6401 3
a6403 6

fi


else
  { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
d6405 2
a6406 7
fi

fi


fi

d6415 1
a6415 2
	    if test "$GCC" = yes; then

d6419 1
a6419 2
		if test "$do64bit_ok" = yes; then

d6427 2
a6428 6

fi


else

d6437 1
a6437 3

fi

a6506 1

d6508 1
a6508 3

fi

d6514 1
a6514 2
    if test "$do64bit" = yes -a "$do64bit_ok" = no; then

d6517 1
d6519 1
a6519 5
fi


    if test "$do64bit" = yes -a "$do64bit_ok" = yes; then

d6525 1
a6525 3

fi

d6538 3
a6540 3
    if test "$tcl_ok" = no; then
  DL_OBJS=""
fi
d6542 5
a6546 7

    if test "x$DL_OBJS" != x; then
  BUILD_DLTEST="\$(DLTEST_TARGETS)"
else

	{ echo "$as_me:$LINENO: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&5
echo "$as_me: WARNING: Can't figure out how to do dynamic loading or shared libraries on this system." >&2;}
d6556 1
a6556 3

fi

d6563 21
a6583 15
    if test "$DL_OBJS" != "tclLoadNone.o" -a "$GCC" = yes; then

	case $system in
	    AIX-*) ;;
	    BSD/OS*) ;;
	    IRIX*) ;;
	    NetBSD-*|FreeBSD-*) ;;
	    Darwin-*) ;;
	    SCO_SV-3.2*) ;;
	    *) SHLIB_CFLAGS="-fPIC" ;;
	esac
fi


    if test "$SHARED_LIB_SUFFIX" = ""; then
d6585 1
d6587 2
a6588 4
fi

    if test "$UNSHARED_LIB_SUFFIX" = ""; then

d6590 1
a6590 4
fi


    if test "${SHARED_BUILD}" = 1 -a "${SHLIB_SUFFIX}" != ""; then
d6592 1
d6596 1
a6596 3

else

d6599 1
a6599 2
        if test "$RANLIB" = ""; then

d6602 1
a6602 3

else

d6605 1
d6607 1
a6607 4
fi


fi
d6611 1
a6611 2
    if test "$RANLIB" = ""; then

d6614 1
a6614 3

else

d6617 1
a6617 3

fi

d6620 4
a6623 4
    # The trick here is that we don't want to change the value of TCL_LIBS if
    # it is already set when tclConfig.sh had been loaded by Tk.
    if test "x${TCL_LIBS}" = x; then

d6625 1
a6625 2
fi

d9127 1
a9127 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9135 1
a9135 1
#include <X11/Intrinsic.h>
d9162 1
a9162 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9176 1
a9176 1
  LIBS="-lXt $LIBS"
d9183 1
a9183 1
#include <X11/Intrinsic.h>
d9187 1
a9187 1
XtMalloc (0)
@


1.148.2.11
log
@merge updates from 8.5b3
@
text
@d1479 1
a1479 1
	. "${TCL_BIN_DIR}/tclConfig.sh"
d5219 1
a5219 1
#define _XOPEN_SOURCE_EXTENDED 1
d5224 1
a5224 1
#define _XOPEN_SOURCE 1
a6160 10
	    if test "$tcl_cv_cc_visibility_hidden" != yes; then


cat >>confdefs.h <<\_ACEOF
#define MODULE_SCOPE __private_extern__
_ACEOF


fi

a6163 5

cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TCL 1
_ACEOF

d6348 15
d9409 1
a9409 1
  # Guess where to find include files, by looking for Xlib.h.
d9417 1
a9417 1
#include <X11/Xlib.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9458 1
a9458 1
  LIBS="-lX11 $LIBS"
d9465 1
a9465 1
#include <X11/Xlib.h>
d9469 1
a9469 1
XrmInitialize ()
@


1.148.2.12
log
@merge updates from HEAD
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".1b1"
d1342 1
a1342 1
LOCALES="cs da de el en en_gb eo es fr hu it nl pl pt ru sv"
@


1.148.2.13
log
@Bump stabilizer branch to 8.5.1
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".1"
@


1.148.2.14
log
@merge udpates from HEAD
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_APP_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS CFBUNDLELOCALIZATIONS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d9409 1
a9409 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9417 1
a9417 1
#include <X11/Intrinsic.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9458 1
a9458 1
  LIBS="-lXt $LIBS"
d9465 1
a9465 1
#include <X11/Intrinsic.h>
d9469 1
a9469 1
XtMalloc (0)
a10613 1
    EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
d10616 1
a10616 2
    for l in ${LOCALES}; do CFBUNDLELOCALIZATIONS="${CFBUNDLELOCALIZATIONS}<string>$l</string>"; done
    TK_YEAR="`date +%Y`"
d10659 1
a10784 1

a11527 1
s,@@CFBUNDLELOCALIZATIONS@@,$CFBUNDLELOCALIZATIONS,;t t
@


1.148.2.15
log
@Bump stabilizer branch to 8.5.2
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".2"
d9409 1
a9409 1
  # Guess where to find include files, by looking for Xlib.h.
d9417 1
a9417 1
#include <X11/Xlib.h>
d9444 1
a9444 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9458 1
a9458 1
  LIBS="-lX11 $LIBS"
d9465 1
a9465 1
#include <X11/Xlib.h>
d9469 1
a9469 1
XrmInitialize ()
@


1.148.2.16
log
@merge updates from HEAD
@
text
@d1362 1
a1362 1
  with_tclconfig="${withval}"
d1373 1
a1373 1
		case "${with_tclconfig}" in
d1375 1
a1375 1
			if test -f "${with_tclconfig}"; then
d1378 1
a1378 1
			    with_tclconfig="`echo "${with_tclconfig}" | sed 's!/tclConfig\.sh$!!'`"
d1382 1
a1382 1
		    ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwd)`"
d1406 1
a1406 1
			ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
d1420 1
a1420 1
			ac_cv_c_tclconfig="`(cd $i/Tcl.framework; pwd)`"
d1436 1
a1436 1
			ac_cv_c_tclconfig="`(cd $i; pwd)`"
d1450 1
a1450 1
		    ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
d1466 1
a1466 1
	    TCL_BIN_DIR="${ac_cv_c_tclconfig}"
d1496 3
a1498 3
        TCL_LIB_SPEC="${TCL_BUILD_LIB_SPEC}"
        TCL_STUB_LIB_SPEC="${TCL_BUILD_STUB_LIB_SPEC}"
        TCL_STUB_LIB_PATH="${TCL_BUILD_STUB_LIB_PATH}"
d1506 2
a1507 2
		    for i in "`cd "${TCL_BIN_DIR}"; pwd`" \
			     "`cd "${TCL_BIN_DIR}"/../..; pwd`"; do
d1509 1
a1509 1
			    TCL_LIB_SPEC="-F\"`dirname "$i"`\" -framework ${TCL_LIB_FILE}"
d1515 1
a1515 1
		    TCL_STUB_LIB_SPEC="-L\"${TCL_BIN_DIR}\" ${TCL_STUB_LIB_FLAG}"
d1524 1
a1524 1
    eval "TCL_LIB_SPEC=\"`echo "${TCL_LIB_SPEC}" | sed -e 's/"/\\\\"/g'`\""
d1526 1
a1526 1
    eval "TCL_STUB_LIB_SPEC=\"`echo "${TCL_STUB_LIB_SPEC}" | sed -e 's/"/\\\\"/g'`\""
d1580 1
a1580 1
    BUILD_TCLSH="${TCL_BIN_DIR}"/tclsh
d1607 2
a1608 2
srcdir="`cd "$srcdir" ; pwd`"
TK_SRC_DIR="`cd "$srcdir"/..; pwd`"
d6864 1
a6864 1
        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE)'
d6873 1
a6873 1
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE)'
d6878 1
a6878 1
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)"/$(LIB_FILE) ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(LIB_FILE))'
d6890 1
a6890 1
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'
d6895 1
a6895 1
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)"/$(STUB_LIB_FILE) ; (cd "$(LIB_INSTALL_DIR)" ; $(RANLIB) $(STUB_LIB_FILE))'
d10610 1
a10610 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name "${DYLIB_INSTALL_DIR}"/${TK_LIB_FILE} -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp "$(TCL_BIN_DIR)"/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
d10638 2
a10639 2
    TK_BUILD_LIB_SPEC="-F\"`pwd`\" -framework Tk"
    TK_LIB_SPEC="-F\"${libdir}\" -framework Tk"
d10649 1
a10649 1
    EXTRA_BUILD_HTML='@@ln -fs contents.htm "$(HTML_INSTALL_DIR)"/TkTOC.html'
d10675 2
a10676 2
        TK_BUILD_LIB_SPEC="-L\"`pwd`\" ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L\"${libdir}\" ${TK_LIB_FLAG}"
d10682 2
a10683 2
            TK_BUILD_LIB_SPEC="-Wl,-bI:\"`pwd`\"/${TK_BUILD_EXP_FILE} -L\"`pwd`\""
            TK_LIB_SPEC="-Wl,-bI:\"${libdir}\"/${TK_EXP_FILE} -L\"`pwd`\""
d10685 2
a10686 2
            TK_BUILD_LIB_SPEC="-bI:\"`pwd`\"/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:\"${libdir}\"/${TK_EXP_FILE}"
d10698 3
a10700 3
	EXTRA_INSTALL_BINARIES='@@echo "Installing $(TK_RSRC_FILE) to $(LIB_INSTALL_DIR)" && $(INSTALL_DATA) $(TK_RSRC_FILE) "$(LIB_INSTALL_DIR)"'
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc \"`pwd`\"/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc \"${libdir}\"/\${TK_RSRC_FILE}"
d10721 2
a10722 2
TK_BUILD_STUB_LIB_SPEC="-L\"`pwd`\" ${TK_STUB_LIB_FLAG}"
TK_STUB_LIB_SPEC="-L\"${TK_STUB_LIB_DIR}\" ${TK_STUB_LIB_FLAG}"
@


1.148.2.17
log
@merge updates from HEAD
@
text
@d1509 1
a1509 1
			    TCL_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}"
d1515 1
a1515 1
		    TCL_STUB_LIB_SPEC="-L`echo "${TCL_BIN_DIR}"  | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
d1524 1
a1524 1
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
d1526 1
a1526 1
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
d10638 2
a10639 2
    TK_BUILD_LIB_SPEC="-F`pwd | sed -e 's/ /\\\\ /g'` -framework Tk"
    TK_LIB_SPEC="-F${libdir} -framework Tk"
d10675 2
a10676 2
        TK_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d10682 2
a10683 2
            TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd | sed -e 's/ /\\\\ /g'`/${TK_BUILD_EXP_FILE} -L`pwd | sed -e 's/ /\\\\ /g'`"
            TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L${libdir}"
d10685 2
a10686 2
            TK_BUILD_LIB_SPEC="-bI:`pwd | sed -e 's/ /\\\\ /g'`/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"
d10699 2
a10700 2
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc `pwd | sed -e 's/ /\\\\ /g'`/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc ${libdir}/\${TK_RSRC_FILE}"
d10721 2
a10722 2
TK_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TK_STUB_LIB_FLAG}"
TK_STUB_LIB_SPEC="-L${TK_STUB_LIB_DIR} ${TK_STUB_LIB_FLAG}"
@


1.148.2.18
log
@merge updates from HEAD
@
text
@d5646 8
d6688 1
a6688 1
			SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
@


1.148.2.19
log
@merge updates from 8.5 branch
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".3b1"
d6628 2
a6629 9
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				{ echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;};;
			esac
d6634 2
a6635 8
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				CFLAGS="$CFLAGS -xarch=amd64"
				LDFLAGS="$LDFLAGS -xarch=amd64";;
			esac
a6650 169
	    #--------------------------------------------------------------------
	    # On Solaris 5.x i386 with the sunpro compiler we need to link
	    # with sunmath to get floating point rounding control
	    #--------------------------------------------------------------------
	    if test "$GCC" = yes; then
  use_sunmath=no
else

		arch=`isainfo`
		echo "$as_me:$LINENO: checking whether to use -lsunmath for fp rounding control" >&5
echo $ECHO_N "checking whether to use -lsunmath for fp rounding control... $ECHO_C" >&6
		if test "$arch" = "amd64 i386"; then

			echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
			MATH_LIBS="-lsunmath $MATH_LIBS"
			if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking sunmath.h usability" >&5
echo $ECHO_N "checking sunmath.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <sunmath.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking sunmath.h presence" >&5
echo $ECHO_N "checking sunmath.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sunmath.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: sunmath.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: sunmath.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: sunmath.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: sunmath.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: sunmath.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: sunmath.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: sunmath.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: sunmath.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: sunmath.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for sunmath.h" >&5
echo $ECHO_N "checking for sunmath.h... $ECHO_C" >&6
if test "${ac_cv_header_sunmath_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_sunmath_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_sunmath_h" >&5
echo "${ECHO_T}$ac_cv_header_sunmath_h" >&6

fi


			use_sunmath=yes

else

			echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
			use_sunmath=no

fi


fi


d6665 7
a6671 14
		    if test "$arch" = "sparcv9 sparc"; then

			# We need to specify -static-libgcc or we need to
			# add the path to the sparv9 libgcc.
			SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
			# for finding sparcv9 libgcc, get the regular libgcc
			# path, remove so name and append 'sparcv9'
			#v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
			#CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"

else
  if test "$arch" = "amd64 i386"; then

			SHLIB_LD="$SHLIB_LD -m64 -static-libgcc"
a6674 4
fi


fi
a6675 5

else

		if test "$use_sunmath" = yes; then
  textmode=textoff
a6676 2
  textmode=text
fi
d6680 1
a6680 1
			SHLIB_LD="\${CC} -G -z $textmode \${LDFLAGS}";;
d6682 1
a6682 1
			SHLIB_LD="/usr/ccs/bin/ld -G -z $textmode";;
d9401 1
a9401 1
  # Guess where to find include files, by looking for Intrinsic.h.
d9409 1
a9409 1
#include <X11/Intrinsic.h>
d9436 1
a9436 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d9450 1
a9450 1
  LIBS="-lXt $LIBS"
d9457 1
a9457 1
#include <X11/Intrinsic.h>
d9461 1
a9461 1
XtMalloc (0)
@


1.148.2.20
log
@        * generic/tk.h:         Bump to 8.5.3 for release.
        * library/tk.tcl:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * README:

        * unix/configure:       autoconf-2.59
        * win/configure:

        * changes:      Updates for 8.5.3 release.
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL=".3"
d9601 1
a9601 1
  # Guess where to find include files, by looking for Xlib.h.
d9609 1
a9609 1
#include <X11/Xlib.h>
d9636 1
a9636 1
  if test -r "$ac_dir/X11/Xlib.h"; then
d9650 1
a9650 1
  LIBS="-lX11 $LIBS"
d9657 1
a9657 1
#include <X11/Xlib.h>
d9661 1
a9661 1
XrmInitialize ()
@


1.147
log
@	* unix/configure.in: fix for default case in tk debug build detection.
	* unix/configure: autoconf-2.59
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="a6"
d8781 1
a8781 1
  # Guess where to find include files, by looking for Intrinsic.h.
d8789 1
a8789 1
#include <X11/Intrinsic.h>
d8816 1
a8816 1
  if test -r "$ac_dir/X11/Intrinsic.h"; then
d8830 1
a8830 1
  LIBS="-lXt $LIBS"
d8837 1
a8837 1
#include <X11/Intrinsic.h>
d8841 1
a8841 1
XtMalloc (0)
@


1.146
log
@	* unix/configure.in: install license.terms into Tk.framework; fix tk
	debug build detection.
	* unix/configure: autoconf-2.59
@
text
@d8668 1
a8668 1
    if test "${enable_symbols}" != no; then
@


1.145
log
@	* generic/tkMain.c (Tk_MainEx): replicate macosx-specific code from
	TkpInit() that ensures the console window appears when wish is started
	from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24
	change rendered the corresponding code in TkpInit() ineffective in wish
	because Tk_MainEx() sets tcl_interactive before calling TkpInit().

	* generic/ttk/ttkGenStubs.tcl (new): add ttk-specific genstubs.tcl from
	* unix/Makefile.in (genstubs):       tile and run it from 'genstubs'
	target, restores ability to generate all of Tk's stub sources.

	* generic/ttk/ttkTreeview.c: #ifdef out unused declaration.

	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): add fix for
	libraries loaded with a DYLD_IMAGE_SUFFIX.

	* macosx/Wish.xcodeproj/project.pbxproj: ensure gcc version used by
	* macosx/Wish.xcodeproj/default.pbxuser: Xcode and configure/make are
	* macosx/Wish-Common.xcconfig:		 consistent and independent of
	gcc_select default and CC env var; fixes for Xcode 3.0.

	* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
	* unix/configure: autoconf-2.59
@
text
@d8668 1
a8668 1
    if test "${enable_symbols}" = yes; then
d10024 1
@


1.144
log
@	* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
	* unix/configure: autoconf-2.59
@
text
@d5941 1
a5941 1
		"`echo "${CFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
@


1.143
log
@	* unix/tcl.m4: use gcc4's __attribute__((__visibility__("hidden"))) if
	available to define MODULE_SCOPE effective on all platforms.
	* unix/configure.in: add caching to -pipe check.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59
@
text
@d5177 5
a5181 1
	    SHLIB_SUFFIX=".sl"
@


1.142
log
@	* unix/tcl.m4: integrate CPPFLAGS into CFLAGS as late as possible and
	move (rather than duplicate) -isysroot flags from CFLAGS to CPPFLAGS to
	avoid errors about multiple -isysroot flags from some older gcc builds.

	* unix/configure: autoconf-2.59
@
text
@d3472 2
a3473 3
if test -z "$no_pipe"; then
if test -n "$GCC"; then
  echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
d3475 6
a3480 3
  OLDCC="$CC"
  CC="$CC -pipe"
  cat >conftest.$ac_ext <<_ACEOF
d3517 1
a3517 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3522 1
a3522 3
CC="$OLDCC"
    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d3525 1
d3527 5
d4627 72
d6161 1
d6164 1
a6164 1
#define MAC_OSX_TCL 1
d6167 1
d6170 1
a6170 1
#define MODULE_SCOPE __private_extern__
@


1.141
log
@	* macosx/Wish.xcodeproj/project.pbxproj: remove libtommath defines.

	* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
	present in CFLAGS to avoid discrepancies between what headers configure
	sees during preprocessing tests and compiling tests.

	* unix/configure: autoconf-2.59
@
text
@a4749 1
    CFLAGS="${CPPFLAGS} ${CFLAGS}"
d5646 2
a5647 2
	    # preprocessing tests and compiling tests, add any -isysroot and
	    # -mmacosx-version-min flags present in CFLAGS to CPPFLAGS:
d5649 1
a5649 1
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=1;i<=NF;i++) \
d5651 3
d6442 2
d10202 1
@


1.140
log
@	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
	flag succeeds before enabling 64bit build.
	* unix/configure: autoconf-2.59
@
text
@d4750 1
d5646 6
@


1.139
log
@Bug 1609616
@
text
@a5645 1
		do64bit_ok=yes
d5648 62
a5709 1
			CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5";;
d5711 62
a5772 1
			CFLAGS="$CFLAGS -arch x86_64";;
d5775 1
a5775 2
echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;}
			do64bit_ok=no;;
@


1.138
log
@Corrected Xft configuration so that Xft
actually does get turned on if available
@
text
@d9613 2
@


1.137
log
@	* tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]
	* configure: autoconf-2.59
@
text
@d9613 2
@


1.136
log
@	* macosx/Wish.xcodeproj/project.pbxproj: remove tclParseExpr.c and
	bwidget.test.

	* unix/tcl.m4 (Darwin): suppress linker arch warnings when building
	universal for both 32 & 64 bit and no 64bit CoreFoundation is
	available; sync with tcl tcl.m4 change.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59
@
text
@d5370 1
a5370 1
	    SHLIB_LD="${CC} -shared"
d5379 64
d9443 1
a9443 1
        echo "$as_me:$LINENO: result: $enable_xft" >&5
d9446 8
a9453 8
        found_xft="yes"
        XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
        XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
        if test "$found_xft" = "no" ; then
            found_xft=yes
            XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
            XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
        fi
d9456 1
a9456 1
        if test "$found_xft" = "yes" ; then
d9513 1
a9513 1
                found_xft=no
d9518 4
a9521 4
            CFLAGS=$tk_oldCFlags
            LIBS=$tk_oldLibs
        fi
        if test "$found_xft" = "yes" ; then
d9600 1
a9600 1
                found_xft=no
d9604 6
a9609 6
            CFLAGS=$tk_oldCFlags
            LIBS=$tk_oldLibs
        fi
        if test "$found_xft" = "no" ; then
            if test "$enable_xft" = "yes" ; then
                { echo "$as_me:$LINENO: WARNING: Can't find xft configuration, or xft is unusable" >&5
d9611 3
a9613 3
            fi
            enable_xft=no
        fi
d9616 1
a9616 1
        UNIX_FONT_OBJS=tkUnixRFont.o
d9623 1
a9623 1
        UNIX_FONT_OBJS=tkUnixFont.o
@


1.135
log
@Bug 1592667
@
text
@d4331 105
d5887 1
@


1.134
log
@fixed typo in last commit
@
text
@d9286 151
d9439 2
a9440 2
                { echo "$as_me:$LINENO: WARNING: Can't find xft configuration" >&5
echo "$as_me: WARNING: Can't find xft configuration" >&2;}
@


1.133
log
@Silence warnings about Xft unless Xft is requested explicitly.
@
text
@d9272 1
a9272 1
    if test "$enable_xft" == "no" ; then
@


1.132
log
@correct typo
@
text
@d9268 1
a9268 1
  enable_xft="yes"
d9272 11
a9282 7
    if test "$enable_xft" = "yes" ; then
        XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || enable_xft="no"
        XFT_LIBS=`xft-config --libs 2>/dev/null` || enable_xft="no"
        if test "$enable_xft" = "no" ; then
            enable_xft=yes
            XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || enable_xft="no"
            XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || enable_xft="no"
d9284 5
a9288 2
        if test "$enable_xft" = "no" ; then
            { echo "$as_me:$LINENO: WARNING: Can't find xft configuration" >&5
d9290 2
a9293 2
    echo "$as_me:$LINENO: result: $enable_xft" >&5
echo "${ECHO_T}$enable_xft" >&6
@


1.131
log
@make --enable-xft the default
@
text
@d9280 1
a9280 1
        if test "$enable_xft" == "no" ; then
@


1.130
log
@        * README:               Bump version number to 8.5a6
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d864 1
a864 1
  --enable-xft            use freetype/fontconfig/xft (default: off)
d9268 1
a9268 1
  enable_xft="no"
@


1.129
log
@
	* generic/tkConsole.c: TIP #268 update regarding registered package
	* generic/tkMain.c:    version, now using full patchlevel instead of
	* generic/tkWindow.c:  major.minor
	* library/tk.tcl:
	* unix/configure:
	* unix/Makefile.in:
	* unix/tcl.m4:
	* win/configure:
	* win/Makefile.in:
	* win/makefile.vc:
	* win/rules.vc:
	* win/tcl.m4:
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="a5"
@


1.128
log
@	* macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgr
	* macosx/tkMacOSXDefault.h: to retrieve platform std colors for text
	* macosx/tkMacOSXPort.h:    selections, add "systemHighlightSecondary"
	color name for standard color of inactive selections, use this color as
	default for text widget -inactiveselectbackground to implement platform
	standard look for inactive text selections.

	* library/text.tcl (aqua): remove focus bindings to set selection color.

	* generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show inactive
	* generic/tkTextDisp.c (GetStyle):        text selection when text
	                                          widget is in disabled state.

	* generic/tkEntry.c (DisplayEntry): change default TkAqua selection
	* macosx/tkMacOSXDefault.h:         relief to "flat" (platform std).

	* generic/tkText.c (CreateWidget): fix bug leading to default text
	selection relief string DEF_TEXT_SELECT_RELIEF being ignored.

	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse
	event delivery to background windows with kWindowNoActivatesAttribute
	(e.g. overrideredirect windows), as these never come to the foreground
	they would not receive any mouse events otherwise. [Bug 1472624]

	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not
	send focus events to any windows with kWindowNoActivatesAttribute.

	* macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic
	XColor computation from pixel values, enough to make tkImg's window.c
	happy, fixes img::window failures reported on tcl-mac.

	* macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672]

	* macosx/GNUmakefile: workaround bug in 'cp -pRH' on Darwin 6 and
	earlier, fixes 'make embedded' failure reported on tcl-mac; fix error
	from 'make deploy' with same build tree as previous 'make embedded'.

	* macosx/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file.

	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo.

	* unix/tcl.m4: sync with tcl/unix/tcl.m4.
	* unix/configure: autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCLSH_PROG BUILD_TCLSH MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d1541 1
d10267 1
@


1.127
log
@	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
	universal builds including x86_64, for 64-bit CoreFoundation on Leopard
	and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET.
	* unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for
	combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11
	can be built for 64-bit at present.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59

	* macosx/Wish.xcodeproj/project.pbxproj: switch native release targets
	to use DWARF with dSYM, Xcode 3.0 changes.
	* macosx/README: updates for x86_64 and Xcode 2.3.

	* macosx/tkMacOSXInit.c (TkpInit): when available, use public
	TransformProcessType() API instead of CPSEnableForegroundOperation() SPI
	to notify the window server that we are a GUI application.

	* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger.

	* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent):
	* macosx/tkMacOSXMenus.c (GenerateEditEvent):
	* macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure
	before use to ensure all fields are initialized. [Bug 1542205]
@
text
@d8206 1
a8206 1
    # builds as neither TkAqua nor TkX11 can be built for 64-bit at present.
@


1.126
log
@cleanup quoting and whitespace
@
text
@d5477 15
a5491 1
		CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
d5560 2
a5561 2
	    test -z "${MACOSX_DEPLOYMENT_TARGET}" || \
		test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print $2}'`" -lt 4 && \
d5649 5
a5653 5
		    if test $do64bit_ok = no ; then
			# remove -arch ppc64 from CFLAGS while testing presence
			# of CF, otherwise all archs will have CF disabled.
			# CF for ppc64 is disabled in tclUnixPort.h instead.
			CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
d5716 67
d8205 4
a8208 5
    if test $do64bit_ok = no ; then
	# remove -arch ppc64 from CFLAGS for fat builds as neither Aqua nor X11
	# can be built for 64bit at present (no 64bit GUI libraries).
	CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/g'`"
    fi
@


1.125
log
@	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
	* unix/tkUnixSend.c (Tk_GetUserInactiveTime):             for weakly
	importing symbols not available on OSX 10.2 or 10.3, enables binaires
	built on later OSX versions to run on earlier ones.
	* macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on
	                                         extra warnings.
	* macosx/README: document how to enable weak-linking; cleanup.
	* unix/configure.in: add check on Darwin-X11 for ld support of -weak-l
	* unix/tcl.m4:       flag and weak-link libXss if possible as it is not
	available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua;
	move Darwin specific checks & defines that are only relevant to the tcl
	build out of tcl.m4; restrict framework option to Darwin; cleanup
	quoting and help messages.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59

	* macosx/GNUmakefile: enable xft for TkX11 build.
	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
	verify validity of context returned from QDBeginCGContext() before use.
	* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.

	* macosx/tkMacOSXEvent.h:      standardize MAC_OS_X_VERSION_MAX_ALLOWED
	* macosx/tkMacOSXMenu.c:       checks per QA1316, ensure define can be
	* macosx/tkMacOSXMenubutton.c: overriden on command line (from default
	* macosx/tkMacOSXMenus.c:      of current OS version).
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXWm.c:

	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): fix
	signed-with-unsigned comparison and other warnings from gcc4 -Wextra.
@
text
@d5298 1
a5298 1
	   SHLIB_LD="${CC} -shared"
@


1.124
log
@sync with tcl
@
text
@d859 3
a861 3
  --enable-corefoundation use CoreFoundation API on MacOSX (default: yes)
  --disable-load          disallow dynamic loading and "load" command
                          (default: enabled)
d863 2
a864 3
  --enable-aqua           enable Aqua windowingsystem on Mac OS X (default:
                          off)
  --enable-xft            Use freetype/fontconfig/xft (default: off)
d4164 2
a4165 1
  cat >conftest.$ac_ext <<_ACEOF
d4300 2
a4301 1
  cat >conftest.$ac_ext <<_ACEOF
d5568 1
a5568 693
int i;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_ld_search_paths_first=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_ld_search_paths_first=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		LDFLAGS=$hold_ldflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6
	    if test $tcl_cv_ld_search_paths_first = yes; then
		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
	    fi
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
	    PLAT_OBJS='${MAC_OSX_OBJS}'
	    PLAT_SRCS='${MAC_OSX_SRCS}'
	    echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
if test "${enable_corefoundation+set}" = set; then
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
else
  tcl_corefoundation=yes
fi;
	    echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
echo "${ECHO_T}$tcl_corefoundation" >&6
	    if test $tcl_corefoundation = yes; then
		echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6
if test "${tcl_cv_lib_corefoundation+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

		    hold_libs=$LIBS; hold_cflags=$CFLAGS
		    if test $do64bit_ok = no ; then
			# remove -arch ppc64 from CFLAGS while testing presence
			# of CF, otherwise all archs will have CF disabled.
			# CF for ppc64 is disabled in tclUnixPort.h instead.
			CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
		    fi
		    LIBS="$LIBS -framework CoreFoundation"
		    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <CoreFoundation/CoreFoundation.h>
int
main ()
{
CFBundleRef b = CFBundleGetMainBundle();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_lib_corefoundation=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_lib_corefoundation=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
		    LIBS=$hold_libs; CFLAGS=$hold_cflags
fi
echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6
		if test $tcl_cv_lib_corefoundation = yes; then
		    LIBS="$LIBS -framework CoreFoundation"

cat >>confdefs.h <<\_ACEOF
#define HAVE_COREFOUNDATION 1
_ACEOF


for ac_header in libkern/OSAtomic.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


for ac_func in OSSpinLockLock
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done


for ac_func in pthread_atfork
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

		fi
	    fi

for ac_header in copyfile.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <$ac_header>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF

fi

done


for ac_func in copyfile
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
d5595 1
a5595 1
  eval "$as_ac_var=yes"
d5600 1
a5600 1
eval "$as_ac_var=no"
d5604 1
d5606 25
a5630 40
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done


cat >>confdefs.h <<\_ACEOF
#define MAC_OSX_TCL 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define USE_VFORK 1
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define TCL_DEFAULT_ENCODING "utf-8"
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define MODULE_SCOPE __private_extern__
_ACEOF


cat >>confdefs.h <<\_ACEOF
#define TCL_LOAD_FROM_MEMORY 1
_ACEOF

	    # prior to Darwin 7, realpath is not threadsafe, so don't
	    # use it when threads are enabled, c.f. bug # 711232:
	    echo "$as_me:$LINENO: checking for realpath" >&5
echo $ECHO_N "checking for realpath... $ECHO_C" >&6
if test "${ac_cv_func_realpath+set}" = set; then
d5633 10
a5642 1
  cat >conftest.$ac_ext <<_ACEOF
d5648 1
a5648 37
/* Define realpath to an innocuous variant, in case <limits.h> declares realpath.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define realpath innocuous_realpath

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char realpath (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef realpath

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char realpath ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_realpath) || defined (__stub___realpath)
choke me
#else
char (*f) () = realpath;
#endif
#ifdef __cplusplus
}
#endif

d5652 1
a5652 1
return f != realpath;
d5679 1
a5679 1
  ac_cv_func_realpath=yes
d5684 1
a5684 1
ac_cv_func_realpath=no
d5688 1
d5690 8
a5697 2
echo "$as_me:$LINENO: result: $ac_cv_func_realpath" >&5
echo "${ECHO_T}$ac_cv_func_realpath" >&6
d5699 3
a5701 3
	    if test $ac_cv_func_realpath = yes -a "${TCL_THREADS}" = 1 \
		    -a `uname -r | awk -F. '{print $1}'` -lt 7 ; then
		ac_cv_func_realpath=no
d5703 10
d7284 2
a7285 1
  cat >conftest.$ac_ext <<_ACEOF
d7340 2
a7341 1
  cat >conftest.$ac_ext <<_ACEOF
d8034 2
a8035 1
  cat >conftest.$ac_ext <<_ACEOF
d8096 2
d8106 2
a8107 2
        if test $tcl_corefoundation = no; then
            { echo "$as_me:$LINENO: WARNING: Aqua can only be used when CoreFoundation is available" >&5
d8109 4
a8112 3
            tk_aqua=no
        elif test ! -d /System/Library/Frameworks/Carbon.framework; then
            { echo "$as_me:$LINENO: WARNING: Aqua can only be used when Carbon is available" >&5
d8114 7
a8120 2
            tk_aqua=no
        fi
d8122 2
d8129 61
a8854 1

d9147 7
a9153 1
		XLIBSW="$XLIBSW -lXss -lXext"
d9180 2
a9188 1

a9191 2
        echo "$as_me:$LINENO: checking for xft configuration" >&5
echo $ECHO_N "checking for xft configuration... $ECHO_C" >&6
d9199 1
a9199 4
        if test "$enable_xft" = "yes" ; then
            echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
        else
d9204 2
a9218 1

d9323 2
a9324 1
    echo "$as_me:$LINENO: checking how to package libraries" >&5
d9326 1
a9326 1
    # Check whether --enable-framework or --disable-framework was given.
d9329 1
a9329 1
  tcl_ok=$enableval
d9331 1
a9331 1
  tcl_ok=no
d9333 3
a9335 14

    if test "${enable_framework+set}" = set; then
	enableval="$enable_framework"
	tcl_ok=$enableval
    else
	tcl_ok=no
    fi

    if test "$tcl_ok" = "yes" ; then
	echo "$as_me:$LINENO: result: framework" >&5
echo "${ECHO_T}framework" >&6
	FRAMEWORK_BUILD=1
	if test "${SHARED_BUILD}" = "0" ; then
	    { echo "$as_me:$LINENO: WARNING: Frameworks can only be built if --enable-shared is yes" >&5
d9337 7
a9343 1
	    FRAMEWORK_BUILD=0
d9345 12
a9356 3
	if test $tcl_corefoundation = no; then
	    { echo "$as_me:$LINENO: WARNING: Frameworks can only be used when CoreFoundation is available" >&5
echo "$as_me: WARNING: Frameworks can only be used when CoreFoundation is available" >&2;}
a9358 4
    else
	echo "$as_me:$LINENO: result: standard shared library" >&5
echo "${ECHO_T}standard shared library" >&6
	FRAMEWORK_BUILD=0
@


1.123
log
@autoconf-2.59
@
text
@d5475 2
a5476 2
	        do64bit_ok=yes
	        CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
d5485 3
a5487 3
	        hold_ldflags=$LDFLAGS
	        LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
	        cat >conftest.$ac_ext <<_ACEOF
d5533 1
a5533 1
	        LDFLAGS=$hold_ldflags
d5538 1
a5538 1
	        SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
d5555 3
a5557 3
	        hold_ldflags=$LDFLAGS
	        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
	        cat >conftest.$ac_ext <<_ACEOF
d5603 1
a5603 1
	        LDFLAGS=$hold_ldflags
d5608 1
a5608 1
	        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
d5615 1
a5615 1
            echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
d5617 1
a5617 1
            # Check whether --enable-corefoundation or --disable-corefoundation was given.
d5624 1
a5624 1
            echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
d5626 2
a5627 2
            if test $tcl_corefoundation = yes; then
                echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
d5633 9
a5641 9
                    hold_libs=$LIBS; hold_cflags=$CFLAGS
                    if test $do64bit_ok = no ; then
                        # remove -arch ppc64 from CFLAGS while testing presence
                        # of CF, otherwise all archs will have CF disabled.
                        # CF for ppc64 is disabled in tclUnixPort.h instead.
                        CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
                    fi
                    LIBS="$LIBS -framework CoreFoundation"
                    cat >conftest.$ac_ext <<_ACEOF
d5687 1
a5687 1
                    LIBS=$hold_libs; CFLAGS=$hold_cflags
d5691 2
a5692 2
                if test $tcl_cv_lib_corefoundation = yes; then
                    LIBS="$LIBS -framework CoreFoundation"
a5697 2
                fi
	    fi
d5951 104
d6425 2
a6426 2
	            -a `uname -r | awk -F. '{print $1}'` -lt 7 ; then
	        ac_cv_func_realpath=no
@


1.122
log
@        * README:               Bump version number to 8.5a4
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.59
        * win/configure:
@
text
@d4538 1
a4538 1
		    tcl_cv_sys_version=MP-RAS-`awk '{print }' /etc/.relid`
@


1.121
log
@	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors
	in setting/removing window proxy icons via [wm attributes -titlepath]
	and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]

	* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
	define on Darwin. [Tcl Bug 1457515]
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59
@
text
@d1340 1
a1340 1
TK_PATCH_LEVEL="a4"
@


1.120
log
@	* generic/tkFont.c:             implementation of ATSUI text rendering
	* generic/tkInt.h:              in TkAqua provided by Benjamin
	* generic/tkTextDisp.c:         Riefenstahl. [Patch 638966]
	* library/demos/unicodeout.tcl:
	* macosx/tkMacOSXFont.h (new file):
	* macosx/tkMacOSXFont.c:
	* tests/font.test:
	* unix/tkUnixFont.c:
	* win/tkWinFont.c:

	* generic/tkFont.c:             moved MODULE_SCOPE declarations of
	* generic/tkFont.h:             font helper procs into header files.
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXFont.h:
	* macosx/tkMacOSXMenubutton.c:

	* macosx/Wish.xcode/project.pbxproj:     add new tkMacOSXFont.h file,
	* macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping
	as it interferes with -sectcreate (rdar://4486223).

	* macosx/Wish.xcode/default.pbxuser:     add TCLLIBPATH=/Library/Tcl
	* macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest.

	* unix/configure.in: fix detection of symbols build when enabling
	TkAqua debug code; filter nm output of libtclstub better to avoid
	error on intel macs [Bug 1415789].
	* unix/configure: autoconf-2.59
@
text
@a6228 5

cat >>confdefs.h <<\_ACEOF
#define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING 1
_ACEOF

@


1.119
log
@Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other *BSD variants
[Bug 1334613].  Regenerated configure script.
@
text
@d1342 1
a1342 1
LOCALES="cs de el en en_gb es fr it nl ru"
d8747 1
a8747 1
    if test "${enable_symbols+set}" = set; then
d9903 1
a9903 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_ > $$f && echo $$f)'
@


1.118
log
@	* unix/configure:    minor fix to Darwin specific code removing
	* unix/configure.in: 64bit flags from CFLAGS for Tk build.
@
text
@d5344 1
a5344 1
	    SHLIB_LD_LIBS=""
@


1.117
log
@	* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
	* macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded
	libraries by manually walking their symbol table; only to be used for
	debugging purposes, may break unexpectedly in the future. Needed to get
	access to private_extern internal debugging functions in HIToolbox.

	* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger.
	* macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure.
	* macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code.
	* macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.

	* macosx/Wish.xcode/project.pbxproj:     fix copy to tktest resource
	* macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.

	* macosx/Wish.xcode/default.pbxuser:     add widget demo as argument to
	* macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).

	* unix/configure:    add caching, use AC_CACHE_CHECK instead of
	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
	* unix/tcl.m4:       quoting, sync relevant tclconfig/tcl.m4 changes and
	gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default
	argument, Darwin improvements to SC_LOAD_*CONFIG.
@
text
@d8732 1
a8732 1
	CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
@


1.116
log
@	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
	bash-3.1+ [Bug 1377619] (schafer)
@
text
@d1412 14
d1429 2
d1467 2
a1468 2
	    echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
echo "${ECHO_T}found $TCL_BIN_DIR/tclConfig.sh" >&6
d1473 2
a1474 2
    echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of $TCL_BIN_DIR/tclConfig.sh... $ECHO_C" >&6
d1476 1
a1476 1
    if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
d1479 1
a1479 1
	. $TCL_BIN_DIR/tclConfig.sh
d1481 2
a1482 2
        echo "$as_me:$LINENO: result: file not found" >&5
echo "${ECHO_T}file not found" >&6
d1485 4
a1488 1
    #
d1495 1
a1495 3
    #

    if test -f $TCL_BIN_DIR/Makefile ; then
d1499 21
a1521 1
    #
a1522 4
    # (@@@@@@ Is this still the case?)
    #

    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
a1524 2

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
a1543 1

d1613 1
d1661 1
a1661 1
	    yes) enableval="tk";;
a3533 2
    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
d3542 4
a3546 7
	if test "${TCL_THREADS}" = 1; then
	    echo "$as_me:$LINENO: result: yes (threaded core)" >&5
echo "${ECHO_T}yes (threaded core)" >&6
	else
	    echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	fi
a3547 5

cat >>confdefs.h <<\_ACEOF
#define TCL_THREADS 1
_ACEOF

d3868 1
a3868 1
	    	if test "$tcl_ok" = "no"; then
d3944 2
a3945 2
			{ echo "$as_me:$LINENO: WARNING: \"Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile...\"" >&5
echo "$as_me: WARNING: \"Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile...\"" >&2;}
d3947 1
a3947 1
	    	fi
d4162 1
a4162 1
	    if test "${tcl_cv_grep_pthread_attr_get_np+set}" = set; then
d4183 1
a4183 2

	    echo "$as_me:$LINENO: result: $tcl_cv_grep_pthread_attr_get_np" >&5
d4297 1
a4297 1
		if test "${tcl_cv_grep_pthread_getattr_np+set}" = set; then
d4318 1
a4318 2

		echo "$as_me:$LINENO: result: $tcl_cv_grep_pthread_getattr_np" >&5
d4332 18
d4356 1
d4489 1
a4489 1

d4491 1
a4491 1
  enableval="no"
a4492 6

    if test "$enableval" = "yes"; then
	do64bit=yes
    else
	do64bit=no
    fi
d4503 1
a4503 1

d4505 1
a4505 1
  enableval="no"
d4507 2
d4510 1
a4510 1
    if test "$enableval" = "yes"; then
a4512 3
	do64bitVIS=yes
    else
	do64bitVIS=no
a4513 2
    echo "$as_me:$LINENO: result: $do64bitVIS" >&5
echo "${ECHO_T}$do64bitVIS" >&6
d4516 8
a4523 2
    # for the system.  This can usually be done via the "uname" command, but
    # there are a few systems, like Next, where this doesn't work.
d4525 2
a4526 10
    echo "$as_me:$LINENO: checking system version (for dynamic loading)" >&5
echo $ECHO_N "checking system version (for dynamic loading)... $ECHO_C" >&6
    if test -f /usr/lib/NextStep/software_version; then
	system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
    else
	system=`uname -s`-`uname -r`
	if test "$?" -ne 0 ; then
	    echo "$as_me:$LINENO: result: unknown (can't find uname command)" >&5
echo "${ECHO_T}unknown (can't find uname command)" >&6
	    system=unknown
d4528 8
a4535 2
	    # Special check for weird MP-RAS system (uname returns weird
	    # results, and the version is kept in special file).
d4537 6
a4542 2
	    if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
		system=MP-RAS-`awk '{print }' /etc/.relid`
a4543 5
	    if test "`uname -s`" = "AIX" ; then
		system=AIX-`uname -v`.`uname -r`
	    fi
	    echo "$as_me:$LINENO: result: $system" >&5
echo "${ECHO_T}$system" >&6
d4545 6
a4550 1
    fi
d4701 8
a4708 3
		if test "${CC}" != "cc_r" ; then
		    CC=${CC}_r
		fi
d5087 1
a5087 1
		    hpux_arch=`gcc -dumpmachine`
d5092 1
a5092 1
			    SHLIB_LD="gcc -shared"
d5098 2
a5099 2
			    { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;}
d5309 1
a5309 1
            SHLIB_LD_LIBS='${LIBS}'
d5311 1
a5311 1
            CFLAGS_OPTIMIZE=-02
d5317 2
a5318 2
            LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
            ;;
d5352 5
a5356 1
	    cat >conftest.$ac_ext <<_ACEOF
d5370 1
a5370 3
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
d5372 1
a5372 4
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'

d5376 8
d5408 5
a5412 1
	    cat >conftest.$ac_ext <<_ACEOF
d5426 1
a5426 3
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
		 LDFLAGS=-Wl,-export-dynamic
d5428 1
a5428 4
  echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
		LDFLAGS=""

d5432 8
d6547 2
a6599 1
	    hold_ldflags=$LDFLAGS
d6602 7
a6608 2
	    LDFLAGS="$LDFLAGS -Wl,-Bexport"
	    cat >conftest.$ac_ext <<_ACEOF
d6645 1
a6645 1
  found=yes
d6650 1
a6650 1
LDFLAGS=$hold_ldflags found=no
d6654 7
a6660 2
	    echo "$as_me:$LINENO: result: $found" >&5
echo "${ECHO_T}$found" >&6
a6725 2
		RISCos-*)
		    ;;
a6727 2
		ULTRIX-4.*)
		    ;;
d6990 1
d7095 1
d7199 1
d7209 1
d7334 1
a7334 1
	if test "${tcl_cv_struct_dirent64+set}" = set; then
d7385 2
a7386 1

a7393 2
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_dirent64}" >&5
echo "${ECHO_T}${tcl_cv_struct_dirent64}" >&6
d7397 1
a7397 1
	if test "${tcl_cv_struct_stat64+set}" = set; then
d7448 2
a7449 1

a7456 2
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_stat64}" >&5
echo "${ECHO_T}${tcl_cv_struct_stat64}" >&6
d7631 1
a7947 1

d7951 1
a7951 1
if test $tcl_cv_type_fd_set = no; then
d7954 1
a7954 1
    if test "${tcl_cv_grep_fd_mask+set}" = set; then
d7975 1
a7975 2

    echo "$as_me:$LINENO: result: $tcl_cv_grep_fd_mask" >&5
d8321 1
a8321 1
	if test "${tcl_cv_strtod_buggy+set}" = set; then
d8326 1
a8326 1
  tcl_cv_strtod_buggy=0
d8366 1
a8366 1
  tcl_cv_strtod_buggy=1
d8373 1
a8373 1
tcl_cv_strtod_buggy=0
d8378 3
a8380 7

	if test "$tcl_cv_strtod_buggy" = 1; then
	    echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
	else
	    echo "$as_me:$LINENO: result: buggy" >&5
echo "${ECHO_T}buggy" >&6
a8695 1

d8720 2
a8721 2
            { echo "$as_me:$LINENO: WARNING: \"Aqua can only be used when CoreFoundation is available\"" >&5
echo "$as_me: WARNING: \"Aqua can only be used when CoreFoundation is available\"" >&2;}
d8724 2
a8725 2
            { echo "$as_me:$LINENO: WARNING: \"Aqua can only be used when Carbon is available\"" >&5
echo "$as_me: WARNING: \"Aqua can only be used when Carbon is available\"" >&2;}
d9195 2
a9196 2
	echo "$as_me:$LINENO: result: couldn't find any!  Using -lX11." >&5
echo "${ECHO_T}couldn't find any!  Using -lX11." >&6
d9887 2
a9888 2
	    { echo "$as_me:$LINENO: WARNING: \"Frameworks can only be built if --enable-shared is yes\"" >&5
echo "$as_me: WARNING: \"Frameworks can only be built if --enable-shared is yes\"" >&2;}
d9892 2
a9893 2
	    { echo "$as_me:$LINENO: WARNING: \"Frameworks can only be used when CoreFoundation is available\"" >&5
echo "$as_me: WARNING: \"Frameworks can only be used when CoreFoundation is available\"" >&2;}
@


1.115
log
@	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.
	* unix/configure: regen.
@
text
@d4505 1
a4505 1
		system=MP-RAS-`awk '{print }' /etc/.relid'`
@


1.114
log
@Darwin: disable ppc64 for fat builds since neither Aqua nor X11 is
available for 64 bit at present.
@
text
@d5489 2
a5490 2
	    if test -z "${MACOSX_DEPLOYMENT_TARGET}" -o \
		    `echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print $2}'` -lt 4; then
a5491 1
	    fi
@


1.113
log
@	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
	configure (flag can't be present twice, so can't be in both CFLAGS and
	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
	autoconf macros. Sync with tcl/unix/tcl.m4.

	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
	formatting/ordering differences with tcl/unix/configure.in.

	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
	linking the same as during configure (needed to avoid loosing any linker
	relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
	Avoid concurrent linking of wish and compiling of tkTestInit.o during
	parallel make, fix dependencies and flags for building tkMacOSXInit.o
	(checkstubs, checkexports): dependency and Darwin fixes
	(dist): add new macosx files.

	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
	* macosx/tkMacOSXCarbonEvents.c: install standard application event
	handler, add & call functions to start and stop carbon even timer that
	runs the tcl event loop periodically during a nested carbon event loop
	in the toolbox (e.g. during menutracking) to ensure tcl timers etc
	continue to fire, register app event handler for menu tracking and HI
	command carbon events, move menu event handling to new handlers for
	those carbon events, no longer register for/handle appleevent carbon
	event (now dealt with by standard application event handler), event
	debugging code dynamically acquires carbon event debugging functions to
	allow use on Tiger where they are no longer exported from HIToolbox.

	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
	address of a named symbol (from a loaded dynamic library) into new
	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.

	* macosx/tkMacOSXMenu.c (TkpNewMenu):
	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to  modern
	utf8 aware menu manager API, remove obsolete code, add error handling.

	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
	if necessary to allow compilation on OSX 10.2

	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
	executed.

	* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.

	* generic/tk.h: add/correct location of version numbers in macosx files.

	* generic/tkInt.h: clarify fat compile comment.

	* macosx/Wish.pbproj/default.pbxuser (new file):
	* macosx/Wish.pbproj/jingham.pbxuser:
	* macosx/Wish.pbproj/project.pbxproj:
	* macosx/Wish.xcode/default.pbxuser:
	* macosx/Wish.xcode/project.pbxproj:
	* macosx/Wish.xcodeproj/default.pbxuser (new file):
	* macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects
	for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with
	native tktest targets and support for universal (fat) compiles.

	* macosx/Tk-Info.plist (removed):
	* macosx/Wish-Info.plist (removed):
	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.

	* macosx/README: clarification/cleanup, document new Xcode projects and
	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).

	* unix/Makefile.in:
	* unix/aclocal.m4:
	* unix/configure.in:
	* macosx/configure.ac (new file): add support for inclusion of
	unix/configure.in by macosx/configure.ac, allows generation of a config
	headers enabled configure script in macosx (required by Xcode projects).

	* macosx/GNUmakefile: rename from Makefile to avoid overwriting by
	configure run in tk/macosx, add support for reusing configure cache,
	build target fixes.

	* generic/tk3d.h:
	* generic/tkButton.h:
	* generic/tkCanvas.c:
	* generic/tkCanvas.h:
	* generic/tkColor.h:
	* generic/tkEntry.h:
	* generic/tkFileFilter.h:
	* generic/tkFont.c:
	* generic/tkFont.h:
	* generic/tkImage.c:
	* generic/tkImgPhoto.c:
	* generic/tkInt.h:
	* generic/tkMenu.c:
	* generic/tkMenu.h:
	* generic/tkMenubutton.h:
	* generic/tkScale.h:
	* generic/tkScrollbar.h:
	* generic/tkSelect.h:
	* generic/tkStubInit.c:
	* generic/tkStubLib.c:
	* generic/tkText.h:
	* generic/tkUndo.h:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXFont.c:
	* macosx/tkMacOSXInt.h:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXSend.c:
	* macosx/tkMacOSXSubwindows.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXXStubs.c:
	* unix/tkUnixButton.c:
	* unix/tkUnixMenu.c:
	* xlib/xgc.c: ensure externally visible symbols not contained in stubs
	table are declared as MODULE_SCOPE (or as static if not used outside of
	own source file), #ifdef out a few Xlib and aqua functions that are
	never called. These changes allow 'make checkstubs' to complete without
	error on Darwin with gcc 4.

	* macosx/tkMacOSXTest.c:
	* macosx/tkMacOSXPort.h:
	* win/tkWinTest.c:
	* generic/tkInt.decls: add functions needed by tktest to internal stubs
	table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua
	Xlib stubs.

	* unix/tkUnixSend.c:
	* generic/tkText.c:
	* generic/tkTest.c: #ifdef unix only declarations.
	(TestmetricsCmd): unify win and mac implementation.
	(TestsendCmd): move to tkUnixSend.c to avoid access to global var.
	(TesttextCmd): move to tkText.c to avoid having to put all the internal
	text functions it uses into the stubs table.

	* generic/tkTextDisp.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.

	* macosx/tkMacOSXNotify.c:
	* macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.

	* generic/tkIntDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkStubInit.c:
	* unix/configure:
	* unix/tkConfig.h.in: regen.
@
text
@d8671 5
@


1.112
log
@Fix SHLIB_LD_LIBS for building tclkit on OpenBSD.
@
text
@d1336 1
d3075 157
d3233 4
a3236 7
for ac_header in limits.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d3239 2
a3240 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d3243 2
a3244 2
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
d3252 1
a3252 1
#include <$ac_header>
d3288 2
a3289 2
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
d3296 1
a3296 1
#include <$ac_header>
d3330 4
a3333 4
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
d3337 12
a3348 12
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
d3359 3
a3361 3
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
d3364 27
a3390 1
  eval "$as_ac_Header=\$ac_header_preproc"
d3392 9
a3400 2
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d3402 6
d3409 4
a3412 3
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d3414 4
d3419 6
d3426 1
d3428 5
a3432 1
done
d3434 1
d5221 25
a5245 22
	    if test "$have_dl" = yes; then
		SHLIB_LD="${CC} -shared"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS="-ldl"
		LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    else
		if test "${ac_cv_header_dld_h+set}" = set; then
  echo "$as_me:$LINENO: checking for dld.h" >&5
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6
if test "${ac_cv_header_dld_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
echo "${ECHO_T}$ac_cv_header_dld_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking dld.h usability" >&5
echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
d5247 14
a5260 133
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <dld.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking dld.h presence" >&5
echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <dld.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for dld.h" >&5
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6
if test "${ac_cv_header_dld_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_dld_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
echo "${ECHO_T}$ac_cv_header_dld_h" >&6

fi
if test $ac_cv_header_dld_h = yes; then

		    SHLIB_LD="ld -shared"
		    DL_OBJS="tclLoadDld.o"
		    DL_LIBS="-ldld"
		    CC_SEARCH_FLAGS=""
		    LD_SEARCH_FLAGS=""
fi


	    fi
a5263 19

	    # The combo of gcc + glibc has a bug related
	    # to inlining of functions like strtod(). The
	    # -fno-builtin flag should address this problem
	    # but it does not work. The -fno-inline flag
	    # is kind of overkill but it works.
	    # Disable inlining only when one of the
	    # files in compat/*.c is being linked in.
	    if test x"${USE_COMPAT}" != x ; then
	        CFLAGS="$CFLAGS -fno-inline"
	    fi

	    # XIM peeking works under XFree86.

cat >>confdefs.h <<\_ACEOF
#define PEEK_XCLOSEIM 1
_ACEOF


d5265 1
a5265 1
	GNU*)
d5267 1
a5267 1
	    SHLIB_LD_LIBS='${LIBS}'
d5269 8
a5276 161

	    if test "$have_dl" = yes; then
		SHLIB_LD="${CC} -shared"
		DL_OBJS=""
		DL_LIBS="-ldl"
		LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
		CC_SEARCH_FLAGS=""
		LD_SEARCH_FLAGS=""
	    else
		if test "${ac_cv_header_dld_h+set}" = set; then
  echo "$as_me:$LINENO: checking for dld.h" >&5
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6
if test "${ac_cv_header_dld_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
echo "${ECHO_T}$ac_cv_header_dld_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking dld.h usability" >&5
echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <dld.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking dld.h presence" >&5
echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <dld.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for dld.h" >&5
echo $ECHO_N "checking for dld.h... $ECHO_C" >&6
if test "${ac_cv_header_dld_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_dld_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
echo "${ECHO_T}$ac_cv_header_dld_h" >&6

fi
if test $ac_cv_header_dld_h = yes; then

		    SHLIB_LD="ld -shared"
		    DL_OBJS=""
		    DL_LIBS="-ldld"
		    CC_SEARCH_FLAGS=""
		    LD_SEARCH_FLAGS=""
fi


	    fi
	    if test "`uname -m`" = "alpha" ; then
		CFLAGS="$CFLAGS -mieee"
	    fi
	    ;;
d5418 5
a5422 1
	    SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
d5488 6
a5493 1
	    LDFLAGS="$LDFLAGS -prebind -headerpad_max_install_names"
d5578 7
a5584 1
                    hold_libs=$LIBS
d5632 1
a5632 1
                    LIBS=$hold_libs
d5898 252
d6174 5
d6272 1
a6272 1
	    if test "$ac_cv_func_realpath" = yes -a "${TCL_THREADS}" = 1 \
a7030 8
    if test "x${tcl_flags}" = "x" ; then
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
    else
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
    fi

d7032 115
a7146 3
    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
    if test "${tcl_cv_type_64bit+set}" = set; then
d7823 7
a7829 2
# Supply a substitute for stdlib.h if it doesn't define strtol,
# strtoul, or strtod (which it doesn't in some versions of SunOS).
d7832 4
a7835 14
echo "$as_me:$LINENO: checking stdlib.h" >&5
echo $ECHO_N "checking stdlib.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtol" >/dev/null 2>&1; then
  tk_ok=yes
d7837 1
a7837 61
  tk_ok=no
fi
rm -f conftest*

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtoul" >/dev/null 2>&1; then
  :
else
  tk_ok=no
fi
rm -f conftest*

cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtod" >/dev/null 2>&1; then
  :
else
  tk_ok=no
fi
rm -f conftest*

if test $tk_ok = no; then

cat >>confdefs.h <<\_ACEOF
#define NO_STDLIB_H 1
_ACEOF

fi
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6

#--------------------------------------------------------------------
# Include sys/select.h if it exists and if it supplies things
# that appear to be useful and aren't already in sys/types.h.
# This appears to be true only on the RS/6000 under AIX.  Some
# systems like OSF/1 have a sys/select.h that's of no use, and
# other systems like SCO UNIX have a sys/select.h that's
# pernicious.  If "fd_set" isn't defined anywhere then set a
# special flag.
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking fd_set and sys/select" >&5
echo $ECHO_N "checking fd_set and sys/select... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
d7874 1
a7874 1
  tk_ok=yes
d7879 1
a7879 1
tk_ok=no
d7882 12
a7893 2
if test $tk_ok = no; then
    cat >conftest.$ac_ext <<_ACEOF
d7904 3
a7906 1
  tk_ok=yes
d7910 5
a7914 1
    if test $tk_ok = yes; then
d7920 1
a7922 2
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6
d7931 4
a7934 4
#--------------------------------------------------------------------
# Check for various typedefs and provide substitutes if
# they don't exist.
#--------------------------------------------------------------------
d7936 7
a7942 3
echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
if test "${ac_cv_type_mode_t+set}" = set; then
d7944 3
d7948 4
a7951 1
  cat >conftest.$ac_ext <<_ACEOF
d7958 1
a7958 10
int
main ()
{
if ((mode_t *) 0)
  return 0;
if (sizeof (mode_t))
  return 0;
  ;
  return 0;
}
d7982 1
a7982 1
  ac_cv_type_mode_t=yes
d7987 1
a7987 1
ac_cv_type_mode_t=no
d7990 2
a7991 6
fi
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
if test $ac_cv_type_mode_t = yes; then
  :
else
d7993 4
a7996 12
cat >>confdefs.h <<_ACEOF
#define mode_t int
_ACEOF

fi

echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
if test "${ac_cv_type_pid_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
d8002 1
a8002 11
$ac_includes_default
int
main ()
{
if ((pid_t *) 0)
  return 0;
if (sizeof (pid_t))
  return 0;
  ;
  return 0;
}
d8004 108
a8111 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8131 1
a8131 1
  ac_cv_type_pid_t=yes
d8136 1
a8136 1
ac_cv_type_pid_t=no
d8140 3
a8142 5
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
if test $ac_cv_type_pid_t = yes; then
  :
else
d8144 2
a8145 2
cat >>confdefs.h <<_ACEOF
#define pid_t int
d8150 12
a8161 3
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
d8170 37
a8206 1
$ac_includes_default
d8210 1
a8210 4
if ((size_t *) 0)
  return 0;
if (sizeof (size_t))
  return 0;
d8215 3
a8217 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
d8231 1
a8231 1
	 { ac_try='test -s conftest.$ac_objext'
d8237 1
a8237 1
  ac_cv_type_size_t=yes
d8242 1
a8242 1
ac_cv_type_size_t=no
d8244 2
a8245 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8247 4
a8250 4
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
  :
d8252 1
a8252 5

cat >>confdefs.h <<_ACEOF
#define size_t unsigned
_ACEOF

d8255 4
a8258 3
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
if test "${ac_cv_type_uid_t+set}" = set; then
d8261 4
a8270 1
#include <sys/types.h>
d8272 19
d8292 12
a8303 3
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "uid_t" >/dev/null 2>&1; then
  ac_cv_type_uid_t=yes
d8305 8
a8312 1
  ac_cv_type_uid_t=no
a8313 2
rm -f conftest*

a8314 3
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
if test $ac_cv_type_uid_t = no; then
d8316 13
a8328 3
cat >>confdefs.h <<\_ACEOF
#define uid_t int
_ACEOF
d8330 1
d8333 1
a8333 1
#define gid_t int
d8336 2
a8337 1
fi
d8340 4
a8343 3
#------------------------------------------------------------------------------
#       Find out about time handling differences.
#------------------------------------------------------------------------------
d8345 3
a8347 8

for ac_header in sys/time.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
a8348 3
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8350 1
a8350 4
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
d8357 10
a8366 1
#include <$ac_header>
d8390 1
a8390 1
  ac_header_compiler=yes
d8395 1
a8395 1
ac_header_compiler=no
d8398 12
a8409 2
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6
d8411 6
a8416 4
# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
d8422 11
a8432 1
#include <$ac_header>
d8434 3
a8436 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
d8442 15
a8456 12
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
d8461 3
a8463 1
  ac_header_preproc=no
d8465 4
a8468 40
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
a8469 4
  eval "$as_ac_Header=\$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d8471 2
a8472 4
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d8477 3
a8479 5
done

echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
d8488 1
a8488 4
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

d8492 4
a8495 2
if ((struct tm *) 0)
return 0;
d8522 1
a8522 1
  ac_cv_header_time=yes
d8527 1
a8527 1
ac_cv_header_time=no
d8531 43
a8573 3
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then
d8576 1
a8576 1
#define TIME_WITH_SYS_TIME 1
d8588 4
a8591 1
cat >conftest.$ac_ext <<_ACEOF
d8628 1
a8628 1
  tk_ok=yes
d8633 1
a8633 1
tk_ok=no
d8636 5
a8640 3
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6
if test $tk_ok = yes; then
a9769 189
#	Under Solaris 2.4, strtod returns the wrong value for the
#	terminating character under some conditions.  Check for this
#	and if the problem exists use a substitute procedure
#	"fixstrtod" (provided by Tcl) that corrects the error.
#--------------------------------------------------------------------


    echo "$as_me:$LINENO: checking for strtod" >&5
echo $ECHO_N "checking for strtod... $ECHO_C" >&6
if test "${ac_cv_func_strtod+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define strtod to an innocuous variant, in case <limits.h> declares strtod.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define strtod innocuous_strtod

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strtod (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef strtod

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strtod ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strtod) || defined (__stub___strtod)
choke me
#else
char (*f) () = strtod;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != strtod;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_strtod=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_strtod=no
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
echo "${ECHO_T}$ac_cv_func_strtod" >&6
if test $ac_cv_func_strtod = yes; then
  tcl_strtod=1
else
  tcl_strtod=0
fi

    if test "$tcl_strtod" = 1; then
	echo "$as_me:$LINENO: checking for Solaris2.4/Tru64 strtod bugs" >&5
echo $ECHO_N "checking for Solaris2.4/Tru64 strtod bugs... $ECHO_C" >&6
	if test "${tcl_cv_strtod_buggy+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    if test "$cross_compiling" = yes; then
  tcl_cv_strtod_buggy=0
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(nanString, &term);
		    if ((term != nanString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(spaceString, &term);
		    if (term == (spaceString+1)) {
			exit(1);
		    }
		    exit(0);
		}
_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_strtod_buggy=1
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
tcl_cv_strtod_buggy=0
fi
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi

	if test "$tcl_cv_strtod_buggy" = 1; then
	    echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
	else
	    echo "$as_me:$LINENO: result: buggy" >&5
echo "${ECHO_T}buggy" >&6
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
  *" fixstrtod.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
esac

	    USE_COMPAT=1

cat >>confdefs.h <<\_ACEOF
#define strtod fixstrtod
_ACEOF

	fi
    fi


#--------------------------------------------------------------------
d9840 1
a9840 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | tail +3 > $$f && echo $$f)'
d9923 1
a9923 1
    REZ_FLAGS='-d "SystemSevenOrLater=1" -useDF'
d10012 1
a10012 1
                    ac_config_files="$ac_config_files Makefile tkConfig.sh"
d10576 2
a10577 2
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  "tkConfig.sh" ) CONFIG_FILES="$CONFIG_FILES tkConfig.sh" ;;
@


1.111
log
@	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if
	process is in front on MouseDown, otherwise request process activation
	from BringWindowForward() via new isFrontProcess param.

	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our
	event handler on the dispatcher target for all carbon events of interest
	to TkAqua; this replaces event processing directly from the event queue
	and thus allows to capture events that are syntesized by Carbon and sent
	directly to the dispatcher and not to the event queue.

	* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
	rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
	(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
	sending events to the dispatcher, all events of interest are now
	processed in our dispatcher target event handler.

	* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
	directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than
	four carbon events at one time to avoid starving other event sources.

	* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
	* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
	* macosx/tkMacOSXXStubs.c

	* macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE.
	* macosx/tkMacOSXEvent.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXWindowEvent.c:

	* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
	* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXEvent.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXScale.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.c:

	* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59

	* library/listbox.tcl: synced aqua MouseWheel bindings with
	* library/scrlbar.tcl: core-8-4-branch.
	* library/text.tcl:

	* xlib/xcolors.c: fixed warning
@
text
@d5427 1
a5427 1
	    SHLIB_LD_LIBS=""
@


1.110
log
@	* unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
	* unix/configure: Regen.
	* unix/configure.in: Update minimum autoconf version
	to 2.59. Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH.
	* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
	* win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
	* win/configure: Regen.
	* win/configure.in: Update minimum autoconf version
	to 2.59. Invoke SC_BUILD_TCLSH.
	* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
	Split confused search for tclsh on PATH and
	build and install locations into two macros.
	SC_PROG_TCLSH searches just the PATH.
	SC_BUILD_TCLSH determines the name of the tclsh
	executable in the Tcl build directory.
	[Tcl bug 1160114]
	[Tcl patch 1244153]
@
text
@d8241 7
@


1.109
log
@	* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
	symbolic link.

	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
	ensure we can always relocate binaries with install_name_tool.

	* unix/configure: autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_YEAR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_STUB_LIB_PATH TK_INCLUDE_SPEC TK_BUILD_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_SRC_DIR TK_SHARED_BUILD LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS XINCLUDES XLIBSW LOCALES TK_WINDOWINGSYSTEM TK_PKG_DIR TK_LIBRARY PRIVATE_INCLUDE_DIR HTML_DIR EXTRA_CC_SWITCHES EXTRA_INSTALL EXTRA_INSTALL_BINARIES EXTRA_BUILD_HTML EXTRA_WISH_LIBS TK_RSRC_FILE WISH_RSRC_FILE LIB_RSRC_FILE APP_RSRC_FILE REZ REZ_FLAGS LTLIBOBJS'
d1509 45
a3322 7
	# USE_THREAD_STORAGE tells us to use the new generic thread
	# storage subsystem.

cat >>confdefs.h <<\_ACEOF
#define USE_THREAD_STORAGE 1
_ACEOF

a4939 12
	IRIX-4.*)
	    SHLIB_CFLAGS="-G 0"
	    SHLIB_SUFFIX=".a"
	    SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
	    SHLIB_LD_LIBS='${LIBS}'
	    DL_OBJS="tclLoadAout.o"
	    DL_LIBS=""
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    SHARED_LIB_SUFFIX='${VERSION}.a'
	    ;;
d5376 10
a5385 150
	    # Not available on all versions:  check for include file.
	    if test "${ac_cv_header_dlfcn_h+set}" = set; then
  echo "$as_me:$LINENO: checking for dlfcn.h" >&5
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
if test "${ac_cv_header_dlfcn_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
else
  # Is the header compilable?
echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
#include <dlfcn.h>
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_header_compiler=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <dlfcn.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
    ;;
  no:yes:* )
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    (
      cat <<\_ASBOX
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for dlfcn.h" >&5
echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
if test "${ac_cv_header_dlfcn_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_cv_header_dlfcn_h=$ac_header_preproc
fi
echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6

fi
if test $ac_cv_header_dlfcn_h = yes; then

		# NetBSD/SPARC needs -fPIC, -fpic will not do.
		SHLIB_CFLAGS="-fPIC"
		SHLIB_LD="ld -Bshareable -x"
		SHLIB_LD_LIBS=""
		SHLIB_SUFFIX=".so"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS=""
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
		echo "$as_me:$LINENO: checking for ELF" >&5
d5387 1
a5387 1
		cat >conftest.$ac_ext <<_ACEOF
d5403 1
a5403 1
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
d5407 1
a5407 1
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d5413 1
a5413 17
else

		SHLIB_CFLAGS=""
		SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".a"
		DL_OBJS="tclLoadAout.o"
		DL_LIBS=""
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'

fi



	    # FreeBSD doesn't handle version numbers with dots.
d5419 4
a5422 13
	    case `arch -s` in
	    m88k|vax)
		SHLIB_CFLAGS=""
		SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".a"
		DL_OBJS="tclLoadAout.o"
		DL_LIBS=""
		LDFLAGS=""
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
		;;
d5424 11
a5434 16
		# OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
		case `machine` in
		sparc|sparc64)
		    SHLIB_CFLAGS="-fPIC";;
	        *)
		    SHLIB_CFLAGS="-fpic";;
	        esac
		SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
		SHLIB_LD_LIBS=""
		SHLIB_SUFFIX=".so"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS=""
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
		echo "$as_me:$LINENO: checking for ELF" >&5
d5436 1
a5436 1
		cat >conftest.$ac_ext <<_ACEOF
d5452 1
a5452 1
		     LDFLAGS=-Wl,-export-dynamic
d5456 1
a5456 1
		    LDFLAGS=""
a5460 2
		;;
	    esac
a6172 11
	RISCos-*)
	    SHLIB_CFLAGS="-G 0"
	    SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".a"
	    DL_OBJS="tclLoadAout.o"
	    DL_LIBS=""
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    ;;
a6338 14
	ULTRIX-4.*)
	    SHLIB_CFLAGS="-G 0"
	    SHLIB_SUFFIX=".a"
	    SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
	    SHLIB_LD_LIBS='${LIBS}'
	    DL_OBJS="tclLoadAout.o"
	    DL_LIBS=""
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    if test "$GCC" != "yes" ; then
		CFLAGS="$CFLAGS -DHAVE_TZSET -std1"
	    fi
	    ;;
d6418 1
a6418 228
    # Step 4: If pseudo-static linking is in use (see K. B. Kenny, "Dynamic
    # Loading for Tcl -- What Became of It?".  Proc. 2nd Tcl/Tk Workshop,
    # New Orleans, LA, Computerized Processes Unlimited, 1994), then we need
    # to determine which of several header files defines the a.out file
    # format (a.out.h, sys/exec.h, or sys/exec_aout.h).  At present, we
    # support only a file format that is more or less version-7-compatible.
    # In particular,
    #	- a.out files must begin with `struct exec'.
    #	- the N_TXTOFF on the `struct exec' must compute the seek address
    #	  of the text segment
    #	- The `struct exec' must contain a_magic, a_text, a_data, a_bss
    #	  and a_entry fields.
    # The following compilation should succeed if and only if either sys/exec.h
    # or a.out.h is usable for the purpose.
    #
    # Note that the modified COFF format used on MIPS Ultrix 4.x is usable; the
    # `struct exec' includes a second header that contains information that
    # duplicates the v7 fields that are needed.

    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
	echo "$as_me:$LINENO: checking sys/exec.h" >&5
echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6
	cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/exec.h>
int
main ()
{

	    struct exec foo;
	    unsigned long seek;
	    int flag;
#if defined(__mips) || defined(mips)
	    seek = N_TXTOFF (foo.ex_f, foo.ex_o);
#else
	    seek = N_TXTOFF (foo);
#endif
	    flag = (foo.a_magic == OMAGIC);
	    return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=usable
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=unusable
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	echo "$as_me:$LINENO: result: $tcl_ok" >&5
echo "${ECHO_T}$tcl_ok" >&6
	if test $tcl_ok = usable; then

cat >>confdefs.h <<\_ACEOF
#define USE_SYS_EXEC_H 1
_ACEOF

	else
	    echo "$as_me:$LINENO: checking a.out.h" >&5
echo $ECHO_N "checking a.out.h... $ECHO_C" >&6
	    cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <a.out.h>
int
main ()
{

		struct exec foo;
		unsigned long seek;
		int flag;
#if defined(__mips) || defined(mips)
		seek = N_TXTOFF (foo.ex_f, foo.ex_o);
#else
		seek = N_TXTOFF (foo);
#endif
		flag = (foo.a_magic == OMAGIC);
		return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=usable
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=unusable
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
	    echo "$as_me:$LINENO: result: $tcl_ok" >&5
echo "${ECHO_T}$tcl_ok" >&6
	    if test $tcl_ok = usable; then

cat >>confdefs.h <<\_ACEOF
#define USE_A_OUT_H 1
_ACEOF

	    else
		echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6
		cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/exec_aout.h>
int
main ()
{

		    struct exec foo;
		    unsigned long seek;
		    int flag;
#if defined(__mips) || defined(mips)
		    seek = N_TXTOFF (foo.ex_f, foo.ex_o);
#else
		    seek = N_TXTOFF (foo);
#endif
		    flag = (foo.a_midmag == OMAGIC);
		    return foo.a_text + foo.a_data + foo.a_bss + foo.a_entry;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_ok=usable
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_ok=unusable
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
		echo "$as_me:$LINENO: result: $tcl_ok" >&5
echo "${ECHO_T}$tcl_ok" >&6
		if test $tcl_ok = usable; then

cat >>confdefs.h <<\_ACEOF
#define USE_SYS_EXEC_AOUT_H 1
_ACEOF

		else
		    DL_OBJS=""
		fi
	    fi
	fi
    fi

    # Step 5: disable dynamic loading if requested via a command-line switch.
d6592 1
a6606 5
    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then

cat >>confdefs.h <<\_ACEOF
#define TCL_COMPILE_DEBUG 1
_ACEOF
a6608 6
cat >>confdefs.h <<\_ACEOF
#define TCL_COMPILE_STATS 1
_ACEOF

    fi

d6611 2
a6612 2
	    echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
echo "${ECHO_T}enabled symbols mem compile debugging" >&6
d10411 2
@


1.108
log
@autoconf
@
text
@d5707 1
a5707 1
	    LDFLAGS="$LDFLAGS -prebind"
@


1.107
log
@* unix/tkUnix.c (Tk_GetUserInactiveTime): Improvements to get it
working on Solaris, and panic if we run out of memory.
* unix/configure.in: Rework the searching for Xss, to make it work
on Solaris and provide more useful output. Use AC_HELP_STRING
where appropriate.
* unix/tcl.m4: synced from Tcl.
* unix/configure: regenerated with autoconf 2.59.
@
text
@d1339 1
a1339 1
TK_PATCH_LEVEL="a3"
@


1.106
log
@	* unix/configure.in: added description of HAVE_XSS for autoheader.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in: autoheader-2.59

	* macosx/Wish.pbproj/project.pbxproj:
	* macosx/Wish.xcode/project.pbxproj: added missing FRAMEWORK defines
	introduced with configure/make based build.
@
text
@d848 1
a848 1
  --enable-man-symlinks   use symlinks for the manpages
d850 1
a850 1
                          compress the manpages with PROG
d853 7
a859 6
                          (default: tk)
  --enable-threads        build with threads
  --enable-shared         build and link with shared libraries --enable-shared
  --enable-64bit          enable 64bit support (where applicable)
  --enable-64bit-vis      enable 64bit Sparc VIS support
  --enable-corefoundation use CoreFoundation API --enable-corefoundation
d861 7
a867 4
  --enable-symbols        build with debugging symbols --disable-symbols
  --enable-aqua           enable Aqua windowingsystem on Mac OS X --disable-aqua
  --enable-xft         Use freetype/fontconfig/xft --disable-xft
  --enable-framework      package shared libraries in MacOSX frameworks --disable-framework
d872 2
a873 1
  --with-tcl              directory containing tcl configuration (tclConfig.sh)
d1537 1
a1537 2

	echo "$as_me:$LINENO: checking whether to use symlinks for manpages" >&5
d1539 1
a1539 1
	# Check whether --enable-man-symlinks or --disable-man-symlinks was given.
d1546 1
a1546 1
	echo "$as_me:$LINENO: result: $enableval" >&5
d1549 1
a1549 1
	echo "$as_me:$LINENO: checking whether to compress the manpages" >&5
d1551 1
a1551 1
	# Check whether --enable-man-compression or --disable-man-compression was given.
d1554 2
a1555 1
  test "$enableval" = "yes" && { { echo "$as_me:$LINENO: error: missing argument to --enable-man-compression" >&5
d1557 4
a1560 2
   { (exit 1); exit 1; }; }
		test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --compress $enableval"
d1564 1
a1564 1
	echo "$as_me:$LINENO: result: $enableval" >&5
d1566 2
a1567 2
	if test "$enableval" != "no"; then
		echo "$as_me:$LINENO: checking for compressed file suffix" >&5
d1569 6
a1574 6
		touch TeST
		$enableval TeST
		Z=`ls TeST* | sed 's/^....//'`
		rm -f TeST*
		MAN_FLAGS="$MAN_FLAGS --extension $Z"
		echo "$as_me:$LINENO: result: $Z" >&5
d1576 1
a1576 1
	fi
d1578 1
a1578 1
	echo "$as_me:$LINENO: checking whether to add a package name suffix for the manpages" >&5
d1580 1
a1580 1
	# Check whether --enable-man-suffix or --disable-man-suffix was given.
d1583 5
a1587 2
  test "$enableval" = "yes" && enableval="tk"
		test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --suffix $enableval"
d1591 1
a1591 1
	echo "$as_me:$LINENO: result: $enableval" >&5
d9294 1
a9294 2
    echo "$as_me:$LINENO: checking for XScreenSaver support" >&5
echo $ECHO_N "checking for XScreenSaver support... $ECHO_C" >&6
d9298 64
a9361 2
    LIBS="$LIBS $XLIBSW -lXss -lXext"
    cat >conftest.$ac_ext <<_ACEOF
d9367 16
d9384 19
a9402 2
        #include <X11/Xlib.h>
        #include <X11/extensions/scrnsaver.h>
d9407 31
d9439 10
a9448 1
        XScreenSaverAllocInfo();
d9450 25
d9501 17
d9519 1
a9519 3
        echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
        XLIBSW="$XLIBSW -lXss -lXext"
d9521 9
a9529 2
cat >>confdefs.h <<\_ACEOF
#define HAVE_XSS 1
d9531 3
d9535 38
a9572 1

d9577 1
a9577 2
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
d9581 24
@


1.105
log
@	* generic/tkDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkPlatDecls.h:
	* generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes
	to tk.decls

	* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic
	constant argument in call to UpdateSystemActivity();

	* macosx/Wish.pbproj/project.pbxproj:
	* macosx/Wish.xcode/project.pbxproj:
	* unix/configure.in: added/corrected linking to IOKit.framework for
	TIP245.

	* unix/configure.in: skip X11 configure checks when building tk_aqua.
	* unix/configure: autoconf-2.59
@
text
@d9336 2
a9337 1
        cat >>confdefs.h <<\_ACEOF
@


1.104
log
@	* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction
	from __tk_rsrc section to work with non-prebound .dylib and .bundle.

	* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl
	and tk version vars to properly support tk/x11 framework version
	overriding, rewrite tkConfig.sh when overriding tk version, corrected
	Wish.app symlink in tk build dir.

	* unix/configure.in: corrected framework finalization to softlink
	stub library to Versions/8.x subdir instead of Versions/Current.
	* unix/configure: autoconf-2.59
@
text
@d8636 1
a8636 1
    LIBS="$LIBS -framework Carbon"
d9134 2
a9135 1
echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
d9197 1
d9210 1
a9210 1
if test -d /usr/include/mit ; then
d9278 77
d9358 2
a9359 1
# Check whether --enable-xft or --disable-xft was given.
d9367 4
a9370 4
XFT_CFLAGS=""
XFT_LIBS=""
if test "$enable_xft" = "yes" ; then
    echo "$as_me:$LINENO: checking for xft configuration" >&5
d9372 9
a9380 9
    XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || enable_xft="no"
    XFT_LIBS=`xft-config --libs 2>/dev/null` || enable_xft="no"
    if test "$enable_xft" = "no" ; then
	enable_xft=yes
	XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || enable_xft="no"
	XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || enable_xft="no"
    fi
    if test "$enable_xft" = "yes" ; then
    	echo "$as_me:$LINENO: result: ok" >&5
d9382 2
a9383 2
    else
    	{ echo "$as_me:$LINENO: WARNING: Can't find xft configuration" >&5
d9385 1
d9387 2
a9388 3
fi
if test $enable_xft = "yes" ; then
    UNIX_FONT_OBJS=tkUnixRFont.o
d9394 3
a9396 3
else
    UNIX_FONT_OBJS=tkUnixFont.o
fi
d9401 1
@


1.103
log
@minor formatting sync with tcl/unix/configure.in
@
text
@a8637 102

for ac_func in _dyld_get_image_header_containing_address
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */

#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif

#undef $ac_func

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
	 { ac_try='test -z "$ac_c_werror_flag"
			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

d9694 1
a9694 1
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Finalizing Tk.framework" && rm -f "$(LIB_INSTALL_DIR)/../Current" && ln -s "$(VERSION)" "$(LIB_INSTALL_DIR)/../Current" && for f in "$(LIB_FILE)" "$(STUB_LIB_FILE)" tkConfig.sh Resources Headers PrivateHeaders; do rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/Current/$$f" "$(LIB_INSTALL_DIR)/../.."; done'
@


1.102
log
@	* macosx/Makefile:
	* macosx/README:
	* macosx/Tk-Info.plist.in (new file):
	* macosx/Wish-Info.plist.in (new file):
	* unix/Makefile.in:
	* unix/configure.in:
	* unix/tcl.m4:
	* unix/tkUnixInit.c:  moved all Darwin framework and TkAqua build
	support from macosx/Wish.pbproj and macosx/Makefile into the standard
	unix configure/make buildsystem, the project and macosx/Makefile are
	no longer required to build Tk.framework and/or TkAqua. TkAqua is now
	enabled by the --enable-aqua configure option, and static and
	non-framework builds of TkAqua are now available via the standard
	configure switches. Tk/X11 can also be built as a framework. The
	macosx/Makefile now wraps the unix buildsystem and no longer uses the
	projects, embedded builds are still only available via this Makefile,
	but for other builds it is not longer required (but its current
	functionality is still available for backwards compatibility). The
	projects currently do not call through to the Makefile to build
	(unlike Tcl.pbproj) so project builds may differ from makefile builds.
	Due to issues with spaces in pathnames, 'Wish Shell.app' has been
	renamed to 'Wish.app', the macosx/Makefile installs backwards
	compatibility symlinks for the old name.
	* macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file
	in non-framework and static builds: the resource file is copied into a
	__tk_rsrc MachO segment of the library or executable at link time and
	extracted into a temporary location at initialization.
	* unix/configure: autoconf-2.59
	* unix/tkConfig.h.in (new file): autoheader-2.59
@
text
@d9769 1
a9769 1
    if test "$libdir" = '${exec_prefix}/lib'; then
d9777 2
a9778 2
    libdir="$libdir/Tk.framework/Versions/\${VERSION}"
    TK_LIBRARY="$libdir/Resources/Scripts"
d9782 3
a9784 3
    includedir="$libdir/Headers"
    PRIVATE_INCLUDE_DIR="$libdir/PrivateHeaders"
    HTML_DIR="$libdir/Resources/Documentation/Reference/Tk"
d9791 1
a9791 1
        bindir="$libdir/Resources/Wish.app/Contents/MacOS"
@


1.101
log
@	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on
	CFRunLoop allows replacement of the custom TkAqua notifier by a
	standard tcl event source. Removes requirement of threaded tcl core
	for TkAqua, allows to stub-link TkAqua against Tcl by removing use of
	the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052]

	* macosx/Wish.xcode/project.pbxproj:
	* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with
	USE_TCL_STUBS and link against libtclstub instead of Tcl.framework,
	unexport libtclstub symbols from Tk to avoid duplicate symbol warnings
	when linking with both Tcl and Tk, fixes for gcc4.0 warnings.

	* macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes
	since 2004-11-19.
	NOTE: to use this project, need to uncomment the tclConfig.h settings
	at the top of tcl/unix/configure.in, autoconf and rebuild tcl !

	* macosx/tkMacOSXBitmap.c:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXFont.c:
	* macosx/tkMacOSXHLEvents.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyboard.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.

	* unix/tcl.m4: sync with tcl
	* unix/configure: autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS PLAT_SRCS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d861 1
d863 1
d1330 1
a1523 2
# libdir must be a fully qualified path and (not ${exec_prefix}/lib)
eval libdir="$libdir"
d3170 1
a3170 1
#------------------------------------------------------------------------------
d3173 1
a3173 1
#------------------------------------------------------------------------------
a4062 4
#--------------------------------------------------------------------
# Recompute the necessary flags to run the compiler
#--------------------------------------------------------------------

d4097 6
a5763 2
	    TCL_SHLIB_LD_EXTRAS='-compatibility_version ${VERSION} -current_version ${VERSION} -install_name ${DYLIB_INSTALL_DIR}/${TCL_LIB_FILE} -seg1addr 0xa000000'
	    TK_SHLIB_LD_EXTRAS=' -compatibility_version ${VERSION} -current_version ${VERSION} -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE}  -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | tail +3 > $$f && echo $$f)'
d6115 5
d8604 1
a8604 6
#	Locate the X11 header files and the X11 library archive.  Try
#	the ac_path_x macro first, but if it doesn't find the X stuff
#	(e.g. because there's no xmkmf program) then check through
#	a list of possible directories.  Under some conditions the
#	autoconf macro will return an include directory that contains
#	no include files, so double-check its result just to be safe.
d8607 144
d9187 2
d9687 1
d9689 6
a9694 1
eval eval "TK_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}"
a9698 2
else
    TCL_STUB_FLAGS=""
d9700 7
a9706 2
TK_LIB_FILE=libtk${LIB_SUFFIX}
eval "TK_LIB_FILE=${TK_LIB_FILE}"
d9713 15
a9727 3
if test "$SHARED_BUILD" = 0 -o $TCL_NEEDS_EXP_FILE = 0; then
    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
	eval TK_LIB_FLAG="-ltk${VERSION}"
d9729 1
a9729 1
	eval TK_LIB_FLAG="-ltk`echo ${VERSION} | tr -d .`"
a9730 7
    TK_BUILD_LIB_SPEC="-L`pwd` ${TK_LIB_FLAG}"
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
    TK_BUILD_EXP_FILE=""
    TK_EXP_FILE=""
else
    TK_BUILD_EXP_FILE="lib.exp"
    eval "TK_EXP_FILE=libtk${TCL_EXPORT_FILE_SUFFIX}"
d9732 82
a9813 3
    if test "$GCC" = "yes" ; then
	TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
	TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"
d9815 28
a9842 2
	TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
	TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"
a9844 1
TK_SHARED_BUILD=${SHARED_BUILD}
d9847 2
a9848 6
# The statements below define various symbols relating to creating
# the stub'd version of the Tk library
#
# For now, linking to Tcl stubs is not supported with Tk. It causes
# too many problems with linking.  When Tk is a fully loadable
# extension, linking the the Tcl stubs will be supported.
d9853 1
d9856 1
a9856 1
    eval TK_STUB_LIB_FLAG="-ltkstub${TK_VERSION}"
d9858 1
a9858 1
    eval TK_STUB_LIB_FLAG="-ltkstub`echo ${TK_VERSION} | tr -d .`"
d9862 1
a9862 1
TK_STUB_LIB_SPEC="-L${libdir} ${TK_STUB_LIB_FLAG}"
d9864 1
a9864 1
TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
d9869 23
a9891 1
eval "TK_LIB_FILE=${TK_LIB_FILE}"
d9926 1
d10370 3
d10471 6
d10478 1
d10487 2
d10491 1
d10504 1
d10632 4
d10638 3
a10641 1
s,@@TK_STUB_LIB_SPEC@@,$TK_STUB_LIB_SPEC,;t t
d10643 4
a10646 2
s,@@TK_STUB_LIB_PATH@@,$TK_STUB_LIB_PATH,;t t
s,@@TK_STUB_FLAGS@@,$TK_STUB_FLAGS,;t t
a10649 7
s,@@LD_LIBRARY_PATH_VAR@@,$LD_LIBRARY_PATH_VAR,;t t
s,@@TK_BUILD_LIB_SPEC@@,$TK_BUILD_LIB_SPEC,;t t
s,@@TK_LIB_FILE@@,$TK_LIB_FILE,;t t
s,@@TK_LIB_FLAG@@,$TK_LIB_FLAG,;t t
s,@@TK_LIB_SPEC@@,$TK_LIB_SPEC,;t t
s,@@TK_INCLUDE_SPEC@@,$TK_INCLUDE_SPEC,;t t
s,@@TK_SRC_DIR@@,$TK_SRC_DIR,;t t
a10651 1
s,@@TK_SHARED_BUILD@@,$TK_SHARED_BUILD,;t t
d10653 16
d10903 125
@


1.100
log
@fixed pkg-config xft check, needed reset of enable_xft first
@
text
@d858 1
d5759 2
a5760 2
	    PLAT_OBJS="\${MAC_OSX_OBJS}"
	    PLAT_SRCS="\${MAC_OSX_SRCS}"
d5763 72
a5834 1
	    LIBS="$LIBS -framework CoreFoundation"
d5837 252
a6088 1
#define MAC_OSX_TCL 1
d6091 3
d6096 1
a6096 1
#define HAVE_CFBUNDLE 1
d6114 97
@


1.99
log
@	* unix/configure: regen
	* unix/configure.in: add AC_C_BIGENDIAN check and pkg-config xft
	checks to extend xft search.
	* unix/tcl.m4: correct Solaris 10 (5.10) check and add support for
	x86_64 Solaris cc builds.
@
text
@d8827 1
@


1.98
log
@	* macosx/tkMacOSXNotify.c: sync with tclUnixNotfy.c changes since
	2004-06-22, added compile time check for threaded tcl core, removed
	unthreaded code paths as they are never used anyway, fixed
	TkMacOSXAlertNotifier() implementation.

	* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of
	symbols from libtclstub to avoid duplicate symbol warnings.

	* unix/tcl.m4 (Darwin): added configure checks for recently added linker
	flags -single_module and -search_paths_first to allow building with
	older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and
	not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols
	from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS
	definition for Mac OS X, defined MODULE_SCOPE to __private_extern__.
	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.

	* unix/configure: autoconf-2.59
@
text
@d5939 2
a5940 1
	SunOS-5.[0-6]*)
a5975 1

d6016 9
d6026 2
a6027 2
		    { echo "$as_me:$LINENO: WARNING: 64bit mode only supported sparcv9 system" >&5
echo "$as_me: WARNING: 64bit mode only supported sparcv9 system" >&2;}
d7237 235
d8824 6
a8829 2
    XFT_CFLAGS=`xft-config --cflags` || enable_xft="no"
    XFT_LIBS=`xft-config --libs` || enable_xft="no"
@


1.97
log
@	* unix/tcl.m4 (Darwin): added -single_module linker flag to
	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
	* unix/configure: autoconf-2.59
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d4396 1
d5625 1
d5628 61
a5688 2
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000 -Wl,-single_module"
	    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000 -Wl,-single_module"
a5691 1
	    PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
d5693 62
a5754 1
	    LDFLAGS="$LDFLAGS -prebind -Wl,-search_paths_first"
a5756 1
	    CFLAGS_OPTIMIZE="-Os"
d5758 5
d5783 5
a5787 1
	    LIBS="$LIBS -framework CoreFoundation"
d6497 1
d9633 1
@


1.96
log
@Updated the OpenBSD configuration and regenerated configure script.
@
text
@d5626 2
a5627 2
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000"
	    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000"
@


1.95
log
@	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
	* unix/tcl.m4:      into SHLIB_LD).  Combine AIX-* and AIX-5
	* unix/configure:   branches in SC_CONFIG_CFLAGS.
	Correct gcc builds for AIX-4+ and HP-UX-11.  autoconf-2.59 gen'd.
@
text
@d5534 30
a5563 8
	    SHLIB_LD="${CC} -shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    echo "$as_me:$LINENO: checking for ELF" >&5
d5565 1
a5565 1
	    cat >conftest.$ac_ext <<_ACEOF
d5581 1
a5581 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d5585 1
a5585 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
d5590 2
@


1.94
log
@	* unix/tcl.m4, unix/configure: add solaris-64 gcc build
	support. [Bug 1021871]
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.57 for tk 8.5.
d5 1
a5 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
d22 1
d25 1
a25 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d221 1
d228 1
a228 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d231 1
a231 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d670 1
a670 1
              localstatedir libdir includedir oldincludedir infodir mandir
d710 4
a713 4
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d805 1
a805 1
                          [$ac_default_prefix]
d807 1
a807 1
                          [PREFIX]
d913 39
a951 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d962 1
a962 1
           test -f $ac_srcdir/configure.in; then
d976 1
a976 1
generated by GNU Autoconf 2.57
d978 1
a978 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
d990 1
a990 1
generated by GNU Autoconf 2.57.  Invocation command line was
d1067 1
a1067 1
        ac_must_keep_next=false # Got value, back to normal.
d1069 11
a1079 11
        case $ac_arg in
          *=* | --config-cache | -C | -disable-* | --disable-* \
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
          | -with-* | --with-* | -without-* | --without-* | --x)
            case "$ac_configure_args0 " in
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
            esac
            ;;
          -* ) ac_must_keep_next=true ;;
        esac
d1113 2
a1114 2
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1118 1
a1118 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1147 1
a1147 1
        echo "$ac_var='"'"'$ac_val'"'"'"
d1166 1
a1166 1
  rm -f core core.* *.core &&
d1246 1
a1246 1
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1263 1
a1263 1
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1265 1
a1265 1
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1267 1
a1267 1
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1269 1
a1269 1
        ac_cache_corrupted=:
a1930 1
#line $LINENO "configure"
d1950 2
a1951 2
echo "$as_me:$LINENO: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
d1971 1
a1971 1
        ;;
d1973 2
a1974 2
        # This is the source file.
        ;;
d1976 3
a1978 3
        # We found the default executable, but exeext='' is most
        # certainly right.
        break;;
d1980 6
a1985 6
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        # FIXME: I believe we export ac_cv_exeext for Libtool,
        # but it would be cool to find out if it's true.  Does anybody
        # maintain Libtool? --akim.
        export ac_cv_exeext
        break;;
d1987 1
a1987 1
        break;;
d2061 2
a2062 2
          export ac_cv_exeext
          break;;
a2086 1
#line $LINENO "configure"
a2136 1
#line $LINENO "configure"
d2156 1
a2156 1
  (eval $ac_compile) 2>&5
d2158 3
d2163 8
a2170 1
         { ac_try='test -s conftest.$ac_objext'
d2183 1
a2183 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2198 1
#line $LINENO "configure"
d2215 1
a2215 1
  (eval $ac_compile) 2>&5
d2217 3
d2222 8
a2229 1
         { ac_try='test -s conftest.$ac_objext'
d2242 1
a2242 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2268 1
#line $LINENO "configure"
d2296 10
d2332 1
a2332 1
  (eval $ac_compile) 2>&5
d2334 3
d2339 8
a2346 1
         { ac_try='test -s conftest.$ac_objext'
d2359 1
a2359 1
rm -f conftest.$ac_objext
d2387 1
a2387 1
  (eval $ac_compile) 2>&5
d2389 3
d2394 8
a2401 1
         { ac_try='test -s conftest.$ac_objext'
d2408 1
a2408 2
   ''\
   '#include <stdlib.h>' \
a2415 1
#line $LINENO "configure"
d2421 1
a2422 1
$ac_declaration
d2433 1
a2433 1
  (eval $ac_compile) 2>&5
d2435 3
d2440 8
a2447 1
         { ac_try='test -s conftest.$ac_objext'
d2460 1
a2460 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2461 1
#line $LINENO "configure"
d2478 1
a2478 1
  (eval $ac_compile) 2>&5
d2480 3
d2485 8
a2492 1
         { ac_try='test -s conftest.$ac_objext'
d2504 1
a2504 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2518 1
a2518 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2556 1
#line $LINENO "configure"
d2567 1
a2567 1
                     Syntax error
d2579 1
a2599 1
#line $LINENO "configure"
d2617 1
a2663 1
#line $LINENO "configure"
d2674 1
a2674 1
                     Syntax error
d2686 1
a2706 1
#line $LINENO "configure"
d2724 1
a2784 1
#line $LINENO "configure"
d2805 1
a2805 1
  (eval $ac_compile) 2>&5
d2807 3
d2812 8
a2819 1
         { ac_try='test -s conftest.$ac_objext'
d2832 1
a2832 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2836 1
#line $LINENO "configure"
a2857 1
#line $LINENO "configure"
a2881 1
#line $LINENO "configure"
d2893 3
a2895 3
                   (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
d2906 1
a2906 1
        || toupper (i) != TOUPPER (i))
d2931 1
a2931 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2956 1
a2956 1
                  inttypes.h stdint.h unistd.h
a2964 1
#line $LINENO "configure"
d2976 1
a2976 1
  (eval $ac_compile) 2>&5
d2978 3
d2983 8
a2990 1
         { ac_try='test -s conftest.$ac_objext'
d3003 1
a3003 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3033 1
#line $LINENO "configure"
d3044 1
a3044 1
  (eval $ac_compile) 2>&5
d3046 3
d3051 8
a3058 1
         { ac_try='test -s conftest.$ac_objext'
d3071 1
a3071 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3078 1
#line $LINENO "configure"
d3096 1
d3116 2
a3117 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d3120 3
a3122 10
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d3124 1
a3124 1
  no:yes )
d3127 6
a3132 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d3135 2
d3139 3
a3141 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
d3152 1
a3152 1
  eval "$as_ac_Header=$ac_header_preproc"
a3179 1
#line $LINENO "configure"
d3196 1
a3196 1
  (eval $ac_compile) 2>&5
d3198 3
d3203 8
a3210 1
         { ac_try='test -s conftest.$ac_objext'
d3226 1
a3226 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3297 1
#line $LINENO "configure"
d3321 1
a3321 1
  (eval $ac_link) 2>&5
d3323 3
d3328 8
a3335 1
         { ac_try='test -s conftest$ac_exeext'
d3348 2
a3349 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3373 1
#line $LINENO "configure"
d3397 1
a3397 1
  (eval $ac_link) 2>&5
d3399 3
d3404 8
a3411 1
         { ac_try='test -s conftest$ac_exeext'
d3424 2
a3425 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3449 1
#line $LINENO "configure"
d3473 1
a3473 1
  (eval $ac_link) 2>&5
d3475 3
d3480 8
a3487 1
         { ac_try='test -s conftest$ac_exeext'
d3500 2
a3501 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3523 1
#line $LINENO "configure"
d3547 1
a3547 1
  (eval $ac_link) 2>&5
d3549 3
d3554 8
a3561 1
         { ac_try='test -s conftest$ac_exeext'
d3574 2
a3575 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3594 1
#line $LINENO "configure"
d3618 1
a3618 1
  (eval $ac_link) 2>&5
d3620 3
d3625 8
a3632 1
         { ac_try='test -s conftest$ac_exeext'
d3645 2
a3646 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3683 1
#line $LINENO "configure"
d3689 4
d3697 1
d3703 3
d3736 1
a3736 1
  (eval $ac_link) 2>&5
d3738 3
d3743 8
a3750 1
         { ac_try='test -s conftest$ac_exeext'
d3763 2
a3764 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3781 1
#line $LINENO "configure"
d3787 4
d3795 1
d3801 3
d3834 1
a3834 1
  (eval $ac_link) 2>&5
d3836 3
d3841 8
a3848 1
         { ac_try='test -s conftest$ac_exeext'
d3861 2
a3862 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3883 1
#line $LINENO "configure"
a3917 1
#line $LINENO "configure"
d3923 4
d3931 1
d3937 3
d3970 1
a3970 1
  (eval $ac_link) 2>&5
d3972 3
d3977 8
a3984 1
         { ac_try='test -s conftest$ac_exeext'
d3997 2
a3998 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4019 1
#line $LINENO "configure"
a4262 1
#line $LINENO "configure"
d4286 1
a4286 1
  (eval $ac_link) 2>&5
d4288 3
d4293 8
a4300 1
         { ac_try='test -s conftest$ac_exeext'
d4313 2
a4314 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d4397 1
a4397 1
	AIX-5.*)
a4406 1
	    # AIX-5 uses ELF style dynamic libraries
a4413 1

d4416 2
a4417 2
	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
d4419 2
a4420 2
		    { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;}
d4443 6
a4448 1
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry ${SHLIB_LD_FLAGS}"
a4454 21
	    ;;
	AIX-*)
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
		# AIX requires the _r compiler when gcc isn't being used
		if test "${CC}" != "cc_r" ; then
		    CC=${CC}_r
		fi
		echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
echo "${ECHO_T}Using $CC for compiling with threads" >&6
	    fi
	    LIBS="$LIBS -lc"
	    SHLIB_CFLAGS=""
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
	    LD_LIBRARY_PATH_VAR="LIBPATH"
	    TCL_NEEDS_EXP_FILE=1
	    TCL_EXPORT_FILE_SUFFIX='${VERSION}.exp'
d4458 8
a4465 1
		LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
a4468 16
	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;}
		else
		    do64bit_ok=yes
		    CFLAGS="$CFLAGS -q64"
		    LDFLAGS_ARCH="-q64"
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"
		fi
	    fi
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry ${SHLIB_LD_FLAGS}"

a4488 1
#line $LINENO "configure"
d4512 1
a4512 1
  (eval $ac_link) 2>&5
d4514 3
d4519 8
a4526 1
         { ac_try='test -s conftest$ac_exeext'
d4539 2
a4540 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4580 1
#line $LINENO "configure"
d4604 1
a4604 1
  (eval $ac_link) 2>&5
d4606 3
d4611 8
a4618 1
         { ac_try='test -s conftest$ac_exeext'
d4631 2
a4632 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4695 1
#line $LINENO "configure"
d4719 1
a4719 1
  (eval $ac_link) 2>&5
d4721 3
d4726 8
a4733 1
         { ac_try='test -s conftest$ac_exeext'
d4746 2
a4747 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d4772 1
a4772 2
		LD_SEARCH_FLAGS=''
		CC_SEARCH_FLAGS=''
d4788 2
a4789 2
			    LD_SEARCH_FLAGS=''
			    CC_SEARCH_FLAGS=''
a4812 1
#line $LINENO "configure"
d4836 1
a4836 1
  (eval $ac_link) 2>&5
d4838 3
d4843 8
a4850 1
         { ac_try='test -s conftest$ac_exeext'
d4863 2
a4864 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4989 1
#line $LINENO "configure"
d5000 1
a5000 1
  (eval $ac_compile) 2>&5
d5002 3
d5007 8
a5014 1
         { ac_try='test -s conftest.$ac_objext'
d5027 1
a5027 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5034 1
#line $LINENO "configure"
d5052 1
d5072 2
a5073 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5076 3
a5078 10
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5080 1
a5080 1
  no:yes )
d5083 6
a5088 2
    { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
d5091 2
d5095 3
a5097 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5173 1
#line $LINENO "configure"
d5184 1
a5184 1
  (eval $ac_compile) 2>&5
d5186 3
d5191 8
a5198 1
         { ac_try='test -s conftest.$ac_objext'
d5211 1
a5211 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5218 1
#line $LINENO "configure"
d5236 1
d5256 2
a5257 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5260 3
a5262 10
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5264 1
a5264 1
  no:yes )
d5267 6
a5272 2
    { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
d5275 2
d5279 3
a5281 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5348 1
#line $LINENO "configure"
d5359 1
a5359 1
  (eval $ac_compile) 2>&5
d5361 3
d5366 8
a5373 1
         { ac_try='test -s conftest.$ac_objext'
d5386 1
a5386 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5393 1
#line $LINENO "configure"
d5411 1
d5431 2
a5432 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5435 3
a5437 10
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5439 1
a5439 1
  no:yes )
d5442 6
a5447 2
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
d5450 2
d5454 3
a5456 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5486 1
#line $LINENO "configure"
a5543 1
#line $LINENO "configure"
a5851 1
				SHLIB_LD_FLAGS=""
a5922 1
#line $LINENO "configure"
d5939 1
a5939 1
  (eval $ac_link) 2>&5
d5941 3
d5946 8
a5953 1
         { ac_try='test -s conftest$ac_exeext'
d5966 2
a5967 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a6010 1
#line $LINENO "configure"
d6038 1
a6038 1
  (eval $ac_compile) 2>&5
d6040 3
d6045 8
a6052 1
         { ac_try='test -s conftest.$ac_objext'
d6065 1
a6065 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6077 1
#line $LINENO "configure"
d6105 1
a6105 1
  (eval $ac_compile) 2>&5
d6107 3
d6112 8
a6119 1
         { ac_try='test -s conftest.$ac_objext'
d6132 1
a6132 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6144 1
#line $LINENO "configure"
d6172 1
a6172 1
  (eval $ac_compile) 2>&5
d6174 3
d6179 8
a6186 1
         { ac_try='test -s conftest.$ac_objext'
d6199 1
a6199 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6284 1
a6284 1
        MAKE_LIB='${SHLIB_LD} -o $@@ ${SHLIB_LD_FLAGS} ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
a6343 1

a6438 1
#line $LINENO "configure"
d6455 1
a6455 1
  (eval $ac_compile) 2>&5
d6457 3
d6462 8
a6469 1
         { ac_try='test -s conftest.$ac_objext'
a6480 1
#line $LINENO "configure"
d6498 1
a6498 1
  (eval $ac_compile) 2>&5
d6500 3
d6505 8
a6512 1
         { ac_try='test -s conftest.$ac_objext'
d6525 1
a6525 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6527 1
a6527 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6542 1
#line $LINENO "configure"
d6559 1
a6559 1
  (eval $ac_compile) 2>&5
d6561 3
d6566 8
a6573 1
         { ac_try='test -s conftest.$ac_objext'
a6584 1
#line $LINENO "configure"
d6602 1
a6602 1
  (eval $ac_compile) 2>&5
d6604 3
d6609 8
a6616 1
         { ac_try='test -s conftest.$ac_objext'
d6629 1
a6629 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6631 1
a6631 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6659 1
#line $LINENO "configure"
d6676 1
a6676 1
  (eval $ac_compile) 2>&5
d6678 3
d6683 8
a6690 1
         { ac_try='test -s conftest.$ac_objext'
d6703 1
a6703 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6707 1
#line $LINENO "configure"
d6726 1
a6726 1
  (eval $ac_compile) 2>&5
d6728 3
d6733 8
a6740 1
         { ac_try='test -s conftest.$ac_objext'
d6752 1
a6752 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6779 1
#line $LINENO "configure"
d6797 1
a6797 1
  (eval $ac_compile) 2>&5
d6799 3
d6804 8
a6811 1
         { ac_try='test -s conftest.$ac_objext'
d6824 1
a6824 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6843 1
#line $LINENO "configure"
d6861 1
a6861 1
  (eval $ac_compile) 2>&5
d6863 3
d6868 8
a6875 1
         { ac_try='test -s conftest.$ac_objext'
d6888 1
a6888 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6911 1
#line $LINENO "configure"
d6917 4
d6925 1
d6931 3
d6964 1
a6964 1
  (eval $ac_link) 2>&5
d6966 3
d6971 8
a6978 1
         { ac_try='test -s conftest$ac_exeext'
d6991 2
a6992 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a7010 1
#line $LINENO "configure"
d7028 1
a7028 1
  (eval $ac_compile) 2>&5
d7030 3
d7035 8
a7042 1
         { ac_try='test -s conftest.$ac_objext'
d7055 1
a7055 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7101 1
#line $LINENO "configure"
a7118 1
#line $LINENO "configure"
a7135 1
#line $LINENO "configure"
a7174 1
#line $LINENO "configure"
d7191 1
a7191 1
  (eval $ac_compile) 2>&5
d7193 3
d7198 8
a7205 1
         { ac_try='test -s conftest.$ac_objext'
d7218 1
a7218 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7220 1
#line $LINENO "configure"
a7263 1
#line $LINENO "configure"
d7283 1
a7283 1
  (eval $ac_compile) 2>&5
d7285 3
d7290 8
a7297 1
         { ac_try='test -s conftest.$ac_objext'
d7310 1
a7310 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7329 1
#line $LINENO "configure"
d7349 1
a7349 1
  (eval $ac_compile) 2>&5
d7351 3
d7356 8
a7363 1
         { ac_try='test -s conftest.$ac_objext'
d7376 1
a7376 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7395 1
#line $LINENO "configure"
d7415 1
a7415 1
  (eval $ac_compile) 2>&5
d7417 3
d7422 8
a7429 1
         { ac_try='test -s conftest.$ac_objext'
d7442 1
a7442 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7461 1
#line $LINENO "configure"
a7515 1
#line $LINENO "configure"
d7526 1
a7526 1
  (eval $ac_compile) 2>&5
d7528 3
d7533 8
a7540 1
         { ac_try='test -s conftest.$ac_objext'
d7553 1
a7553 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7560 1
#line $LINENO "configure"
d7578 1
d7598 2
a7599 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d7602 3
a7604 10
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d7606 1
a7606 1
  no:yes )
d7609 6
a7614 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d7617 2
d7621 3
a7623 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
d7634 1
a7634 1
  eval "$as_ac_Header=$ac_header_preproc"
a7654 1
#line $LINENO "configure"
d7675 1
a7675 1
  (eval $ac_compile) 2>&5
d7677 3
d7682 8
a7689 1
         { ac_try='test -s conftest.$ac_objext'
d7702 1
a7702 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7721 1
#line $LINENO "configure"
d7738 1
a7738 1
  (eval $ac_compile) 2>&5
d7740 3
d7745 8
a7752 1
         { ac_try='test -s conftest.$ac_objext'
d7765 1
a7765 1
rm -f conftest.$ac_objext conftest.$ac_ext
d7823 2
a7824 2
         test -f $ac_im_libdir/libX11.$ac_extension; then
        ac_im_usrlibdir=$ac_im_libdir; break
a7883 1
#line $LINENO "configure"
d7901 1
a7931 1
#line $LINENO "configure"
d7948 1
a7948 1
  (eval $ac_link) 2>&5
d7950 3
d7955 8
a7962 1
         { ac_try='test -s conftest$ac_exeext'
d7987 2
a7988 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d7997 1
a7997 1
	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
a8023 1
#line $LINENO "configure"
d8041 1
a8067 1
#line $LINENO "configure"
d8085 1
a8153 1
#line $LINENO "configure"
d8177 1
a8177 1
  (eval $ac_link) 2>&5
d8179 3
d8184 8
a8191 1
         { ac_try='test -s conftest$ac_exeext'
d8204 2
a8205 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8275 1
#line $LINENO "configure"
d8293 1
a8293 1
  (eval $ac_link) 2>&5
d8295 3
d8300 8
a8307 1
         { ac_try='test -s conftest$ac_exeext'
d8320 2
a8321 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8349 1
#line $LINENO "configure"
d8370 1
a8370 1
  (eval $ac_link) 2>&5
d8372 3
d8377 8
a8384 1
         { ac_try='test -s conftest$ac_exeext'
d8403 2
a8404 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8462 1
#line $LINENO "configure"
d8481 1
a8481 1
  (eval $ac_compile) 2>&5
d8483 3
d8488 8
a8495 1
         { ac_try='test -s conftest.$ac_objext'
d8508 1
a8508 1
rm -f conftest.$ac_objext conftest.$ac_ext
a8533 1
#line $LINENO "configure"
d8539 4
d8547 1
d8553 3
d8586 1
a8586 1
  (eval $ac_link) 2>&5
d8588 3
d8593 8
a8600 1
         { ac_try='test -s conftest$ac_exeext'
d8613 2
a8614 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8634 1
#line $LINENO "configure"
d8681 1
a8681 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8691 8
a8698 1
	    LIBOBJS="$LIBOBJS fixstrtod.$ac_objext"
d8844 2
a8845 2
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d8850 1
a8850 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d8880 1
a8880 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
d8884 1
a8884 1
s/^\([^=]*=[ 	]*\):*/\1/;
d8886 1
a8886 1
s/^[^=]*=[ 	]*$//;
d8900 1
a8900 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
d8902 1
a8902 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
d8906 1
a8906 1
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
d8928 1
a8928 1
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d8972 1
d8975 1
a8975 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d8994 1
a8994 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d9173 1
d9180 1
a9180 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d9183 1
a9183 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d9210 1
a9210 1
generated by GNU Autoconf 2.57.  Invocation command line was
d9254 1
a9254 1
                   instantiate the configuration file FILE
d9265 1
a9265 1
configured by $0, generated by GNU Autoconf 2.57,
d9268 1
a9268 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
a9489 1
s,@@SHLIB_LD_FLAGS@@,$SHLIB_LD_FLAGS,;t t
d9557 1
a9557 1
  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
d9559 1
a9559 1
  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
d9577 3
a9579 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9581 1
a9581 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9588 4
a9591 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d9607 4
a9610 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d9648 39
a9686 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d9704 1
a9704 1
                                     sed 's,.*/,,'` by configure."
d9713 2
a9714 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9717 1
a9717 1
         echo $f;;
d9719 9
a9727 9
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9730 1
a9730 1
         fi;;
@


1.93
log
@	* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show
	console at startup instead of directly calling [console show].

	* unix/tcl.m4 (Darwin): fixed bug with static build linking to
	dynamic library in /usr/lib etc instead of linking to static library
	earlier in search path. [Tcl Bug 956908]
	Removed obsolete references to Rhapsody.
	* unix/configure: autoconf-2.57
@
text
@d5571 10
a5580 2
			    { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;}
d5592 2
a5593 2
		    { echo "$as_me:$LINENO: WARNING: \"64bit mode only supported sparcv9 system\"" >&5
echo "$as_me: WARNING: \"64bit mode only supported sparcv9 system\"" >&2;}
d5608 9
d5694 2
a5695 2
	{ echo "$as_me:$LINENO: WARNING: \"64bit support being disabled -- don\'t know magic for this platform\"" >&5
echo "$as_me: WARNING: \"64bit support being disabled -- don\'t know magic for this platform\"" >&2;}
@


1.92
log
@        * unix/tcl.m4:          Sync'ed to Tcl's copy.
        * unix/configure:       autoconf-2.57
@
text
@d5326 1
a5326 1
	Rhapsody-*|Darwin-*)
d5336 1
a5336 1
	    LDFLAGS="$LDFLAGS -prebind"
d5934 1
a5934 1
		Rhapsody-*|Darwin-*)
@


1.91
log
@Remove ${DBGX}, ${TK_DBGX} from Tk build system [Patch 1081595].
Re-synced with tcl/unix/tcl.m4.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.59 for tk 8.5.
d5 2
a6 1
# Copyright (C) 2003 Free Software Foundation, Inc.
a22 1
DUALCASE=1; export DUALCASE # for MKS sh
d25 1
a25 1
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a220 1
  test -d ./-p && rmdir ./-p
d227 1
a227 1
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d230 1
a230 1
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d669 1
a669 1
	      localstatedir libdir includedir oldincludedir infodir mandir
d709 4
a712 4
	 X"$0" : 'X\(//\)[^/]' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d804 1
a804 1
			  [$ac_default_prefix]
d806 1
a806 1
			  [PREFIX]
d912 6
a917 39

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d928 1
a928 1
	   test -f $ac_srcdir/configure.in; then
d934 1
a934 1
    cd "$ac_popdir"
d942 1
a942 1
generated by GNU Autoconf 2.59
d944 2
a945 1
Copyright (C) 2003 Free Software Foundation, Inc.
d957 1
a957 1
generated by GNU Autoconf 2.59.  Invocation command line was
d1034 1
a1034 1
	ac_must_keep_next=false # Got value, back to normal.
d1036 11
a1046 11
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
d1080 2
a1081 2
	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1085 1
a1085 1
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1114 1
a1114 1
	echo "$ac_var='"'"'$ac_val'"'"'"
d1133 1
a1133 1
  rm -f core *.core &&
d1213 1
a1213 1
	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1230 1
a1230 1
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1232 1
a1232 1
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1234 1
a1234 1
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1236 1
a1236 1
	ac_cache_corrupted=:
d1330 8
d1898 1
d1918 2
a1919 2
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
d1939 1
a1939 1
	;;
d1941 2
a1942 2
	# This is the source file.
	;;
d1944 3
a1946 3
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
d1948 6
a1953 6
	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	# FIXME: I believe we export ac_cv_exeext for Libtool,
	# but it would be cool to find out if it's true.  Does anybody
	# maintain Libtool? --akim.
	export ac_cv_exeext
	break;;
d1955 1
a1955 1
	break;;
d2029 2
a2030 2
	  export ac_cv_exeext
	  break;;
d2055 1
d2106 1
d2126 1
a2126 1
  (eval $ac_compile) 2>conftest.er1
a2127 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2130 1
a2130 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2143 1
a2143 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2159 1
d2176 1
a2176 1
  (eval $ac_compile) 2>conftest.er1
a2177 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2180 1
a2180 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2193 1
a2193 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2220 1
a2247 10

/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   function prototypes and stuff, but not '\xHH' hex character constants.
   These don't provoke an error unfortunately, instead are silently treated
   as 'x'.  The following induces an error, until -std1 is added to get
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   array size at least.  It's necessary to write '\x00'==0 to get something
   that's true only with -std1.  */
int osf4_cc_array ['\x00' == 0 ? 1 : -1];

d2274 1
a2274 1
  (eval $ac_compile) 2>conftest.er1
a2275 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2278 1
a2278 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2291 1
a2291 1
rm -f conftest.err conftest.$ac_objext
d2319 1
a2319 1
  (eval $ac_compile) 2>conftest.er1
a2320 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2323 1
a2323 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2330 2
a2331 1
   '' \
d2339 1
d2345 1
a2346 1
#include <stdlib.h>
d2357 1
a2357 1
  (eval $ac_compile) 2>conftest.er1
a2358 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2361 1
a2361 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2374 1
a2374 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2376 1
d2393 1
a2393 1
  (eval $ac_compile) 2>conftest.er1
a2394 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2397 1
a2397 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2409 1
a2409 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2423 1
a2423 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2462 1
d2473 1
a2473 1
		     Syntax error
a2484 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d2505 1
a2522 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d2569 1
d2580 1
a2580 1
		     Syntax error
a2591 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d2612 1
a2629 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d2690 1
d2711 1
a2711 1
  (eval $ac_compile) 2>conftest.er1
a2712 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2715 1
a2715 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2728 1
a2728 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2733 1
d2755 1
d2780 1
d2792 3
a2794 3
		   (('a' <= (c) && (c) <= 'i') \
		     || ('j' <= (c) && (c) <= 'r') \
		     || ('s' <= (c) && (c) <= 'z'))
d2805 1
a2805 1
	|| toupper (i) != TOUPPER (i))
d2830 1
a2830 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2855 1
a2855 1
		  inttypes.h stdint.h unistd.h
d2864 1
d2876 1
a2876 1
  (eval $ac_compile) 2>conftest.er1
a2877 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2880 1
a2880 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2893 1
a2893 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2924 1
d2935 1
a2935 1
  (eval $ac_compile) 2>conftest.er1
a2936 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d2939 1
a2939 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d2952 1
a2952 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d2960 1
a2977 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d2997 2
a2998 2
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
d3001 10
a3010 3
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
d3012 1
a3012 1
  no:yes:* )
d3015 2
a3016 6
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
a3018 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
d3021 3
a3023 3
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
d3034 1
a3034 1
  eval "$as_ac_Header=\$ac_header_preproc"
d3062 1
d3079 1
a3079 1
  (eval $ac_compile) 2>conftest.er1
a3080 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3083 1
a3083 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d3099 1
a3099 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d3171 1
d3195 1
a3195 1
  (eval $ac_link) 2>conftest.er1
a3196 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3199 1
a3199 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3212 1
a3212 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3237 1
d3261 1
a3261 1
  (eval $ac_link) 2>conftest.er1
a3262 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3265 1
a3265 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3278 1
a3278 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3303 1
d3327 1
a3327 1
  (eval $ac_link) 2>conftest.er1
a3328 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3331 1
a3331 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3344 1
a3344 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3367 1
d3391 1
a3391 1
  (eval $ac_link) 2>conftest.er1
a3392 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3395 1
a3395 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3408 1
a3408 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3428 1
d3452 1
a3452 1
  (eval $ac_link) 2>conftest.er1
a3453 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3456 1
a3456 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3469 1
a3469 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3507 1
a3512 4
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

a3516 1

a3521 3

#undef $ac_func

d3552 1
a3552 1
  (eval $ac_link) 2>conftest.er1
a3553 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3556 1
a3556 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3569 1
a3569 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3587 1
a3592 4
/* Define pthread_attr_get_np to an innocuous variant, in case <limits.h> declares pthread_attr_get_np.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define pthread_attr_get_np innocuous_pthread_attr_get_np

a3596 1

a3601 3

#undef pthread_attr_get_np

d3632 1
a3632 1
  (eval $ac_link) 2>conftest.er1
a3633 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3636 1
a3636 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3649 1
a3649 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3671 1
d3706 1
a3711 4
/* Define pthread_getattr_np to an innocuous variant, in case <limits.h> declares pthread_getattr_np.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define pthread_getattr_np innocuous_pthread_getattr_np

a3715 1

a3720 3

#undef pthread_getattr_np

d3751 1
a3751 1
  (eval $ac_link) 2>conftest.er1
a3752 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d3755 1
a3755 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d3768 1
a3768 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d3790 1
d4034 1
d4058 1
a4058 1
  (eval $ac_link) 2>conftest.er1
a4059 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4062 1
a4062 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d4075 1
a4075 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d4237 1
a4237 8
		case $LIBOBJS in
    "tclLoadAix.$ac_objext"   | \
  *" tclLoadAix.$ac_objext"   | \
    "tclLoadAix.$ac_objext "* | \
  *" tclLoadAix.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext" ;;
esac

d4277 1
d4301 1
a4301 1
  (eval $ac_link) 2>conftest.er1
a4302 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4305 1
a4305 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d4318 1
a4318 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d4359 1
d4383 1
a4383 1
  (eval $ac_link) 2>conftest.er1
a4384 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4387 1
a4387 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d4400 1
a4400 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d4464 1
d4488 1
a4488 1
  (eval $ac_link) 2>conftest.er1
a4489 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4492 1
a4492 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d4505 1
a4505 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d4572 1
d4596 1
a4596 1
  (eval $ac_link) 2>conftest.er1
a4597 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4600 1
a4600 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d4613 1
a4613 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d4739 1
d4750 1
a4750 1
  (eval $ac_compile) 2>conftest.er1
a4751 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4754 1
a4754 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d4767 1
a4767 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4775 1
a4792 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d4812 2
a4813 2
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
d4816 10
a4825 3
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
d4827 1
a4827 1
  no:yes:* )
d4830 2
a4831 6
    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
a4833 2
    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
d4836 3
a4838 3
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
d4915 1
d4926 1
a4926 1
  (eval $ac_compile) 2>conftest.er1
a4927 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d4930 1
a4930 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d4943 1
a4943 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d4951 1
a4968 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d4988 2
a4989 2
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
d4992 10
a5001 3
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
d5003 1
a5003 1
  no:yes:* )
d5006 2
a5007 6
    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
a5009 2
    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
d5012 3
a5014 3
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
d5082 1
d5093 1
a5093 1
  (eval $ac_compile) 2>conftest.er1
a5094 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d5097 1
a5097 1
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
d5102 2
a5103 8
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes
d5110 1
a5110 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d5118 1
a5135 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d5155 2
a5156 2
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
d5159 10
a5168 3
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
d5170 1
a5170 1
  no:yes:* )
d5173 2
a5174 6
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
a5176 2
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
d5179 3
a5181 3
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
d5212 1
d5270 1
d5634 1
d5651 1
a5651 1
  (eval $ac_link) 2>conftest.er1
a5652 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d5655 1
a5655 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d5668 1
a5668 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d5712 1
d5740 1
a5740 1
  (eval $ac_compile) 2>conftest.er1
a5741 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d5744 1
a5744 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d5757 1
a5757 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d5770 1
d5798 1
a5798 1
  (eval $ac_compile) 2>conftest.er1
a5799 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d5802 1
a5802 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d5815 1
a5815 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d5828 1
d5856 1
a5856 1
  (eval $ac_compile) 2>conftest.er1
a5857 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d5860 1
a5860 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d5873 1
a5873 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6114 1
d6131 1
a6131 1
  (eval $ac_compile) 2>conftest.er1
a6132 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6135 1
a6135 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6147 1
d6165 1
a6165 1
  (eval $ac_compile) 2>conftest.er1
a6166 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6169 1
a6169 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6182 1
a6182 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6184 1
a6184 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6200 1
d6217 1
a6217 1
  (eval $ac_compile) 2>conftest.er1
a6218 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6221 1
a6221 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6233 1
d6251 1
a6251 1
  (eval $ac_compile) 2>conftest.er1
a6252 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6255 1
a6255 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6268 1
a6268 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6270 1
a6270 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6299 1
d6316 1
a6316 1
  (eval $ac_compile) 2>conftest.er1
a6317 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6320 1
a6320 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6333 1
a6333 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6338 1
d6357 1
a6357 1
  (eval $ac_compile) 2>conftest.er1
a6358 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6361 1
a6361 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6373 1
a6373 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6401 1
d6419 1
a6419 1
  (eval $ac_compile) 2>conftest.er1
a6420 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6423 1
a6423 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6436 1
a6436 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6456 1
d6474 1
a6474 1
  (eval $ac_compile) 2>conftest.er1
a6475 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6478 1
a6478 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6491 1
a6491 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6515 1
a6520 4
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define $ac_func innocuous_$ac_func

a6524 1

a6529 3

#undef $ac_func

d6560 1
a6560 1
  (eval $ac_link) 2>conftest.er1
a6561 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6564 1
a6564 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d6577 1
a6577 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d6596 1
d6614 1
a6614 1
  (eval $ac_compile) 2>conftest.er1
a6615 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6618 1
a6618 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6631 1
a6631 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6678 1
d6696 1
d6714 1
d6754 1
d6771 1
a6771 1
  (eval $ac_compile) 2>conftest.er1
a6772 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6775 1
a6775 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6788 1
a6788 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6791 1
d6835 1
d6855 1
a6855 1
  (eval $ac_compile) 2>conftest.er1
a6856 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6859 1
a6859 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6872 1
a6872 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6892 1
d6912 1
a6912 1
  (eval $ac_compile) 2>conftest.er1
a6913 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6916 1
a6916 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6929 1
a6929 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d6949 1
d6969 1
a6969 1
  (eval $ac_compile) 2>conftest.er1
a6970 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6973 1
a6973 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d6986 1
a6986 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7006 1
d7061 1
d7072 1
a7072 1
  (eval $ac_compile) 2>conftest.er1
a7073 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7076 1
a7076 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d7089 1
a7089 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7097 1
a7114 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d7134 2
a7135 2
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  yes:no: )
d7138 10
a7147 3
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    ac_header_preproc=yes
d7149 1
a7149 1
  no:yes:* )
d7152 2
a7153 6
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
a7155 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
d7158 3
a7160 3
## ----------------------------- ##
## Report this to the tk lists.  ##
## ----------------------------- ##
d7171 1
a7171 1
  eval "$as_ac_Header=\$ac_header_preproc"
d7192 1
d7213 1
a7213 1
  (eval $ac_compile) 2>conftest.er1
a7214 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7217 1
a7217 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d7230 1
a7230 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d7250 1
d7267 1
a7267 1
  (eval $ac_compile) 2>conftest.er1
a7268 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7271 1
a7271 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d7284 1
a7284 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
a7307 1
ac_path_x_has_been_run=yes
d7342 2
a7343 2
	 test -f $ac_im_libdir/libX11.$ac_extension; then
	ac_im_usrlibdir=$ac_im_libdir; break
d7400 1
a7400 1
  # Guess where to find include files, by looking for a specified header file.
d7403 1
a7420 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d7451 1
d7468 1
a7468 1
  (eval $ac_link) 2>conftest.er1
a7469 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7472 1
a7472 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d7497 1
a7497 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d7506 1
a7506 1
		ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d7525 2
a7526 6
  # It might be that x_includes is empty (headers are found in the
  # standard search path. Then output the corresponding message
  ac_out_x_includes=$x_includes
  test "x$x_includes" = x && ac_out_x_includes="in standard search path"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
d7533 1
a7550 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d7577 1
a7594 1
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
d7663 1
d7687 1
a7687 1
  (eval $ac_link) 2>conftest.er1
a7688 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7691 1
a7691 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d7704 1
a7704 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d7775 1
d7793 1
a7793 1
  (eval $ac_link) 2>conftest.er1
a7794 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7797 1
a7797 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d7810 1
a7810 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d7839 1
d7860 1
a7860 1
  (eval $ac_link) 2>conftest.er1
a7861 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7864 1
a7864 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d7883 1
a7883 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d7942 1
d7961 1
a7961 1
  (eval $ac_compile) 2>conftest.er1
a7962 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d7965 1
a7965 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest.$ac_objext'
d7978 1
a7978 1
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
d8004 1
a8009 4
/* Define strtod to an innocuous variant, in case <limits.h> declares strtod.
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
#define strtod innocuous_strtod

a8013 1

a8018 3

#undef strtod

d8049 1
a8049 1
  (eval $ac_link) 2>conftest.er1
a8050 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d8053 1
a8053 7
	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; } &&
	 { ac_try='test -s conftest$ac_exeext'
d8066 1
a8066 2
rm -f conftest.err conftest.$ac_objext \
      conftest$ac_exeext conftest.$ac_ext
d8087 1
d8134 1
a8134 1
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8144 1
a8144 8
	    case $LIBOBJS in
    "fixstrtod.$ac_objext"   | \
  *" fixstrtod.$ac_objext"   | \
    "fixstrtod.$ac_objext "* | \
  *" fixstrtod.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS fixstrtod.$ac_objext" ;;
esac

d8290 2
a8291 2
	"s/'/'\\\\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d8296 1
a8296 1
	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d8326 1
a8326 1
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
d8330 1
a8330 1
s/^\([^=]*=[	 ]*\):*/\1/;
d8332 1
a8332 1
s/^[^=]*=[	 ]*$//;
d8346 1
a8346 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
d8348 1
a8348 1
s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
d8352 1
a8352 1
s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
d8374 1
a8374 1
	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
a8417 1
DUALCASE=1; export DUALCASE # for MKS sh
d8420 1
a8420 1
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
d8439 1
a8439 1
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
a8617 1
  test -d ./-p && rmdir ./-p
d8624 1
a8624 1
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
d8627 1
a8627 1
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
d8654 1
a8654 1
generated by GNU Autoconf 2.59.  Invocation command line was
d8698 1
a8698 1
		   instantiate the configuration file FILE
d8709 1
a8709 1
configured by $0, generated by GNU Autoconf 2.59,
d8712 2
a8713 1
Copyright (C) 2003 Free Software Foundation, Inc.
d9003 1
a9003 1
	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
d9005 1
a9005 1
	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
d9023 3
a9025 3
	cat >$tmp/stdin
	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9027 1
a9027 1
	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9034 4
a9037 4
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d9053 4
a9056 4
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| \
	 .     : '\(.\)' 2>/dev/null ||
d9094 6
a9099 39

# Do not use `cd foo && pwd` to compute absolute paths, because
# the directories may not exist.
case `pwd` in
.) ac_abs_builddir="$ac_dir";;
*)
  case "$ac_dir" in
  .) ac_abs_builddir=`pwd`;;
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_builddir=${ac_top_builddir}.;;
*)
  case ${ac_top_builddir}. in
  .) ac_abs_top_builddir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_srcdir=$ac_srcdir;;
*)
  case $ac_srcdir in
  .) ac_abs_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  esac;;
esac
case $ac_abs_builddir in
.) ac_abs_top_srcdir=$ac_top_srcdir;;
*)
  case $ac_top_srcdir in
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  esac;;
esac
d9103 5
d9117 1
a9117 1
				     sed 's,.*/,,'` by configure."
d9126 2
a9127 2
	 # Absolute (can't be DOS-style, as IFS=:)
	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9130 1
a9130 1
	 echo "$f";;
d9132 9
a9140 9
	 if test -f "$f"; then
	   # Build tree
	   echo "$f"
	 elif test -f "$srcdir/$f"; then
	   # Source tree
	   echo "$srcdir/$f"
	 else
	   # /dev/null tree
	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9143 1
a9143 1
	 fi;;
a9145 6

  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
@


1.90
log
@ran autoconf-2.57
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.57 for tk 8.5.
d5 1
a5 2
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
d22 1
d25 1
a25 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d44 1
a44 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d221 1
d228 1
a228 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d231 1
a231 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MAN_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d670 1
a670 1
              localstatedir libdir includedir oldincludedir infodir mandir
d710 4
a713 4
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d805 1
a805 1
                          [$ac_default_prefix]
d807 1
a807 1
                          [PREFIX]
d913 39
a951 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
d962 1
a962 1
           test -f $ac_srcdir/configure.in; then
d968 1
a968 1
    cd $ac_popdir
d976 1
a976 1
generated by GNU Autoconf 2.57
d978 1
a978 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
d990 1
a990 1
generated by GNU Autoconf 2.57.  Invocation command line was
d1067 1
a1067 1
        ac_must_keep_next=false # Got value, back to normal.
d1069 11
a1079 11
        case $ac_arg in
          *=* | --config-cache | -C | -disable-* | --disable-* \
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
          | -with-* | --with-* | -without-* | --without-* | --x)
            case "$ac_configure_args0 " in
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
            esac
            ;;
          -* ) ac_must_keep_next=true ;;
        esac
d1113 2
a1114 2
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
d1118 1
a1118 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d1147 1
a1147 1
        echo "$ac_var='"'"'$ac_val'"'"'"
d1166 1
a1166 1
  rm -f core core.* *.core &&
d1246 1
a1246 1
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
d1263 1
a1263 1
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
d1265 1
a1265 1
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
d1267 1
a1267 1
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
d1269 1
a1269 1
        ac_cache_corrupted=:
d1468 1
a1922 1
#line $LINENO "configure"
d1942 2
a1943 2
echo "$as_me:$LINENO: checking for C compiler default output" >&5
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
d1963 1
a1963 1
        ;;
d1965 2
a1966 2
        # This is the source file.
        ;;
d1968 3
a1970 3
        # We found the default executable, but exeext='' is most
        # certainly right.
        break;;
d1972 6
a1977 6
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        # FIXME: I believe we export ac_cv_exeext for Libtool,
        # but it would be cool to find out if it's true.  Does anybody
        # maintain Libtool? --akim.
        export ac_cv_exeext
        break;;
d1979 1
a1979 1
        break;;
d2053 2
a2054 2
          export ac_cv_exeext
          break;;
a2078 1
#line $LINENO "configure"
a2128 1
#line $LINENO "configure"
d2148 1
a2148 1
  (eval $ac_compile) 2>&5
d2150 3
d2155 7
a2161 1
         { ac_try='test -s conftest.$ac_objext'
d2174 1
a2174 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2189 1
#line $LINENO "configure"
d2206 1
a2206 1
  (eval $ac_compile) 2>&5
d2208 3
d2213 7
a2219 1
         { ac_try='test -s conftest.$ac_objext'
d2232 1
a2232 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2258 1
#line $LINENO "configure"
d2286 10
d2322 1
a2322 1
  (eval $ac_compile) 2>&5
d2324 3
d2329 7
a2335 1
         { ac_try='test -s conftest.$ac_objext'
d2348 1
a2348 1
rm -f conftest.$ac_objext
d2376 1
a2376 1
  (eval $ac_compile) 2>&5
d2378 3
d2383 7
a2389 1
         { ac_try='test -s conftest.$ac_objext'
d2396 1
a2396 2
   ''\
   '#include <stdlib.h>' \
a2403 1
#line $LINENO "configure"
d2409 1
a2410 1
$ac_declaration
d2421 1
a2421 1
  (eval $ac_compile) 2>&5
d2423 3
d2428 7
a2434 1
         { ac_try='test -s conftest.$ac_objext'
d2447 1
a2447 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2448 1
#line $LINENO "configure"
d2465 1
a2465 1
  (eval $ac_compile) 2>&5
d2467 3
d2472 7
a2478 1
         { ac_try='test -s conftest.$ac_objext'
d2490 1
a2490 1
rm -f conftest.$ac_objext conftest.$ac_ext
d2504 1
a2504 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2542 1
#line $LINENO "configure"
d2553 1
a2553 1
                     Syntax error
d2565 1
a2585 1
#line $LINENO "configure"
d2603 1
a2649 1
#line $LINENO "configure"
d2660 1
a2660 1
                     Syntax error
d2672 1
a2692 1
#line $LINENO "configure"
d2710 1
a2770 1
#line $LINENO "configure"
d2791 1
a2791 1
  (eval $ac_compile) 2>&5
d2793 3
d2798 7
a2804 1
         { ac_try='test -s conftest.$ac_objext'
d2817 1
a2817 1
rm -f conftest.$ac_objext conftest.$ac_ext
a2821 1
#line $LINENO "configure"
a2842 1
#line $LINENO "configure"
a2866 1
#line $LINENO "configure"
d2878 3
a2880 3
                   (('a' <= (c) && (c) <= 'i') \
                     || ('j' <= (c) && (c) <= 'r') \
                     || ('s' <= (c) && (c) <= 'z'))
d2891 1
a2891 1
        || toupper (i) != TOUPPER (i))
d2916 1
a2916 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d2941 1
a2941 1
                  inttypes.h stdint.h unistd.h
a2949 1
#line $LINENO "configure"
d2961 1
a2961 1
  (eval $ac_compile) 2>&5
d2963 3
d2968 7
a2974 1
         { ac_try='test -s conftest.$ac_objext'
d2987 1
a2987 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3017 1
#line $LINENO "configure"
d3028 1
a3028 1
  (eval $ac_compile) 2>&5
d3030 3
d3035 7
a3041 1
         { ac_try='test -s conftest.$ac_objext'
d3054 1
a3054 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3061 1
#line $LINENO "configure"
d3079 1
d3099 2
a3100 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d3103 3
a3105 10
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d3107 1
a3107 1
  no:yes )
d3110 6
a3115 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d3118 2
d3122 3
a3124 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
d3135 1
a3135 1
  eval "$as_ac_Header=$ac_header_preproc"
a3162 1
#line $LINENO "configure"
d3179 1
a3179 1
  (eval $ac_compile) 2>&5
d3181 3
d3186 7
a3192 1
         { ac_try='test -s conftest.$ac_objext'
d3208 1
a3208 1
rm -f conftest.$ac_objext conftest.$ac_ext
a3279 1
#line $LINENO "configure"
d3303 1
a3303 1
  (eval $ac_link) 2>&5
d3305 3
d3310 7
a3316 1
         { ac_try='test -s conftest$ac_exeext'
d3329 2
a3330 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3354 1
#line $LINENO "configure"
d3378 1
a3378 1
  (eval $ac_link) 2>&5
d3380 3
d3385 7
a3391 1
         { ac_try='test -s conftest$ac_exeext'
d3404 2
a3405 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3429 1
#line $LINENO "configure"
d3453 1
a3453 1
  (eval $ac_link) 2>&5
d3455 3
d3460 7
a3466 1
         { ac_try='test -s conftest$ac_exeext'
d3479 2
a3480 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3502 1
#line $LINENO "configure"
d3526 1
a3526 1
  (eval $ac_link) 2>&5
d3528 3
d3533 7
a3539 1
         { ac_try='test -s conftest$ac_exeext'
d3552 2
a3553 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3572 1
#line $LINENO "configure"
d3596 1
a3596 1
  (eval $ac_link) 2>&5
d3598 3
d3603 7
a3609 1
         { ac_try='test -s conftest$ac_exeext'
d3622 2
a3623 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3660 1
#line $LINENO "configure"
d3666 4
d3674 1
d3680 3
d3713 1
a3713 1
  (eval $ac_link) 2>&5
d3715 3
d3720 7
a3726 1
         { ac_try='test -s conftest$ac_exeext'
d3739 2
a3740 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3757 1
#line $LINENO "configure"
d3763 4
d3771 1
d3777 3
d3810 1
a3810 1
  (eval $ac_link) 2>&5
d3812 3
d3817 7
a3823 1
         { ac_try='test -s conftest$ac_exeext'
d3836 2
a3837 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3858 1
#line $LINENO "configure"
a3892 1
#line $LINENO "configure"
d3898 4
d3906 1
d3912 3
d3945 1
a3945 1
  (eval $ac_link) 2>&5
d3947 3
d3952 7
a3958 1
         { ac_try='test -s conftest$ac_exeext'
d3971 2
a3972 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a3993 1
#line $LINENO "configure"
a4023 207

for ac_func in readdir_r
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_var=yes"
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

eval "$as_ac_var=no"
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

	if test "x$ac_cv_func_readdir_r" = "xyes"; then
            echo "$as_me:$LINENO: checking how many args readdir_r takes" >&5
echo $ECHO_N "checking how many args readdir_r takes... $ECHO_C" >&6
	    # IRIX 5.3 has a 2 arg version of readdir_r
	    # while other systems have a 3 arg version.
	    if test "${tcl_cv_two_arg_readdir_r+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <sys/types.h>
#ifdef NO_DIRENT_H
# include <sys/dir.h>  /* logic from tcl/compat/dirent.h *
# define dirent direct  *                                */
#else
# include <dirent.h>
#endif

int
main ()
{
readdir_r(NULL, NULL);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_two_arg_readdir_r=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_two_arg_readdir_r=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

	    if test "${tcl_cv_three_arg_readdir_r+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>
#include <sys/types.h>
#ifdef NO_DIRENT_H
# include <sys/dir.h>  /* logic from tcl/compat/dirent.h *
# define dirent direct  *                                */
#else
# include <dirent.h>
#endif

int
main ()
{
readdir_r(NULL, NULL, NULL);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_three_arg_readdir_r=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_three_arg_readdir_r=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

	    if test "x$tcl_cv_two_arg_readdir_r" = "xyes" ; then
                echo "$as_me:$LINENO: result: 2" >&5
echo "${ECHO_T}2" >&6
	        cat >>confdefs.h <<\_ACEOF
#define HAVE_TWO_ARG_READDIR_R 1
_ACEOF

	    elif test "x$tcl_cv_three_arg_readdir_r" = "xyes" ; then
                echo "$as_me:$LINENO: result: 3" >&5
echo "${ECHO_T}3" >&6
	        cat >>confdefs.h <<\_ACEOF
#define HAVE_THREE_ARG_READDIR_R 1
_ACEOF

	    else
	        { { echo "$as_me:$LINENO: error: unknown number of args for readdir_r" >&5
echo "$as_me: error: unknown number of args for readdir_r" >&2;}
   { (exit 1); exit 1; }; }
	    fi
	fi
a4236 1
#line $LINENO "configure"
d4260 1
a4260 1
  (eval $ac_link) 2>&5
d4262 3
d4267 7
a4273 1
         { ac_try='test -s conftest$ac_exeext'
d4286 2
a4287 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d4423 1
a4423 1
		TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
d4445 1
a4445 1
	    TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
d4449 8
a4456 1
		LIBOBJS="$LIBOBJS tclLoadAix.$ac_objext"
a4495 1
#line $LINENO "configure"
d4519 1
a4519 1
  (eval $ac_link) 2>&5
d4521 3
d4526 7
a4532 1
         { ac_try='test -s conftest$ac_exeext'
d4545 2
a4546 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4586 1
#line $LINENO "configure"
d4610 1
a4610 1
  (eval $ac_link) 2>&5
d4612 3
d4617 7
a4623 1
         { ac_try='test -s conftest$ac_exeext'
d4636 2
a4637 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4700 1
#line $LINENO "configure"
d4724 1
a4724 1
  (eval $ac_link) 2>&5
d4726 3
d4731 7
a4737 1
         { ac_try='test -s conftest$ac_exeext'
d4750 2
a4751 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a4817 1
#line $LINENO "configure"
d4841 1
a4841 1
  (eval $ac_link) 2>&5
d4843 3
d4848 7
a4854 1
         { ac_try='test -s conftest$ac_exeext'
d4867 2
a4868 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d4901 1
a4901 1
	    SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
a4993 1
#line $LINENO "configure"
d5004 1
a5004 1
  (eval $ac_compile) 2>&5
d5006 3
d5011 7
a5017 1
         { ac_try='test -s conftest.$ac_objext'
d5030 1
a5030 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5037 1
#line $LINENO "configure"
d5055 1
d5075 2
a5076 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5079 3
a5081 10
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5083 1
a5083 1
  no:yes )
d5086 6
a5091 2
    { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
d5094 2
d5098 3
a5100 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5176 1
#line $LINENO "configure"
d5187 1
a5187 1
  (eval $ac_compile) 2>&5
d5189 3
d5194 7
a5200 1
         { ac_try='test -s conftest.$ac_objext'
d5213 1
a5213 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5220 1
#line $LINENO "configure"
d5238 1
d5258 2
a5259 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5262 3
a5264 10
    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5266 1
a5266 1
  no:yes )
d5269 6
a5274 2
    { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}
d5277 2
d5281 3
a5283 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5350 1
#line $LINENO "configure"
d5361 1
a5361 1
  (eval $ac_compile) 2>&5
d5363 3
d5368 7
a5374 1
         { ac_try='test -s conftest.$ac_objext'
d5387 1
a5387 1
rm -f conftest.$ac_objext conftest.$ac_ext
a5394 1
#line $LINENO "configure"
d5412 1
d5432 2
a5433 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d5436 3
a5438 10
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d5440 1
a5440 1
  no:yes )
d5443 6
a5448 2
    { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
d5451 2
d5455 3
a5457 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
a5487 1
#line $LINENO "configure"
d5503 1
a5503 1
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
d5507 1
a5507 1
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
d5523 1
a5523 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
d5531 1
a5531 1
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
a5544 1
#line $LINENO "configure"
d5560 1
a5560 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
d5564 1
a5564 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
d5571 1
a5571 1
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
d5594 2
a5595 2
	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
d5783 2
a5784 2
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
a5907 1
#line $LINENO "configure"
d5924 1
a5924 1
  (eval $ac_link) 2>&5
d5926 3
d5931 7
a5937 1
         { ac_try='test -s conftest$ac_exeext'
d5950 2
a5951 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a5994 1
#line $LINENO "configure"
d6022 1
a6022 1
  (eval $ac_compile) 2>&5
d6024 3
d6029 7
a6035 1
         { ac_try='test -s conftest.$ac_objext'
d6048 1
a6048 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6060 1
#line $LINENO "configure"
d6088 1
a6088 1
  (eval $ac_compile) 2>&5
d6090 3
d6095 7
a6101 1
         { ac_try='test -s conftest.$ac_objext'
d6114 1
a6114 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6126 1
#line $LINENO "configure"
d6154 1
a6154 1
  (eval $ac_compile) 2>&5
d6156 3
d6161 7
a6167 1
         { ac_try='test -s conftest.$ac_objext'
d6180 1
a6180 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6257 1
a6257 1
	SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}'
d6260 1
a6260 1
	UNSHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}.a'
d6349 1
a6352 1
	DBGX=""
a6362 1
	DBGX=g
a6407 2
TK_DBGX=${DBGX}

a6420 1
#line $LINENO "configure"
d6437 1
a6437 1
  (eval $ac_compile) 2>&5
d6439 3
d6444 7
a6450 1
         { ac_try='test -s conftest.$ac_objext'
a6461 1
#line $LINENO "configure"
d6479 1
a6479 1
  (eval $ac_compile) 2>&5
d6481 3
d6486 7
a6492 1
         { ac_try='test -s conftest.$ac_objext'
d6505 1
a6505 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6507 1
a6507 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6522 1
#line $LINENO "configure"
d6539 1
a6539 1
  (eval $ac_compile) 2>&5
d6541 3
d6546 7
a6552 1
         { ac_try='test -s conftest.$ac_objext'
a6563 1
#line $LINENO "configure"
d6581 1
a6581 1
  (eval $ac_compile) 2>&5
d6583 3
d6588 7
a6594 1
         { ac_try='test -s conftest.$ac_objext'
d6607 1
a6607 1
rm -f conftest.$ac_objext conftest.$ac_ext
d6609 1
a6609 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6637 1
#line $LINENO "configure"
d6654 1
a6654 1
  (eval $ac_compile) 2>&5
d6656 3
d6661 7
a6667 1
         { ac_try='test -s conftest.$ac_objext'
d6680 1
a6680 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6684 1
#line $LINENO "configure"
d6703 1
a6703 1
  (eval $ac_compile) 2>&5
d6705 3
d6710 7
a6716 1
         { ac_try='test -s conftest.$ac_objext'
d6728 1
a6728 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6755 1
#line $LINENO "configure"
d6773 1
a6773 1
  (eval $ac_compile) 2>&5
d6775 3
d6780 7
a6786 1
         { ac_try='test -s conftest.$ac_objext'
d6799 1
a6799 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6818 1
#line $LINENO "configure"
d6836 1
a6836 1
  (eval $ac_compile) 2>&5
d6838 3
d6843 7
a6849 1
         { ac_try='test -s conftest.$ac_objext'
d6862 1
a6862 1
rm -f conftest.$ac_objext conftest.$ac_ext
a6885 1
#line $LINENO "configure"
d6891 4
d6899 1
d6905 3
d6938 1
a6938 1
  (eval $ac_link) 2>&5
d6940 3
d6945 7
a6951 1
         { ac_try='test -s conftest$ac_exeext'
d6964 2
a6965 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a6983 1
#line $LINENO "configure"
d7001 1
a7001 1
  (eval $ac_compile) 2>&5
d7003 3
d7008 7
a7014 1
         { ac_try='test -s conftest.$ac_objext'
d7027 1
a7027 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7073 1
#line $LINENO "configure"
a7090 1
#line $LINENO "configure"
a7107 1
#line $LINENO "configure"
a7146 1
#line $LINENO "configure"
d7163 1
a7163 1
  (eval $ac_compile) 2>&5
d7165 3
d7170 7
a7176 1
         { ac_try='test -s conftest.$ac_objext'
d7189 1
a7189 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7191 1
#line $LINENO "configure"
a7234 1
#line $LINENO "configure"
d7254 1
a7254 1
  (eval $ac_compile) 2>&5
d7256 3
d7261 7
a7267 1
         { ac_try='test -s conftest.$ac_objext'
d7280 1
a7280 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7299 1
#line $LINENO "configure"
d7319 1
a7319 1
  (eval $ac_compile) 2>&5
d7321 3
d7326 7
a7332 1
         { ac_try='test -s conftest.$ac_objext'
d7345 1
a7345 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7364 1
#line $LINENO "configure"
d7384 1
a7384 1
  (eval $ac_compile) 2>&5
d7386 3
d7391 7
a7397 1
         { ac_try='test -s conftest.$ac_objext'
d7410 1
a7410 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7429 1
#line $LINENO "configure"
a7483 1
#line $LINENO "configure"
d7494 1
a7494 1
  (eval $ac_compile) 2>&5
d7496 3
d7501 7
a7507 1
         { ac_try='test -s conftest.$ac_objext'
d7520 1
a7520 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7527 1
#line $LINENO "configure"
d7545 1
d7565 2
a7566 2
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
d7569 3
a7571 10
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
d7573 1
a7573 1
  no:yes )
d7576 6
a7581 2
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
d7584 2
d7588 3
a7590 3
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
d7601 1
a7601 1
  eval "$as_ac_Header=$ac_header_preproc"
a7621 1
#line $LINENO "configure"
d7642 1
a7642 1
  (eval $ac_compile) 2>&5
d7644 3
d7649 7
a7655 1
         { ac_try='test -s conftest.$ac_objext'
d7668 1
a7668 1
rm -f conftest.$ac_objext conftest.$ac_ext
a7687 1
#line $LINENO "configure"
d7704 1
a7704 1
  (eval $ac_compile) 2>&5
d7706 3
d7711 7
a7717 1
         { ac_try='test -s conftest.$ac_objext'
d7730 1
a7730 1
rm -f conftest.$ac_objext conftest.$ac_ext
d7754 1
d7789 2
a7790 2
         test -f $ac_im_libdir/libX11.$ac_extension; then
        ac_im_usrlibdir=$ac_im_libdir; break
d7847 1
a7847 1
  # Guess where to find include files, by looking for Intrinsic.h.
a7849 1
#line $LINENO "configure"
d7867 1
a7897 1
#line $LINENO "configure"
d7914 1
a7914 1
  (eval $ac_link) 2>&5
d7916 3
d7921 7
a7927 1
         { ac_try='test -s conftest$ac_exeext'
d7952 2
a7953 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d7962 1
a7962 1
	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
d7981 6
a7986 2
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
a7992 1
#line $LINENO "configure"
d8010 1
a8036 1
#line $LINENO "configure"
d8054 1
a8122 1
#line $LINENO "configure"
d8146 1
a8146 1
  (eval $ac_link) 2>&5
d8148 3
d8153 7
a8159 1
         { ac_try='test -s conftest$ac_exeext'
d8172 2
a8173 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8243 1
#line $LINENO "configure"
d8261 1
a8261 1
  (eval $ac_link) 2>&5
d8263 3
d8268 7
a8274 1
         { ac_try='test -s conftest$ac_exeext'
d8287 2
a8288 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8316 1
#line $LINENO "configure"
d8337 1
a8337 1
  (eval $ac_link) 2>&5
d8339 3
d8344 7
a8350 1
         { ac_try='test -s conftest$ac_exeext'
d8369 2
a8370 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8428 1
#line $LINENO "configure"
d8447 1
a8447 1
  (eval $ac_compile) 2>&5
d8449 3
d8454 7
a8460 1
         { ac_try='test -s conftest.$ac_objext'
d8473 1
a8473 1
rm -f conftest.$ac_objext conftest.$ac_ext
a8498 1
#line $LINENO "configure"
d8504 4
d8512 1
d8518 3
d8551 1
a8551 1
  (eval $ac_link) 2>&5
d8553 3
d8558 7
a8564 1
         { ac_try='test -s conftest$ac_exeext'
d8577 2
a8578 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
a8598 1
#line $LINENO "configure"
d8645 1
a8645 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d8655 8
a8662 1
	    LIBOBJS="$LIBOBJS fixstrtod.$ac_objext"
d8697 1
a8697 1
	eval TK_LIB_FLAG="-ltk${VERSION}\${TK_DBGX}"
d8699 1
a8699 1
	eval TK_LIB_FLAG="-ltk`echo ${VERSION} | tr -d .`\${TK_DBGX}"
d8732 1
a8732 1
    eval TK_STUB_LIB_FLAG="-ltkstub${TK_VERSION}\${TK_DBGX}"
d8734 1
a8734 1
    eval TK_STUB_LIB_FLAG="-ltkstub`echo ${TK_VERSION} | tr -d .`\${TK_DBGX}"
a8778 1

d8808 2
a8809 2
        "s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
d8814 1
a8814 1
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
d8844 1
a8844 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
d8848 1
a8848 1
s/^\([^=]*=[ 	]*\):*/\1/;
d8850 1
a8850 1
s/^[^=]*=[ 	]*$//;
d8864 1
a8864 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
d8866 1
a8866 1
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
d8870 1
a8870 1
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
d8892 1
a8892 1
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
d8936 1
d8939 1
a8939 1
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
d8958 1
a8958 1
  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
d9137 1
d9144 1
a9144 1
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
d9147 1
a9147 1
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
d9174 1
a9174 1
generated by GNU Autoconf 2.57.  Invocation command line was
d9218 1
a9218 1
                   instantiate the configuration file FILE
d9229 1
a9229 1
configured by $0, generated by GNU Autoconf 2.57,
d9232 1
a9232 2
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
a9470 1
s,@@TK_DBGX@@,$TK_DBGX,;t t
d9522 1
a9522 1
  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
d9524 1
a9524 1
  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
d9542 3
a9544 3
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9546 1
a9546 1
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
d9553 4
a9556 4
         X"$ac_file" : 'X\(//\)[^/]' \| \
         X"$ac_file" : 'X\(//\)$' \| \
         X"$ac_file" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d9572 4
a9575 4
         X"$as_dir" : 'X\(//\)[^/]' \| \
         X"$as_dir" : 'X\(//\)$' \| \
         X"$as_dir" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
d9613 39
a9651 6
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
# absolute.
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
a9654 5
  if test x"$ac_file" != x-; then
    { echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
    rm -f "$ac_file"
  fi
d9664 1
a9664 1
                                     sed 's,.*/,,'` by configure."
d9673 2
a9674 2
         # Absolute (can't be DOS-style, as IFS=:)
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9677 1
a9677 1
         echo $f;;
d9679 9
a9687 9
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
d9690 1
a9690 1
         fi;;
d9693 6
@


1.89
log
@	* unix/tcl.m4: synced with tcl/unix/tcl.m4
	* unix/configure: regen
@
text
@d1297 1
a1297 1
TK_PATCH_LEVEL="a2"
@


1.88
log
@generated configure and fixed manpage installaton
@
text
@d3142 7
d3896 123
d4293 4
d4305 1
a4305 1
	CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing"
d4385 1
a4385 1
		    LDFLAGS="$LDFLAGS -q64"
d4447 1
a4447 1
		    LDFLAGS="$LDFLAGS -q64"
d4756 1
a4756 1
		    LDFLAGS="$LDFLAGS +DD64"
d4901 1
a4901 1
	            LDFLAGS="$LDFLAGS -64"
d5775 1
a5775 1
			    	LDFLAGS="$LDFLAGS -xarch=v9a"
d5778 1
a5778 1
			    	LDFLAGS="$LDFLAGS -xarch=v9"
d6115 1
d6217 5
d6705 85
d6835 3
a6837 1
	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
d6843 5
a6848 2
	echo "$as_me:$LINENO: result: ${tcl_cv_type_off64_t}" >&5
echo "${ECHO_T}${tcl_cv_type_off64_t}" >&6
@


1.87
log
@	* unix/configure:
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
	to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
@
text
@d3 1
a3 1
# Generated by GNU Autoconf 2.57.
d267 5
a271 5
PACKAGE_NAME=
PACKAGE_TARNAME=
PACKAGE_VERSION=
PACKAGE_STRING=
PACKAGE_BUGREPORT=
a272 1
ac_unique_file="../generic/tk.h"
d310 1
a310 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d779 1
a779 1
\`configure' configures this package to adapt to many kinds of systems.
d839 3
a841 1

d850 3
d941 2
d956 1
a956 1
It was created by $as_me, which was
d1286 8
d1494 1
a1494 1
  test "$enableval" != "no" && MKLINKS_FLAGS="$MKLINKS_FLAGS --symlinks"
d1501 2
a1502 2
	echo "$as_me:$LINENO: checking compression for manpages" >&5
echo $ECHO_N "checking compression for manpages... $ECHO_C" >&6
d1506 1
a1506 1
  test "$enableval" = "yes" && echo && { { echo "$as_me:$LINENO: error: missing argument to --enable-man-compression" >&5
d1509 25
a1533 1
		test "$enableval" != "no" && MKLINKS_FLAGS="$MKLINKS_FLAGS --compress $enableval"
d3118 2
a3119 1
	cat >>confdefs.h <<\_ACEOF
d3125 2
a3126 1
	cat >>confdefs.h <<\_ACEOF
d3132 2
a3133 1
	cat >>confdefs.h <<\_ACEOF
d3137 2
a3138 1
	cat >>confdefs.h <<\_ACEOF
d3142 2
a3143 1
	cat >>confdefs.h <<\_ACEOF
d3565 112
d3678 3
d3682 5
a3686 6
for ac_func in pthread_attr_get_np pthread_getattr_np
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d3697 1
a3697 1
    which can conflict with char $ac_func (); below.
d3712 1
a3712 1
char $ac_func ();
d3716 1
a3716 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
d3719 1
a3719 1
char (*f) () = $ac_func;
d3728 1
a3728 1
return f != $ac_func;
d3745 1
a3745 1
  eval "$as_ac_var=yes"
d3750 1
a3750 1
eval "$as_ac_var=no"
d3754 12
a3765 5
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d3768 1
a3768 4
fi
done

	echo "$as_me:$LINENO: checking for pthread_getattr_np declaration" >&5
d3770 1
a3770 1
	if test "${tcl_cv_grep_pthread_getattr_np+set}" = set; then
d3793 1
a3793 1
	echo "$as_me:$LINENO: result: $tcl_cv_grep_pthread_getattr_np" >&5
d3795 3
a3797 2
	if test $tcl_cv_grep_pthread_getattr_np = missing ; then
	    cat >>confdefs.h <<\_ACEOF
d3801 2
d3930 2
a3931 1
	cat >>confdefs.h <<\_ACEOF
d4395 2
a4396 1
	    	cat >>confdefs.h <<\_ACEOF
d4507 2
a4508 1
	    cat >>confdefs.h <<\_ACEOF
d4511 3
a4513 2
          # Use the XOPEN network library
	    cat >>confdefs.h <<\_ACEOF
d4516 1
a4516 1
 # Use the XOPEN network library
d4946 2
a4947 1
	    cat >>confdefs.h <<\_ACEOF
d5405 2
a5406 1
	    cat >>confdefs.h <<\_ACEOF
d5410 2
a5411 1
	    cat >>confdefs.h <<\_ACEOF
d5415 2
a5416 1
	    cat >>confdefs.h <<\_ACEOF
d5420 2
a5421 1
	    cat >>confdefs.h <<\_ACEOF
d5438 3
a5440 2
	    CFLAGS_OPTIMIZE=""      # Optimizer is buggy
	    cat >>confdefs.h <<\_ACEOF
d5443 1
a5443 1
  # needed in sys/socket.h
d5582 2
a5583 1
	    cat >>confdefs.h <<\_ACEOF
d5587 2
a5588 1
	    cat >>confdefs.h <<\_ACEOF
d5617 2
a5618 1
	    cat >>confdefs.h <<\_ACEOF
d5622 2
a5623 1
	    cat >>confdefs.h <<\_ACEOF
d5741 1
a5741 1
    { echo "$as_me:$LINENO: WARNING: \"64bit support being disabled -- don\'t know magic for this platform\"" >&5
d5746 2
a5747 1
	cat >>confdefs.h <<\_ACEOF
d5825 2
a5826 1
	    cat >>confdefs.h <<\_ACEOF
d5883 2
a5884 1
		cat >>confdefs.h <<\_ACEOF
d5941 2
a5942 1
		    cat >>confdefs.h <<\_ACEOF
d6106 2
a6107 1
	cat >>confdefs.h <<\_ACEOF
d6122 2
a6123 1
    cat >>confdefs.h <<\_ACEOF
d6129 2
a6130 1
	cat >>confdefs.h <<\_ACEOF
d6137 2
a6138 1
	cat >>confdefs.h <<\_ACEOF
d6142 2
a6143 1
	cat >>confdefs.h <<\_ACEOF
d6249 2
a6250 1
	cat >>confdefs.h <<\_ACEOF
d6335 2
a6336 1
	cat >>confdefs.h <<\_ACEOF
d6438 2
a6439 1
	cat >>confdefs.h <<\_ACEOF
d6446 2
a6447 1
	cat >>confdefs.h <<_ACEOF
d6501 2
a6502 1
	    cat >>confdefs.h <<\_ACEOF
d6556 2
a6557 1
	    cat >>confdefs.h <<\_ACEOF
d6611 2
a6612 1
	    cat >>confdefs.h <<\_ACEOF
d6703 2
a6704 1
    cat >>confdefs.h <<\_ACEOF
d6778 2
a6779 1
	cat >>confdefs.h <<\_ACEOF
d6788 2
a6789 1
    cat >>confdefs.h <<\_ACEOF
d7259 2
a7260 1
    cat >>confdefs.h <<\_ACEOF
d7888 2
a7889 1
    cat >>confdefs.h <<\_ACEOF
d8117 2
a8118 1
	    cat >>confdefs.h <<\_ACEOF
d8625 1
a8625 1
This file was extended by $as_me, which was
d8680 1
a8680 1
config.status
d8877 1
a8877 1
s,@@MKLINKS_FLAGS@@,$MKLINKS_FLAGS,;t t
@


1.86
log
@	* unix/Makefile.in, unix/tcl.m4:     move (C|LD)FLAGS after their
	* unix/configure.in, unix/configure: _DEFAULT to allow for env
	setting to override m4 switches.
	Consolidate header checks to limit redundancy in configure.
	(CFLAGS_WARNING): Remove -Wconversion
	(SC_ENABLE_THREADS): Set m4 to force threaded build when built
	against a threaded Tcl core.
	Reorder configure.in for better 64-bit build configuration,
	replacing EXTRA_CFLAGS with CFLAGS.  [Bug #874058]
@
text
@d5229 1
a5229 1
	    PLAT_OBJS="tclMacOSXBundle.o tclMacOSXFCmd.o"
d5248 1
a5248 1
	    cat >>confdefs.h <<_ACEOF
@


1.85
log
@	* unix/tcl.m4: autoconf 2.5 fixes in Darwin section.
	* unix/configure: autoconf-2.57
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d849 1
d2384 2
a2385 4
#------------------------------------------------------------------------
# I'm not sure why these need to come before all of the other tests
#------------------------------------------------------------------------

d2861 1
a2861 2

for ac_header in unistd.h limits.h
d3056 39
a3094 3
#--------------------------------------------------------------------
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------
d3096 3
d3100 3
a3102 3
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
    tcl_flags=""
d3104 3
a3106 1
    if test "${tcl_cv_flag__isoc99_source+set}" = set; then
d3109 3
a3111 1
  cat >conftest.$ac_ext <<_ACEOF
d3118 8
a3125 1
#include <stdlib.h>
d3129 1
a3129 1
char *p = (char *)strtoll; char *q = (char *)strtoull;
d3134 3
a3136 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3140 1
a3140 1
         { ac_try='test -s conftest.$ac_objext'
d3146 1
a3146 1
  tcl_cv_flag__isoc99_source=no
d3151 26
d3184 8
a3191 2
#define _ISOC99_SOURCE 1
#include <stdlib.h>
d3195 1
a3195 1
char *p = (char *)strtoll; char *q = (char *)strtoull;
d3200 3
a3202 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3206 1
a3206 1
         { ac_try='test -s conftest.$ac_objext'
d3212 1
a3212 1
  tcl_cv_flag__isoc99_source=yes
d3217 1
a3217 1
tcl_cv_flag__isoc99_source=no
d3219 2
a3220 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3222 6
a3227 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3230 1
a3230 4
    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
	cat >>confdefs.h <<\_ACEOF
#define _ISOC99_SOURCE 1
_ACEOF
d3232 7
a3238 4
	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi

    if test "${tcl_cv_flag__largefile64_source+set}" = set; then
d3241 3
a3243 1
  cat >conftest.$ac_ext <<_ACEOF
d3250 8
a3257 1
#include <sys/stat.h>
d3261 1
a3261 1
struct stat64 buf; int i = stat64("/", &buf);
d3266 3
a3268 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3272 1
a3272 1
         { ac_try='test -s conftest.$ac_objext'
d3278 1
a3278 1
  tcl_cv_flag__largefile64_source=no
d3283 24
d3314 8
a3321 2
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
d3325 1
a3325 1
struct stat64 buf; int i = stat64("/", &buf);
d3330 3
a3332 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3336 1
a3336 1
         { ac_try='test -s conftest.$ac_objext'
d3342 1
a3342 1
  tcl_cv_flag__largefile64_source=yes
d3347 1
a3347 1
tcl_cv_flag__largefile64_source=no
d3349 2
a3350 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3352 6
a3357 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3360 4
a3363 19
    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
	cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi
    if test "x${tcl_flags}" = "x" ; then
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
    else
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
    fi


    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
    if test "${tcl_cv_type_64bit+set}" = set; then
d3366 3
a3368 4

	tcl_cv_type_64bit=none
	# See if the compiler knows natively about __int64
	cat >conftest.$ac_ext <<_ACEOF
d3376 7
d3386 1
a3386 1
__int64 value = (__int64) 0;
d3391 3
a3393 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3397 1
a3397 1
         { ac_try='test -s conftest.$ac_objext'
d3403 1
a3403 1
  tcl_type_64bit=__int64
d3408 11
a3418 1
tcl_type_64bit="long long"
d3420 26
a3445 6
rm -f conftest.$ac_objext conftest.$ac_ext
	# See if we should use long anyway  Note that we substitute in the
	# type that is our current guess for a 64-bit type inside this check
	# program, so it should be modified only carefully...
	if test "$cross_compiling" = yes; then
  :
d3454 28
a3481 2
#include <unistd.h>
	    int main() {exit(!(sizeof(${tcl_type_64bit}) > sizeof(long)));}
d3483 7
d3491 1
a3491 1
rm -f conftest$ac_exeext
d3496 2
a3497 1
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
d3503 1
a3503 1
  tcl_cv_type_64bit=${tcl_type_64bit}
d3505 1
a3505 2
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
d3508 1
a3508 2
( exit $ac_status )
:
d3510 1
a3510 1
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
d3512 7
d3520 1
a3521 11
    if test "${tcl_cv_type_64bit}" = none ; then
	cat >>confdefs.h <<\_ACEOF
#define TCL_WIDE_INT_IS_LONG 1
_ACEOF

	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
    else
	cat >>confdefs.h <<_ACEOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
_ACEOF
a3522 2
	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6
d3524 6
a3529 4
	# Now check for auxiliary declarations
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
	if test "${tcl_cv_struct_dirent64+set}" = set; then
d3532 1
a3532 2

	    cat >conftest.$ac_ext <<_ACEOF
d3539 29
a3567 2
#include <sys/types.h>
#include <sys/dirent.h>
d3571 1
a3571 1
struct dirent64 p;
d3576 3
a3578 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3582 1
a3582 1
         { ac_try='test -s conftest.$ac_objext'
d3588 1
a3588 1
  tcl_cv_struct_dirent64=yes
d3593 1
a3593 1
tcl_cv_struct_dirent64=no
d3595 1
a3595 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3597 5
a3601 4

	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
	    cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_DIRENT64 1
d3604 2
a3605 3
	fi
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_dirent64}" >&5
echo "${ECHO_T}${tcl_cv_struct_dirent64}" >&6
d3607 3
a3609 3
	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
	if test "${tcl_cv_struct_stat64+set}" = set; then
d3612 1
a3612 2

	    cat >conftest.$ac_ext <<_ACEOF
d3619 1
a3619 5
#include <sys/stat.h>
int
main ()
{
struct stat64 p;
a3620 3
  ;
  return 0;
}
d3622 3
a3624 13
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_struct_stat64=yes
d3626 3
a3628 2
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
a3629 3
tcl_cv_struct_stat64=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
d3632 3
a3634 1
	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
d3636 1
a3636 1
#define HAVE_STRUCT_STAT64 1
d3640 1
a3640 2
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_stat64}" >&5
echo "${ECHO_T}${tcl_cv_struct_stat64}" >&6
d3642 6
a3647 3
	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
	if test "${tcl_cv_type_off64_t+set}" = set; then
d3650 1
a3650 2

	    cat >conftest.$ac_ext <<_ACEOF
d3657 29
a3685 1
#include <sys/types.h>
d3689 1
a3689 2
off64_t offset;

d3694 3
a3696 3
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
d3700 1
a3700 1
         { ac_try='test -s conftest.$ac_objext'
d3706 1
a3706 1
  tcl_cv_type_off64_t=yes
d3711 1
a3711 1
tcl_cv_type_off64_t=no
d3713 1
a3713 1
rm -f conftest.$ac_objext conftest.$ac_ext
d3715 6
d3722 2
a3723 4
	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
	    cat >>confdefs.h <<\_ACEOF
#define HAVE_TYPE_OFF64_T 1
_ACEOF
d3725 4
a3728 3
	fi
	echo "$as_me:$LINENO: result: ${tcl_cv_type_off64_t}" >&5
echo "${ECHO_T}${tcl_cv_type_off64_t}" >&6
a3730 15
#------------------------------------------------------------------------
# Threads support
#------------------------------------------------------------------------


if test "${TCL_THREADS}" = 1; then
    # FIXME: It seems like these defines should be covered by
    # the TCL_DEFS entry in tclConfig.sh. Why are they not?
    cat >>confdefs.h <<\_ACEOF
#define TCL_THREADS 1
_ACEOF

    cat >>confdefs.h <<\_ACEOF
#define _REENTRANT 1
_ACEOF
a3731 3
    cat >>confdefs.h <<\_ACEOF
#define _THREAD_SAFE 1
_ACEOF
d3733 2
a3734 1
fi
d3997 1
a3997 1
    EXTRA_CFLAGS=""
d4006 1
a4006 1
	CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -fno-strict-aliasing"
a4074 1
	    LDFLAGS=""
d4085 2
a4086 2
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
a4127 1
	    LDFLAGS=""
d4147 2
a4148 2
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
a4242 1
	    LDFLAGS=""
a4314 1
	    LDFLAGS=""
d4325 1
a4325 1
	    LDFLAGS="-export-dynamic"
a4335 1
	    LDFLAGS=""
d4418 1
a4418 1
		LDFLAGS="-Wl,-E"
d4431 1
a4431 1
	    #EXTRA_CFLAGS="+DAportable"
d4453 2
a4454 7
		    if test "`uname -m`" = "ia64" ; then
			EXTRA_CFLAGS="+DD64"
			LDFLAGS="+DD64 $LDFLAGS"
		    else
			EXTRA_CFLAGS="+DA2.0W"
			LDFLAGS="+DA2.0W $LDFLAGS"
		    fi
d4526 1
a4526 1
		LDFLAGS="-Wl,-E"
d4539 1
a4539 1
	    LDFLAGS="-Wl,-D,08000000"
a4552 2
	    EXTRA_CFLAGS=""
	    LDFLAGS=""
d4564 2
a4565 2
		EXTRA_CFLAGS="-mabi=n32"
		LDFLAGS="-mabi=n32"
d4570 1
a4570 1
			EXTRA_CFLAGS="-n32 -D_OLD_TERMIOS"
d4573 1
a4573 1
			EXTRA_CFLAGS="-n32"
d4576 1
a4576 1
		LDFLAGS="-n32"
a4585 1
	    LDFLAGS=""
d4598 2
a4599 2
	            EXTRA_CFLAGS="-64"
	            LDFLAGS="-64"
d4618 1
a4618 1
		LDFLAGS="-Wl,--export-dynamic"
a4755 1
		    LDFLAGS=""
d4763 1
a4763 1
		EXTRA_CFLAGS="-mieee"
d4774 1
a4774 1
	        EXTRA_CFLAGS="${EXTRA_CFLAGS} -fno-inline"
d4793 1
a4793 1
		LDFLAGS="-Wl,--export-dynamic"
a4930 1
		    LDFLAGS=""
d4938 1
a4938 1
		EXTRA_CFLAGS="-mieee"
a4947 1
	    LDFLAGS=""
d4958 1
a4958 1
	    LDFLAGS="-Wl,-Bexport"
a5101 1
		LDFLAGS=""
a5140 1
		LDFLAGS=""
a5159 1
	    LDFLAGS=""
d5203 1
a5203 1
	    LDFLAGS="-export-dynamic"
d5209 1
a5209 1
		EXTRA_CFLAGS="-pthread"
d5231 1
a5231 1
	    LDFLAGS="-prebind"
a5260 1
	    LDFLAGS=""
a5279 1
	    LDFLAGS=""
a5294 1
	    LDFLAGS=""
a5309 1
	    LDFLAGS=""
d5313 1
a5313 1
		EXTRA_CFLAGS="-mieee"
d5315 1
a5315 1
		EXTRA_CFLAGS="-DHAVE_TZSET -std1 -ieee"
d5319 2
a5320 2
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
d5325 2
a5326 2
		    EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
		    LDFLAGS="-pthread"
a5340 1
	    LDFLAGS=""
d5351 1
a5351 1
	    LDFLAGS="-Wl,-D,08000000"
d5361 1
a5361 1
	    	LDFLAGS="-melf -Wl,-Bexport"
d5364 1
a5364 1
	    	LDFLAGS="-belf -Wl,-Bexport"
a5380 1
	    LDFLAGS=""
a5390 1
	    LDFLAGS=""
a5425 1
	    LDFLAGS=""
a5450 1
	    LDFLAGS=""
d5462 2
a5463 2
				EXTRA_CFLAGS="-xarch=v9a"
			    	LDFLAGS="-xarch=v9a"
d5465 2
a5466 2
				EXTRA_CFLAGS="-xarch=v9"
			    	LDFLAGS="-xarch=v9"
d5499 1
a5499 1
	    LDFLAGS="-Wl,-D,08000000"
d5503 1
a5503 1
		EXTRA_CFLAGS="-DHAVE_TZSET -std1"
d5518 1
a5518 1
	    LDFLAGS="${LDFLAGS} -Wl,-Bexport"
d5552 1
a5552 1
found=no
a5554 1
	    LDFLAGS=$hold_ldflags
a5556 5
	    if test $found = yes; then
	    LDFLAGS="-Wl,-Bexport"
	    else
	    LDFLAGS=""
	    fi
d5794 1
a5794 1
	LDFLAGS=""
a5907 1

d5973 6
a5978 1
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'
d5980 446
a6425 1
TK_DBGX=${DBGX}
d6432 2
d8687 1
a8698 1
s,@@EXTRA_CFLAGS@@,$EXTRA_CFLAGS,;t t
@


1.84
log
@        * unix/tcl.m4:  Replaced -Wno-strict-alias with more portable
                        -fno-strict-alias alternative.
	* unix/configure:       autoconf-2.57
@
text
@d5050 16
a5065 3
	    # for compatibility with autoconf vers 2.13 :
	    HACK=""
	    EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
@


1.83
log
@        * README:               Bump version to 8.5a2.
        * generic/tk.h:
        * macosx/Wish.pbproj/project.pbxproj:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.57
        * win/configure:
@
text
@d3801 1
a3801 1
	CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int -Wno-strict-aliasing"
@


1.82
log
@	* unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to
	suppress useless type puning warnings.
@
text
@d1282 1
a1282 1
TK_PATCH_LEVEL="a1"
@


1.81
log
@update patchlevel to 8.5a1
@
text
@d3801 1
a3801 1
	CFLAGS_WARNING="-Wall -Wconversion -Wno-implicit-int"
@


1.80
log
@        * unix/tcl.m4 (SC_CONFIG_CFLAGS):       Allow 64-bit enabling on
        IRIX64-6.5* systems.  [Bug 218561]
        * unix/configure:       autoconf-2.57
@
text
@d1282 1
a1282 1
TK_PATCH_LEVEL="a0"
d4223 6
d4242 1
a4242 1
			    SHLIB_LD_LIBS=""
@


1.79
log
@	* unix/configure:
	* unix/tcl.m4: updated OpenBSD build configuration based on
	[Patch #775246] (cassoff)
@
text
@d1327 12
a1338 11
                        ../tcl \
                        `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
                        ../../tcl \
                        `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \                        `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
                        ../../../tcl \
                        `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
d1364 3
a1366 3
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
d4355 1
a4355 1
	IRIX-6.*|IRIX64-6.5*)
@


1.78
log
@	* unix/configure:
	* unix/configure.in: use xft-config instead of pkg-config to
	determine xft info.
	* unix/tcl.m4: improve AIX --enable-64bit handling
	remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from
	CFLAGS_OPTIMIZE on Linux.  Make default opt -O2 (was -O).
@
text
@d3798 1
a3798 1
    CFLAGS_OPTIMIZE=-O2
d4409 1
d4766 1
a4766 1
	NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
d4960 42
d5622 1
a5622 1
		NetBSD-*|FreeBSD-*|OpenBSD-*)
@


1.77
log
@        *unix/configure.in:     Reconfigured to use $TCL_PREFIX as the
        default value of --prefix, and also added warning when a TK_PREFIX
        value different from TCL_PREFIX is selected, since [package require Tk]
        fails in that configuration. [Bugs 428627,765642]

        * unix/configure:       autoconf (2.57)
@
text
@d3798 1
a3798 1
    CFLAGS_OPTIMIZE=-O
d3863 2
a3866 22
	    if test "`uname -m`" = "ia64" ; then
		# AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		# AIX-5 has dl* in libc.so
		DL_LIBS=""
		if test "$GCC" = "yes" ; then
		    CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		else
		    CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
		fi
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    else
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
		DL_LIBS="-ldl"
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		TCL_NEEDS_EXP_FILE=1
		TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
	    fi

	    # Note: need the LIBS below, otherwise Tk won't find Tcl's
	    # symbols when dynamically loaded into tclsh.
d3887 20
a3918 1
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d3936 16
a4030 15

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    { echo "$as_me:$LINENO: WARNING: \"64bit mode not supported with GCC on $system\"" >&5
echo "$as_me: WARNING: \"64bit mode not supported with GCC on $system\"" >&2;}
		else
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"
		fi
	    fi
d4412 1
a4412 2

	    CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
d6993 2
a6994 2
    XFT_CFLAGS=`pkg-config --cflags xft` || enable_xft="no"
    XFT_LIBS=`pkg-config --libs xft` || enable_xft="no"
@


1.76
log
@        * unix/tcl.m4 (SC_PATH_TCLCONFIG):      Corrected search path so
        that alpha and beta releases of Tcl are not favored. [Bug 608698]

        * unix/configure:       autoconf (2.57)
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_INCLUDE_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d1286 166
d1457 1
a1457 1
    prefix=/usr/local
a3507 156
#--------------------------------------------------------------------
# Find and load the tclConfig.sh file
#--------------------------------------------------------------------


    #
    # Ok, lets find the tcl configuration
    # First, look for one uninstalled.
    # the alternative search directory is invoked by --with-tcl
    #

    if test x"${no_tcl}" = x ; then
	# we reset no_tcl in case something fails here
	no_tcl=true

# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
  withval="$with_tcl"
  with_tclconfig=${withval}
fi;
	echo "$as_me:$LINENO: checking for Tcl configuration" >&5
echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
	if test "${ac_cv_c_tclconfig+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else


	    # First check to see if --with-tcl was specified.
	    if test x"${with_tclconfig}" != x ; then
		if test -f "${with_tclconfig}/tclConfig.sh" ; then
		    ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
		else
		    { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
   { (exit 1); exit 1; }; }
		fi
	    fi

	    # then check for a private Tcl installation
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
                        ../tcl \
                        `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
                        ../../tcl \
                        `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \                        `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
                        ../../../tcl \
                        `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
			ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
			break
		    fi
		done
	    fi

	    # check in a few common install locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in `ls -d ${libdir} 2>/dev/null` \
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			; do
		    if test -f "$i/tclConfig.sh" ; then
			ac_cv_c_tclconfig=`(cd $i; pwd)`
			break
		    fi
		done
	    fi

	    # check in a few other private locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
			${srcdir}/../tcl \
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
                        `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
		    ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
		    break
		fi
		done
	    fi

fi


	if test x"${ac_cv_c_tclconfig}" = x ; then
	    TCL_BIN_DIR="# no Tcl configs found"
	    { echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
	    exit 0
	else
	    no_tcl=
	    TCL_BIN_DIR=${ac_cv_c_tclconfig}
	    echo "$as_me:$LINENO: result: found $TCL_BIN_DIR/tclConfig.sh" >&5
echo "${ECHO_T}found $TCL_BIN_DIR/tclConfig.sh" >&6
	fi
    fi


    echo "$as_me:$LINENO: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
echo $ECHO_N "checking for existence of $TCL_BIN_DIR/tclConfig.sh... $ECHO_C" >&6

    if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
        echo "$as_me:$LINENO: result: loading" >&5
echo "${ECHO_T}loading" >&6
	. $TCL_BIN_DIR/tclConfig.sh
    else
        echo "$as_me:$LINENO: result: file not found" >&5
echo "${ECHO_T}file not found" >&6
    fi

    #
    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
    #

    if test -f $TCL_BIN_DIR/Makefile ; then
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
    fi

    #
    # eval is required to do the TCL_DBGX substitution
    #

    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""














a3529 10
if test "${TCL_VERSION}" != "${TK_VERSION}"; then
    { { echo "$as_me:$LINENO: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&5
echo "$as_me: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." >&2;}
   { (exit 1); exit 1; }; }
fi

d5754 9
d7984 9
a8002 9
s,@@TCL_VERSION@@,$TCL_VERSION,;t t
s,@@TCL_BIN_DIR@@,$TCL_BIN_DIR,;t t
s,@@TCL_SRC_DIR@@,$TCL_SRC_DIR,;t t
s,@@TCL_LIB_FILE@@,$TCL_LIB_FILE,;t t
s,@@TCL_LIB_FLAG@@,$TCL_LIB_FLAG,;t t
s,@@TCL_LIB_SPEC@@,$TCL_LIB_SPEC,;t t
s,@@TCL_STUB_LIB_FILE@@,$TCL_STUB_LIB_FILE,;t t
s,@@TCL_STUB_LIB_FLAG@@,$TCL_STUB_LIB_FLAG,;t t
s,@@TCL_STUB_LIB_SPEC@@,$TCL_STUB_LIB_SPEC,;t t
@


1.75
log
@        * unix/configure.in:    Added check that version of Tcl header found
        by configure matches that of the Tk we wish to build.  As long as
        the Tk sources insist on lockstep releases, Tk's configuration should
        verify that's what we have.  [Bug 749088]

        * unix/configure:       autoconf (2.57)
@
text
@d3383 11
a3393 6
			../tcl \
			`ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
			../../tcl \
			`ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
			../../../tcl \
			`ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
d3419 3
a3421 1
			`ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
d4994 1
a4994 1
	    PLAT_OBJS="tclMacOSXBundle.o"
d5068 4
a5071 2
	    if test "$GCC" != "yes" ; then
		EXTRA_CFLAGS="-DHAVE_TZSET -std1"
d5334 7
d5692 4
d5706 4
@


1.74
log
@	* unix/configure:
	* unix/configure.in:
	* unix/tkConfig.sh.in: added TK_INCLUDE_SPEC to allow extensions to
	find installed Tk headers, parallel to TCL_INCLUDE_SPEC. [Bug 777203]
@
text
@d3513 10
@


1.73
log
@configure.in: BUGFIX: --enable-xft test was broken.
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT XFT_CFLAGS XFT_LIBS UNIX_FONT_OBJS TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d7268 3
d7305 1
d8013 1
@


1.72
log
@Experimental support for antialiased text under X11 [Patch#535541]
@
text
@d6961 1
a6961 1
if test enable_xft="yes" ; then
@


1.71
log
@	* unix/Makefile.in: Subst TCL_LIBS instead of
	DL_LIBS and MATH_LIBS.
	* unix/configure: Regen.
	* unix/configure.in: Remove SC_ENABLE_THREADS
	invocation. Thread support in an extension
	should be automatic when Tcl is compiled
	with thread support. Add AC_DEFINE calls
	to set TCL_THREADS, _REENTRANT, and
	_THREAD_SAFE since this was done in
	SC_ENABLE_THREADS. Remove socket and math
	lib checks since these are already done in
	the Tcl configure script.
	* unix/tcl.m4: Update from Tcl to get
	TCL_LIBS fix. This fixes bug 597847
	which was caused by improper linking.
	* unix/tkConfig.sh.in: Subst TCL_LIBS
	instead of MATH_LIBS and DL_LIBS.
	[Bug 597847]
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC RANLIB ac_ct_RANLIB AR LIBOBJS TCL_LIBS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
d854 1
d6935 41
d7986 3
@


1.70
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d311 1
a311 1
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MKLINKS_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP TCL_THREADS TCL_VERSION TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC RANLIB ac_ct_RANLIB AR LIBOBJS DL_LIBS DL_OBJS PLAT_OBJS CFLAGS_DEBUG CFLAGS_OPTIMIZE CFLAGS_WARNING EXTRA_CFLAGS LDFLAGS_DEBUG LDFLAGS_OPTIMIZE CC_SEARCH_FLAGS LD_SEARCH_FLAGS STLIB_LD SHLIB_LD TCL_SHLIB_LD_EXTRAS TK_SHLIB_LD_EXTRAS SHLIB_LD_FLAGS SHLIB_LD_LIBS SHLIB_CFLAGS SHLIB_SUFFIX MAKE_LIB MAKE_STUB_LIB INSTALL_LIB INSTALL_STUB_LIB CFLAGS_DEFAULT LDFLAGS_DEFAULT TK_VERSION TK_MAJOR_VERSION TK_MINOR_VERSION TK_PATCH_LEVEL TK_DBGX TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_BUILD_STUB_LIB_SPEC TK_STUB_LIB_SPEC TK_BUILD_STUB_LIB_PATH TK_STUB_LIB_PATH TK_STUB_FLAGS TK_BUILD_EXP_FILE TK_EXP_FILE TCL_STUB_FLAGS LD_LIBRARY_PATH_VAR MATH_LIBS TK_BUILD_LIB_SPEC TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_SRC_DIR XINCLUDES XLIBSW TK_SHARED_BUILD LOCALES LTLIBOBJS'
a848 1
  --enable-threads        build with threads
d2837 4
a2840 3
#------------------------------------------------------------------------
# Threads support
#------------------------------------------------------------------------
d2842 7
a2848 41

    echo "$as_me:$LINENO: checking for building with threads" >&5
echo $ECHO_N "checking for building with threads... $ECHO_C" >&6
    # Check whether --enable-threads or --disable-threads was given.
if test "${enable_threads+set}" = set; then
  enableval="$enable_threads"
  tcl_ok=$enableval
else
  tcl_ok=no
fi;

    if test "$tcl_ok" = "yes"; then
	echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
	TCL_THREADS=1
	cat >>confdefs.h <<\_ACEOF
#define TCL_THREADS 1
_ACEOF

	# USE_THREAD_ALLOC tells us to try the special thread-based
	# allocator that significantly reduces lock contention
	cat >>confdefs.h <<\_ACEOF
#define USE_THREAD_ALLOC 1
_ACEOF

	cat >>confdefs.h <<\_ACEOF
#define _REENTRANT 1
_ACEOF

	cat >>confdefs.h <<\_ACEOF
#define _THREAD_SAFE 1
_ACEOF

	echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
a2855 7
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
d2859 1
a2859 1
pthread_mutex_init ();
d2864 3
a2866 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2870 1
a2870 1
         { ac_try='test -s conftest$ac_exeext'
d2876 2
a2877 1
  ac_cv_lib_pthread_pthread_mutex_init=yes
d2882 3
a2884 1
ac_cv_lib_pthread_pthread_mutex_init=no
d2886 1
a2886 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
a2887 6
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_init" >&6
if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
d2890 10
a2899 9
	if test "$tcl_ok" = "no"; then
	    # Check a little harder for __pthread_mutex_init in the same
	    # library, as some systems hide it there until pthread.h is
	    # defined.  We could alternatively do an AC_TRY_COMPILE with
	    # pthread.h, but that will work with libpthread really doesn't
	    # exist, like AIX 4.2.  [Bug: 4359]
	    echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
echo $ECHO_N "checking for __pthread_mutex_init in -lpthread... $ECHO_C" >&6
if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then
d2902 1
a2902 3
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
d2909 1
a2909 8

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char __pthread_mutex_init ();
d2913 1
a2913 1
__pthread_mutex_init ();
d2918 3
a2920 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2924 1
a2924 1
         { ac_try='test -s conftest$ac_exeext'
d2930 1
a2930 1
  ac_cv_lib_pthread___pthread_mutex_init=yes
a2934 26
ac_cv_lib_pthread___pthread_mutex_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthread___pthread_mutex_init" >&6
if test $ac_cv_lib_pthread___pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	fi

	if test "$tcl_ok" = "yes"; then
	    # The space is needed
	    THREADS_LIBS=" -lpthread"
	else
	    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lpthreads... $ECHO_C" >&6
if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthreads  $LIBS"
d2942 2
a2943 8

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
d2947 1
a2947 1
pthread_mutex_init ();
d2952 3
a2954 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d2958 1
a2958 1
         { ac_try='test -s conftest$ac_exeext'
d2964 1
a2964 1
  ac_cv_lib_pthreads_pthread_mutex_init=yes
d2969 1
a2969 1
ac_cv_lib_pthreads_pthread_mutex_init=no
d2971 1
a2971 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
d2973 1
a2973 6
echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_mutex_init" >&6
if test $ac_cv_lib_pthreads_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
d2976 9
a2984 7
	    if test "$tcl_ok" = "yes"; then
		# The space is needed
		THREADS_LIBS=" -lpthreads"
	    else
		echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc... $ECHO_C" >&6
if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then
d2987 1
a2987 3
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
d2994 1
a2994 8

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
d2998 1
a2998 1
pthread_mutex_init ();
d3003 3
a3005 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3009 1
a3009 1
         { ac_try='test -s conftest$ac_exeext'
d3015 1
a3015 1
  ac_cv_lib_c_pthread_mutex_init=yes
a3019 21
ac_cv_lib_c_pthread_mutex_init=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_pthread_mutex_init" >&6
if test $ac_cv_lib_c_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
fi

	    	if test "$tcl_ok" = "no"; then
		    echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
echo $ECHO_N "checking for pthread_mutex_init in -lc_r... $ECHO_C" >&6
if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lc_r  $LIBS"
d3027 2
a3028 8

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char pthread_mutex_init ();
d3032 1
a3032 1
pthread_mutex_init ();
d3037 3
a3039 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3043 1
a3043 1
         { ac_try='test -s conftest$ac_exeext'
d3049 1
a3049 1
  ac_cv_lib_c_r_pthread_mutex_init=yes
d3054 1
a3054 1
ac_cv_lib_c_r_pthread_mutex_init=no
d3056 1
a3056 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
d3058 1
a3058 6
echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_mutex_init" >&6
if test $ac_cv_lib_c_r_pthread_mutex_init = yes; then
  tcl_ok=yes
else
  tcl_ok=no
d3061 4
a3064 11
		    if test "$tcl_ok" = "yes"; then
			# The space is needed
			THREADS_LIBS=" -pthread"
		    else
			TCL_THREADS=0
			{ echo "$as_me:$LINENO: WARNING: \"Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile...\"" >&5
echo "$as_me: WARNING: \"Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile...\"" >&2;}
		    fi
	    	fi
	    fi
	fi
d3066 9
a3074 2
	# Does the pthread-implementation provide
	# 'pthread_attr_setstacksize' ?
a3075 2
	ac_saved_libs=$LIBS
	LIBS="$LIBS $THREADS_LIBS"
d3077 3
a3079 6
for ac_func in pthread_attr_setstacksize
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
d3082 4
a3085 1
  cat >conftest.$ac_ext <<_ACEOF
d3092 3
a3094 12
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
d3096 8
a3103 27
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d3107 1
a3107 1
         { ac_try='test -s conftest$ac_exeext'
d3113 1
a3113 1
  eval "$as_ac_var=yes"
d3118 1
a3118 1
eval "$as_ac_var=no"
d3120 6
a3125 21
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF

fi
done

	LIBS=$ac_saved_libs

for ac_func in readdir_r
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
if eval "test \"\${$as_ac_var+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d3134 2
a3135 28
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char $ac_func ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
char (*f) () = $ac_func;
#endif
#ifdef __cplusplus
}
#endif
a3136 7
int
main ()
{
return f != $ac_func;
  ;
  return 0;
}
d3138 1
a3138 1
rm -f conftest.$ac_objext conftest$ac_exeext
d3143 1
a3143 2
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
d3149 1
a3149 1
  eval "$as_ac_var=yes"
d3151 2
a3152 1
  echo "$as_me: failed program was:" >&5
d3155 4
a3158 1
eval "$as_ac_var=no"
a3159 1
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
d3161 4
a3164 5
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
if test `eval echo '${'$as_ac_var'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
d3167 2
a3168 3
fi
done

d3170 3
a3172 4
	TCL_THREADS=0
	echo "$as_me:$LINENO: result: no (default)" >&5
echo "${ECHO_T}no (default)" >&6
    fi
d3174 2
d3177 6
d3184 1
a3184 12
#------------------------------------------------------------------------------
# If we're using GCC, see if the compiler understands -pipe.  If so, use it.
# It makes compiling go faster.  (This is only a performance feature.)
#------------------------------------------------------------------------------

if test -z "$no_pipe"; then
if test -n "$GCC"; then
  echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
echo $ECHO_N "checking if the compiler understands -pipe... $ECHO_C" >&6
  OLDCC="$CC"
  CC="$CC -pipe"
  cat >conftest.$ac_ext <<_ACEOF
d3191 2
a3192 1

d3196 1
a3196 1

d3213 1
a3213 2
  echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
d3218 1
a3218 3
CC="$OLDCC"
    echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
a3221 1
fi
d3223 4
a3226 3
#--------------------------------------------------------------------
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------
d3228 3
d3232 3
a3234 5
    echo "$as_me:$LINENO: checking for required early compiler flags" >&5
echo $ECHO_N "checking for required early compiler flags... $ECHO_C" >&6
    tcl_flags=""

    if test "${tcl_cv_flag__isoc99_source+set}" = set; then
d3237 2
a3238 1
  cat >conftest.$ac_ext <<_ACEOF
d3245 1
a3245 1
#include <stdlib.h>
d3249 1
a3249 21
char *p = (char *)strtoll; char *q = (char *)strtoull;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__isoc99_source=no
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
a3250 13
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define _ISOC99_SOURCE 1
#include <stdlib.h>
int
main ()
{
char *p = (char *)strtoll; char *q = (char *)strtoull;
d3267 1
a3267 1
  tcl_cv_flag__isoc99_source=yes
d3272 1
a3272 3
tcl_cv_flag__isoc99_source=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
d3277 3
a3279 3
    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
	cat >>confdefs.h <<\_ACEOF
#define _ISOC99_SOURCE 1
d3282 3
a3284 2
	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi
d3286 3
a3288 1
    if test "${tcl_cv_flag__largefile64_source+set}" = set; then
d3291 2
a3292 1
  cat >conftest.$ac_ext <<_ACEOF
d3299 1
a3299 1
#include <sys/stat.h>
d3303 2
a3304 1
struct stat64 buf; int i = stat64("/", &buf);
d3321 1
a3321 1
  tcl_cv_flag__largefile64_source=no
d3326 8
a3333 3
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
d3335 15
a3349 326
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
int
main ()
{
struct stat64 buf; int i = stat64("/", &buf);
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_flag__largefile64_source=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_flag__largefile64_source=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
	cat >>confdefs.h <<\_ACEOF
#define _LARGEFILE64_SOURCE 1
_ACEOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi
    if test "x${tcl_flags}" = "x" ; then
	echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
    else
	echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
echo "${ECHO_T}${tcl_flags}" >&6
    fi


    echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
echo $ECHO_N "checking for 64-bit integer type... $ECHO_C" >&6
    if test "${tcl_cv_type_64bit+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	tcl_cv_type_64bit=none
	# See if the compiler knows natively about __int64
	cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */

int
main ()
{
__int64 value = (__int64) 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_type_64bit=__int64
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_type_64bit="long long"
fi
rm -f conftest.$ac_objext conftest.$ac_ext
	# See if we should use long anyway  Note that we substitute in the
	# type that is our current guess for a 64-bit type inside this check
	# program, so it should be modified only carefully...
	if test "$cross_compiling" = yes; then
  :
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <unistd.h>
	    int main() {exit(!(sizeof(${tcl_type_64bit}) > sizeof(long)));}

_ACEOF
rm -f conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_type_64bit=${tcl_type_64bit}
else
  echo "$as_me: program exited with status $ac_status" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

( exit $ac_status )
:
fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
fi

    if test "${tcl_cv_type_64bit}" = none ; then
	cat >>confdefs.h <<\_ACEOF
#define TCL_WIDE_INT_IS_LONG 1
_ACEOF

	echo "$as_me:$LINENO: result: using long" >&5
echo "${ECHO_T}using long" >&6
    else
	cat >>confdefs.h <<_ACEOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
_ACEOF

	echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
echo "${ECHO_T}${tcl_cv_type_64bit}" >&6

	# Now check for auxiliary declarations
	echo "$as_me:$LINENO: checking for struct dirent64" >&5
echo $ECHO_N "checking for struct dirent64... $ECHO_C" >&6
	if test "${tcl_cv_struct_dirent64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
#include <sys/dirent.h>
int
main ()
{
struct dirent64 p;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_struct_dirent64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_struct_dirent64=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
	    cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_DIRENT64 1
_ACEOF

	fi
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_dirent64}" >&5
echo "${ECHO_T}${tcl_cv_struct_dirent64}" >&6

	echo "$as_me:$LINENO: checking for struct stat64" >&5
echo $ECHO_N "checking for struct stat64... $ECHO_C" >&6
	if test "${tcl_cv_struct_stat64+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/stat.h>
int
main ()
{
struct stat64 p;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_struct_stat64=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_struct_stat64=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
	    cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_STAT64 1
_ACEOF

	fi
	echo "$as_me:$LINENO: result: ${tcl_cv_struct_stat64}" >&5
echo "${ECHO_T}${tcl_cv_struct_stat64}" >&6

	echo "$as_me:$LINENO: checking for off64_t" >&5
echo $ECHO_N "checking for off64_t... $ECHO_C" >&6
	if test "${tcl_cv_type_off64_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else

	    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
int
main ()
{
off64_t offset;

  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tcl_cv_type_off64_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tcl_cv_type_off64_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi

	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
	    cat >>confdefs.h <<\_ACEOF
#define HAVE_TYPE_OFF64_T 1
_ACEOF

	fi
	echo "$as_me:$LINENO: result: ${tcl_cv_type_off64_t}" >&5
echo "${ECHO_T}${tcl_cv_type_off64_t}" >&6
    fi

#--------------------------------------------------------------------
# Find and load the tclConfig.sh file
#--------------------------------------------------------------------


    #
    # Ok, lets find the tcl configuration
    # First, look for one uninstalled.
    # the alternative search directory is invoked by --with-tcl
d3490 22
d5604 7
d5613 4
d5682 1
a5682 173
    fi

    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
	cat >>confdefs.h <<\_ACEOF
#define TCL_COMPILE_DEBUG 1
_ACEOF

	cat >>confdefs.h <<\_ACEOF
#define TCL_COMPILE_STATS 1
_ACEOF

    fi

    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
	if test "$tcl_ok" = "all"; then
	    echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
echo "${ECHO_T}enabled symbols mem compile debugging" >&6
	else
	    echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
echo "${ECHO_T}enabled $tcl_ok debugging" >&6
	fi
    fi


LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'

TK_DBGX=${DBGX}

#------------------------------------------------------------------------
# If Tcl and Tk are installed in different places, adjust the library
# search path to reflect this.
#------------------------------------------------------------------------

if test "$TCL_EXEC_PREFIX" != "$exec_prefix"; then
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${TCL_EXEC_PREFIX}/lib"
fi

#--------------------------------------------------------------------
# On a few very rare systems, all of the libm.a stuff is
# already in libc.a.  Set compiler flags accordingly.
# Also, Linux requires the "ieee" library for math to work
# right (and it must appear before "-lm").
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking for sin" >&5
echo $ECHO_N "checking for sin... $ECHO_C" >&6
if test "${ac_cv_func_sin+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sin (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sin ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sin) || defined (__stub___sin)
choke me
#else
char (*f) () = sin;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != sin;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_sin=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_sin=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
echo "${ECHO_T}$ac_cv_func_sin" >&6
if test $ac_cv_func_sin = yes; then
  MATH_LIBS=""
else
  MATH_LIBS="-lm"
fi

echo "$as_me:$LINENO: checking for main in -lieee" >&5
echo $ECHO_N "checking for main in -lieee... $ECHO_C" >&6
if test "${ac_cv_lib_ieee_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lieee  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ieee_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ieee_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
echo "${ECHO_T}$ac_cv_lib_ieee_main" >&6
if test $ac_cv_lib_ieee_main = yes; then
  MATH_LIBS="-lieee $MATH_LIBS"
fi
d5684 3
a5686 20

#--------------------------------------------------------------------
# On AIX systems, libbsd.a has to be linked in to support
# non-blocking file IO.  This library has to be linked in after
# the MATH_LIBS or it breaks the pow() function.  The way to
# insure proper sequencing, is to add it to the tail of MATH_LIBS.
# This library also supplies gettimeofday.
#--------------------------------------------------------------------
libbsd=no
if test "`uname -s`" = "AIX" ; then
    echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6
if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lbsd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
a5687 3
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
d5689 2
a5690 14
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gettimeofday ();
int
main ()
{
gettimeofday ();
  ;
  return 0;
}
a5691 16
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_bsd_gettimeofday=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
d5693 1
a5693 10
ac_cv_lib_bsd_gettimeofday=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6
if test $ac_cv_lib_bsd_gettimeofday = yes; then
  libbsd=yes
fi
d5695 8
a5702 2
    if test $libbsd = yes; then
	MATH_LIBS="$MATH_LIBS -lbsd"
d5704 13
d5760 1
a5760 171
rm -f conftest*

cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <stdlib.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "strtod" >/dev/null 2>&1; then
  :
else
  tk_ok=no
fi
rm -f conftest*

if test $tk_ok = no; then
    cat >>confdefs.h <<\_ACEOF
#define NO_STDLIB_H 1
_ACEOF

fi
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6

#--------------------------------------------------------------------
# Include sys/select.h if it exists and if it supplies things
# that appear to be useful and aren't already in sys/types.h.
# This appears to be true only on the RS/6000 under AIX.  Some
# systems like OSF/1 have a sys/select.h that's of no use, and
# other systems like SCO UNIX have a sys/select.h that's
# pernicious.  If "fd_set" isn't defined anywhere then set a
# special flag.
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking fd_set and sys/select" >&5
echo $ECHO_N "checking fd_set and sys/select... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/types.h>
int
main ()
{
fd_set readMask, writeMask;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  tk_ok=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

tk_ok=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
if test $tk_ok = no; then
    cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <sys/select.h>

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP "fd_mask" >/dev/null 2>&1; then
  tk_ok=yes
fi
rm -f conftest*

    if test $tk_ok = yes; then
	cat >>confdefs.h <<\_ACEOF
#define HAVE_SYS_SELECT_H 1
_ACEOF

    fi
fi
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6
if test $tk_ok = no; then
    cat >>confdefs.h <<\_ACEOF
#define NO_FD_SET 1
_ACEOF

fi

#--------------------------------------------------------------------
# Check for various typedefs and provide substitutes if
# they don't exist.
#--------------------------------------------------------------------

echo "$as_me:$LINENO: checking for mode_t" >&5
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
if test "${ac_cv_type_mode_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
$ac_includes_default
int
main ()
{
if ((mode_t *) 0)
  return 0;
if (sizeof (mode_t))
  return 0;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_mode_t=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_mode_t=no
fi
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
if test $ac_cv_type_mode_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define mode_t int
_ACEOF

fi
d5762 1
a5762 6
echo "$as_me:$LINENO: checking for pid_t" >&5
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
if test "${ac_cv_type_pid_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
d5769 2
a5770 11
$ac_includes_default
int
main ()
{
if ((pid_t *) 0)
  return 0;
if (sizeof (pid_t))
  return 0;
  ;
  return 0;
}
d5772 3
a5774 13
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_pid_t=yes
d5776 1
a5776 4
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_type_pid_t=no
d5778 1
a5778 7
rm -f conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
if test $ac_cv_type_pid_t = yes; then
  :
else
d5780 3
a5782 2
cat >>confdefs.h <<_ACEOF
#define pid_t int
d5786 12
d5799 3
a5801 6
echo "$as_me:$LINENO: checking for size_t" >&5
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
if test "${ac_cv_type_size_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
d5808 1
a5808 1
$ac_includes_default
d5812 1
a5812 4
if ((size_t *) 0)
  return 0;
if (sizeof (size_t))
  return 0;
d5829 1
a5829 1
  ac_cv_type_size_t=yes
d5834 1
a5834 1
ac_cv_type_size_t=no
d5837 2
a5838 19
fi
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
echo "${ECHO_T}$ac_cv_type_size_t" >&6
if test $ac_cv_type_size_t = yes; then
  :
else

cat >>confdefs.h <<_ACEOF
#define size_t unsigned
_ACEOF

fi

echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
if test "${ac_cv_type_uid_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
d5845 1
a5845 1
#include <sys/types.h>
d5849 2
a5850 4
  $EGREP "uid_t" >/dev/null 2>&1; then
  ac_cv_type_uid_t=yes
else
  ac_cv_type_uid_t=no
d5854 3
a5856 7
fi
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
if test $ac_cv_type_uid_t = no; then

cat >>confdefs.h <<\_ACEOF
#define uid_t int
d5859 7
a5865 3

cat >>confdefs.h <<\_ACEOF
#define gid_t int
d5870 4
d5875 3
a5877 12
#------------------------------------------------------------------------------
#       Find out about time handling differences.
#------------------------------------------------------------------------------


for ac_header in sys/time.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
a5878 3
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d5880 1
a5880 4
  # Is the header compilable?
echo "$as_me:$LINENO: checking $ac_header usability" >&5
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
d5888 10
a5897 1
#include <$ac_header>
d5911 1
a5911 1
  ac_header_compiler=yes
d5916 1
a5916 1
ac_header_compiler=no
a5918 30
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
echo "${ECHO_T}$ac_header_compiler" >&6

# Is the header present?
echo "$as_me:$LINENO: checking $ac_header presence" >&5
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <$ac_header>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
d5920 4
a5923 49
if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  ac_header_preproc=no
fi
rm -f conftest.err conftest.$ac_ext
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
echo "${ECHO_T}$ac_header_preproc" >&6

# So?  What about this header?
case $ac_header_compiler:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    (
      cat <<\_ASBOX
## ------------------------------------ ##
## Report this to bug-autoconf@@gnu.org. ##
## ------------------------------------ ##
_ASBOX
    ) |
      sed "s/^/$as_me: WARNING:     /" >&2
    ;;
esac
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
a5924 4
  eval "$as_ac_Header=$ac_header_preproc"
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
d5926 2
a5927 4
fi
if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
d5932 3
a5934 5
done

echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
if test "${ac_cv_header_time+set}" = set; then
d5944 1
a5944 4
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

d5948 4
a5951 2
if ((struct tm *) 0)
return 0;
d5968 1
a5968 1
  ac_cv_header_time=yes
d5973 1
a5973 1
ac_cv_header_time=no
d5977 5
a5981 3
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
echo "${ECHO_T}$ac_cv_header_time" >&6
if test $ac_cv_header_time = yes; then
d5983 2
a5984 2
cat >>confdefs.h <<\_ACEOF
#define TIME_WITH_SYS_TIME 1
d5989 6
a5994 8

#-------------------------------------------
#     In OS/390 struct pwd has no pw_gecos field
#-------------------------------------------

echo "$as_me:$LINENO: checking pw_gecos in struct pwd" >&5
echo $ECHO_N "checking pw_gecos in struct pwd... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
d6001 1
a6001 1
#include <pwd.h>
d6005 4
a6008 1
struct passwd pwd; pwd.pw_gecos;
d6025 1
a6025 1
  tk_ok=yes
d6030 1
a6030 1
tk_ok=no
d6033 9
a6041 5
echo "$as_me:$LINENO: result: $tk_ok" >&5
echo "${ECHO_T}$tk_ok" >&6
if test $tk_ok = yes; then
    cat >>confdefs.h <<\_ACEOF
#define HAVE_PW_GECOS 1
d6046 3
a6048 29
#--------------------------------------------------------------------
#	Locate the X11 header files and the X11 library archive.  Try
#	the ac_path_x macro first, but if it doesn't find the X stuff
#	(e.g. because there's no xmkmf program) then check through
#	a list of possible directories.  Under some conditions the
#	autoconf macro will return an include directory that contains
#	no include files, so double-check its result just to be safe.
#--------------------------------------------------------------------


    echo "$as_me:$LINENO: checking for X" >&5
echo $ECHO_N "checking for X... $ECHO_C" >&6


# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
  withval="$with_x"

fi;
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
  # The user explicitly disabled X.
  have_x=disabled
else
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
d6051 9
a6059 9
  # One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
rm -fr conftest.dir
if mkdir conftest.dir; then
  cd conftest.dir
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  cat >Imakefile <<'_ACEOF'
acfindx:
	@@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
d6061 8
a6068 24
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
    for ac_extension in a so sl; do
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
         test -f $ac_im_libdir/libX11.$ac_extension; then
        ac_im_usrlibdir=$ac_im_libdir; break
      fi
    done
    # Screen out bogus values from the imake configuration.  They are
    # bogus both because they are the default anyway, and because
    # using them would break gcc on systems where it needs fixed includes.
    case $ac_im_incroot in
	/usr/include) ;;
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
    esac
    case $ac_im_usrlibdir in
	/usr/lib | /lib) ;;
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
    esac
  fi
  cd ..
  rm -fr conftest.dir
d6070 3
d6074 3
a6076 7
# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
ac_x_header_dirs='
/usr/X11/include
/usr/X11R6/include
/usr/X11R5/include
/usr/X11R4/include
a6077 4
/usr/include/X11
/usr/include/X11R6
/usr/include/X11R5
/usr/include/X11R4
d6079 3
a6081 4
/usr/local/X11/include
/usr/local/X11R6/include
/usr/local/X11R5/include
/usr/local/X11R4/include
d6083 1
a6083 4
/usr/local/include/X11
/usr/local/include/X11R6
/usr/local/include/X11R5
/usr/local/include/X11R4
a6084 3
/usr/X386/include
/usr/x386/include
/usr/XFree86/include/X11
d6086 3
a6088 6
/usr/include
/usr/local/include
/usr/unsupported/include
/usr/athena/include
/usr/local/x11r5/include
/usr/lpp/Xamples/include
a6089 2
/usr/openwin/include
/usr/openwin/share/include'
d6091 8
a6098 27
if test "$ac_x_includes" = no; then
  # Guess where to find include files, by looking for Intrinsic.h.
  # First, try using that file with no special directory specified.
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
#include <X11/Intrinsic.h>
_ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
d6100 2
a6101 3
if test -z "$ac_cpp_err"; then
  # We can compile using X headers with no special include directory.
ac_x_includes=
d6103 4
a6106 20
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

  for ac_dir in $ac_x_header_dirs; do
  if test -r "$ac_dir/X11/Intrinsic.h"; then
    ac_x_includes=$ac_dir
    break
  fi
done
fi
rm -f conftest.err conftest.$ac_ext
fi # $ac_x_includes = no

if test "$ac_x_libraries" = no; then
  # Check for the libraries.
  # See if we find them without any special options.
  # Don't add to $LIBS permanently.
  ac_save_LIBS=$LIBS
  LIBS="-lXt $LIBS"
  cat >conftest.$ac_ext <<_ACEOF
d6113 2
a6114 8
#include <X11/Intrinsic.h>
int
main ()
{
XtMalloc (0)
  ;
  return 0;
}
d6116 3
a6118 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d6122 1
a6122 1
         { ac_try='test -s conftest$ac_exeext'
d6128 1
a6128 3
  LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
d6133 1
a6133 11
LIBS=$ac_save_LIBS
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
  # Don't even attempt the hair of trying to link an X program!
  for ac_extension in a so sl; do
    if test -r $ac_dir/libXt.$ac_extension; then
      ac_x_libraries=$ac_dir
      break 2
    fi
  done
done
d6135 3
a6137 2
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi # $ac_x_libraries = no
d6139 4
a6142 33
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  # Didn't find X anywhere.  Cache the known absence of X.
  ac_cv_have_x="have_x=no"
else
  # Record where we found X for the cache.
  ac_cv_have_x="have_x=yes \
	        ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi

  fi
  eval "$ac_cv_have_x"
fi # $with_x != no

if test "$have_x" != yes; then
  echo "$as_me:$LINENO: result: $have_x" >&5
echo "${ECHO_T}$have_x" >&6
  no_x=yes
else
  # If each of the values was on the command line, it overrides each guess.
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  # Update the cache value to reflect the command line values.
  ac_cv_have_x="have_x=yes \
		ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi

    not_really_there=""
    if test "$no_x" = ""; then
	if test "$x_includes" = ""; then
	    cat >conftest.$ac_ext <<_ACEOF
d6149 1
a6149 1
#include <X11/XIntrinsic.h>
d6168 1
a6168 1
  :
d6173 1
a6173 1
  not_really_there="yes"
d6176 62
a6237 11
	else
	    if test ! -r $x_includes/X11/Intrinsic.h; then
		not_really_there="yes"
	    fi
	fi
    fi
    if test "$no_x" = "yes" -o "$not_really_there" = "yes"; then
	echo "$as_me:$LINENO: checking for X11 header files" >&5
echo $ECHO_N "checking for X11 header files... $ECHO_C" >&6
	found_xincludes="no"
	cat >conftest.$ac_ext <<_ACEOF
d6244 12
a6255 1
#include <X11/Intrinsic.h>
d6257 9
a6265 2
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
a6266 3
  grep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
d6268 2
a6269 11
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi
else
  ac_cpp_err=yes
fi
if test -z "$ac_cpp_err"; then
  found_xincludes="yes"
d6274 12
a6285 1
  found_xincludes="no"
a6286 23
rm -f conftest.err conftest.$ac_ext
	if test "$found_xincludes" = "no"; then
	    dirs="/usr/unsupported/include /usr/local/include /usr/X386/include /usr/X11R6/include /usr/X11R5/include /usr/include/X11R5 /usr/include/X11R4 /usr/openwin/include /usr/X11/include /usr/sww/include"
	    for i in $dirs ; do
		if test -r $i/X11/Intrinsic.h; then
		    echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
		    XINCLUDES=" -I$i"
		    found_xincludes="yes"
		    break
		fi
	    done
	fi
    else
	if test "$x_includes" != ""; then
	    XINCLUDES="-I$x_includes"
	    found_xincludes="yes"
	fi
    fi
    if test found_xincludes = "no"; then
	echo "$as_me:$LINENO: result: couldn't find any!" >&5
echo "${ECHO_T}couldn't find any!" >&6
    fi
d6288 7
a6294 29
    if test "$no_x" = yes; then
	echo "$as_me:$LINENO: checking for X11 libraries" >&5
echo $ECHO_N "checking for X11 libraries... $ECHO_C" >&6
	XLIBSW=nope
	dirs="/usr/unsupported/lib /usr/local/lib /usr/X386/lib /usr/X11R6/lib /usr/X11R5/lib /usr/lib/X11R5 /usr/lib/X11R4 /usr/openwin/lib /usr/X11/lib /usr/sww/X11/lib"
	for i in $dirs ; do
	    if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl; then
		echo "$as_me:$LINENO: result: $i" >&5
echo "${ECHO_T}$i" >&6
		XLIBSW="-L$i -lX11"
		x_libraries="$i"
		break
	    fi
	done
    else
	if test "$x_libraries" = ""; then
	    XLIBSW=-lX11
	else
	    XLIBSW="-L$x_libraries -lX11"
	fi
    fi
    if test "$XLIBSW" = nope ; then
	echo "$as_me:$LINENO: checking for XCreateWindow in -lXwindow" >&5
echo $ECHO_N "checking for XCreateWindow in -lXwindow... $ECHO_C" >&6
if test "${ac_cv_lib_Xwindow_XCreateWindow+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXwindow  $LIBS"
d6302 1
a6302 8

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char XCreateWindow ();
d6306 1
a6306 1
XCreateWindow ();
d6311 3
a6313 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d6317 1
a6317 1
         { ac_try='test -s conftest$ac_exeext'
d6323 1
a6323 1
  ac_cv_lib_Xwindow_XCreateWindow=yes
d6328 1
a6328 1
ac_cv_lib_Xwindow_XCreateWindow=no
d6330 8
a6337 7
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xwindow_XCreateWindow" >&5
echo "${ECHO_T}$ac_cv_lib_Xwindow_XCreateWindow" >&6
if test $ac_cv_lib_Xwindow_XCreateWindow = yes; then
  XLIBSW=-lXwindow
a6339 8
    fi
    if test "$XLIBSW" = nope ; then
	echo "$as_me:$LINENO: result: couldn't find any!  Using -lX11." >&5
echo "${ECHO_T}couldn't find any!  Using -lX11." >&6
	XLIBSW=-lX11
    fi


d6341 6
a6346 11
#	Various manipulations on the search path used at runtime to
#	find shared libraries:
#	1. If the X library binaries are in a non-standard directory,
#	   add the X library location into that search path.
#	2. On systems such as AIX and Ultrix that use "-L" as the
#	   search path option, colons cannot be used to separate
#	   directories from each other. Change colons to " -L".
#	3. Create two sets of search flags, one for use in cc lines
#	   and the other for when the linker is invoked directly.  In
#	   the second case, '-Wl,' must be stripped off and commas must
#	   be replaced by spaces.
a6348 6
if test "x${x_libraries}" != "x"; then
    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${x_libraries}"
fi
if test "${TCL_LD_SEARCH_FLAGS}" = '-L${LIB_RUNTIME_DIR}'; then
    LIB_RUNTIME_DIR=`echo ${LIB_RUNTIME_DIR} |sed -e 's/:/ -L/g'`
fi
d6350 2
a6351 3
# The statement below is very tricky!  It actually *evaluates* the
# string in TCL_CC_SEARCH_FLAGS and TCL_LD_SEARCH_FLAGS which
# causes a substitution of the variable LIB_RUNTIME_DIR.
a6352 2
eval "CC_SEARCH_FLAGS=\"$TCL_CC_SEARCH_FLAGS\""
eval "LD_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""
d6354 3
a6356 17
#--------------------------------------------------------------------
#	Check for the existence of various libraries.  The order here
#	is important, so that then end up in the right order in the
#	command line generated by make.  The -lsocket and -lnsl libraries
#	require a couple of special tricks:
#	1. Use "connect" and "accept" to check for -lsocket, and
#	   "gethostbyname" to check for -lnsl.
#	2. Use each function name only once:  can't redo a check because
#	   autoconf caches the results of the last check and won't redo it.
#	3. Use -lnsl and -lsocket only if they supply procedures that
#	   aren't already present in the normal libraries.  This is because
#	   IRIX 5.2 has libraries, but they aren't needed and they're
#	   bogus:  they goof up name resolution if used.
#	4. On some SVR4 systems, can't use -lsocket without -lnsl too.
#	   To get around this problem, check for both libraries together
#	   if -lsocket doesn't work by itself.
#--------------------------------------------------------------------
d6358 11
a6368 3
echo "$as_me:$LINENO: checking for main in -lXbsd" >&5
echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
if test "${ac_cv_lib_Xbsd_main+set}" = set; then
d6371 77
a6447 3
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lXbsd  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
d6454 1
a6454 9


int
main ()
{
main ();
  ;
  return 0;
}
d6456 19
a6474 13
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_Xbsd_main=yes
d6479 6
a6484 9
ac_cv_lib_Xbsd_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5
echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
if test $ac_cv_lib_Xbsd_main = yes; then
  LIBS="$LIBS -lXbsd"
d6486 2
d6489 6
a6494 7

tk_checkBoth=0
echo "$as_me:$LINENO: checking for connect" >&5
echo $ECHO_N "checking for connect... $ECHO_C" >&6
if test "${ac_cv_func_connect+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
d6502 1
a6502 29
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char connect (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char connect ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_connect) || defined (__stub___connect)
choke me
#else
char (*f) () = connect;
#endif
#ifdef __cplusplus
}
#endif

d6506 1
a6506 1
return f != connect;
d6523 3
a6525 1
  ac_cv_func_connect=yes
d6530 11
a6540 1
ac_cv_func_connect=no
d6543 9
a6552 6
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
echo "${ECHO_T}$ac_cv_func_connect" >&6
if test $ac_cv_func_connect = yes; then
  tk_checkSocket=0
else
  tk_checkSocket=1
d6555 8
a6562 5
if test "$tk_checkSocket" = 1; then
    echo "$as_me:$LINENO: checking for main in -lsocket" >&5
echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
if test "${ac_cv_lib_socket_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
d6564 14
a6577 3
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
d6584 1
a6584 9


int
main ()
{
main ();
  ;
  return 0;
}
d6586 2
a6587 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d6589 3
d6593 11
a6603 8
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_socket_main=yes
d6608 1
a6608 1
ac_cv_lib_socket_main=no
d6610 12
a6621 21
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
if test $ac_cv_lib_socket_main = yes; then
  LIBS="$LIBS -lsocket"
else
  tk_checkBoth=1
fi

fi
if test "$tk_checkBoth" = 1; then
    tk_oldLibs=$LIBS
    LIBS="$LIBS -lsocket -lnsl"
    echo "$as_me:$LINENO: checking for accept" >&5
echo $ECHO_N "checking for accept... $ECHO_C" >&6
if test "${ac_cv_func_accept+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
d6628 1
a6628 36
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char accept (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char accept ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_accept) || defined (__stub___accept)
choke me
#else
char (*f) () = accept;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != accept;
  ;
  return 0;
}
d6630 2
a6631 3
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
d6633 3
d6637 40
a6676 11
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_accept=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
d6678 25
a6702 16
ac_cv_func_accept=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
echo "${ECHO_T}$ac_cv_func_accept" >&6
if test $ac_cv_func_accept = yes; then
  tk_checkNsl=0
else
  LIBS=$tk_oldLibs
fi

fi
echo "$as_me:$LINENO: checking for gethostbyname" >&5
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
if test "${ac_cv_func_gethostbyname+set}" = set; then
d6705 3
a6707 1
  cat >conftest.$ac_ext <<_ACEOF
d6714 1
a6714 9
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char gethostbyname (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
a6717 1
{
d6721 1
a6721 13
char gethostbyname ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
choke me
#else
char (*f) () = gethostbyname;
#endif
#ifdef __cplusplus
}
#endif

d6725 1
a6725 1
return f != gethostbyname;
d6742 1
a6742 1
  ac_cv_func_gethostbyname=yes
d6747 1
a6747 1
ac_cv_func_gethostbyname=no
d6750 32
d6783 32
a6814 8
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
if test $ac_cv_func_gethostbyname = yes; then
  :
else
  echo "$as_me:$LINENO: checking for main in -lnsl" >&5
echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
if test "${ac_cv_lib_nsl_main+set}" = set; then
d6818 1
a6818 1
LIBS="-lnsl  $LIBS"
d6848 1
a6848 1
  ac_cv_lib_nsl_main=yes
d6853 1
a6853 1
ac_cv_lib_nsl_main=no
d6858 4
a6861 6
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
if test $ac_cv_lib_nsl_main = yes; then
  LIBS="$LIBS -lnsl"
fi

a6864 4
# Add the threads support libraries

LIBS="$LIBS$THREADS_LIBS"

a6933 139
#	On a few very rare systems, all of the libm.a stuff is
#	already in libc.a.  Set compiler flags accordingly.
#	Also, Linux requires the "ieee" library for math to
#	work right (and it must appear before "-lm").
#--------------------------------------------------------------------

MATH_LIBS=""
echo "$as_me:$LINENO: checking for sin" >&5
echo $ECHO_N "checking for sin... $ECHO_C" >&6
if test "${ac_cv_func_sin+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sin (); below.
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    <limits.h> exists even on freestanding compilers.  */
#ifdef __STDC__
# include <limits.h>
#else
# include <assert.h>
#endif
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
{
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sin ();
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sin) || defined (__stub___sin)
choke me
#else
char (*f) () = sin;
#endif
#ifdef __cplusplus
}
#endif

int
main ()
{
return f != sin;
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_sin=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_func_sin=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
echo "${ECHO_T}$ac_cv_func_sin" >&6
if test $ac_cv_func_sin = yes; then
  :
else
  MATH_LIBS="-lm"
fi

echo "$as_me:$LINENO: checking for main in -lieee" >&5
echo $ECHO_N "checking for main in -lieee... $ECHO_C" >&6
if test "${ac_cv_lib_ieee_main+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lieee  $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h.  */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */


int
main ()
{
main ();
  ;
  return 0;
}
_ACEOF
rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_ieee_main=yes
else
  echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

ac_cv_lib_ieee_main=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
echo "${ECHO_T}$ac_cv_lib_ieee_main" >&6
if test $ac_cv_lib_ieee_main = yes; then
  MATH_LIBS="-lieee $MATH_LIBS"
fi


#--------------------------------------------------------------------
a7259 1

a7904 1
s,@@TCL_THREADS@@,$TCL_THREADS,;t t
d7918 1
a7959 1
s,@@MATH_LIBS@@,$MATH_LIBS,;t t
@


1.69
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d4549 64
@


1.68
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl to get BeOS changes.
@
text
@d4864 1
a4864 1
		LDFLAGS="-rdynamic"
d5040 1
a5040 1
		LDFLAGS="-rdynamic"
@


1.67
log
@	Require autoconf 2.57 or newer, see TIP 34
	for a detailed explanation of why this is good.
	This will no doubt break the build on some
	platforms, let the flaming begin.

	* unix/configure: Regen with autoconf 2.57.
	* unix/configure.in: Require autoconf 2.57.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen with autoconf 2.57.
	* win/configure.in: Require autoconf 2.57.
	* win/tcl.m4: Update from Tcl.
@
text
@d4541 9
@


1.66
log
@        * README:                               Bumped version number of
        * generic/tk.h:                         Tk to 8.5a0.
        * library/tk.tcl:
        * mac/README:
        * macosx/Wish.pbproj/project.pbxproj:
        * unix/README:
        * unix/configure.in:
        * unix/tk.spec:
        * win/README:
        * win/configure.in:
        * win/makefile.vc:
        * win/tcl.m4:

        * unix/configure:      autoconf
        * win/configure:
@
text
@a1 1

d3 1
a3 2
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
d5 2
d9 240
d250 3
a252 2
# Defaults:
ac_help=
d254 59
a312 22
# Any additions from configure.in:
ac_help="$ac_help
  --enable-man-symlinks   use symlinks for the manpages"
ac_help="$ac_help
  --enable-man-compression=PROG
                          compress the manpages with PROG"
ac_help="$ac_help
  --enable-threads        build with threads"
ac_help="$ac_help
  --with-tcl              directory containing tcl configuration (tclConfig.sh)"
ac_help="$ac_help
  --enable-shared         build and link with shared libraries [--enable-shared]"
ac_help="$ac_help
  --enable-64bit          enable 64bit support (where applicable)"
ac_help="$ac_help
  --enable-64bit-vis      enable 64bit Sparc VIS support"
ac_help="$ac_help
  --disable-load          disallow dynamic loading and "load" command"
ac_help="$ac_help
  --enable-symbols        build with debugging symbols [--disable-symbols]"
ac_help="$ac_help
  --with-x                use the X Window System"
d315 2
d319 1
a319 2
build=NONE
cache_file=./config.cache
a320 1
host=NONE
a321 1
nonopt=NONE
a329 1
target=NONE
d333 6
a351 7
# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12

a354 1

d362 1
a362 4
  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac
d366 1
a366 1
  case "$ac_option" in
d371 1
a371 1
    bindir="$ac_optarg" ;;
d374 1
a374 1
    ac_prev=build ;;
d376 1
a376 1
    build="$ac_optarg" ;;
d383 4
a386 1
    cache_file="$ac_optarg" ;;
d392 1
a392 1
    datadir="$ac_optarg" ;;
d395 1
a395 1
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
d397 5
a401 5
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;
d404 1
a404 1
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
d406 6
a411 6
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
d414 1
a414 1
    eval "enable_${ac_feature}='$ac_optarg'" ;;
d423 1
a423 1
    exec_prefix="$ac_optarg" ;;
d429 6
a434 54
  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;
d437 1
a437 1
    ac_prev=host ;;
d439 1
a439 1
    host="$ac_optarg" ;;
d446 1
a446 1
    includedir="$ac_optarg" ;;
d451 1
a451 1
    infodir="$ac_optarg" ;;
d456 1
a456 1
    libdir="$ac_optarg" ;;
d463 1
a463 1
    libexecdir="$ac_optarg" ;;
d472 1
a472 1
    localstatedir="$ac_optarg" ;;
d477 1
a477 1
    mandir="$ac_optarg" ;;
d484 1
a484 1
  | --no-cr | --no-c)
d498 1
a498 1
    oldincludedir="$ac_optarg" ;;
d503 1
a503 1
    prefix="$ac_optarg" ;;
d510 1
a510 1
    program_prefix="$ac_optarg" ;;
d517 1
a517 1
    program_suffix="$ac_optarg" ;;
d534 1
a534 1
    program_transform_name="$ac_optarg" ;;
d544 1
a544 1
    sbindir="$ac_optarg" ;;
d555 1
a555 1
    sharedstatedir="$ac_optarg" ;;
d560 1
a560 1
    site="$ac_optarg" ;;
d565 1
a565 1
    srcdir="$ac_optarg" ;;
d572 1
a572 1
    sysconfdir="$ac_optarg" ;;
d575 1
a575 1
    ac_prev=target ;;
d577 1
a577 1
    target="$ac_optarg" ;;
d582 2
a583 3
  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;
d586 1
a586 1
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
d588 3
a590 3
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
d592 2
a593 2
    case "$ac_option" in
      *=*) ;;
d596 1
a596 1
    eval "with_${ac_package}='$ac_optarg'" ;;
d599 1
a599 1
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
d601 5
a605 5
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;
d616 1
a616 1
    x_includes="$ac_optarg" ;;
d623 1
a623 1
    x_libraries="$ac_optarg" ;;
d625 3
a627 1
  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
d630 10
d641 5
a645 7
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
d652 3
a654 1
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
d657 10
a666 21
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5
d668 3
a670 4
# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
d672 5
a676 8
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
d680 20
a699 9
# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
d701 1
a701 4
# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h
a702 3
# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=../generic/tk.h
d708 12
a719 3
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
d729 2
a730 1
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
d732 2
a733 1
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
d736 263
a998 1
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
d1000 168
d1178 3
a1180 1
    echo "loading site script $ac_site_file"
d1186 10
a1195 2
  echo "loading cache $cache_file"
  . $cache_file
d1197 54
a1250 2
  echo "creating cache $cache_file"
  > $cache_file
a1253 1
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d1255 20
a1274 17
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
else
  ac_n= ac_c='\c' ac_t=
fi
d1307 2
a1308 2
	echo $ac_n "checking whether to use symlinks for manpages""... $ac_c" 1>&6
echo "configure:577: checking whether to use symlinks for manpages" >&5
d1315 3
a1317 1
fi
d1319 2
a1320 4
	echo "$ac_t""$enableval" 1>&6

	echo $ac_n "checking compression for manpages""... $ac_c" 1>&6
echo "configure:589: checking compression for manpages" >&5
d1324 3
a1326 1
  test "$enableval" = "yes" && echo && { echo "configure: error: missing argument to --enable-man-compression" 1>&2; exit 1; }
d1330 3
a1332 1
fi
a1333 1
	echo "$ac_t""$enableval" 1>&6
a1334 1
	
d1347 12
a1358 6
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:617: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1363 14
a1376 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="gcc"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1379 1
a1379 1
CC="$ac_cv_prog_CC"
d1381 2
a1382 1
  echo "$ac_t""$CC" 1>&6
d1384 2
a1385 1
  echo "$ac_t""no" 1>&6
d1388 9
a1396 7
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:647: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1398 2
a1399 2
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
d1401 10
a1410 27
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_prog_rejected=no
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@@"
    shift
    ac_cv_prog_CC="$@@"
d1412 3
d1417 4
a1420 4
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
d1422 2
a1423 1
  echo "$ac_t""no" 1>&6
d1426 13
a1438 9
  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:698: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1443 14
a1456 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
d1459 1
a1459 1
CC="$ac_cv_prog_CC"
d1461 2
a1462 1
  echo "$ac_t""$CC" 1>&6
d1464 2
a1465 1
  echo "$ac_t""no" 1>&6
d1467 24
a1490 2
 ;;
    esac
d1492 17
a1508 1
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
d1511 30
a1540 2
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1542 10
a1551 21
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 741 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
d1553 7
d1561 2
a1562 3
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
a1563 7
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
a1564 3
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
d1566 38
a1603 4
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
d1605 16
a1620 4
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:777: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1622 20
a1641 7
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
d1643 8
a1650 1
  ac_cv_prog_gcc=no
d1652 1
a1654 1
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
d1656 87
a1742 2
if test $ac_cv_prog_gcc = yes; then
  GCC=yes
d1744 41
a1784 1
  GCC=
d1786 2
d1789 79
a1867 7
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:805: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d1869 102
a1970 2
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
d1973 4
a1976 1
  ac_cv_prog_cc_g=no
d1978 1
a1978 2
rm -f conftest*

d1980 2
a1981 2

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
d1983 1
a1983 1
  CFLAGS="$ac_save_CFLAGS"
d1997 217
d2220 8
a2227 2
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:842: checking how to run the C preprocessor" >&5
d2233 108
a2340 2
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2342 11
a2352 3
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
d2354 32
a2385 11
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 857 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2388 52
a2439 15
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 874 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2442 89
a2530 15
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 891 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d2533 1
a2533 5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
d2536 1
d2538 18
a2555 1
rm -f conftest*
d2558 1
a2558 1
  ac_cv_prog_CPP="$CPP"
d2560 49
a2608 1
  CPP="$ac_cv_prog_CPP"
d2610 19
a2628 1
  ac_cv_prog_CPP="$CPP"
a2629 1
echo "$ac_t""$CPP" 1>&6
d2631 12
a2642 1
for ac_hdr in unistd.h limits.h
d2644 45
a2688 23
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:925: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 930 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d2690 81
a2770 1
rm -f conftest*
d2772 2
a2773 7
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
d2775 58
a2832 1
  echo "$ac_t""no" 1>&6
d2834 1
d2843 2
a2844 2
    echo $ac_n "checking for building with threads""... $ac_c" 1>&6
echo "configure:968: checking for building with threads" >&5
d2851 1
a2851 2
fi

d2854 2
a2855 1
	echo "$ac_t""yes" 1>&6
d2857 1
a2857 1
	cat >> confdefs.h <<\EOF
d2859 1
a2859 1
EOF
d2863 1
a2863 1
	cat >> confdefs.h <<\EOF
d2865 1
a2865 1
EOF
d2867 1
a2867 1
	cat >> confdefs.h <<\EOF
d2869 1
a2869 1
EOF
d2871 1
a2871 1
	cat >> confdefs.h <<\EOF
d2873 1
a2873 1
EOF
d2875 4
a2878 5
	echo $ac_n "checking for pthread_mutex_init in -lpthread""... $ac_c" 1>&6
echo "configure:1000: checking for pthread_mutex_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2880 1
a2880 1
  ac_save_LIBS="$LIBS"
d2882 8
a2889 3
cat > conftest.$ac_ext <<EOF
#line 1008 "configure"
#include "confdefs.h"
d2891 3
d2895 35
a2929 22
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d2932 1
a2932 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d2941 4
a2944 5
	    echo $ac_n "checking for __pthread_mutex_init in -lpthread""... $ac_c" 1>&6
echo "configure:1047: checking for __pthread_mutex_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d2946 1
a2946 1
  ac_save_LIBS="$LIBS"
d2948 8
a2955 3
cat > conftest.$ac_ext <<EOF
#line 1055 "configure"
#include "confdefs.h"
d2957 3
d2961 35
a2995 22
    builtin and then its argument prototype would still apply.  */
char __pthread_mutex_init();

int main() {
__pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d2998 1
a2998 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d3007 4
a3010 5
	    echo $ac_n "checking for pthread_mutex_init in -lpthreads""... $ac_c" 1>&6
echo "configure:1094: checking for pthread_mutex_init in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3012 1
a3012 1
  ac_save_LIBS="$LIBS"
d3014 8
a3021 3
cat > conftest.$ac_ext <<EOF
#line 1102 "configure"
#include "confdefs.h"
d3023 3
d3027 35
a3061 22
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d3064 1
a3064 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d3071 4
a3074 5
		echo $ac_n "checking for pthread_mutex_init in -lc""... $ac_c" 1>&6
echo "configure:1139: checking for pthread_mutex_init in -lc" >&5
ac_lib_var=`echo c'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3076 1
a3076 1
  ac_save_LIBS="$LIBS"
d3078 8
a3085 3
cat > conftest.$ac_ext <<EOF
#line 1147 "configure"
#include "confdefs.h"
d3087 3
d3091 35
a3125 22
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d3128 1
a3128 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d3132 4
a3135 5
		    echo $ac_n "checking for pthread_mutex_init in -lc_r""... $ac_c" 1>&6
echo "configure:1181: checking for pthread_mutex_init in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3137 1
a3137 1
  ac_save_LIBS="$LIBS"
d3139 8
a3146 3
cat > conftest.$ac_ext <<EOF
#line 1189 "configure"
#include "confdefs.h"
d3148 3
d3152 35
a3186 22
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d3189 1
a3189 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d3197 2
a3198 1
			echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
d3209 2
a3210 1
	for ac_func in pthread_attr_setstacksize
d3212 13
a3224 8
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1240: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1245 "configure"
#include "confdefs.h"
d3226 8
a3233 2
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
d3235 4
d3240 2
a3241 5
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

d3248 4
a3251 1
$ac_func();
d3254 35
a3288 13
; return 0; }
EOF
if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
a3289 9
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
d3294 2
a3295 1
	for ac_func in readdir_r
d3297 13
a3309 8
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1296: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1301 "configure"
#include "confdefs.h"
d3311 8
a3318 2
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
d3320 4
d3325 2
a3326 5
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

d3333 4
a3336 1
$ac_func();
d3339 35
a3373 13
; return 0; }
EOF
if { (eval echo configure:1324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
a3374 9
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
d3380 2
a3381 1
	echo "$ac_t""no (default)" 1>&6
d3383 1
a3383 1
    
d3393 3
a3395 3
  echo $ac_n "checking if the compiler understands -pipe""... $ac_c" 1>&6
echo "configure:1363: checking if the compiler understands -pipe" >&5
  OLDCC="$CC"  
d3397 39
a3435 17
  cat > conftest.$ac_ext <<EOF
#line 1367 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CC="$OLDCC"
    echo "$ac_t""no" 1>&6
a3436 2
rm -f conftest*
fi  
d3444 2
a3445 2
    echo $ac_n "checking for required early compiler flags""... $ac_c" 1>&6
echo "configure:1394: checking for required early compiler flags" >&5
d3447 11
a3457 7
    
    if eval "test \"`echo '$''{'tcl_cv_flag__isoc99_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1401 "configure"
#include "confdefs.h"
d3459 3
a3461 1
int main() {
d3463 16
a3478 4
; return 0; }
EOF
if { (eval echo configure:1408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3481 10
a3490 6
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1416 "configure"
#include "confdefs.h"
d3493 3
a3495 1
int main() {
d3497 16
a3512 4
; return 0; }
EOF
if { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3515 4
a3518 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
d3520 1
a3520 1
rm -f conftest*
d3522 1
a3522 1
rm -f conftest*
d3526 1
a3526 1
	cat >> confdefs.h <<\EOF
d3528 1
a3528 1
EOF
d3532 11
a3542 7
    
    if eval "test \"`echo '$''{'tcl_cv_flag__largefile64_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1450 "configure"
#include "confdefs.h"
d3544 3
a3546 1
int main() {
d3548 16
a3563 4
; return 0; }
EOF
if { (eval echo configure:1457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3566 10
a3575 6
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1465 "configure"
#include "confdefs.h"
d3578 3
a3580 1
int main() {
d3582 16
a3597 4
; return 0; }
EOF
if { (eval echo configure:1473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3600 4
a3603 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
d3605 1
a3605 1
rm -f conftest*
d3607 1
a3607 1
rm -f conftest*
d3611 1
a3611 1
	cat >> confdefs.h <<\EOF
d3613 1
a3613 1
EOF
d3618 2
a3619 1
	echo "$ac_t""none" 1>&6
d3621 2
a3622 1
	echo "$ac_t""${tcl_flags}" 1>&6
d3626 4
a3629 4
    echo $ac_n "checking for 64-bit integer type""... $ac_c" 1>&6
echo "configure:1502: checking for 64-bit integer type" >&5
    if eval "test \"`echo '$''{'tcl_cv_type_64bit'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d3631 1
a3631 1
  
d3634 11
a3644 5
	cat > conftest.$ac_ext <<EOF
#line 1510 "configure"
#include "confdefs.h"

int main() {
d3646 16
a3661 4
; return 0; }
EOF
if { (eval echo configure:1517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3664 4
a3667 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_type_64bit="long long"
d3669 1
a3669 1
rm -f conftest*
d3676 7
a3682 3
  cat > conftest.$ac_ext <<EOF
#line 1534 "configure"
#include "confdefs.h"
d3685 13
a3697 4
	    
EOF
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
d3700 6
a3705 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  :
d3707 1
a3707 1
rm -fr conftest*
a3708 1

d3712 1
a3712 1
	cat >> confdefs.h <<\EOF
d3714 1
a3714 1
EOF
d3716 2
a3717 1
	echo "$ac_t""using long" 1>&6
d3719 1
a3719 1
	cat >> confdefs.h <<EOF
d3721 1
a3721 1
EOF
d3723 2
a3724 1
	echo "$ac_t""${tcl_cv_type_64bit}" 1>&6
d3727 13
a3739 9
	echo $ac_n "checking for struct dirent64""... $ac_c" 1>&6
echo "configure:1569: checking for struct dirent64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1575 "configure"
#include "confdefs.h"
d3742 3
a3744 1
int main() {
d3746 16
a3761 4
; return 0; }
EOF
if { (eval echo configure:1583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3764 4
a3767 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_dirent64=no
d3769 1
a3769 1
rm -f conftest*
d3773 1
a3773 1
	    cat >> confdefs.h <<\EOF
d3775 1
a3775 1
EOF
d3778 2
a3779 1
	echo "$ac_t""${tcl_cv_struct_dirent64}" 1>&6
d3781 13
a3793 9
	echo $ac_n "checking for struct stat64""... $ac_c" 1>&6
echo "configure:1604: checking for struct stat64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1610 "configure"
#include "confdefs.h"
d3795 3
a3797 1
int main() {
d3800 16
a3815 4
; return 0; }
EOF
if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3818 4
a3821 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_stat64=no
d3823 1
a3823 1
rm -f conftest*
d3827 1
a3827 1
	    cat >> confdefs.h <<\EOF
d3829 1
a3829 1
EOF
d3832 2
a3833 1
	echo "$ac_t""${tcl_cv_struct_stat64}" 1>&6
d3835 13
a3847 9
	echo $ac_n "checking for off64_t""... $ac_c" 1>&6
echo "configure:1639: checking for off64_t" >&5
	if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1645 "configure"
#include "confdefs.h"
d3849 3
a3851 1
int main() {
d3854 16
a3869 4
; return 0; }
EOF
if { (eval echo configure:1653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d3872 4
a3875 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_off64_t=no
d3877 1
a3877 1
rm -f conftest*
d3881 1
a3881 1
	    cat >> confdefs.h <<\EOF
d3883 1
a3883 1
EOF
d3886 2
a3887 1
	echo "$ac_t""${tcl_cv_type_off64_t}" 1>&6
d3904 2
a3905 1
	# Check whether --with-tcl or --without-tcl was given.
d3909 6
a3914 1
fi
a3915 6
	echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
echo "configure:1695: checking for Tcl configuration" >&5
	if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
d3922 3
a3924 1
		    { echo "configure: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" 1>&2; exit 1; }
d3969 1
a3969 1
	
d3975 2
a3976 1
	    echo "configure: warning: Can't find Tcl configuration definitions" 1>&2
d3981 2
a3982 1
	    echo "$ac_t""found $TCL_BIN_DIR/tclConfig.sh" 1>&6
d3987 2
a3988 2
    echo $ac_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh""... $ac_c" 1>&6
echo "configure:1768: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d3991 2
a3992 1
        echo "$ac_t""loading" 1>&6
d3995 2
a3996 1
        echo "$ac_t""file not found" 1>&6
d4026 11
a4036 11
    
    
    

    
    
    

    
    
    
d4044 2
a4045 2
    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
echo "configure:1823: checking how to build libraries" >&5
d4052 1
a4052 2
fi

d4062 2
a4063 1
	echo "$ac_t""shared" 1>&6
d4066 2
a4067 1
	echo "$ac_t""static" 1>&6
d4069 1
a4069 1
	cat >> confdefs.h <<\EOF
d4071 1
a4071 1
EOF
d4076 7
a4082 6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1856: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4087 14
a4100 11
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
d4103 1
a4103 1
RANLIB="$ac_cv_prog_RANLIB"
d4105 47
a4151 1
  echo "$ac_t""$RANLIB" 1>&6
d4153 1
a4153 1
  echo "$ac_t""no" 1>&6
d4160 2
a4161 2
    echo $ac_n "checking if 64bit support is requested""... $ac_c" 1>&6
echo "configure:1888: checking if 64bit support is requested" >&5
d4165 1
a4165 1
  :
d4168 1
a4168 2
fi

d4175 2
a4176 1
    echo "$ac_t""$do64bit" 1>&6
d4180 2
a4181 2
    echo $ac_n "checking if 64bit Sparc VIS support is requested""... $ac_c" 1>&6
echo "configure:1908: checking if 64bit Sparc VIS support is requested" >&5
d4185 1
a4185 1
  :
d4188 1
a4188 2
fi

d4197 2
a4198 1
    echo "$ac_t""$do64bitVIS" 1>&6
d4204 2
a4205 2
    echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
echo "configure:1932: checking system version (for dynamic loading)" >&5
d4211 2
a4212 1
	    echo "$ac_t""unknown (can't find uname command)" 1>&6
d4217 1
a4217 1
	
d4224 2
a4225 1
	    echo "$ac_t""$system" 1>&6
d4232 4
a4235 5
    echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:1958: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4237 1
a4237 1
  ac_save_LIBS="$LIBS"
d4239 8
a4246 3
cat > conftest.$ac_ext <<EOF
#line 1966 "configure"
#include "confdefs.h"
d4248 3
d4252 35
a4286 22
    builtin and then its argument prototype would still apply.  */
char dlopen();

int main() {
dlopen()
; return 0; }
EOF
if { (eval echo configure:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d4289 1
a4289 2
  echo "$ac_t""no" 1>&6
have_dl=no
d4295 1
a4295 1
    
d4318 4
a4321 4
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2025: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4326 14
a4339 10
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
d4342 1
a4342 1
AR="$ac_cv_prog_AR"
d4344 2
a4345 1
  echo "$ac_t""$AR" 1>&6
d4347 2
a4348 1
  echo "$ac_t""no" 1>&6
d4352 3
a4354 1
	{ echo "configure: error: Required archive tool 'ar' not found on PATH." 1>&2; exit 1; }
d4366 2
a4367 1
		echo "$ac_t""Using $CC for compiling with threads" 1>&6
d4405 3
a4407 2
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
d4423 2
a4424 1
		echo "$ac_t""Using $CC for compiling with threads" 1>&6
d4442 1
a4442 1
		LIBOBJS="$LIBOBJS tclLoadAix.o"
d4458 4
a4461 5
	    echo $ac_n "checking for gettimeofday in -lbsd""... $ac_c" 1>&6
echo "configure:2154: checking for gettimeofday in -lbsd" >&5
ac_lib_var=`echo bsd'_'gettimeofday | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4463 1
a4463 1
  ac_save_LIBS="$LIBS"
d4465 8
a4472 3
cat > conftest.$ac_ext <<EOF
#line 2162 "configure"
#include "confdefs.h"
d4474 3
d4478 35
a4512 22
    builtin and then its argument prototype would still apply.  */
char gettimeofday();

int main() {
gettimeofday()
; return 0; }
EOF
if { (eval echo configure:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d4515 1
a4515 2
  echo "$ac_t""no" 1>&6
libbsd=no
d4520 1
a4520 1
	    	cat >> confdefs.h <<\EOF
d4522 1
a4522 1
EOF
d4529 3
a4531 2
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
d4576 1
a4576 1
	    cat >> confdefs.h <<\EOF
d4578 1
a4578 1
EOF
d4580 1
a4580 1
	    cat >> confdefs.h <<\EOF
d4582 1
a4582 1
EOF
d4587 4
a4590 5
	    echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:2263: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4592 1
a4592 1
  ac_save_LIBS="$LIBS"
d4594 8
a4601 3
cat > conftest.$ac_ext <<EOF
#line 2271 "configure"
#include "confdefs.h"
d4603 3
d4607 35
a4641 22
    builtin and then its argument prototype would still apply.  */
char shl_load();

int main() {
shl_load()
; return 0; }
EOF
if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d4644 1
a4644 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d4676 2
a4677 1
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
d4694 4
a4697 5
	    echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:2350: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4699 1
a4699 1
  ac_save_LIBS="$LIBS"
d4701 8
a4708 3
cat > conftest.$ac_ext <<EOF
#line 2358 "configure"
#include "confdefs.h"
d4710 3
d4714 35
a4748 22
    builtin and then its argument prototype would still apply.  */
char shl_load();

int main() {
shl_load()
; return 0; }
EOF
if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d4751 1
a4751 2
  echo "$ac_t""no" 1>&6
tcl_ok=no
d4830 2
a4831 1
	            echo "configure: warning: 64bit mode not supported by gcc" 1>&2
d4845 1
a4845 1
	    # egcs-2.91.66 on Redhat Linux 6.0 generates lots of warnings 
d4859 20
a4878 9
		ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dld.h""... $ac_c" 1>&6
echo "configure:2496: checking for dld.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2501 "configure"
#include "confdefs.h"
d4880 51
a4930 13
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d4932 55
a4986 1
rm -f conftest*
d4988 2
a4989 3
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
a4995 2
else
  echo "$ac_t""no" 1>&6
d4998 1
d5011 1
a5011 1
	    if test x"${LIBOBJS}" != x ; then
d5016 1
a5016 1
	    cat >> confdefs.h <<\EOF
d5018 1
a5018 1
EOF
d5035 55
a5089 9
		ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dld.h""... $ac_c" 1>&6
echo "configure:2571: checking for dld.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2576 "configure"
#include "confdefs.h"
d5091 68
a5158 13
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d5160 3
a5162 1
rm -f conftest*
d5164 2
a5165 3
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
a5171 2
else
  echo "$ac_t""no" 1>&6
d5174 1
d5201 127
a5327 26
	    ;;
	NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
	    # Not available on all versions:  check for include file.
	    ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
echo "configure:2639: checking for dlfcn.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2644 "configure"
#include "confdefs.h"
#include <dlfcn.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d5329 3
a5331 1
rm -f conftest*
d5333 2
a5334 3
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
d5345 9
a5353 5
		echo $ac_n "checking for ELF""... $ac_c" 1>&6
echo "configure:2677: checking for ELF" >&5
		cat > conftest.$ac_ext <<EOF
#line 2679 "configure"
#include "confdefs.h"
d5358 2
a5359 2
		
EOF
d5361 3
a5363 3
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
d5366 2
a5367 2
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d5369 1
a5369 1
		
d5373 1
a5373 1
	    
a5374 1
  echo "$ac_t""no" 1>&6
d5386 1
a5386 1
	    
d5390 1
d5455 1
a5455 1
	    cat >> confdefs.h <<\EOF
d5457 1
a5457 1
EOF
d5459 1
a5459 1
	    ;;      
d5601 1
a5601 1
	    cat >> confdefs.h <<\EOF
d5603 1
a5603 1
EOF
d5605 1
a5605 1
	    cat >> confdefs.h <<\EOF
d5607 1
a5607 1
EOF
d5635 1
a5635 1
	    cat >> confdefs.h <<\EOF
d5637 1
a5637 1
EOF
d5639 1
a5639 1
	    cat >> confdefs.h <<\EOF
d5641 1
a5641 1
EOF
d5646 1
a5646 1
    
d5652 2
a5653 1
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
d5665 2
a5666 1
		    echo "configure: warning: "64bit mode only supported sparcv9 system"" 1>&2
d5669 1
a5669 1
	    
d5711 2
a5712 2
	    echo $ac_n "checking for ld accepts -Bexport flag""... $ac_c" 1>&6
echo "configure:3037: checking for ld accepts -Bexport flag" >&5
d5714 11
a5724 5
	    cat > conftest.$ac_ext <<EOF
#line 3040 "configure"
#include "confdefs.h"

int main() {
d5726 16
a5741 4
; return 0; }
EOF
if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
d5744 4
a5747 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  found=no
d5749 1
a5749 1
rm -f conftest*
d5751 2
a5752 1
	    echo "$ac_t""$found" 1>&6
d5764 2
a5765 1
    echo "configure: warning: "64bit support being disabled -- don\'t know magic for this platform"" 1>&2
d5773 1
a5773 1
    # support only a file format that is more or less version-7-compatible. 
d5788 9
a5796 5
	echo $ac_n "checking sys/exec.h""... $ac_c" 1>&6
echo "configure:3094: checking sys/exec.h" >&5
	cat > conftest.$ac_ext <<EOF
#line 3096 "configure"
#include "confdefs.h"
d5798 3
a5800 1
int main() {
d5812 17
a5828 5
    
; return 0; }
EOF
if { (eval echo configure:3114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d5831 4
a5834 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_ok=unusable
d5836 3
a5838 2
rm -f conftest*
	echo "$ac_t""$tcl_ok" 1>&6
d5840 1
a5840 1
	    cat >> confdefs.h <<\EOF
d5842 1
a5842 1
EOF
d5845 9
a5853 5
	    echo $ac_n "checking a.out.h""... $ac_c" 1>&6
echo "configure:3132: checking a.out.h" >&5
	    cat > conftest.$ac_ext <<EOF
#line 3134 "configure"
#include "confdefs.h"
d5855 3
a5857 1
int main() {
d5869 17
a5885 5
	    
; return 0; }
EOF
if { (eval echo configure:3152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d5888 4
a5891 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_ok=unusable
d5893 3
a5895 2
rm -f conftest*
	    echo "$ac_t""$tcl_ok" 1>&6
d5897 1
a5897 1
		cat >> confdefs.h <<\EOF
d5899 1
a5899 1
EOF
d5902 9
a5910 5
		echo $ac_n "checking sys/exec_aout.h""... $ac_c" 1>&6
echo "configure:3170: checking sys/exec_aout.h" >&5
		cat > conftest.$ac_ext <<EOF
#line 3172 "configure"
#include "confdefs.h"
d5912 3
a5914 1
int main() {
d5926 17
a5942 5
		
; return 0; }
EOF
if { (eval echo configure:3190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d5945 4
a5948 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_ok=unusable
d5950 3
a5952 2
rm -f conftest*
		echo "$ac_t""$tcl_ok" 1>&6
d5954 1
a5954 1
		    cat >> confdefs.h <<\EOF
d5956 1
a5956 1
EOF
d5973 1
a5973 2
fi

a6058 1
    
a6059 28
    
    
    
    
    
    
    

    
    
    
    
    

    
    
    
    
    
    
    
    

    
    
    
    
    
d6063 31
a6093 2
    echo $ac_n "checking for build with symbols""... $ac_c" 1>&6
echo "configure:3342: checking for build with symbols" >&5
d6100 1
a6100 2
fi

d6106 2
a6107 1
	echo "$ac_t""no" 1>&6
d6113 2
a6114 1
	    echo "$ac_t""yes (standard debugging)" 1>&6
d6117 2
a6118 2
    
    
d6121 1
a6121 1
	cat >> confdefs.h <<\EOF
d6123 1
a6123 1
EOF
d6128 1
a6128 1
	cat >> confdefs.h <<\EOF
d6130 1
a6130 1
EOF
d6132 1
a6132 1
	cat >> confdefs.h <<\EOF
d6134 1
a6134 1
EOF
d6140 2
a6141 1
	    echo "$ac_t""enabled symbols mem compile debugging" 1>&6
d6143 2
a6144 1
	    echo "$ac_t""enabled $tcl_ok debugging" 1>&6
d6169 12
a6180 8
echo $ac_n "checking for sin""... $ac_c" 1>&6
echo "configure:3416: checking for sin" >&5
if eval "test \"`echo '$''{'ac_cv_func_sin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3421 "configure"
#include "confdefs.h"
d6182 8
a6189 2
    which can conflict with char sin(); below.  */
#include <assert.h>
d6191 4
d6196 2
a6197 5
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {

d6204 4
a6207 1
sin();
d6210 32
a6241 16
; return 0; }
EOF
if { (eval echo configure:3444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_sin=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_sin=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d6244 1
a6244 2
  echo "$ac_t""no" 1>&6
MATH_LIBS="-lm"
d6247 4
a6250 5
echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6
echo "configure:3465: checking for main in -lieee" >&5
ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d6252 1
a6252 1
  ac_save_LIBS="$LIBS"
d6254 8
a6261 19
cat > conftest.$ac_ext <<EOF
#line 3473 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
d6263 33
a6295 3
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a6296 2
else
  echo "$ac_t""no" 1>&6
d6309 4
a6312 5
    echo $ac_n "checking for gettimeofday in -lbsd""... $ac_c" 1>&6
echo "configure:3511: checking for gettimeofday in -lbsd" >&5
ac_lib_var=`echo bsd'_'gettimeofday | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d6314 1
a6314 1
  ac_save_LIBS="$LIBS"
d6316 8
a6323 3
cat > conftest.$ac_ext <<EOF
#line 3519 "configure"
#include "confdefs.h"
d6325 3
d6329 35
a6363 22
    builtin and then its argument prototype would still apply.  */
char gettimeofday();

int main() {
gettimeofday()
; return 0; }
EOF
if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a6364 2
else
  echo "$ac_t""no" 1>&6
d6377 9
a6385 5
echo $ac_n "checking stdlib.h""... $ac_c" 1>&6
echo "configure:3561: checking stdlib.h" >&5
cat > conftest.$ac_ext <<EOF
#line 3563 "configure"
#include "confdefs.h"
d6387 2
a6388 1
EOF
d6390 1
a6390 2
  egrep "strtol" >/dev/null 2>&1; then
  rm -rf conftest*
a6392 1
  rm -rf conftest*
d6397 7
a6403 3
cat > conftest.$ac_ext <<EOF
#line 3578 "configure"
#include "confdefs.h"
d6405 2
a6406 1
EOF
d6408 1
a6408 1
  egrep "strtoul" >/dev/null 2>&1; then
a6410 1
  rm -rf conftest*
d6415 7
a6421 3
cat > conftest.$ac_ext <<EOF
#line 3592 "configure"
#include "confdefs.h"
d6423 2
a6424 1
EOF
d6426 1
a6426 1
  egrep "strtod" >/dev/null 2>&1; then
a6428 1
  rm -rf conftest*
d6434 1
a6434 1
    cat >> confdefs.h <<\EOF
d6436 1
a6436 1
EOF
d6439 2
a6440 1
echo "$ac_t""$tk_ok" 1>&6
d6452 9
a6460 5
echo $ac_n "checking fd_set and sys/select""... $ac_c" 1>&6
echo "configure:3624: checking fd_set and sys/select" >&5
cat > conftest.$ac_ext <<EOF
#line 3626 "configure"
#include "confdefs.h"
d6462 3
a6464 1
int main() {
d6466 16
a6481 4
; return 0; }
EOF
if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d6484 4
a6487 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tk_ok=no
d6489 1
a6489 1
rm -f conftest*
d6491 7
a6497 3
    cat > conftest.$ac_ext <<EOF
#line 3645 "configure"
#include "confdefs.h"
d6499 2
a6500 1
EOF
d6502 1
a6502 2
  egrep "fd_mask" >/dev/null 2>&1; then
  rm -rf conftest*
d6508 1
a6508 1
	cat >> confdefs.h <<\EOF
d6510 1
a6510 1
EOF
d6514 2
a6515 1
echo "$ac_t""$tk_ok" 1>&6
d6517 1
a6517 1
    cat >> confdefs.h <<\EOF
d6519 1
a6519 1
EOF
d6528 37
a6564 19
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:3677: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3682 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  ac_cv_header_stdc=yes
d6566 2
a6567 7
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*
d6569 1
a6569 13
if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 3707 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  ac_cv_header_stdc=no
d6571 1
a6571 2
rm -f conftest*

d6573 3
a6575 10

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 3725 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
d6578 4
a6581 4
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*
d6585 37
a6621 20
if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
  :
else
  cat > conftest.$ac_ext <<EOF
#line 3746 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }

EOF
if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  :
d6623 2
a6624 7
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_header_stdc=no
fi
rm -fr conftest*
fi
d6626 1
d6628 1
d6630 4
a6633 27

echo "$ac_t""$ac_cv_header_stdc" 1>&6
if test $ac_cv_header_stdc = yes; then
  cat >> confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF

fi

echo $ac_n "checking for mode_t""... $ac_c" 1>&6
echo "configure:3781: checking for mode_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3786 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_mode_t=yes
a6634 4
  rm -rf conftest*
  ac_cv_type_mode_t=no
fi
rm -f conftest*
d6636 3
a6638 6
fi
echo "$ac_t""$ac_cv_type_mode_t" 1>&6
if test $ac_cv_type_mode_t = no; then
  cat >> confdefs.h <<\EOF
#define mode_t int
EOF
d6642 37
a6678 18
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:3814: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3819 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_pid_t=yes
d6680 2
a6681 4
  rm -rf conftest*
  ac_cv_type_pid_t=no
fi
rm -f conftest*
d6683 1
d6685 1
a6685 6
echo "$ac_t""$ac_cv_type_pid_t" 1>&6
if test $ac_cv_type_pid_t = no; then
  cat >> confdefs.h <<\EOF
#define pid_t int
EOF

d6687 4
a6690 5

echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:3847: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
a6691 18
  cat > conftest.$ac_ext <<EOF
#line 3852 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_size_t=yes
else
  rm -rf conftest*
  ac_cv_type_size_t=no
fi
rm -f conftest*
d6693 1
a6693 4
fi
echo "$ac_t""$ac_cv_type_size_t" 1>&6
if test $ac_cv_type_size_t = no; then
  cat >> confdefs.h <<\EOF
d6695 1
a6695 1
EOF
d6699 12
a6710 8
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
echo "configure:3880: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3885 "configure"
#include "confdefs.h"
d6712 2
a6713 1
EOF
d6715 1
a6715 2
  egrep "uid_t" >/dev/null 2>&1; then
  rm -rf conftest*
a6717 1
  rm -rf conftest*
d6723 3
d6727 1
a6727 3
echo "$ac_t""$ac_cv_type_uid_t" 1>&6
if test $ac_cv_type_uid_t = no; then
  cat >> confdefs.h <<\EOF
d6729 1
a6729 1
EOF
d6731 2
a6732 1
  cat >> confdefs.h <<\EOF
d6734 1
a6734 1
EOF
d6743 2
a6744 1
for ac_hdr in sys/time.h
d6746 73
a6818 23
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3922: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3927 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
d6820 61
a6880 11
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
d6882 1
d6885 12
a6896 8
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:3959: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3964 "configure"
#include "confdefs.h"
d6900 22
a6921 6
int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d6924 4
a6927 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_time=no
d6929 1
a6929 1
rm -f conftest*
d6931 3
d6935 1
a6935 3
echo "$ac_t""$ac_cv_header_time" 1>&6
if test $ac_cv_header_time = yes; then
  cat >> confdefs.h <<\EOF
d6937 1
a6937 1
EOF
d6946 9
a6954 5
echo $ac_n "checking pw_gecos in struct pwd""... $ac_c" 1>&6
echo "configure:3999: checking pw_gecos in struct pwd" >&5
cat > conftest.$ac_ext <<EOF
#line 4001 "configure"
#include "confdefs.h"
d6956 3
a6958 1
int main() {
d6960 16
a6975 4
; return 0; }
EOF
if { (eval echo configure:4008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
d6978 4
a6981 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tk_ok=no
d6983 3
a6985 2
rm -f conftest*
echo "$ac_t""$tk_ok" 1>&6
d6987 1
a6987 1
    cat >> confdefs.h <<\EOF
d6989 1
a6989 1
EOF
d7003 3
a7005 6
    # If we find X, set shell vars x_includes and x_libraries to the
# paths, otherwise set no_x=yes.
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo $ac_n "checking for X""... $ac_c" 1>&6
echo "configure:4041: checking for X" >&5
a7009 2
  :
fi
d7011 1
d7021 2
a7022 2
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d7025 4
a7028 4
ac_x_includes=NO ac_x_libraries=NO
rm -fr conftestdir
if mkdir conftestdir; then
  cd conftestdir
d7030 1
a7030 1
  cat > Imakefile <<'EOF'
d7033 1
a7033 1
EOF
d7040 1
a7040 1
        test -f $ac_im_libdir/libX11.$ac_extension; then
d7047 1
a7047 1
    case "$ac_im_incroot" in
d7049 1
a7049 1
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
d7051 1
a7051 1
    case "$ac_im_usrlibdir" in
d7053 1
a7053 1
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
d7057 1
a7057 1
  rm -fr conftestdir
d7060 36
a7095 3
if test "$ac_x_includes" = NO; then
  # Guess where to find include files, by looking for this one X11 .h file.
  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
d7097 2
d7100 26
a7125 10
cat > conftest.$ac_ext <<EOF
#line 4103 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
d7129 9
a7137 47
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  # Look for the header file in a standard set of common directories.
# Check X11 before X11Rn because it is often a symlink to the current release.
  for ac_dir in               \
    /usr/X11/include          \
    /usr/X11R6/include        \
    /usr/X11R5/include        \
    /usr/X11R4/include        \
                              \
    /usr/include/X11          \
    /usr/include/X11R6        \
    /usr/include/X11R5        \
    /usr/include/X11R4        \
                              \
    /usr/local/X11/include    \
    /usr/local/X11R6/include  \
    /usr/local/X11R5/include  \
    /usr/local/X11R4/include  \
                              \
    /usr/local/include/X11    \
    /usr/local/include/X11R6  \
    /usr/local/include/X11R5  \
    /usr/local/include/X11R4  \
                              \
    /usr/X386/include         \
    /usr/x386/include         \
    /usr/XFree86/include/X11  \
                              \
    /usr/include              \
    /usr/local/include        \
    /usr/unsupported/include  \
    /usr/athena/include       \
    /usr/local/x11r5/include  \
    /usr/lpp/Xamples/include  \
                              \
    /usr/openwin/include      \
    /usr/openwin/share/include \
    ; \
  do
    if test -r "$ac_dir/$x_direct_test_include"; then
      ac_x_includes=$ac_dir
      break
    fi
  done
d7139 2
a7140 2
rm -f conftest*
fi # $ac_x_includes = NO
d7142 1
a7142 1
if test "$ac_x_libraries" = NO; then
a7143 4

  test -z "$x_direct_test_library" && x_direct_test_library=Xt
  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc

d7146 31
a7176 13
  ac_save_LIBS="$LIBS"
  LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4177 "configure"
#include "confdefs.h"

int main() {
${x_direct_test_function}()
; return 0; }
EOF
if { (eval echo configure:4184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  LIBS="$ac_save_LIBS"
d7180 5
a7184 42
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  LIBS="$ac_save_LIBS"
# First see if replacing the include by lib works.
# Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
    /usr/X11/lib          \
    /usr/X11R6/lib        \
    /usr/X11R5/lib        \
    /usr/X11R4/lib        \
                          \
    /usr/lib/X11          \
    /usr/lib/X11R6        \
    /usr/lib/X11R5        \
    /usr/lib/X11R4        \
                          \
    /usr/local/X11/lib    \
    /usr/local/X11R6/lib  \
    /usr/local/X11R5/lib  \
    /usr/local/X11R4/lib  \
                          \
    /usr/local/lib/X11    \
    /usr/local/lib/X11R6  \
    /usr/local/lib/X11R5  \
    /usr/local/lib/X11R4  \
                          \
    /usr/X386/lib         \
    /usr/x386/lib         \
    /usr/XFree86/lib/X11  \
                          \
    /usr/lib              \
    /usr/local/lib        \
    /usr/unsupported/lib  \
    /usr/athena/lib       \
    /usr/local/x11r5/lib  \
    /usr/lpp/Xamples/lib  \
    /lib/usr/lib/X11	  \
                          \
    /usr/openwin/lib      \
    /usr/openwin/share/lib \
    ; \
d7186 1
d7188 1
a7188 1
    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
d7195 2
a7196 2
rm -f conftest*
fi # $ac_x_libraries = NO
d7198 1
a7198 1
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
d7207 1
d7213 2
a7214 1
  echo "$ac_t""$have_x" 1>&6
d7223 2
a7224 1
  echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
d7230 7
a7236 3
	    cat > conftest.$ac_ext <<EOF
#line 4274 "configure"
#include "confdefs.h"
d7238 18
a7255 5
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d7258 3
a7260 4
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
d7263 1
a7263 1
rm -f conftest*
d7271 2
a7272 2
	echo $ac_n "checking for X11 header files""... $ac_c" 1>&6
echo "configure:4299: checking for X11 header files" >&5
d7274 7
a7280 3
	cat > conftest.$ac_ext <<EOF
#line 4302 "configure"
#include "confdefs.h"
d7282 18
a7299 6
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
d7302 3
a7304 4
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
d7307 1
a7307 1
rm -f conftest*
d7312 2
a7313 1
		    echo "$ac_t""$i" 1>&6
d7327 2
a7328 1
	echo "$ac_t""couldn't find any!" 1>&6
d7332 2
a7333 2
	echo $ac_n "checking for X11 libraries""... $ac_c" 1>&6
echo "configure:4343: checking for X11 libraries" >&5
d7338 2
a7339 1
		echo "$ac_t""$i" 1>&6
d7353 4
a7356 5
	echo $ac_n "checking for XCreateWindow in -lXwindow""... $ac_c" 1>&6
echo "configure:4363: checking for XCreateWindow in -lXwindow" >&5
ac_lib_var=`echo Xwindow'_'XCreateWindow | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d7358 1
a7358 1
  ac_save_LIBS="$LIBS"
d7360 8
a7367 3
cat > conftest.$ac_ext <<EOF
#line 4371 "configure"
#include "confdefs.h"
d7369 3
d7373 35
a7407 22
    builtin and then its argument prototype would still apply.  */
char XCreateWindow();

int main() {
XCreateWindow()
; return 0; }
EOF
if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a7408 2
else
  echo "$ac_t""no" 1>&6
d7413 2
a7414 1
	echo "$ac_t""couldn't find any!  Using -lX11." 1>&6
d7465 4
a7468 5
echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
echo "configure:4456: checking for main in -lXbsd" >&5
ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d7470 1
a7470 1
  ac_save_LIBS="$LIBS"
d7472 8
a7479 19
cat > conftest.$ac_ext <<EOF
#line 4464 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
d7481 33
a7513 3
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a7514 2
else
  echo "$ac_t""no" 1>&6
d7519 12
a7530 8
echo $ac_n "checking for connect""... $ac_c" 1>&6
echo "configure:4494: checking for connect" >&5
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4499 "configure"
#include "confdefs.h"
d7532 8
a7539 2
    which can conflict with char connect(); below.  */
#include <assert.h>
d7541 4
d7546 2
a7547 5
    builtin and then its argument prototype would still apply.  */
char connect();

int main() {

d7554 4
a7557 1
connect();
d7560 32
a7591 16
; return 0; }
EOF
if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_connect=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_connect=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d7594 1
a7594 2
  echo "$ac_t""no" 1>&6
tk_checkSocket=1
d7598 4
a7601 5
    echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
echo "configure:4544: checking for main in -lsocket" >&5
ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d7603 1
a7603 1
  ac_save_LIBS="$LIBS"
d7605 8
a7612 19
cat > conftest.$ac_ext <<EOF
#line 4552 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
d7614 33
a7646 3
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d7649 1
a7649 2
  echo "$ac_t""no" 1>&6
tk_checkBoth=1
d7656 12
a7667 8
    echo $ac_n "checking for accept""... $ac_c" 1>&6
echo "configure:4585: checking for accept" >&5
if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4590 "configure"
#include "confdefs.h"
d7669 8
a7676 2
    which can conflict with char accept(); below.  */
#include <assert.h>
d7678 4
d7683 2
a7684 5
    builtin and then its argument prototype would still apply.  */
char accept();

int main() {

d7691 4
a7694 1
accept();
d7697 32
a7728 16
; return 0; }
EOF
if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_accept=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_accept=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'accept`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d7731 1
a7731 2
  echo "$ac_t""no" 1>&6
LIBS=$tk_oldLibs
d7735 12
a7746 8
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
echo "configure:4635: checking for gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4640 "configure"
#include "confdefs.h"
d7748 8
a7755 2
    which can conflict with char gethostbyname(); below.  */
#include <assert.h>
d7757 4
d7762 2
a7763 5
    builtin and then its argument prototype would still apply.  */
char gethostbyname();

int main() {

d7770 4
a7773 1
gethostbyname();
d7776 32
a7807 16
; return 0; }
EOF
if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_gethostbyname=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_gethostbyname=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d7810 4
a7813 6
  echo "$ac_t""no" 1>&6
echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
echo "configure:4681: checking for main in -lnsl" >&5
ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d7815 1
a7815 1
  ac_save_LIBS="$LIBS"
d7817 8
a7824 19
cat > conftest.$ac_ext <<EOF
#line 4689 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
d7826 33
a7858 3
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a7859 2
else
  echo "$ac_t""no" 1>&6
d7881 2
a7882 2
    echo $ac_n "checking MIT X libraries""... $ac_c" 1>&6
echo "configure:4736: checking MIT X libraries" >&5
d7887 7
a7893 3
    cat > conftest.$ac_ext <<EOF
#line 4742 "configure"
#include "confdefs.h"
d7896 4
a7899 2
    
int main() {
d7902 20
a7921 7
    
; return 0; }
EOF
if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  
	echo "$ac_t""yes" 1>&6
d7924 1
a7924 1
    
d7926 5
a7930 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
d7932 1
a7932 1
rm -f conftest*
d7945 12
a7956 8
echo $ac_n "checking for sin""... $ac_c" 1>&6
echo "configure:4780: checking for sin" >&5
if eval "test \"`echo '$''{'ac_cv_func_sin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4785 "configure"
#include "confdefs.h"
d7958 8
a7965 2
    which can conflict with char sin(); below.  */
#include <assert.h>
d7967 4
d7972 2
a7973 5
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {

d7980 4
a7983 1
sin();
d7986 32
a8017 16
; return 0; }
EOF
if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_sin=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_sin=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d8020 1
a8020 2
  echo "$ac_t""no" 1>&6
MATH_LIBS="-lm"
d8023 4
a8026 5
echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6
echo "configure:4829: checking for main in -lieee" >&5
ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d8028 1
a8028 1
  ac_save_LIBS="$LIBS"
d8030 8
a8037 19
cat > conftest.$ac_ext <<EOF
#line 4837 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
d8039 33
a8071 3
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
a8072 2
else
  echo "$ac_t""no" 1>&6
a8080 13
echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
echo "configure:4871: checking whether char is unsigned" >&5
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$GCC" = yes; then
  # GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF
#line 4878 "configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
  yes
#endif
d8082 35
a8116 7
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_c_char_unsigned=yes
else
  rm -rf conftest*
a8117 6
fi
rm -f conftest*

else
if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
d8119 2
a8120 22
  cat > conftest.$ac_ext <<EOF
#line 4900 "configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
#if !defined(__STDC__) || __STDC__ != 1
#define volatile
#endif
main() {
  volatile char c = 255; exit(c < 0);
}
EOF
if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_c_char_unsigned=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_c_char_unsigned=no
fi
rm -fr conftest*
fi
d8122 1
d8124 1
d8126 2
a8127 2

echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
d8129 1
a8129 1
  cat >> confdefs.h <<\EOF
d8131 1
a8131 1
EOF
d8144 12
a8155 8
    echo $ac_n "checking for strtod""... $ac_c" 1>&6
echo "configure:4943: checking for strtod" >&5
if eval "test \"`echo '$''{'ac_cv_func_strtod'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4948 "configure"
#include "confdefs.h"
d8157 8
a8164 2
    which can conflict with char strtod(); below.  */
#include <assert.h>
d8166 4
d8171 2
a8172 5
    builtin and then its argument prototype would still apply.  */
char strtod();

int main() {

d8179 4
a8182 1
strtod();
d8185 32
a8216 16
; return 0; }
EOF
if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_strtod=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_strtod=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'strtod`\" = yes"; then
  echo "$ac_t""yes" 1>&6
d8219 1
a8219 2
  echo "$ac_t""no" 1>&6
tcl_strtod=0
d8223 4
a8226 4
	echo $ac_n "checking for Solaris2.4/Tru64 strtod bugs""... $ac_c" 1>&6
echo "configure:4993: checking for Solaris2.4/Tru64 strtod bugs" >&5
	if eval "test \"`echo '$''{'tcl_cv_strtod_buggy'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d8228 1
a8228 1
  
d8232 7
a8238 3
  cat > conftest.$ac_ext <<EOF
#line 5002 "configure"
#include "confdefs.h"
d8259 12
a8270 3
EOF
if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
d8273 6
a8278 4
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  tcl_cv_strtod_buggy=0
d8280 1
a8280 1
rm -fr conftest*
a8281 1

d8285 2
a8286 1
	    echo "$ac_t""ok" 1>&6
d8288 5
a8292 3
	    echo "$ac_t""buggy" 1>&6
	    LIBOBJS="$LIBOBJS fixstrtod.o"
	    cat >> confdefs.h <<\EOF
d8294 1
a8294 1
EOF
d8338 1
a8338 1
	TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"    
d8341 1
a8341 1
	TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"    
d8351 1
a8351 1
# too many problems with linking.  When Tk is a fully loadable 
d8404 2
a8405 2
trap '' 1 2 15
cat > confcache <<\EOF
d8408 3
a8410 2
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
d8412 2
a8413 8
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
d8415 6
a8420 1
EOF
d8426 25
a8450 17
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
d8452 2
a8453 2
    echo "updating cache $cache_file"
    cat confcache > $cache_file
a8459 2
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

d8464 4
a8467 3
# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
d8469 8
a8476 1
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
a8478 2
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

d8482 44
a8525 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
a8527 1
# Without the "./", some shells look in PATH for config.status.
d8529 7
a8535 6

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
a8536 5
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
d8538 30
a8567 1
# configure, is in ./config.log if it exists.
d8569 12
a8580 2
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
d8582 5
a8586 11
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
d8589 13
a8601 1
ac_given_srcdir=$srcdir
d8603 33
a8635 98
trap 'rm -fr `echo "Makefile tkConfig.sh" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@@/@@@@/; s/@@%/@@@@/; s/%g\$/@@g/; /@@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@@@/%@@/; s/@@@@/@@%/; s/@@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@@SHELL@@%$SHELL%g
s%@@CFLAGS@@%$CFLAGS%g
s%@@CPPFLAGS@@%$CPPFLAGS%g
s%@@CXXFLAGS@@%$CXXFLAGS%g
s%@@FFLAGS@@%$FFLAGS%g
s%@@DEFS@@%$DEFS%g
s%@@LDFLAGS@@%$LDFLAGS%g
s%@@LIBS@@%$LIBS%g
s%@@exec_prefix@@%$exec_prefix%g
s%@@prefix@@%$prefix%g
s%@@program_transform_name@@%$program_transform_name%g
s%@@bindir@@%$bindir%g
s%@@sbindir@@%$sbindir%g
s%@@libexecdir@@%$libexecdir%g
s%@@datadir@@%$datadir%g
s%@@sysconfdir@@%$sysconfdir%g
s%@@sharedstatedir@@%$sharedstatedir%g
s%@@localstatedir@@%$localstatedir%g
s%@@libdir@@%$libdir%g
s%@@includedir@@%$includedir%g
s%@@oldincludedir@@%$oldincludedir%g
s%@@infodir@@%$infodir%g
s%@@mandir@@%$mandir%g
s%@@MKLINKS_FLAGS@@%$MKLINKS_FLAGS%g
s%@@CC@@%$CC%g
s%@@CPP@@%$CPP%g
s%@@TCL_THREADS@@%$TCL_THREADS%g
s%@@TCL_VERSION@@%$TCL_VERSION%g
s%@@TCL_BIN_DIR@@%$TCL_BIN_DIR%g
s%@@TCL_SRC_DIR@@%$TCL_SRC_DIR%g
s%@@TCL_LIB_FILE@@%$TCL_LIB_FILE%g
s%@@TCL_LIB_FLAG@@%$TCL_LIB_FLAG%g
s%@@TCL_LIB_SPEC@@%$TCL_LIB_SPEC%g
s%@@TCL_STUB_LIB_FILE@@%$TCL_STUB_LIB_FILE%g
s%@@TCL_STUB_LIB_FLAG@@%$TCL_STUB_LIB_FLAG%g
s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
s%@@RANLIB@@%$RANLIB%g
s%@@AR@@%$AR%g
s%@@DL_LIBS@@%$DL_LIBS%g
s%@@DL_OBJS@@%$DL_OBJS%g
s%@@PLAT_OBJS@@%$PLAT_OBJS%g
s%@@CFLAGS_DEBUG@@%$CFLAGS_DEBUG%g
s%@@CFLAGS_OPTIMIZE@@%$CFLAGS_OPTIMIZE%g
s%@@CFLAGS_WARNING@@%$CFLAGS_WARNING%g
s%@@EXTRA_CFLAGS@@%$EXTRA_CFLAGS%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
s%@@CC_SEARCH_FLAGS@@%$CC_SEARCH_FLAGS%g
s%@@LD_SEARCH_FLAGS@@%$LD_SEARCH_FLAGS%g
s%@@STLIB_LD@@%$STLIB_LD%g
s%@@SHLIB_LD@@%$SHLIB_LD%g
s%@@TCL_SHLIB_LD_EXTRAS@@%$TCL_SHLIB_LD_EXTRAS%g
s%@@TK_SHLIB_LD_EXTRAS@@%$TK_SHLIB_LD_EXTRAS%g
s%@@SHLIB_LD_FLAGS@@%$SHLIB_LD_FLAGS%g
s%@@SHLIB_LD_LIBS@@%$SHLIB_LD_LIBS%g
s%@@SHLIB_CFLAGS@@%$SHLIB_CFLAGS%g
s%@@SHLIB_SUFFIX@@%$SHLIB_SUFFIX%g
s%@@MAKE_LIB@@%$MAKE_LIB%g
s%@@MAKE_STUB_LIB@@%$MAKE_STUB_LIB%g
s%@@INSTALL_LIB@@%$INSTALL_LIB%g
s%@@INSTALL_STUB_LIB@@%$INSTALL_STUB_LIB%g
s%@@CFLAGS_DEFAULT@@%$CFLAGS_DEFAULT%g
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
s%@@TK_VERSION@@%$TK_VERSION%g
s%@@TK_MAJOR_VERSION@@%$TK_MAJOR_VERSION%g
s%@@TK_MINOR_VERSION@@%$TK_MINOR_VERSION%g
s%@@TK_PATCH_LEVEL@@%$TK_PATCH_LEVEL%g
s%@@TK_DBGX@@%$TK_DBGX%g
s%@@TK_STUB_LIB_FILE@@%$TK_STUB_LIB_FILE%g
s%@@TK_STUB_LIB_FLAG@@%$TK_STUB_LIB_FLAG%g
s%@@TK_BUILD_STUB_LIB_SPEC@@%$TK_BUILD_STUB_LIB_SPEC%g
s%@@TK_STUB_LIB_SPEC@@%$TK_STUB_LIB_SPEC%g
s%@@TK_BUILD_STUB_LIB_PATH@@%$TK_BUILD_STUB_LIB_PATH%g
s%@@TK_STUB_LIB_PATH@@%$TK_STUB_LIB_PATH%g
s%@@TK_STUB_FLAGS@@%$TK_STUB_FLAGS%g
s%@@TK_BUILD_EXP_FILE@@%$TK_BUILD_EXP_FILE%g
s%@@TK_EXP_FILE@@%$TK_EXP_FILE%g
s%@@TCL_STUB_FLAGS@@%$TCL_STUB_FLAGS%g
s%@@LD_LIBRARY_PATH_VAR@@%$LD_LIBRARY_PATH_VAR%g
s%@@MATH_LIBS@@%$MATH_LIBS%g
s%@@TK_BUILD_LIB_SPEC@@%$TK_BUILD_LIB_SPEC%g
s%@@TK_LIB_FILE@@%$TK_LIB_FILE%g
s%@@TK_LIB_FLAG@@%$TK_LIB_FLAG%g
s%@@TK_LIB_SPEC@@%$TK_LIB_SPEC%g
s%@@TK_SRC_DIR@@%$TK_SRC_DIR%g
s%@@XINCLUDES@@%$XINCLUDES%g
s%@@XLIBSW@@%$XLIBSW%g
s%@@TK_SHARED_BUILD@@%$TK_SHARED_BUILD%g
s%@@LOCALES@@%$LOCALES%g
a8636 2
CEOF
EOF
d8638 16
a8653 1
cat >> $CONFIG_STATUS <<\EOF
d8655 11
a8665 13
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
d8667 81
a8747 3
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
d8749 1
a8749 8
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
d8751 176
d8928 13
a8940 2
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
a8941 1
EOF
d8943 2
a8944 1
cat >> $CONFIG_STATUS <<EOF
d8946 13
a8958 9
CONFIG_FILES=\${CONFIG_FILES-"Makefile tkConfig.sh"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
d8960 36
d8997 1
a8997 1
  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
d8999 156
a9154 10
  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
d9156 15
d9172 59
a9230 5
  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
d9232 10
a9241 3
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac
d9244 15
a9258 8
  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac
d9260 52
a9311 8
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@@configure_input@@%$configure_input%g
s%@@srcdir@@%$srcdir%g
s%@@top_srcdir@@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
d9313 2
a9314 2
EOF
cat >> $CONFIG_STATUS <<EOF
d9316 1
a9316 2
EOF
cat >> $CONFIG_STATUS <<\EOF
d9318 2
a9319 2
exit 0
EOF
d9321 23
a9343 2
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
@


1.65
log
@	* library/console.tcl: (aqua & macintosh) added missing <Cmd-q>
	binding for corresponding Quit menu item shortcut.

	* macosx/README: updated instructions for embedded build,
	added various improvements by Russell Owen.

	* unix/tcl.m4: update from Tcl.
	* unix/configure: regen.
@
text
@d547 1
a547 1
TK_VERSION=8.4
d549 2
a550 2
TK_MINOR_VERSION=4
TK_PATCH_LEVEL=".2"
@


1.65.2.1
log
@Bumped version to 8.4.3
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".3"
@


1.65.2.2
log
@        * README:               Bumped patchlevel to 8.4.4 in preparation
        * generic/tk.h:         for the Tk 8.4.4 release.
        * macosx/Wish.pbproj/project.pbxproj:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.13)
        * win/configure:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".4"
@


1.65.2.3
log
@        * README:                               Bumped to patch level 8.4.5
        * generic/tk.h:                         to prepare for next patch
        * macosx/Wish.pbproj/project.pbxproj:   release.
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.13)
        * win/configure:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".5"
@


1.65.2.4
log
@        * unix/configure.in:    Added check that version of Tcl header found
        by configure matches that of the Tk we wish to build.  As long as
        the Tk sources insist on lockstep releases, Tk's configuration should
        verify that's what we have.  [Bug 749088]

        * unix/configure:       autoconf (2.13)
@
text
@a1815 6
if test "${TCL_VERSION}" != "${TK_VERSION}"; then
    { echo "configure: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." 1>&2; exit 1; }
fi

d1822 1
a1822 1
echo "configure:1829: checking how to build libraries" >&5
d1855 1
a1855 1
echo "configure:1862: checking for $ac_word" >&5
d1887 1
a1887 1
echo "configure:1894: checking if 64bit support is requested" >&5
d1907 1
a1907 1
echo "configure:1914: checking if 64bit Sparc VIS support is requested" >&5
d1931 1
a1931 1
echo "configure:1938: checking system version (for dynamic loading)" >&5
d1957 1
a1957 1
echo "configure:1964: checking for dlopen in -ldl" >&5
d1965 1
a1965 1
#line 1972 "configure"
d1976 1
a1976 1
if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2024 1
a2024 1
echo "configure:2031: checking for $ac_word" >&5
d2153 1
a2153 1
echo "configure:2160: checking for gettimeofday in -lbsd" >&5
d2161 1
a2161 1
#line 2168 "configure"
d2172 1
a2172 1
if { (eval echo configure:2179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2262 1
a2262 1
echo "configure:2269: checking for shl_load in -ldld" >&5
d2270 1
a2270 1
#line 2277 "configure"
d2281 1
a2281 1
if { (eval echo configure:2288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2349 1
a2349 1
echo "configure:2356: checking for shl_load in -ldld" >&5
d2357 1
a2357 1
#line 2364 "configure"
d2368 1
a2368 1
if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2495 1
a2495 1
echo "configure:2502: checking for dld.h" >&5
d2500 1
a2500 1
#line 2507 "configure"
d2505 1
a2505 1
{ (eval echo configure:2512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2570 1
a2570 1
echo "configure:2577: checking for dld.h" >&5
d2575 1
a2575 1
#line 2582 "configure"
d2580 1
a2580 1
{ (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2638 1
a2638 1
echo "configure:2645: checking for dlfcn.h" >&5
d2643 1
a2643 1
#line 2650 "configure"
d2648 1
a2648 1
{ (eval echo configure:2655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2676 1
a2676 1
echo "configure:2683: checking for ELF" >&5
d2678 1
a2678 1
#line 2685 "configure"
d3036 1
a3036 1
echo "configure:3043: checking for ld accepts -Bexport flag" >&5
d3039 1
a3039 1
#line 3046 "configure"
d3046 1
a3046 1
if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3093 1
a3093 1
echo "configure:3100: checking sys/exec.h" >&5
d3095 1
a3095 1
#line 3102 "configure"
d3113 1
a3113 1
if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3131 1
a3131 1
echo "configure:3138: checking a.out.h" >&5
d3133 1
a3133 1
#line 3140 "configure"
d3151 1
a3151 1
if { (eval echo configure:3158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3169 1
a3169 1
echo "configure:3176: checking sys/exec_aout.h" >&5
d3171 1
a3171 1
#line 3178 "configure"
d3189 1
a3189 1
if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3341 1
a3341 1
echo "configure:3348: checking for build with symbols" >&5
d3415 1
a3415 1
echo "configure:3422: checking for sin" >&5
d3420 1
a3420 1
#line 3427 "configure"
d3443 1
a3443 1
if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3464 1
a3464 1
echo "configure:3471: checking for main in -lieee" >&5
d3472 1
a3472 1
#line 3479 "configure"
d3479 1
a3479 1
if { (eval echo configure:3486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3510 1
a3510 1
echo "configure:3517: checking for gettimeofday in -lbsd" >&5
d3518 1
a3518 1
#line 3525 "configure"
d3529 1
a3529 1
if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3560 1
a3560 1
echo "configure:3567: checking stdlib.h" >&5
d3562 1
a3562 1
#line 3569 "configure"
d3577 1
a3577 1
#line 3584 "configure"
d3591 1
a3591 1
#line 3598 "configure"
d3623 1
a3623 1
echo "configure:3630: checking fd_set and sys/select" >&5
d3625 1
a3625 1
#line 3632 "configure"
d3632 1
a3632 1
if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3644 1
a3644 1
#line 3651 "configure"
d3676 1
a3676 1
echo "configure:3683: checking for ANSI C header files" >&5
d3681 1
a3681 1
#line 3688 "configure"
d3689 1
a3689 1
{ (eval echo configure:3696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3706 1
a3706 1
#line 3713 "configure"
d3724 1
a3724 1
#line 3731 "configure"
d3745 1
a3745 1
#line 3752 "configure"
d3756 1
a3756 1
if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3780 1
a3780 1
echo "configure:3787: checking for mode_t" >&5
d3785 1
a3785 1
#line 3792 "configure"
d3813 1
a3813 1
echo "configure:3820: checking for pid_t" >&5
d3818 1
a3818 1
#line 3825 "configure"
d3846 1
a3846 1
echo "configure:3853: checking for size_t" >&5
d3851 1
a3851 1
#line 3858 "configure"
d3879 1
a3879 1
echo "configure:3886: checking for uid_t in sys/types.h" >&5
d3884 1
a3884 1
#line 3891 "configure"
d3921 1
a3921 1
echo "configure:3928: checking for $ac_hdr" >&5
d3926 1
a3926 1
#line 3933 "configure"
d3931 1
a3931 1
{ (eval echo configure:3938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3958 1
a3958 1
echo "configure:3965: checking whether time.h and sys/time.h may both be included" >&5
d3963 1
a3963 1
#line 3970 "configure"
d3972 1
a3972 1
if { (eval echo configure:3979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3998 1
a3998 1
echo "configure:4005: checking pw_gecos in struct pwd" >&5
d4000 1
a4000 1
#line 4007 "configure"
d4007 1
a4007 1
if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4040 1
a4040 1
echo "configure:4047: checking for X" >&5
d4102 1
a4102 1
#line 4109 "configure"
d4107 1
a4107 1
{ (eval echo configure:4114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4176 1
a4176 1
#line 4183 "configure"
d4183 1
a4183 1
if { (eval echo configure:4190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4273 1
a4273 1
#line 4280 "configure"
d4278 1
a4278 1
{ (eval echo configure:4285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4298 1
a4298 1
echo "configure:4305: checking for X11 header files" >&5
d4301 1
a4301 1
#line 4308 "configure"
d4306 1
a4306 1
{ (eval echo configure:4313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4342 1
a4342 1
echo "configure:4349: checking for X11 libraries" >&5
d4362 1
a4362 1
echo "configure:4369: checking for XCreateWindow in -lXwindow" >&5
d4370 1
a4370 1
#line 4377 "configure"
d4381 1
a4381 1
if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4455 1
a4455 1
echo "configure:4462: checking for main in -lXbsd" >&5
d4463 1
a4463 1
#line 4470 "configure"
d4470 1
a4470 1
if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4493 1
a4493 1
echo "configure:4500: checking for connect" >&5
d4498 1
a4498 1
#line 4505 "configure"
d4521 1
a4521 1
if { (eval echo configure:4528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4543 1
a4543 1
echo "configure:4550: checking for main in -lsocket" >&5
d4551 1
a4551 1
#line 4558 "configure"
d4558 1
a4558 1
if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4584 1
a4584 1
echo "configure:4591: checking for accept" >&5
d4589 1
a4589 1
#line 4596 "configure"
d4612 1
a4612 1
if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4634 1
a4634 1
echo "configure:4641: checking for gethostbyname" >&5
d4639 1
a4639 1
#line 4646 "configure"
d4662 1
a4662 1
if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4680 1
a4680 1
echo "configure:4687: checking for main in -lnsl" >&5
d4688 1
a4688 1
#line 4695 "configure"
d4695 1
a4695 1
if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4735 1
a4735 1
echo "configure:4742: checking MIT X libraries" >&5
d4741 1
a4741 1
#line 4748 "configure"
d4752 1
a4752 1
if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4779 1
a4779 1
echo "configure:4786: checking for sin" >&5
d4784 1
a4784 1
#line 4791 "configure"
d4807 1
a4807 1
if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4828 1
a4828 1
echo "configure:4835: checking for main in -lieee" >&5
d4836 1
a4836 1
#line 4843 "configure"
d4843 1
a4843 1
if { (eval echo configure:4850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4870 1
a4870 1
echo "configure:4877: checking whether char is unsigned" >&5
d4877 1
a4877 1
#line 4884 "configure"
d4899 1
a4899 1
#line 4906 "configure"
d4909 1
a4909 1
if { (eval echo configure:4916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4942 1
a4942 1
echo "configure:4949: checking for strtod" >&5
d4947 1
a4947 1
#line 4954 "configure"
d4970 1
a4970 1
if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4992 1
a4992 1
echo "configure:4999: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5001 1
a5001 1
#line 5008 "configure"
d5024 1
a5024 1
if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.5
log
@        * unix/tcl.m4 (SC_PATH_TCLCONFIG):      Corrected search path so
        that alpha and beta releases of Tcl are not favored. [Bug 608698]

        * unix/configure:       autoconf (2.13)
@
text
@a1712 2
			`ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
a1714 2
			`ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
a1716 2
			`ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
a1742 2
			`ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
d1767 1
a1767 1
echo "configure:1776: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1828 1
a1828 1
echo "configure:1837: checking how to build libraries" >&5
d1861 1
a1861 1
echo "configure:1870: checking for $ac_word" >&5
d1893 1
a1893 1
echo "configure:1902: checking if 64bit support is requested" >&5
d1913 1
a1913 1
echo "configure:1922: checking if 64bit Sparc VIS support is requested" >&5
d1937 1
a1937 1
echo "configure:1946: checking system version (for dynamic loading)" >&5
d1963 1
a1963 1
echo "configure:1972: checking for dlopen in -ldl" >&5
d1971 1
a1971 1
#line 1980 "configure"
d1982 1
a1982 1
if { (eval echo configure:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2030 1
a2030 1
echo "configure:2039: checking for $ac_word" >&5
d2159 1
a2159 1
echo "configure:2168: checking for gettimeofday in -lbsd" >&5
d2167 1
a2167 1
#line 2176 "configure"
d2178 1
a2178 1
if { (eval echo configure:2187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2268 1
a2268 1
echo "configure:2277: checking for shl_load in -ldld" >&5
d2276 1
a2276 1
#line 2285 "configure"
d2287 1
a2287 1
if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2355 1
a2355 1
echo "configure:2364: checking for shl_load in -ldld" >&5
d2363 1
a2363 1
#line 2372 "configure"
d2374 1
a2374 1
if { (eval echo configure:2383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2501 1
a2501 1
echo "configure:2510: checking for dld.h" >&5
d2506 1
a2506 1
#line 2515 "configure"
d2511 1
a2511 1
{ (eval echo configure:2520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2576 1
a2576 1
echo "configure:2585: checking for dld.h" >&5
d2581 1
a2581 1
#line 2590 "configure"
d2586 1
a2586 1
{ (eval echo configure:2595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2644 1
a2644 1
echo "configure:2653: checking for dlfcn.h" >&5
d2649 1
a2649 1
#line 2658 "configure"
d2654 1
a2654 1
{ (eval echo configure:2663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2682 1
a2682 1
echo "configure:2691: checking for ELF" >&5
d2684 1
a2684 1
#line 2693 "configure"
d2836 2
a2837 4
	    if test "$GCC" = "yes" ; then
		EXTRA_CFLAGS="-mieee"
            else
		EXTRA_CFLAGS="-DHAVE_TZSET -std1 -ieee"
d3042 1
a3042 1
echo "configure:3053: checking for ld accepts -Bexport flag" >&5
d3045 1
a3045 1
#line 3056 "configure"
d3052 1
a3052 1
if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3099 1
a3099 1
echo "configure:3110: checking sys/exec.h" >&5
d3101 1
a3101 1
#line 3112 "configure"
d3119 1
a3119 1
if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3137 1
a3137 1
echo "configure:3148: checking a.out.h" >&5
d3139 1
a3139 1
#line 3150 "configure"
d3157 1
a3157 1
if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3175 1
a3175 1
echo "configure:3186: checking sys/exec_aout.h" >&5
d3177 1
a3177 1
#line 3188 "configure"
d3195 1
a3195 1
if { (eval echo configure:3206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3347 1
a3347 1
echo "configure:3358: checking for build with symbols" >&5
d3421 1
a3421 1
echo "configure:3432: checking for sin" >&5
d3426 1
a3426 1
#line 3437 "configure"
d3449 1
a3449 1
if { (eval echo configure:3460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3470 1
a3470 1
echo "configure:3481: checking for main in -lieee" >&5
d3478 1
a3478 1
#line 3489 "configure"
d3485 1
a3485 1
if { (eval echo configure:3496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3516 1
a3516 1
echo "configure:3527: checking for gettimeofday in -lbsd" >&5
d3524 1
a3524 1
#line 3535 "configure"
d3535 1
a3535 1
if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3566 1
a3566 1
echo "configure:3577: checking stdlib.h" >&5
d3568 1
a3568 1
#line 3579 "configure"
d3583 1
a3583 1
#line 3594 "configure"
d3597 1
a3597 1
#line 3608 "configure"
d3629 1
a3629 1
echo "configure:3640: checking fd_set and sys/select" >&5
d3631 1
a3631 1
#line 3642 "configure"
d3638 1
a3638 1
if { (eval echo configure:3649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3650 1
a3650 1
#line 3661 "configure"
d3682 1
a3682 1
echo "configure:3693: checking for ANSI C header files" >&5
d3687 1
a3687 1
#line 3698 "configure"
d3695 1
a3695 1
{ (eval echo configure:3706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3712 1
a3712 1
#line 3723 "configure"
d3730 1
a3730 1
#line 3741 "configure"
d3751 1
a3751 1
#line 3762 "configure"
d3762 1
a3762 1
if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3786 1
a3786 1
echo "configure:3797: checking for mode_t" >&5
d3791 1
a3791 1
#line 3802 "configure"
d3819 1
a3819 1
echo "configure:3830: checking for pid_t" >&5
d3824 1
a3824 1
#line 3835 "configure"
d3852 1
a3852 1
echo "configure:3863: checking for size_t" >&5
d3857 1
a3857 1
#line 3868 "configure"
d3885 1
a3885 1
echo "configure:3896: checking for uid_t in sys/types.h" >&5
d3890 1
a3890 1
#line 3901 "configure"
d3927 1
a3927 1
echo "configure:3938: checking for $ac_hdr" >&5
d3932 1
a3932 1
#line 3943 "configure"
d3937 1
a3937 1
{ (eval echo configure:3948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3964 1
a3964 1
echo "configure:3975: checking whether time.h and sys/time.h may both be included" >&5
d3969 1
a3969 1
#line 3980 "configure"
d3978 1
a3978 1
if { (eval echo configure:3989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4004 1
a4004 1
echo "configure:4015: checking pw_gecos in struct pwd" >&5
d4006 1
a4006 1
#line 4017 "configure"
d4013 1
a4013 1
if { (eval echo configure:4024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4046 1
a4046 1
echo "configure:4057: checking for X" >&5
d4108 1
a4108 1
#line 4119 "configure"
d4113 1
a4113 1
{ (eval echo configure:4124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4182 1
a4182 1
#line 4193 "configure"
d4189 1
a4189 1
if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4279 1
a4279 1
#line 4290 "configure"
d4284 1
a4284 1
{ (eval echo configure:4295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4304 1
a4304 1
echo "configure:4315: checking for X11 header files" >&5
d4307 1
a4307 1
#line 4318 "configure"
d4312 1
a4312 1
{ (eval echo configure:4323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4348 1
a4348 1
echo "configure:4359: checking for X11 libraries" >&5
d4368 1
a4368 1
echo "configure:4379: checking for XCreateWindow in -lXwindow" >&5
d4376 1
a4376 1
#line 4387 "configure"
d4387 1
a4387 1
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4461 1
a4461 1
echo "configure:4472: checking for main in -lXbsd" >&5
d4469 1
a4469 1
#line 4480 "configure"
d4476 1
a4476 1
if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4499 1
a4499 1
echo "configure:4510: checking for connect" >&5
d4504 1
a4504 1
#line 4515 "configure"
d4527 1
a4527 1
if { (eval echo configure:4538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4549 1
a4549 1
echo "configure:4560: checking for main in -lsocket" >&5
d4557 1
a4557 1
#line 4568 "configure"
d4564 1
a4564 1
if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4590 1
a4590 1
echo "configure:4601: checking for accept" >&5
d4595 1
a4595 1
#line 4606 "configure"
d4618 1
a4618 1
if { (eval echo configure:4629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4640 1
a4640 1
echo "configure:4651: checking for gethostbyname" >&5
d4645 1
a4645 1
#line 4656 "configure"
d4668 1
a4668 1
if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4686 1
a4686 1
echo "configure:4697: checking for main in -lnsl" >&5
d4694 1
a4694 1
#line 4705 "configure"
d4701 1
a4701 1
if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4741 1
a4741 1
echo "configure:4752: checking MIT X libraries" >&5
d4747 1
a4747 1
#line 4758 "configure"
d4758 1
a4758 1
if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4785 1
a4785 1
echo "configure:4796: checking for sin" >&5
d4790 1
a4790 1
#line 4801 "configure"
d4813 1
a4813 1
if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4834 1
a4834 1
echo "configure:4845: checking for main in -lieee" >&5
d4842 1
a4842 1
#line 4853 "configure"
d4849 1
a4849 1
if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4876 1
a4876 1
echo "configure:4887: checking whether char is unsigned" >&5
d4883 1
a4883 1
#line 4894 "configure"
d4905 1
a4905 1
#line 4916 "configure"
d4915 1
a4915 1
if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4948 1
a4948 1
echo "configure:4959: checking for strtod" >&5
d4953 1
a4953 1
#line 4964 "configure"
d4976 1
a4976 1
if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4998 1
a4998 1
echo "configure:5009: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5007 1
a5007 1
#line 5018 "configure"
d5030 1
a5030 1
if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.6
log
@        *unix/configure.in:     Reconfigured to use $TCL_PREFIX as the
        default value of --prefix, and also added warning when a TK_PREFIX
        value different from TCL_PREFIX is selected, since [package require Tk]
        fails in that configuration. [Bug 765642]

        * unix/configure:       autoconf (2.13)
@
text
@a14 2
  --with-tcl              directory containing tcl configuration (tclConfig.sh)"
ac_help="$ac_help
d22 2
a553 157
#--------------------------------------------------------------------
# Find and load the tclConfig.sh file
#--------------------------------------------------------------------


    #
    # Ok, lets find the tcl configuration
    # First, look for one uninstalled.
    # the alternative search directory is invoked by --with-tcl
    #

    if test x"${no_tcl}" = x ; then
	# we reset no_tcl in case something fails here
	no_tcl=true
	# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
  withval="$with_tcl"
  with_tclconfig=${withval}
fi

	echo $ac_n "checking for Tcl configuration""... $ac_c" 1>&6
echo "configure:576: checking for Tcl configuration" >&5
	if eval "test \"`echo '$''{'ac_cv_c_tclconfig'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  

	    # First check to see if --with-tcl was specified.
	    if test x"${with_tclconfig}" != x ; then
		if test -f "${with_tclconfig}/tclConfig.sh" ; then
		    ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
		else
		    { echo "configure: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" 1>&2; exit 1; }
		fi
	    fi

	    # then check for a private Tcl installation
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
			../tcl \
			`ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
			../../tcl \
			`ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
			../../../tcl \
			`ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
			ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
			break
		    fi
		done
	    fi

	    # check in a few common install locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in `ls -d ${libdir} 2>/dev/null` \
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			; do
		    if test -f "$i/tclConfig.sh" ; then
			ac_cv_c_tclconfig=`(cd $i; pwd)`
			break
		    fi
		done
	    fi

	    # check in a few other private locations
	    if test x"${ac_cv_c_tclconfig}" = x ; then
		for i in \
			${srcdir}/../tcl \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
			`ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
		    if test -f "$i/unix/tclConfig.sh" ; then
		    ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
		    break
		fi
		done
	    fi
	
fi


	if test x"${ac_cv_c_tclconfig}" = x ; then
	    TCL_BIN_DIR="# no Tcl configs found"
	    echo "configure: warning: Can't find Tcl configuration definitions" 1>&2
	    exit 0
	else
	    no_tcl=
	    TCL_BIN_DIR=${ac_cv_c_tclconfig}
	    echo "$ac_t""found $TCL_BIN_DIR/tclConfig.sh" 1>&6
	fi
    fi


    echo $ac_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh""... $ac_c" 1>&6
echo "configure:657: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5

    if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
        echo "$ac_t""loading" 1>&6
	. $TCL_BIN_DIR/tclConfig.sh
    else
        echo "$ac_t""file not found" 1>&6
    fi

    #
    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
    #

    if test -f $TCL_BIN_DIR/Makefile ; then
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
    fi

    #
    # eval is required to do the TCL_DBGX substitution
    #

    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""

    
    
    

    
    
    

    
    
    


if test "${TCL_VERSION}" != "${TK_VERSION}"; then
    { echo "configure: error: ${TCL_BIN_DIR}/tclConfig.sh is for Tcl ${TCL_VERSION}.
Tk ${TK_VERSION}${TK_PATCH_LEVEL} needs Tcl ${TK_VERSION}.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl ${TK_VERSION}." 1>&2; exit 1; }
fi

d559 1
a559 1
    prefix="$TCL_PREFIX"
d576 1
a576 1
echo "configure:734: checking whether to use symlinks for manpages" >&5
d588 1
a588 1
echo "configure:746: checking compression for manpages" >&5
d616 1
a616 1
echo "configure:774: checking for $ac_word" >&5
d646 1
a646 1
echo "configure:804: checking for $ac_word" >&5
d697 1
a697 1
echo "configure:855: checking for $ac_word" >&5
d729 1
a729 1
echo "configure:887: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d740 1
a740 1
#line 898 "configure"
d745 1
a745 1
if { (eval echo configure:903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d771 1
a771 1
echo "configure:929: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d776 1
a776 1
echo "configure:934: checking whether we are using GNU C" >&5
d785 1
a785 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d804 1
a804 1
echo "configure:962: checking whether ${CC-cc} accepts -g" >&5
d841 1
a841 1
echo "configure:999: checking how to run the C preprocessor" >&5
d856 1
a856 1
#line 1014 "configure"
d862 1
a862 1
{ (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d873 1
a873 1
#line 1031 "configure"
d879 1
a879 1
{ (eval echo configure:1037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d890 1
a890 1
#line 1048 "configure"
d896 1
a896 1
{ (eval echo configure:1054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d924 1
a924 1
echo "configure:1082: checking for $ac_hdr" >&5
d929 1
a929 1
#line 1087 "configure"
d934 1
a934 1
{ (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d967 1
a967 1
echo "configure:1125: checking for building with threads" >&5
d999 1
a999 1
echo "configure:1157: checking for pthread_mutex_init in -lpthread" >&5
d1007 1
a1007 1
#line 1165 "configure"
d1018 1
a1018 1
if { (eval echo configure:1176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1046 1
a1046 1
echo "configure:1204: checking for __pthread_mutex_init in -lpthread" >&5
d1054 1
a1054 1
#line 1212 "configure"
d1065 1
a1065 1
if { (eval echo configure:1223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1093 1
a1093 1
echo "configure:1251: checking for pthread_mutex_init in -lpthreads" >&5
d1101 1
a1101 1
#line 1259 "configure"
d1112 1
a1112 1
if { (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1138 1
a1138 1
echo "configure:1296: checking for pthread_mutex_init in -lc" >&5
d1146 1
a1146 1
#line 1304 "configure"
d1157 1
a1157 1
if { (eval echo configure:1315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1180 1
a1180 1
echo "configure:1338: checking for pthread_mutex_init in -lc_r" >&5
d1188 1
a1188 1
#line 1346 "configure"
d1199 1
a1199 1
if { (eval echo configure:1357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1239 1
a1239 1
echo "configure:1397: checking for $ac_func" >&5
d1244 1
a1244 1
#line 1402 "configure"
d1267 1
a1267 1
if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1295 1
a1295 1
echo "configure:1453: checking for $ac_func" >&5
d1300 1
a1300 1
#line 1458 "configure"
d1323 1
a1323 1
if { (eval echo configure:1481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1362 1
a1362 1
echo "configure:1520: checking if the compiler understands -pipe" >&5
d1366 1
a1366 1
#line 1524 "configure"
d1373 1
a1373 1
if { (eval echo configure:1531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1393 1
a1393 1
echo "configure:1551: checking for required early compiler flags" >&5
d1400 1
a1400 1
#line 1558 "configure"
d1407 1
a1407 1
if { (eval echo configure:1565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1415 1
a1415 1
#line 1573 "configure"
d1423 1
a1423 1
if { (eval echo configure:1581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1449 1
a1449 1
#line 1607 "configure"
d1456 1
a1456 1
if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1464 1
a1464 1
#line 1622 "configure"
d1472 1
a1472 1
if { (eval echo configure:1630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1501 1
a1501 1
echo "configure:1659: checking for 64-bit integer type" >&5
d1509 1
a1509 1
#line 1667 "configure"
d1516 1
a1516 1
if { (eval echo configure:1674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1533 1
a1533 1
#line 1691 "configure"
d1539 1
a1539 1
if { (eval echo configure:1697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1568 1
a1568 1
echo "configure:1726: checking for struct dirent64" >&5
d1574 1
a1574 1
#line 1732 "configure"
d1582 1
a1582 1
if { (eval echo configure:1740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1603 1
a1603 1
echo "configure:1761: checking for struct stat64" >&5
d1609 1
a1609 1
#line 1767 "configure"
d1617 1
a1617 1
if { (eval echo configure:1775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1638 1
a1638 1
echo "configure:1796: checking for off64_t" >&5
d1644 1
a1644 1
#line 1802 "configure"
d1652 1
a1652 1
if { (eval echo configure:1810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1674 157
a3422 6
if test "$TCL_PREFIX" != "$prefix"; then
    echo "configure: warning: 
	Different --prefix selected for Tk and Tcl!
	[package require Tk] may not work correctly in tclsh." 1>&2
fi

d3431 1
a3431 1
echo "configure:3438: checking for sin" >&5
d3436 1
a3436 1
#line 3443 "configure"
d3459 1
a3459 1
if { (eval echo configure:3466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3480 1
a3480 1
echo "configure:3487: checking for main in -lieee" >&5
d3488 1
a3488 1
#line 3495 "configure"
d3495 1
a3495 1
if { (eval echo configure:3502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3526 1
a3526 1
echo "configure:3533: checking for gettimeofday in -lbsd" >&5
d3534 1
a3534 1
#line 3541 "configure"
d3545 1
a3545 1
if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3576 1
a3576 1
echo "configure:3583: checking stdlib.h" >&5
d3578 1
a3578 1
#line 3585 "configure"
d3593 1
a3593 1
#line 3600 "configure"
d3607 1
a3607 1
#line 3614 "configure"
d3639 1
a3639 1
echo "configure:3646: checking fd_set and sys/select" >&5
d3641 1
a3641 1
#line 3648 "configure"
d3648 1
a3648 1
if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3660 1
a3660 1
#line 3667 "configure"
d3692 1
a3692 1
echo "configure:3699: checking for ANSI C header files" >&5
d3697 1
a3697 1
#line 3704 "configure"
d3705 1
a3705 1
{ (eval echo configure:3712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3722 1
a3722 1
#line 3729 "configure"
d3740 1
a3740 1
#line 3747 "configure"
d3761 1
a3761 1
#line 3768 "configure"
d3772 1
a3772 1
if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3796 1
a3796 1
echo "configure:3803: checking for mode_t" >&5
d3801 1
a3801 1
#line 3808 "configure"
d3829 1
a3829 1
echo "configure:3836: checking for pid_t" >&5
d3834 1
a3834 1
#line 3841 "configure"
d3862 1
a3862 1
echo "configure:3869: checking for size_t" >&5
d3867 1
a3867 1
#line 3874 "configure"
d3895 1
a3895 1
echo "configure:3902: checking for uid_t in sys/types.h" >&5
d3900 1
a3900 1
#line 3907 "configure"
d3937 1
a3937 1
echo "configure:3944: checking for $ac_hdr" >&5
d3942 1
a3942 1
#line 3949 "configure"
d3947 1
a3947 1
{ (eval echo configure:3954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3974 1
a3974 1
echo "configure:3981: checking whether time.h and sys/time.h may both be included" >&5
d3979 1
a3979 1
#line 3986 "configure"
d3988 1
a3988 1
if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4014 1
a4014 1
echo "configure:4021: checking pw_gecos in struct pwd" >&5
d4016 1
a4016 1
#line 4023 "configure"
d4023 1
a4023 1
if { (eval echo configure:4030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4056 1
a4056 1
echo "configure:4063: checking for X" >&5
d4118 1
a4118 1
#line 4125 "configure"
d4123 1
a4123 1
{ (eval echo configure:4130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4192 1
a4192 1
#line 4199 "configure"
d4199 1
a4199 1
if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4289 1
a4289 1
#line 4296 "configure"
d4294 1
a4294 1
{ (eval echo configure:4301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4314 1
a4314 1
echo "configure:4321: checking for X11 header files" >&5
d4317 1
a4317 1
#line 4324 "configure"
d4322 1
a4322 1
{ (eval echo configure:4329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4358 1
a4358 1
echo "configure:4365: checking for X11 libraries" >&5
d4378 1
a4378 1
echo "configure:4385: checking for XCreateWindow in -lXwindow" >&5
d4386 1
a4386 1
#line 4393 "configure"
d4397 1
a4397 1
if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4471 1
a4471 1
echo "configure:4478: checking for main in -lXbsd" >&5
d4479 1
a4479 1
#line 4486 "configure"
d4486 1
a4486 1
if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4509 1
a4509 1
echo "configure:4516: checking for connect" >&5
d4514 1
a4514 1
#line 4521 "configure"
d4537 1
a4537 1
if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4559 1
a4559 1
echo "configure:4566: checking for main in -lsocket" >&5
d4567 1
a4567 1
#line 4574 "configure"
d4574 1
a4574 1
if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4600 1
a4600 1
echo "configure:4607: checking for accept" >&5
d4605 1
a4605 1
#line 4612 "configure"
d4628 1
a4628 1
if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4650 1
a4650 1
echo "configure:4657: checking for gethostbyname" >&5
d4655 1
a4655 1
#line 4662 "configure"
d4678 1
a4678 1
if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4696 1
a4696 1
echo "configure:4703: checking for main in -lnsl" >&5
d4704 1
a4704 1
#line 4711 "configure"
d4711 1
a4711 1
if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4751 1
a4751 1
echo "configure:4758: checking MIT X libraries" >&5
d4757 1
a4757 1
#line 4764 "configure"
d4768 1
a4768 1
if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4795 1
a4795 1
echo "configure:4802: checking for sin" >&5
d4800 1
a4800 1
#line 4807 "configure"
d4823 1
a4823 1
if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4844 1
a4844 1
echo "configure:4851: checking for main in -lieee" >&5
d4852 1
a4852 1
#line 4859 "configure"
d4859 1
a4859 1
if { (eval echo configure:4866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4886 1
a4886 1
echo "configure:4893: checking whether char is unsigned" >&5
d4893 1
a4893 1
#line 4900 "configure"
d4915 1
a4915 1
#line 4922 "configure"
d4925 1
a4925 1
if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4958 1
a4958 1
echo "configure:4965: checking for strtod" >&5
d4963 1
a4963 1
#line 4970 "configure"
d4986 1
a4986 1
if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5008 1
a5008 1
echo "configure:5015: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5017 1
a5017 1
#line 5024 "configure"
d5040 1
a5040 1
if { (eval echo configure:5047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5315 4
a5327 4
s%@@MKLINKS_FLAGS@@%$MKLINKS_FLAGS%g
s%@@CC@@%$CC%g
s%@@CPP@@%$CPP%g
s%@@TCL_THREADS@@%$TCL_THREADS%g
@


1.65.2.7
log
@improve AIX --enable-64bit handling
@
text
@d2082 22
a2105 2
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
a2124 20

	    if test "`uname -m`" = "ia64" ; then
		# AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		# AIX-5 has dl* in libc.so
		DL_LIBS=""
		if test "$GCC" = "yes" ; then
		    CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		else
		    CC_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
		fi
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    else
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry ${SHLIB_LD_FLAGS}"
		DL_LIBS="-ldl"
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		TCL_NEEDS_EXP_FILE=1
		TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
	    fi
d2136 1
a2153 15
	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"
		fi
	    fi
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry ${SHLIB_LD_FLAGS}"

d2167 1
a2167 1
echo "configure:2182: checking for gettimeofday in -lbsd" >&5
d2175 1
a2175 1
#line 2190 "configure"
d2186 1
a2186 1
if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2213 14
@


1.65.2.8
log
@        * README:               Bumped patch level to 8.4.6 to distinguish
        * generic/tk.h:         CVS snapshots from the 8.4.5 release.
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:
        * macosx/Wish.pbproj/project.pbxproj:

        * unix/configure:       autoconf (2.13)
        * win/configure:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".6"
@


1.65.2.9
log
@        * generic/tk.h:         Bumped patch level to 8.4.5.1 to distinguish
        * unix/configure.in:    CVS snapshots from the 8.4.5 release.
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.13)
        * win/configure:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".5.1"
@


1.65.2.10
log
@update to patchlevel 8.4.6
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".6"
a1447 55
	for ac_func in pthread_atfork
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1452: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1457 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:1480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

d1452 1
a1452 1
echo "configure:1508: checking for $ac_func" >&5
d1457 1
a1457 1
#line 1513 "configure"
d1480 1
a1480 1
if { (eval echo configure:1536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1519 1
a1519 1
echo "configure:1575: checking if the compiler understands -pipe" >&5
d1523 1
a1523 1
#line 1579 "configure"
d1530 1
a1530 1
if { (eval echo configure:1586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1550 1
a1550 1
echo "configure:1606: checking for required early compiler flags" >&5
d1557 1
a1557 1
#line 1613 "configure"
d1564 1
a1564 1
if { (eval echo configure:1620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1572 1
a1572 1
#line 1628 "configure"
d1580 1
a1580 1
if { (eval echo configure:1636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1606 1
a1606 1
#line 1662 "configure"
d1613 1
a1613 1
if { (eval echo configure:1669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1621 1
a1621 1
#line 1677 "configure"
d1629 1
a1629 1
if { (eval echo configure:1685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1658 1
a1658 1
echo "configure:1714: checking for 64-bit integer type" >&5
d1666 1
a1666 1
#line 1722 "configure"
d1673 1
a1673 1
if { (eval echo configure:1729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1690 1
a1690 1
#line 1746 "configure"
d1696 1
a1696 1
if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1725 1
a1725 1
echo "configure:1781: checking for struct dirent64" >&5
d1731 1
a1731 1
#line 1787 "configure"
d1739 1
a1739 1
if { (eval echo configure:1795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1760 1
a1760 1
echo "configure:1816: checking for struct stat64" >&5
d1766 1
a1766 1
#line 1822 "configure"
d1774 1
a1774 1
if { (eval echo configure:1830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1795 1
a1795 1
echo "configure:1851: checking for off64_t" >&5
d1801 1
a1801 1
#line 1857 "configure"
d1809 1
a1809 1
if { (eval echo configure:1865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1836 1
a1836 1
echo "configure:1892: checking how to build libraries" >&5
d1869 1
a1869 1
echo "configure:1925: checking for $ac_word" >&5
d1901 1
a1901 1
echo "configure:1957: checking if 64bit support is requested" >&5
d1921 1
a1921 1
echo "configure:1977: checking if 64bit Sparc VIS support is requested" >&5
d1945 1
a1945 1
echo "configure:2001: checking system version (for dynamic loading)" >&5
d1971 1
a1971 1
echo "configure:2027: checking for dlopen in -ldl" >&5
d1979 1
a1979 1
#line 2035 "configure"
d1990 1
a1990 1
if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2038 1
a2038 1
echo "configure:2094: checking for $ac_word" >&5
d2181 1
a2181 1
echo "configure:2237: checking for gettimeofday in -lbsd" >&5
d2189 1
a2189 1
#line 2245 "configure"
d2200 1
a2200 1
if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2276 1
a2276 1
echo "configure:2332: checking for shl_load in -ldld" >&5
d2284 1
a2284 1
#line 2340 "configure"
d2295 1
a2295 1
if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2326 6
	    if test "$GCC" = "yes" ; then
		SHLIB_LD="gcc -shared"
		SHLIB_LD_LIBS='${LIBS}'
		LD_SEARCH_FLAGS=''
		CC_SEARCH_FLAGS=''
	    fi
d2340 1
a2340 1
			    SHLIB_LD_LIBS='${LIBS}'
d2363 1
a2363 1
echo "configure:2425: checking for shl_load in -ldld" >&5
d2371 1
a2371 1
#line 2433 "configure"
d2382 1
a2382 1
if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2509 1
a2509 1
echo "configure:2571: checking for dld.h" >&5
d2514 1
a2514 1
#line 2576 "configure"
d2519 1
a2519 1
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2584 1
a2584 1
echo "configure:2646: checking for dld.h" >&5
d2589 1
a2589 1
#line 2651 "configure"
d2594 1
a2594 1
{ (eval echo configure:2656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2652 1
a2652 1
echo "configure:2714: checking for dlfcn.h" >&5
d2657 1
a2657 1
#line 2719 "configure"
d2662 1
a2662 1
{ (eval echo configure:2724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2690 1
a2690 1
echo "configure:2752: checking for ELF" >&5
d2692 1
a2692 1
#line 2754 "configure"
d3052 1
a3052 1
echo "configure:3114: checking for ld accepts -Bexport flag" >&5
d3055 1
a3055 1
#line 3117 "configure"
d3062 1
a3062 1
if { (eval echo configure:3124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3109 1
a3109 1
echo "configure:3171: checking sys/exec.h" >&5
d3111 1
a3111 1
#line 3173 "configure"
d3129 1
a3129 1
if { (eval echo configure:3191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3147 1
a3147 1
echo "configure:3209: checking a.out.h" >&5
d3149 1
a3149 1
#line 3211 "configure"
d3167 1
a3167 1
if { (eval echo configure:3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3185 1
a3185 1
echo "configure:3247: checking sys/exec_aout.h" >&5
d3187 1
a3187 1
#line 3249 "configure"
d3205 1
a3205 1
if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3357 1
a3357 1
echo "configure:3419: checking for build with symbols" >&5
d3437 1
a3437 1
echo "configure:3499: checking for sin" >&5
d3442 1
a3442 1
#line 3504 "configure"
d3465 1
a3465 1
if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3486 1
a3486 1
echo "configure:3548: checking for main in -lieee" >&5
d3494 1
a3494 1
#line 3556 "configure"
d3501 1
a3501 1
if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3532 1
a3532 1
echo "configure:3594: checking for gettimeofday in -lbsd" >&5
d3540 1
a3540 1
#line 3602 "configure"
d3551 1
a3551 1
if { (eval echo configure:3613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3582 1
a3582 1
echo "configure:3644: checking stdlib.h" >&5
d3584 1
a3584 1
#line 3646 "configure"
d3599 1
a3599 1
#line 3661 "configure"
d3613 1
a3613 1
#line 3675 "configure"
d3645 1
a3645 1
echo "configure:3707: checking fd_set and sys/select" >&5
d3647 1
a3647 1
#line 3709 "configure"
d3654 1
a3654 1
if { (eval echo configure:3716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3666 1
a3666 1
#line 3728 "configure"
d3698 1
a3698 1
echo "configure:3760: checking for ANSI C header files" >&5
d3703 1
a3703 1
#line 3765 "configure"
d3711 1
a3711 1
{ (eval echo configure:3773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3728 1
a3728 1
#line 3790 "configure"
d3746 1
a3746 1
#line 3808 "configure"
d3767 1
a3767 1
#line 3829 "configure"
d3778 1
a3778 1
if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3802 1
a3802 1
echo "configure:3864: checking for mode_t" >&5
d3807 1
a3807 1
#line 3869 "configure"
d3835 1
a3835 1
echo "configure:3897: checking for pid_t" >&5
d3840 1
a3840 1
#line 3902 "configure"
d3868 1
a3868 1
echo "configure:3930: checking for size_t" >&5
d3873 1
a3873 1
#line 3935 "configure"
d3901 1
a3901 1
echo "configure:3963: checking for uid_t in sys/types.h" >&5
d3906 1
a3906 1
#line 3968 "configure"
d3943 1
a3943 1
echo "configure:4005: checking for $ac_hdr" >&5
d3948 1
a3948 1
#line 4010 "configure"
d3953 1
a3953 1
{ (eval echo configure:4015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3980 1
a3980 1
echo "configure:4042: checking whether time.h and sys/time.h may both be included" >&5
d3985 1
a3985 1
#line 4047 "configure"
d3994 1
a3994 1
if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4020 1
a4020 1
echo "configure:4082: checking pw_gecos in struct pwd" >&5
d4022 1
a4022 1
#line 4084 "configure"
d4029 1
a4029 1
if { (eval echo configure:4091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4062 1
a4062 1
echo "configure:4124: checking for X" >&5
d4124 1
a4124 1
#line 4186 "configure"
d4129 1
a4129 1
{ (eval echo configure:4191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4198 1
a4198 1
#line 4260 "configure"
d4205 1
a4205 1
if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4295 1
a4295 1
#line 4357 "configure"
d4300 1
a4300 1
{ (eval echo configure:4362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4320 1
a4320 1
echo "configure:4382: checking for X11 header files" >&5
d4323 1
a4323 1
#line 4385 "configure"
d4328 1
a4328 1
{ (eval echo configure:4390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4364 1
a4364 1
echo "configure:4426: checking for X11 libraries" >&5
d4384 1
a4384 1
echo "configure:4446: checking for XCreateWindow in -lXwindow" >&5
d4392 1
a4392 1
#line 4454 "configure"
d4403 1
a4403 1
if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4477 1
a4477 1
echo "configure:4539: checking for main in -lXbsd" >&5
d4485 1
a4485 1
#line 4547 "configure"
d4492 1
a4492 1
if { (eval echo configure:4554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4515 1
a4515 1
echo "configure:4577: checking for connect" >&5
d4520 1
a4520 1
#line 4582 "configure"
d4543 1
a4543 1
if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4565 1
a4565 1
echo "configure:4627: checking for main in -lsocket" >&5
d4573 1
a4573 1
#line 4635 "configure"
d4580 1
a4580 1
if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4606 1
a4606 1
echo "configure:4668: checking for accept" >&5
d4611 1
a4611 1
#line 4673 "configure"
d4634 1
a4634 1
if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4656 1
a4656 1
echo "configure:4718: checking for gethostbyname" >&5
d4661 1
a4661 1
#line 4723 "configure"
d4684 1
a4684 1
if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4702 1
a4702 1
echo "configure:4764: checking for main in -lnsl" >&5
d4710 1
a4710 1
#line 4772 "configure"
d4717 1
a4717 1
if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4757 1
a4757 1
echo "configure:4819: checking MIT X libraries" >&5
d4763 1
a4763 1
#line 4825 "configure"
d4774 1
a4774 1
if { (eval echo configure:4836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4801 1
a4801 1
echo "configure:4863: checking for sin" >&5
d4806 1
a4806 1
#line 4868 "configure"
d4829 1
a4829 1
if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4850 1
a4850 1
echo "configure:4912: checking for main in -lieee" >&5
d4858 1
a4858 1
#line 4920 "configure"
d4865 1
a4865 1
if { (eval echo configure:4927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4892 1
a4892 1
echo "configure:4954: checking whether char is unsigned" >&5
d4899 1
a4899 1
#line 4961 "configure"
d4921 1
a4921 1
#line 4983 "configure"
d4931 1
a4931 1
if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4964 1
a4964 1
echo "configure:5026: checking for strtod" >&5
d4969 1
a4969 1
#line 5031 "configure"
d4992 1
a4992 1
if { (eval echo configure:5054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5014 1
a5014 1
echo "configure:5076: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5023 1
a5023 1
#line 5085 "configure"
d5046 1
a5046 1
if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.11
log
@        * unix/tcl.m4 (SC_CONFIG_CFLAGS):       Allow 64-bit enabling on
        IRIX64-6.5* systems.  [Bug 218561]
        * unix/configure:       autoconf-2.13
@
text
@d2500 1
a2500 1
	IRIX-6.*)
@


1.65.2.12
log
@	* README, macosx/Wish.pbproj/project.pbxproj:      bumped to
	* unix/configure, unix/configure.in, unix/tk.spec: patchlevel 8.4.7
	* win/configure, win/configure.in:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".7"
@


1.65.2.13
log
@	* unix/Makefile.in, unix/tcl.m4:     move (C|LD)FLAGS after their
	* unix/configure.in, unix/configure: _DEFAULT to allow for env
	setting to override m4 switches.
	Consolidate header checks to limit redundancy in configure.
	(CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing
	for gcc builds (need to suppress 3.x type puning warnings).
	(SC_ENABLE_THREADS): Set m4 to force threaded build when built
	against a threaded Tcl core.
	Reorder configure.in for better 64-bit build configuration,
	replacing EXTRA_CFLAGS with CFLAGS.  [Bug #874058]
@
text
@d993 4
d998 1
a998 1
echo "configure:995: checking how to run the C preprocessor" >&5
d1013 1
a1013 1
#line 1010 "configure"
d1019 1
a1019 1
{ (eval echo configure:1016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1030 1
a1030 1
#line 1027 "configure"
d1036 1
a1036 1
{ (eval echo configure:1033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1047 1
a1047 1
#line 1044 "configure"
d1053 1
a1053 1
{ (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1081 1
a1081 1
echo "configure:1078: checking for $ac_hdr" >&5
d1086 1
a1086 1
#line 1083 "configure"
d1091 1
a1091 1
{ (eval echo configure:1088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1117 33
#------------------------------------------------------------------------------
# If we're using GCC, see if the compiler understands -pipe.  If so, use it.
# It makes compiling go faster.  (This is only a performance feature.)
#------------------------------------------------------------------------------

if test -z "$no_pipe"; then
if test -n "$GCC"; then
  echo $ac_n "checking if the compiler understands -pipe""... $ac_c" 1>&6
echo "configure:1123: checking if the compiler understands -pipe" >&5
  OLDCC="$CC"  
  CC="$CC -pipe"
  cat > conftest.$ac_ext <<EOF
#line 1127 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CC="$OLDCC"
    echo "$ac_t""no" 1>&6
fi
rm -f conftest*
fi  
fi

d1119 1
a1119 1
# Threads support - this auto-enables if Tcl was compiled threaded
d1124 1
a1124 1
echo "configure:1154: checking for building with threads" >&5
d1134 2
a1135 6
    if test "$tcl_ok" = "yes" -o "${TCL_THREADS}" = 1; then
	if test "${TCL_THREADS}" = 1; then
	    echo "$ac_t""yes (threaded core)" 1>&6
	else
	    echo "$ac_t""yes" 1>&6
	fi
d1156 1
a1156 1
echo "configure:1190: checking for pthread_mutex_init in -lpthread" >&5
d1164 1
a1164 1
#line 1198 "configure"
d1175 1
a1175 1
if { (eval echo configure:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1203 1
a1203 1
echo "configure:1237: checking for __pthread_mutex_init in -lpthread" >&5
d1211 1
a1211 1
#line 1245 "configure"
d1222 1
a1222 1
if { (eval echo configure:1256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1250 1
a1250 1
echo "configure:1284: checking for pthread_mutex_init in -lpthreads" >&5
d1258 1
a1258 1
#line 1292 "configure"
d1269 1
a1269 1
if { (eval echo configure:1303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1295 1
a1295 1
echo "configure:1329: checking for pthread_mutex_init in -lc" >&5
d1303 1
a1303 1
#line 1337 "configure"
d1314 1
a1314 1
if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1337 1
a1337 1
echo "configure:1371: checking for pthread_mutex_init in -lc_r" >&5
d1345 1
a1345 1
#line 1379 "configure"
d1356 1
a1356 1
if { (eval echo configure:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1396 1
a1396 1
echo "configure:1430: checking for $ac_func" >&5
d1401 1
a1401 1
#line 1435 "configure"
d1424 1
a1424 1
if { (eval echo configure:1458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1451 1
a1451 1
echo "configure:1485: checking for $ac_func" >&5
d1456 1
a1456 1
#line 1490 "configure"
d1479 1
a1479 1
if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1507 1
a1507 1
echo "configure:1541: checking for $ac_func" >&5
d1512 1
a1512 1
#line 1546 "configure"
d1535 1
a1535 1
if { (eval echo configure:1569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1566 4
a1569 2
# Add the threads support libraries
LIBS="$LIBS$THREADS_LIBS"
d1571 9
a1579 3
#--------------------------------------------------------------------
# Recompute the necessary flags to run the compiler
#--------------------------------------------------------------------
d1581 1
d1583 5
a1587 6
    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
echo "configure:1609: checking how to build libraries" >&5
    # Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  tcl_ok=$enableval
d1589 8
a1596 1
  tcl_ok=yes
d1599 3
a1602 18
    if test "${enable_shared+set}" = set; then
	enableval="$enable_shared"
	tcl_ok=$enableval
    else
	tcl_ok=yes
    fi

    if test "$tcl_ok" = "yes" ; then
	echo "$ac_t""shared" 1>&6
	SHARED_BUILD=1
    else
	echo "$ac_t""static" 1>&6
	SHARED_BUILD=0
	cat >> confdefs.h <<\EOF
#define STATIC_BUILD 1
EOF

    fi
d1604 5
a1608 6

# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1642: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
d1611 11
a1621 2
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
d1623 15
a1637 16
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
d1639 4
a1642 1
  echo "$ac_t""no" 1>&6
d1644 1
a1644 13



    # Step 0.a: Enable 64 bit support?

    echo $ac_n "checking if 64bit support is requested""... $ac_c" 1>&6
echo "configure:1674: checking if 64bit support is requested" >&5
    # Check whether --enable-64bit or --disable-64bit was given.
if test "${enable_64bit+set}" = set; then
  enableval="$enable_64bit"
  :
else
  enableval="no"
d1646 1
a1646 19


    if test "$enableval" = "yes"; then
	do64bit=yes
    else
	do64bit=no
    fi
    echo "$ac_t""$do64bit" 1>&6

    # Step 0.b: Enable Solaris 64 bit VIS support?

    echo $ac_n "checking if 64bit Sparc VIS support is requested""... $ac_c" 1>&6
echo "configure:1694: checking if 64bit Sparc VIS support is requested" >&5
    # Check whether --enable-64bit-vis or --disable-64bit-vis was given.
if test "${enable_64bit_vis+set}" = set; then
  enableval="$enable_64bit_vis"
  :
else
  enableval="no"
d1649 4
d1654 1
a1654 6
    if test "$enableval" = "yes"; then
	# Force 64bit on with VIS
	do64bit=yes
	do64bitVIS=yes
    else
	do64bitVIS=no
d1656 2
a1657 36
    echo "$ac_t""$do64bitVIS" 1>&6

    # Step 1: set the variable "system" to hold the name and version number
    # for the system.  This can usually be done via the "uname" command, but
    # there are a few systems, like Next, where this doesn't work.

    echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
echo "configure:1718: checking system version (for dynamic loading)" >&5
    if test -f /usr/lib/NextStep/software_version; then
	system=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
    else
	system=`uname -s`-`uname -r`
	if test "$?" -ne 0 ; then
	    echo "$ac_t""unknown (can't find uname command)" 1>&6
	    system=unknown
	else
	    # Special check for weird MP-RAS system (uname returns weird
	    # results, and the version is kept in special file).
	
	    if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
		system=MP-RAS-`awk '{print }' /etc/.relid'`
	    fi
	    if test "`uname -s`" = "AIX" ; then
		system=AIX-`uname -v`.`uname -r`
	    fi
	    echo "$ac_t""$system" 1>&6
	fi
    fi

    # Step 2: check for existence of -ldl library.  This is needed because
    # Linux can use either -ldl or -ldld for dynamic loading.

    echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
echo "configure:1744: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
d1660 17
a1676 4
  ac_save_LIBS="$LIBS"
LIBS="-ldl  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1752 "configure"
d1678 2
a1679 5
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dlopen();

d1681 1
a1681 1
dlopen()
d1684 1
a1684 1
if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1686 1
a1686 1
  eval "ac_cv_lib_$ac_lib_var=yes"
d1691 362
a2052 1
  eval "ac_cv_lib_$ac_lib_var=no"
d2074 1
a2074 1
    LDFLAGS_ORIG="$LDFLAGS"
d2083 1
a2083 1
	CFLAGS_WARNING="-Wall -Wno-implicit-int -fno-strict-aliasing"
d2093 1
a2093 1
echo "configure:1811: checking for $ac_word" >&5
d2143 1
d2153 2
a2154 2
		    CFLAGS="$CFLAGS -q64"
		    LDFLAGS="$LDFLAGS -q64"
d2195 1
d2214 2
a2215 2
		    CFLAGS="$CFLAGS -q64"
		    LDFLAGS="$LDFLAGS -q64"
d2236 1
a2236 1
echo "configure:1952: checking for gettimeofday in -lbsd" >&5
d2244 1
a2244 1
#line 1960 "configure"
d2255 1
a2255 1
if { (eval echo configure:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2283 54
	BeOS*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="${CC} -nostart"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-ldl"

	    #-----------------------------------------------------------
	    # Check for inet_ntoa in -lbind, for BeOS (which also needs
	    # -lsocket, even if the network functions are in -lnet which
	    # is always linked to, for compatibility.
	    #-----------------------------------------------------------
	    echo $ac_n "checking for inet_ntoa in -lbind""... $ac_c" 1>&6
echo "configure:2014: checking for inet_ntoa in -lbind" >&5
ac_lib_var=`echo bind'_'inet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lbind  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2022 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char inet_ntoa();

int main() {
inet_ntoa()
; return 0; }
EOF
if { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  LIBS="$LIBS -lbind -lsocket"
else
  echo "$ac_t""no" 1>&6
fi

	    ;;
d2291 1
d2302 1
a2302 1
	    LDFLAGS="$LDFLAGS -export-dynamic"
d2313 1
d2331 1
a2331 1
echo "configure:2099: checking for shl_load in -ldld" >&5
d2339 1
a2339 1
#line 2107 "configure"
d2350 1
a2350 1
if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2377 1
a2377 1
		LDFLAGS="$LDFLAGS -Wl,-E"
d2390 1
a2390 1
	    #CFLAGS="$CFLAGS +DAportable"
d2411 7
a2417 2
		    CFLAGS="$CFLAGS +DD64"
		    LDFLAGS="$LDFLAGS +DD64"
d2424 1
a2424 1
echo "configure:2187: checking for shl_load in -ldld" >&5
d2432 1
a2432 1
#line 2195 "configure"
d2443 1
a2443 1
if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2470 1
a2470 1
		LDFLAGS="$LDFLAGS -Wl,-E"
d2483 1
a2483 1
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
d2497 2
d2510 2
a2511 2
		CFLAGS="$CFLAGS -mabi=n32"
		LDFLAGS="$LDFLAGS -mabi=n32"
d2516 1
a2516 1
			CFLAGS="$CFLAGS -n32 -D_OLD_TERMIOS"
d2519 1
a2519 1
			CFLAGS="$CFLAGS -n32"
d2522 1
a2522 1
		LDFLAGS="$LDFLAGS -n32"
d2532 1
d2544 2
a2545 2
	            CFLAGS="$CFLAGS -64"
	            LDFLAGS="$LDFLAGS -64"
a2553 1
	    CFLAGS_OPTIMIZE=-O2
d2557 2
a2558 1
	    #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
d2564 1
a2564 1
		LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
d2570 1
a2570 1
echo "configure:2330: checking for dld.h" >&5
d2575 1
a2575 1
#line 2335 "configure"
d2580 1
a2580 1
{ (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2600 1
d2609 1
a2609 1
		CFLAGS="$CFLAGS -mieee"
d2620 1
a2620 1
	        CFLAGS="$CFLAGS -fno-inline"
d2639 1
a2639 1
		LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
d2645 1
a2645 1
echo "configure:2404: checking for dld.h" >&5
d2650 1
a2650 1
#line 2409 "configure"
d2655 1
a2655 1
{ (eval echo configure:2414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2675 1
d2684 1
a2684 1
		CFLAGS="$CFLAGS -mieee"
d2694 1
d2705 1
a2705 1
	    LDFLAGS="$LDFLAGS -Wl,-Bexport"
d2709 1
a2709 1
	NetBSD-*|FreeBSD-[1-2].*)
d2713 1
a2713 1
echo "configure:2470: checking for dlfcn.h" >&5
d2718 1
a2718 1
#line 2475 "configure"
d2723 1
a2723 1
{ (eval echo configure:2480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2747 1
d2751 1
a2751 1
echo "configure:2507: checking for ELF" >&5
d2753 1
a2753 55
#line 2509 "configure"
#include "confdefs.h"

#ifdef __ELF__
	yes
#endif
		
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  echo "$ac_t""yes" 1>&6
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
else
  rm -rf conftest*
  echo "$ac_t""no" 1>&6
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
		
fi
rm -f conftest*

	    
else
  echo "$ac_t""no" 1>&6

		SHLIB_CFLAGS=""
		SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".a"
		DL_OBJS="tclLoadAout.o"
		DL_LIBS=""
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    
fi


	    # FreeBSD doesn't handle version numbers with dots.

	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    TCL_LIB_VERSIONS_OK=nodots
	    ;;
	OpenBSD-*)
	    SHLIB_LD="${CC} -shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    CC_SEARCH_FLAGS=""
	    LD_SEARCH_FLAGS=""
	    echo $ac_n "checking for ELF""... $ac_c" 1>&6
echo "configure:2561: checking for ELF" >&5
	    cat > conftest.$ac_ext <<EOF
#line 2563 "configure"
d2759 1
a2759 1
	    
d2765 1
a2765 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
d2769 19
a2787 1
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
a2789 1
rm -f conftest*
d2792 2
a2793 1
	    # OpenBSD doesn't do version numbers with dots.
d2805 1
a2805 1
	    LDFLAGS="$LDFLAGS -export-dynamic"
d2811 1
a2811 1
		CFLAGS="$CFLAGS -pthread"
d2833 1
a2833 1
	    LDFLAGS="$LDFLAGS -prebind"
d2840 1
a2840 1
	    CFLAGS="$CFLAGS -DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DUSE_VFORK -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
d2850 1
d2870 1
d2886 1
d2902 1
d2906 1
a2906 1
		CFLAGS="$CFLAGS -mieee"
d2908 1
a2908 1
		CFLAGS="$CFLAGS -DHAVE_TZSET -std1 -ieee"
d2912 2
a2913 2
		CFLAGS="$CFLAGS -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
		CFLAGS="$CFLAGS -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
d2918 2
a2919 2
		    CFLAGS="$CFLAGS -pthread"
		    LDFLAGS="$LDFLAGS -pthread"
d2934 1
d2945 1
a2945 1
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
d2955 1
a2955 1
	    	LDFLAGS="$LDFLAGS -melf -Wl,-Bexport"
d2958 1
a2958 1
	    	LDFLAGS="$LDFLAGS -belf -Wl,-Bexport"
d2975 1
d2986 1
d3022 1
d3048 1
d3059 2
a3060 2
				CFLAGS="$CFLAGS -xarch=v9a"
			    	LDFLAGS="$LDFLAGS -xarch=v9a"
d3062 2
a3063 2
				CFLAGS="$CFLAGS -xarch=v9"
			    	LDFLAGS="$LDFLAGS -xarch=v9"
d3095 1
a3095 1
	    LDFLAGS="$LDFLAGS -Wl,-D,08000000"
d3099 1
a3099 1
		CFLAGS="$CFLAGS -DHAVE_TZSET -std1"
d3113 2
a3114 2
echo "configure:2896: checking for ld accepts -Bexport flag" >&5
	    LDFLAGS="$LDFLAGS -Wl,-Bexport"
d3116 1
a3116 1
#line 2899 "configure"
d3123 1
a3123 1
if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3130 1
a3130 1
  LDFLAGS=$hold_ldflags found=no
d3133 1
d3135 5
d3170 1
a3170 1
echo "configure:2947: checking sys/exec.h" >&5
d3172 1
a3172 1
#line 2949 "configure"
d3190 1
a3190 1
if { (eval echo configure:2967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3208 1
a3208 1
echo "configure:2985: checking a.out.h" >&5
d3210 1
a3210 1
#line 2987 "configure"
d3228 1
a3228 1
if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3246 1
a3246 1
echo "configure:3023: checking sys/exec_aout.h" >&5
d3248 1
a3248 1
#line 3025 "configure"
d3266 1
a3266 1
if { (eval echo configure:3043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3313 1
a3313 1
	LDFLAGS="$LDFLAGS_ORIG"
d3384 1
a3384 254
    

    
    
    
    
    
    

    
    
    
    
    

    
    
    
    
    
    
    
    

    
    
    
    
    



    echo $ac_n "checking for build with symbols""... $ac_c" 1>&6
echo "configure:3194: checking for build with symbols" >&5
    # Check whether --enable-symbols or --disable-symbols was given.
if test "${enable_symbols+set}" = set; then
  enableval="$enable_symbols"
  tcl_ok=$enableval
else
  tcl_ok=no
fi

# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
    if test "$tcl_ok" = "no"; then
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
	DBGX=""
	echo "$ac_t""no" 1>&6
    else
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
	DBGX=g
	if test "$tcl_ok" = "yes"; then
	    echo "$ac_t""yes (standard debugging)" 1>&6
	fi
    fi
    
    

    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
	cat >> confdefs.h <<\EOF
#define TCL_MEM_DEBUG 1
EOF

    fi

    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
	cat >> confdefs.h <<\EOF
#define TCL_COMPILE_DEBUG 1
EOF

	cat >> confdefs.h <<\EOF
#define TCL_COMPILE_STATS 1
EOF

    fi

    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
	if test "$tcl_ok" = "all"; then
	    echo "$ac_t""enabled symbols mem compile debugging" 1>&6
	else
	    echo "$ac_t""enabled $tcl_ok debugging" 1>&6
	fi
    fi


TK_DBGX=${DBGX}

#--------------------------------------------------------------------
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------


    echo $ac_n "checking for required early compiler flags""... $ac_c" 1>&6
echo "configure:3255: checking for required early compiler flags" >&5
    tcl_flags=""
    
    if eval "test \"`echo '$''{'tcl_cv_flag__isoc99_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3262 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:3269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 3277 "configure"
#include "confdefs.h"
#define _ISOC99_SOURCE 1
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:3285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _ISOC99_SOURCE 1
EOF

	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi
    
    if eval "test \"`echo '$''{'tcl_cv_flag__largefile64_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3311 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 3326 "configure"
#include "confdefs.h"
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:3334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _LARGEFILE64_SOURCE 1
EOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi
    if test "x${tcl_flags}" = "x" ; then
	echo "$ac_t""none" 1>&6
    else
	echo "$ac_t""${tcl_flags}" 1>&6
    fi


    echo $ac_n "checking for 64-bit integer type""... $ac_c" 1>&6
echo "configure:3363: checking for 64-bit integer type" >&5
    if eval "test \"`echo '$''{'tcl_cv_type_64bit'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	tcl_cv_type_64bit=none
	# See if the compiler knows natively about __int64
	cat > conftest.$ac_ext <<EOF
#line 3371 "configure"
#include "confdefs.h"

int main() {
__int64 value = (__int64) 0;
; return 0; }
EOF
if { (eval echo configure:3378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_type_64bit=__int64
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_type_64bit="long long"
fi
rm -f conftest*
	# See if we should use long anyway  Note that we substitute in the
	# type that is our current guess for a 64-bit type inside this check
	# program, so it should be modified only carefully...
        cat > conftest.$ac_ext <<EOF
#line 3392 "configure"
#include "confdefs.h"

int main() {
switch (0) { 
            case 1: case (sizeof(${tcl_type_64bit})==sizeof(long)): ; 
        }
; return 0; }
EOF
if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_64bit=${tcl_type_64bit}
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi

    if test "${tcl_cv_type_64bit}" = none ; then
	cat >> confdefs.h <<\EOF
#define TCL_WIDE_INT_IS_LONG 1
EOF
d3386 7
a3392 5
	echo "$ac_t""using long" 1>&6
    else
	cat >> confdefs.h <<EOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
EOF
d3394 5
a3398 1
	echo "$ac_t""${tcl_cv_type_64bit}" 1>&6
d3400 8
a3407 27
	# Now check for auxiliary declarations
	echo $ac_n "checking for struct dirent64""... $ac_c" 1>&6
echo "configure:3426: checking for struct dirent64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 3432 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/dirent.h>
int main() {
struct dirent64 p;
; return 0; }
EOF
if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_dirent64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_dirent64=no
fi
rm -f conftest*
fi
d3409 5
a3413 4
	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_DIRENT64 1
EOF
a3414 2
	fi
	echo "$ac_t""${tcl_cv_struct_dirent64}" 1>&6
a3415 12
	echo $ac_n "checking for struct stat64""... $ac_c" 1>&6
echo "configure:3461: checking for struct stat64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 3467 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 p;
d3417 6
a3422 5
; return 0; }
EOF
if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_stat64=yes
d3424 1
a3424 6
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_stat64=no
fi
rm -f conftest*
d3427 20
a3446 3
	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_STAT64 1
d3449 1
a3449 2
	fi
	echo "$ac_t""${tcl_cv_struct_stat64}" 1>&6
d3451 4
a3454 12
	echo $ac_n "checking for off64_t""... $ac_c" 1>&6
echo "configure:3496: checking for off64_t" >&5
	if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 3502 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
off64_t offset;
d3456 2
a3457 1
; return 0; }
a3458 11
if { (eval echo configure:3510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_off64_t=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_off64_t=no
fi
rm -f conftest*
fi
d3460 1
a3460 4
	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_TYPE_OFF64_T 1
EOF
d3462 5
a3467 1
	echo "$ac_t""${tcl_cv_type_off64_t}" 1>&6
d3470 5
a3479 2
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'

a3496 1
MATH_LIBS=""
d3498 1
a3498 1
echo "configure:3557: checking for sin" >&5
d3503 1
a3503 1
#line 3562 "configure"
d3526 1
a3526 1
if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3540 1
a3540 1
  :
d3547 1
a3547 1
echo "configure:3606: checking for main in -lieee" >&5
d3555 1
a3555 1
#line 3614 "configure"
d3562 1
a3562 1
if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3593 1
a3593 1
echo "configure:3652: checking for gettimeofday in -lbsd" >&5
d3601 1
a3601 1
#line 3660 "configure"
d3612 1
a3612 1
if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3643 1
a3643 1
echo "configure:3702: checking stdlib.h" >&5
d3645 1
a3645 1
#line 3704 "configure"
d3660 1
a3660 1
#line 3719 "configure"
d3674 1
a3674 1
#line 3733 "configure"
d3706 1
a3706 1
echo "configure:3765: checking fd_set and sys/select" >&5
d3708 1
a3708 1
#line 3767 "configure"
d3715 1
a3715 1
if { (eval echo configure:3774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3727 1
a3727 1
#line 3786 "configure"
d3759 1
a3759 1
echo "configure:3818: checking for ANSI C header files" >&5
d3764 1
a3764 1
#line 3823 "configure"
d3772 1
a3772 1
{ (eval echo configure:3831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3789 1
a3789 1
#line 3848 "configure"
d3807 1
a3807 1
#line 3866 "configure"
d3828 1
a3828 1
#line 3887 "configure"
d3839 1
a3839 1
if { (eval echo configure:3898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3863 1
a3863 1
echo "configure:3922: checking for mode_t" >&5
d3868 1
a3868 1
#line 3927 "configure"
d3896 1
a3896 1
echo "configure:3955: checking for pid_t" >&5
d3901 1
a3901 1
#line 3960 "configure"
d3929 1
a3929 1
echo "configure:3988: checking for size_t" >&5
d3934 1
a3934 1
#line 3993 "configure"
d3962 1
a3962 1
echo "configure:4021: checking for uid_t in sys/types.h" >&5
d3967 1
a3967 1
#line 4026 "configure"
d4004 1
a4004 1
echo "configure:4063: checking for $ac_hdr" >&5
d4009 1
a4009 1
#line 4068 "configure"
d4014 1
a4014 1
{ (eval echo configure:4073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4041 1
a4041 1
echo "configure:4100: checking whether time.h and sys/time.h may both be included" >&5
d4046 1
a4046 1
#line 4105 "configure"
d4055 1
a4055 1
if { (eval echo configure:4114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4081 1
a4081 1
echo "configure:4140: checking pw_gecos in struct pwd" >&5
d4083 1
a4083 1
#line 4142 "configure"
d4090 1
a4090 1
if { (eval echo configure:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4123 1
a4123 1
echo "configure:4182: checking for X" >&5
d4185 1
a4185 1
#line 4244 "configure"
d4190 1
a4190 1
{ (eval echo configure:4249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4259 1
a4259 1
#line 4318 "configure"
d4266 1
a4266 1
if { (eval echo configure:4325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4356 1
a4356 1
#line 4415 "configure"
d4361 1
a4361 1
{ (eval echo configure:4420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4381 1
a4381 1
echo "configure:4440: checking for X11 header files" >&5
d4384 1
a4384 1
#line 4443 "configure"
d4389 1
a4389 1
{ (eval echo configure:4448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4425 1
a4425 1
echo "configure:4484: checking for X11 libraries" >&5
d4445 1
a4445 1
echo "configure:4504: checking for XCreateWindow in -lXwindow" >&5
d4453 1
a4453 1
#line 4512 "configure"
d4464 1
a4464 1
if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4538 1
a4538 1
echo "configure:4597: checking for main in -lXbsd" >&5
d4546 1
a4546 1
#line 4605 "configure"
d4553 1
a4553 1
if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4576 1
a4576 1
echo "configure:4635: checking for connect" >&5
d4581 1
a4581 1
#line 4640 "configure"
d4604 1
a4604 1
if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4626 1
a4626 1
echo "configure:4685: checking for main in -lsocket" >&5
d4634 1
a4634 1
#line 4693 "configure"
d4641 1
a4641 1
if { (eval echo configure:4700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4667 1
a4667 1
echo "configure:4726: checking for accept" >&5
d4672 1
a4672 1
#line 4731 "configure"
d4695 1
a4695 1
if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4717 1
a4717 1
echo "configure:4776: checking for gethostbyname" >&5
d4722 1
a4722 1
#line 4781 "configure"
d4745 1
a4745 1
if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4763 1
a4763 1
echo "configure:4822: checking for main in -lnsl" >&5
d4771 1
a4771 1
#line 4830 "configure"
d4778 1
a4778 1
if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4801 4
d4818 1
a4818 1
echo "configure:4873: checking MIT X libraries" >&5
d4824 1
a4824 1
#line 4879 "configure"
d4835 1
a4835 1
if { (eval echo configure:4890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4854 94
d4953 1
a4953 1
echo "configure:4914: checking whether char is unsigned" >&5
d4960 1
a4960 1
#line 4921 "configure"
d4982 1
a4982 1
#line 4943 "configure"
d4992 1
a4992 1
if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5025 1
a5025 1
echo "configure:4986: checking for strtod" >&5
d5030 1
a5030 1
#line 4991 "configure"
d5053 1
a5053 1
if { (eval echo configure:5014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5075 1
a5075 1
echo "configure:5036: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5084 1
a5084 1
#line 5045 "configure"
d5107 1
a5107 1
if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5403 1
@


1.65.2.14
log
@	* unix/tcl.m4: fixed Darwin autoconf breakage caused by
	recent CFLAGS reordering.
	* unix/configure: regen
@
text
@d2629 3
a2631 16
	    cat >> confdefs.h <<\EOF
#define MAC_OSX_TCL 1
EOF

	    cat >> confdefs.h <<\EOF
#define HAVE_CFBUNDLE 1
EOF

	    cat >> confdefs.h <<\EOF
#define USE_VFORK 1
EOF

	    cat >> confdefs.h <<EOF
#define TCL_DEFAULT_ENCODING "utf-8"
EOF

d2895 1
a2895 1
echo "configure:2909: checking for ld accepts -Bexport flag" >&5
d2898 1
a2898 1
#line 2912 "configure"
d2905 1
a2905 1
if { (eval echo configure:2919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2946 1
a2946 1
echo "configure:2960: checking sys/exec.h" >&5
d2948 1
a2948 1
#line 2962 "configure"
d2966 1
a2966 1
if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2984 1
a2984 1
echo "configure:2998: checking a.out.h" >&5
d2986 1
a2986 1
#line 3000 "configure"
d3004 1
a3004 1
if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3022 1
a3022 1
echo "configure:3036: checking sys/exec_aout.h" >&5
d3024 1
a3024 1
#line 3038 "configure"
d3042 1
a3042 1
if { (eval echo configure:3056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3193 1
a3193 1
echo "configure:3207: checking for build with symbols" >&5
d3254 1
a3254 1
echo "configure:3268: checking for required early compiler flags" >&5
d3261 1
a3261 1
#line 3275 "configure"
d3268 1
a3268 1
if { (eval echo configure:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3276 1
a3276 1
#line 3290 "configure"
d3284 1
a3284 1
if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3310 1
a3310 1
#line 3324 "configure"
d3317 1
a3317 1
if { (eval echo configure:3331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3325 1
a3325 1
#line 3339 "configure"
d3333 1
a3333 1
if { (eval echo configure:3347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3362 1
a3362 1
echo "configure:3376: checking for 64-bit integer type" >&5
d3370 1
a3370 1
#line 3384 "configure"
d3377 1
a3377 1
if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3391 1
a3391 1
#line 3405 "configure"
d3400 1
a3400 1
if { (eval echo configure:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3425 1
a3425 1
echo "configure:3439: checking for struct dirent64" >&5
d3431 1
a3431 1
#line 3445 "configure"
d3439 1
a3439 1
if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3460 1
a3460 1
echo "configure:3474: checking for struct stat64" >&5
d3466 1
a3466 1
#line 3480 "configure"
d3474 1
a3474 1
if { (eval echo configure:3488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3495 1
a3495 1
echo "configure:3509: checking for off64_t" >&5
d3501 1
a3501 1
#line 3515 "configure"
d3509 1
a3509 1
if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3556 1
a3556 1
echo "configure:3570: checking for sin" >&5
d3561 1
a3561 1
#line 3575 "configure"
d3584 1
a3584 1
if { (eval echo configure:3598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3605 1
a3605 1
echo "configure:3619: checking for main in -lieee" >&5
d3613 1
a3613 1
#line 3627 "configure"
d3620 1
a3620 1
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3651 1
a3651 1
echo "configure:3665: checking for gettimeofday in -lbsd" >&5
d3659 1
a3659 1
#line 3673 "configure"
d3670 1
a3670 1
if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3701 1
a3701 1
echo "configure:3715: checking stdlib.h" >&5
d3703 1
a3703 1
#line 3717 "configure"
d3718 1
a3718 1
#line 3732 "configure"
d3732 1
a3732 1
#line 3746 "configure"
d3764 1
a3764 1
echo "configure:3778: checking fd_set and sys/select" >&5
d3766 1
a3766 1
#line 3780 "configure"
d3773 1
a3773 1
if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3785 1
a3785 1
#line 3799 "configure"
d3817 1
a3817 1
echo "configure:3831: checking for ANSI C header files" >&5
d3822 1
a3822 1
#line 3836 "configure"
d3830 1
a3830 1
{ (eval echo configure:3844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3847 1
a3847 1
#line 3861 "configure"
d3865 1
a3865 1
#line 3879 "configure"
d3886 1
a3886 1
#line 3900 "configure"
d3897 1
a3897 1
if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3921 1
a3921 1
echo "configure:3935: checking for mode_t" >&5
d3926 1
a3926 1
#line 3940 "configure"
d3954 1
a3954 1
echo "configure:3968: checking for pid_t" >&5
d3959 1
a3959 1
#line 3973 "configure"
d3987 1
a3987 1
echo "configure:4001: checking for size_t" >&5
d3992 1
a3992 1
#line 4006 "configure"
d4020 1
a4020 1
echo "configure:4034: checking for uid_t in sys/types.h" >&5
d4025 1
a4025 1
#line 4039 "configure"
d4062 1
a4062 1
echo "configure:4076: checking for $ac_hdr" >&5
d4067 1
a4067 1
#line 4081 "configure"
d4072 1
a4072 1
{ (eval echo configure:4086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4099 1
a4099 1
echo "configure:4113: checking whether time.h and sys/time.h may both be included" >&5
d4104 1
a4104 1
#line 4118 "configure"
d4113 1
a4113 1
if { (eval echo configure:4127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4139 1
a4139 1
echo "configure:4153: checking pw_gecos in struct pwd" >&5
d4141 1
a4141 1
#line 4155 "configure"
d4148 1
a4148 1
if { (eval echo configure:4162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4181 1
a4181 1
echo "configure:4195: checking for X" >&5
d4243 1
a4243 1
#line 4257 "configure"
d4248 1
a4248 1
{ (eval echo configure:4262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4317 1
a4317 1
#line 4331 "configure"
d4324 1
a4324 1
if { (eval echo configure:4338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4414 1
a4414 1
#line 4428 "configure"
d4419 1
a4419 1
{ (eval echo configure:4433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4439 1
a4439 1
echo "configure:4453: checking for X11 header files" >&5
d4442 1
a4442 1
#line 4456 "configure"
d4447 1
a4447 1
{ (eval echo configure:4461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4483 1
a4483 1
echo "configure:4497: checking for X11 libraries" >&5
d4503 1
a4503 1
echo "configure:4517: checking for XCreateWindow in -lXwindow" >&5
d4511 1
a4511 1
#line 4525 "configure"
d4522 1
a4522 1
if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4596 1
a4596 1
echo "configure:4610: checking for main in -lXbsd" >&5
d4604 1
a4604 1
#line 4618 "configure"
d4611 1
a4611 1
if { (eval echo configure:4625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4634 1
a4634 1
echo "configure:4648: checking for connect" >&5
d4639 1
a4639 1
#line 4653 "configure"
d4662 1
a4662 1
if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4684 1
a4684 1
echo "configure:4698: checking for main in -lsocket" >&5
d4692 1
a4692 1
#line 4706 "configure"
d4699 1
a4699 1
if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4725 1
a4725 1
echo "configure:4739: checking for accept" >&5
d4730 1
a4730 1
#line 4744 "configure"
d4753 1
a4753 1
if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4775 1
a4775 1
echo "configure:4789: checking for gethostbyname" >&5
d4780 1
a4780 1
#line 4794 "configure"
d4803 1
a4803 1
if { (eval echo configure:4817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4821 1
a4821 1
echo "configure:4835: checking for main in -lnsl" >&5
d4829 1
a4829 1
#line 4843 "configure"
d4836 1
a4836 1
if { (eval echo configure:4850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4872 1
a4872 1
echo "configure:4886: checking MIT X libraries" >&5
d4878 1
a4878 1
#line 4892 "configure"
d4889 1
a4889 1
if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4913 1
a4913 1
echo "configure:4927: checking whether char is unsigned" >&5
d4920 1
a4920 1
#line 4934 "configure"
d4942 1
a4942 1
#line 4956 "configure"
d4952 1
a4952 1
if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4985 1
a4985 1
echo "configure:4999: checking for strtod" >&5
d4990 1
a4990 1
#line 5004 "configure"
d5013 1
a5013 1
if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5035 1
a5035 1
echo "configure:5049: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5044 1
a5044 1
#line 5058 "configure"
d5067 1
a5067 1
if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.15
log
@	* unix/configure:
	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
	to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
@
text
@d2622 1
a2622 1
	    PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
d2641 1
a2641 1
	    cat >> confdefs.h <<\EOF
@


1.65.2.16
log
@        * README:                               Bumped to patch level 8.4.8
        * generic/tk.h:                         to prepare for next patch
        * macosx/Wish.pbproj/project.pbxproj:   release.
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf (2.13)
        * win/configure:
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".8"
@


1.65.2.17
log
@2004-11-18  Reinhard Max  <max@@suse.de>

        * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
        * unix/configure.in:                patch #996085, that introduces
        * unix/Makefile.in:                 --enable-man-suffix.

        * unix/installManPage:              added
        * unix/mkLinks:                     removed
@
text
@a21 4
  --enable-man-suffix=STRING
                          use STRING as a suffix to manpage file names
                          (default: tk)"
ac_help="$ac_help
d575 1
a575 1
echo "configure:580: checking for Tcl configuration" >&5
d656 1
a656 1
echo "configure:661: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d733 1
a733 1
echo "configure:738: checking whether to use symlinks for manpages" >&5
d737 1
a737 1
  test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks"
d744 2
a745 2
	echo $ac_n "checking whether to compress the manpages""... $ac_c" 1>&6
echo "configure:750: checking whether to compress the manpages" >&5
d749 2
a750 25
  test "$enableval" = "yes" && { echo "configure: error: missing argument to --enable-man-compression" 1>&2; exit 1; }
		test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --compress $enableval"
else
  enableval="no"
fi

	echo "$ac_t""$enableval" 1>&6
	if test "$enableval" != "no"; then
		echo $ac_n "checking for compressed file suffix""... $ac_c" 1>&6
echo "configure:763: checking for compressed file suffix" >&5
		touch TeST
		$enableval TeST
		Z=`ls TeST* | sed 's/^....//'`
		rm -f TeST*
		MAN_FLAGS="$MAN_FLAGS --extension $Z"
		echo "$ac_t""$Z" 1>&6
	fi

	echo $ac_n "checking whether to add a package name suffix for the manpages""... $ac_c" 1>&6
echo "configure:773: checking whether to add a package name suffix for the manpages" >&5
	# Check whether --enable-man-suffix or --disable-man-suffix was given.
if test "${enable_man_suffix+set}" = set; then
  enableval="$enable_man_suffix"
  test "$enableval" = "yes" && enableval="tk"
		test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --suffix $enableval"
d773 1
a773 1
echo "configure:801: checking for $ac_word" >&5
d803 1
a803 1
echo "configure:831: checking for $ac_word" >&5
d854 1
a854 1
echo "configure:882: checking for $ac_word" >&5
d886 1
a886 1
echo "configure:914: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d897 1
a897 1
#line 925 "configure"
d902 1
a902 1
if { (eval echo configure:930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d928 1
a928 1
echo "configure:956: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d933 1
a933 1
echo "configure:961: checking whether we are using GNU C" >&5
d942 1
a942 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d961 1
a961 1
echo "configure:989: checking whether ${CC-cc} accepts -g" >&5
d994 1
a994 1
echo "configure:1022: checking how to run the C preprocessor" >&5
d1009 1
a1009 1
#line 1037 "configure"
d1015 1
a1015 1
{ (eval echo configure:1043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1026 1
a1026 1
#line 1054 "configure"
d1032 1
a1032 1
{ (eval echo configure:1060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1043 1
a1043 1
#line 1071 "configure"
d1049 1
a1049 1
{ (eval echo configure:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1077 1
a1077 1
echo "configure:1105: checking for $ac_hdr" >&5
d1082 1
a1082 1
#line 1110 "configure"
d1087 1
a1087 1
{ (eval echo configure:1115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1122 1
a1122 1
echo "configure:1150: checking if the compiler understands -pipe" >&5
d1126 1
a1126 1
#line 1154 "configure"
d1133 1
a1133 1
if { (eval echo configure:1161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1153 1
a1153 1
echo "configure:1181: checking for building with threads" >&5
d1189 1
a1189 1
echo "configure:1217: checking for pthread_mutex_init in -lpthread" >&5
d1197 1
a1197 1
#line 1225 "configure"
d1208 1
a1208 1
if { (eval echo configure:1236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1236 1
a1236 1
echo "configure:1264: checking for __pthread_mutex_init in -lpthread" >&5
d1244 1
a1244 1
#line 1272 "configure"
d1255 1
a1255 1
if { (eval echo configure:1283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1283 1
a1283 1
echo "configure:1311: checking for pthread_mutex_init in -lpthreads" >&5
d1291 1
a1291 1
#line 1319 "configure"
d1302 1
a1302 1
if { (eval echo configure:1330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1328 1
a1328 1
echo "configure:1356: checking for pthread_mutex_init in -lc" >&5
d1336 1
a1336 1
#line 1364 "configure"
d1347 1
a1347 1
if { (eval echo configure:1375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1370 1
a1370 1
echo "configure:1398: checking for pthread_mutex_init in -lc_r" >&5
d1378 1
a1378 1
#line 1406 "configure"
d1389 1
a1389 1
if { (eval echo configure:1417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1429 1
a1429 1
echo "configure:1457: checking for $ac_func" >&5
d1434 1
a1434 1
#line 1462 "configure"
d1457 1
a1457 1
if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1484 1
a1484 1
echo "configure:1512: checking for $ac_func" >&5
d1489 1
a1489 1
#line 1517 "configure"
d1512 1
a1512 1
if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1540 1
a1540 1
echo "configure:1568: checking for $ac_func" >&5
d1545 1
a1545 1
#line 1573 "configure"
d1568 1
a1568 1
if { (eval echo configure:1596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1608 1
a1608 1
echo "configure:1636: checking how to build libraries" >&5
d1641 1
a1641 1
echo "configure:1669: checking for $ac_word" >&5
d1673 1
a1673 1
echo "configure:1701: checking if 64bit support is requested" >&5
d1693 1
a1693 1
echo "configure:1721: checking if 64bit Sparc VIS support is requested" >&5
d1717 1
a1717 1
echo "configure:1745: checking system version (for dynamic loading)" >&5
d1743 1
a1743 1
echo "configure:1771: checking for dlopen in -ldl" >&5
d1751 1
a1751 1
#line 1779 "configure"
d1762 1
a1762 1
if { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1810 1
a1810 1
echo "configure:1838: checking for $ac_word" >&5
d1951 1
a1951 1
echo "configure:1979: checking for gettimeofday in -lbsd" >&5
d1959 1
a1959 1
#line 1987 "configure"
d1970 1
a1970 1
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2013 1
a2013 1
echo "configure:2041: checking for inet_ntoa in -lbind" >&5
d2021 1
a2021 1
#line 2049 "configure"
d2032 1
a2032 1
if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2098 1
a2098 1
echo "configure:2126: checking for shl_load in -ldld" >&5
d2106 1
a2106 1
#line 2134 "configure"
d2117 1
a2117 1
if { (eval echo configure:2145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2186 1
a2186 1
echo "configure:2214: checking for shl_load in -ldld" >&5
d2194 1
a2194 1
#line 2222 "configure"
d2205 1
a2205 1
if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2329 1
a2329 1
echo "configure:2357: checking for dld.h" >&5
d2334 1
a2334 1
#line 2362 "configure"
d2339 1
a2339 1
{ (eval echo configure:2367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2377 1
a2377 1
            if test x"${LIBOBJS}" != x ; then
d2403 1
a2403 1
echo "configure:2431: checking for dld.h" >&5
d2408 1
a2408 1
#line 2436 "configure"
d2413 1
a2413 1
{ (eval echo configure:2441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2469 1
a2469 1
echo "configure:2497: checking for dlfcn.h" >&5
d2474 1
a2474 1
#line 2502 "configure"
d2479 1
a2479 1
{ (eval echo configure:2507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2506 1
a2506 1
echo "configure:2534: checking for ELF" >&5
d2508 1
a2508 1
#line 2536 "configure"
d2560 1
a2560 1
echo "configure:2588: checking for ELF" >&5
d2562 1
a2562 1
#line 2590 "configure"
d2908 1
a2908 1
echo "configure:2936: checking for ld accepts -Bexport flag" >&5
d2911 1
a2911 1
#line 2939 "configure"
d2918 1
a2918 1
if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2959 1
a2959 1
echo "configure:2987: checking sys/exec.h" >&5
d2961 1
a2961 1
#line 2989 "configure"
d2979 1
a2979 1
if { (eval echo configure:3007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2997 1
a2997 1
echo "configure:3025: checking a.out.h" >&5
d2999 1
a2999 1
#line 3027 "configure"
d3017 1
a3017 1
if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3035 1
a3035 1
echo "configure:3063: checking sys/exec_aout.h" >&5
d3037 1
a3037 1
#line 3065 "configure"
d3055 1
a3055 1
if { (eval echo configure:3083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3206 1
a3206 1
echo "configure:3234: checking for build with symbols" >&5
d3267 1
a3267 1
echo "configure:3295: checking for required early compiler flags" >&5
d3274 1
a3274 1
#line 3302 "configure"
d3281 1
a3281 1
if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3289 1
a3289 1
#line 3317 "configure"
d3297 1
a3297 1
if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3323 1
a3323 1
#line 3351 "configure"
d3330 1
a3330 1
if { (eval echo configure:3358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3338 1
a3338 1
#line 3366 "configure"
d3346 1
a3346 1
if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3375 1
a3375 1
echo "configure:3403: checking for 64-bit integer type" >&5
d3383 1
a3383 1
#line 3411 "configure"
d3390 1
a3390 1
if { (eval echo configure:3418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3404 1
a3404 1
#line 3432 "configure"
d3413 1
a3413 1
if { (eval echo configure:3441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3438 1
a3438 1
echo "configure:3466: checking for struct dirent64" >&5
d3444 1
a3444 1
#line 3472 "configure"
d3452 1
a3452 1
if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3473 1
a3473 1
echo "configure:3501: checking for struct stat64" >&5
d3479 1
a3479 1
#line 3507 "configure"
d3487 1
a3487 1
if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3508 1
a3508 1
echo "configure:3536: checking for off64_t" >&5
d3514 1
a3514 1
#line 3542 "configure"
d3522 1
a3522 1
if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3569 1
a3569 1
echo "configure:3597: checking for sin" >&5
d3574 1
a3574 1
#line 3602 "configure"
d3597 1
a3597 1
if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3618 1
a3618 1
echo "configure:3646: checking for main in -lieee" >&5
d3626 1
a3626 1
#line 3654 "configure"
d3633 1
a3633 1
if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3664 1
a3664 1
echo "configure:3692: checking for gettimeofday in -lbsd" >&5
d3672 1
a3672 1
#line 3700 "configure"
d3683 1
a3683 1
if { (eval echo configure:3711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3714 1
a3714 1
echo "configure:3742: checking stdlib.h" >&5
d3716 1
a3716 1
#line 3744 "configure"
d3731 1
a3731 1
#line 3759 "configure"
d3745 1
a3745 1
#line 3773 "configure"
d3777 1
a3777 1
echo "configure:3805: checking fd_set and sys/select" >&5
d3779 1
a3779 1
#line 3807 "configure"
d3786 1
a3786 1
if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3798 1
a3798 1
#line 3826 "configure"
d3830 1
a3830 1
echo "configure:3858: checking for ANSI C header files" >&5
d3835 1
a3835 1
#line 3863 "configure"
d3843 1
a3843 1
{ (eval echo configure:3871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3860 1
a3860 1
#line 3888 "configure"
d3878 1
a3878 1
#line 3906 "configure"
d3899 1
a3899 1
#line 3927 "configure"
d3910 1
a3910 1
if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3934 1
a3934 1
echo "configure:3962: checking for mode_t" >&5
d3939 1
a3939 1
#line 3967 "configure"
d3967 1
a3967 1
echo "configure:3995: checking for pid_t" >&5
d3972 1
a3972 1
#line 4000 "configure"
d4000 1
a4000 1
echo "configure:4028: checking for size_t" >&5
d4005 1
a4005 1
#line 4033 "configure"
d4033 1
a4033 1
echo "configure:4061: checking for uid_t in sys/types.h" >&5
d4038 1
a4038 1
#line 4066 "configure"
d4075 1
a4075 1
echo "configure:4103: checking for $ac_hdr" >&5
d4080 1
a4080 1
#line 4108 "configure"
d4085 1
a4085 1
{ (eval echo configure:4113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4112 1
a4112 1
echo "configure:4140: checking whether time.h and sys/time.h may both be included" >&5
d4117 1
a4117 1
#line 4145 "configure"
d4126 1
a4126 1
if { (eval echo configure:4154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4152 1
a4152 1
echo "configure:4180: checking pw_gecos in struct pwd" >&5
d4154 1
a4154 1
#line 4182 "configure"
d4161 1
a4161 1
if { (eval echo configure:4189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4194 1
a4194 1
echo "configure:4222: checking for X" >&5
d4256 1
a4256 1
#line 4284 "configure"
d4261 1
a4261 1
{ (eval echo configure:4289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4330 1
a4330 1
#line 4358 "configure"
d4337 1
a4337 1
if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4427 1
a4427 1
#line 4455 "configure"
d4432 1
a4432 1
{ (eval echo configure:4460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4452 1
a4452 1
echo "configure:4480: checking for X11 header files" >&5
d4455 1
a4455 1
#line 4483 "configure"
d4460 1
a4460 1
{ (eval echo configure:4488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4496 1
a4496 1
echo "configure:4524: checking for X11 libraries" >&5
d4516 1
a4516 1
echo "configure:4544: checking for XCreateWindow in -lXwindow" >&5
d4524 1
a4524 1
#line 4552 "configure"
d4535 1
a4535 1
if { (eval echo configure:4563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4609 1
a4609 1
echo "configure:4637: checking for main in -lXbsd" >&5
d4617 1
a4617 1
#line 4645 "configure"
d4624 1
a4624 1
if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4647 1
a4647 1
echo "configure:4675: checking for connect" >&5
d4652 1
a4652 1
#line 4680 "configure"
d4675 1
a4675 1
if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4697 1
a4697 1
echo "configure:4725: checking for main in -lsocket" >&5
d4705 1
a4705 1
#line 4733 "configure"
d4712 1
a4712 1
if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4738 1
a4738 1
echo "configure:4766: checking for accept" >&5
d4743 1
a4743 1
#line 4771 "configure"
d4766 1
a4766 1
if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4788 1
a4788 1
echo "configure:4816: checking for gethostbyname" >&5
d4793 1
a4793 1
#line 4821 "configure"
d4816 1
a4816 1
if { (eval echo configure:4844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4834 1
a4834 1
echo "configure:4862: checking for main in -lnsl" >&5
d4842 1
a4842 1
#line 4870 "configure"
d4849 1
a4849 1
if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4885 1
a4885 1
echo "configure:4913: checking MIT X libraries" >&5
d4891 1
a4891 1
#line 4919 "configure"
d4902 1
a4902 1
if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4926 1
a4926 1
echo "configure:4954: checking whether char is unsigned" >&5
d4933 1
a4933 1
#line 4961 "configure"
d4955 1
a4955 1
#line 4983 "configure"
d4965 1
a4965 1
if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4998 1
a4998 1
echo "configure:5026: checking for strtod" >&5
d5003 1
a5003 1
#line 5031 "configure"
d5026 1
a5026 1
if { (eval echo configure:5054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5048 1
a5048 1
echo "configure:5076: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5057 1
a5057 1
#line 5085 "configure"
d5080 1
a5080 1
if { (eval echo configure:5108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5364 1
a5364 1
s%@@MAN_FLAGS@@%$MAN_FLAGS%g
@


1.65.2.18
log
@bumped patchlevel to 8.4.9
@
text
@d554 1
a554 1
TK_PATCH_LEVEL=".9"
d2404 1
a2404 1
	    if test x"${LIBOBJS}" != x ; then
@


1.65.2.19
log
@	* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show
	console at startup instead of directly calling [console show].

	* unix/tcl.m4 (Darwin): fixed bug with static build linking to
	dynamic library in /usr/lib etc instead of linking to static library
	earlier in search path. [Tcl Bug 956908]
	Removed obsolete references to Rhapsody.
	* unix/configure: autoconf-2.13
@
text
@d2641 1
a2641 1
	Darwin-*)
d2651 1
a2651 1
	    LDFLAGS="$LDFLAGS -prebind -Wl,-search_paths_first"
d3150 1
a3150 1
		Darwin-*)
@


1.65.2.20
log
@	* unix/configure, unix/tcl.m4: add solaris 64-bit gcc build
	support. [Bug 1021871]
@
text
@a1210 6
	if test "`uname -s`" = "SunOS" ; then
	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF

	fi
d1216 1
a1216 1
echo "configure:1223: checking for pthread_mutex_init in -lpthread" >&5
d1224 1
a1224 1
#line 1231 "configure"
d1235 1
a1235 1
if { (eval echo configure:1242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1263 1
a1263 1
echo "configure:1270: checking for __pthread_mutex_init in -lpthread" >&5
d1271 1
a1271 1
#line 1278 "configure"
d1282 1
a1282 1
if { (eval echo configure:1289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1310 1
a1310 1
echo "configure:1317: checking for pthread_mutex_init in -lpthreads" >&5
d1318 1
a1318 1
#line 1325 "configure"
d1329 1
a1329 1
if { (eval echo configure:1336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1355 1
a1355 1
echo "configure:1362: checking for pthread_mutex_init in -lc" >&5
d1363 1
a1363 1
#line 1370 "configure"
d1374 1
a1374 1
if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1397 1
a1397 1
echo "configure:1404: checking for pthread_mutex_init in -lc_r" >&5
d1405 1
a1405 1
#line 1412 "configure"
d1416 1
a1416 1
if { (eval echo configure:1423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1456 1
a1456 1
echo "configure:1463: checking for $ac_func" >&5
d1461 1
a1461 1
#line 1468 "configure"
d1484 1
a1484 1
if { (eval echo configure:1491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1511 1
a1511 1
echo "configure:1518: checking for $ac_func" >&5
d1516 1
a1516 1
#line 1523 "configure"
d1539 1
a1539 1
if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1567 1
a1567 1
echo "configure:1574: checking for $ac_func" >&5
d1572 1
a1572 1
#line 1579 "configure"
d1595 1
a1595 1
if { (eval echo configure:1602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1618 83
	if test "x$ac_cv_func_readdir_r" = "xyes"; then
            echo $ac_n "checking how many args readdir_r takes""... $ac_c" 1>&6
echo "configure:1628: checking how many args readdir_r takes" >&5
	    # IRIX 5.3 has a 2 arg version of readdir_r
	    # while other systems have a 3 arg version.
	    if eval "test \"`echo '$''{'tcl_cv_two_arg_readdir_r'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1635 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sys/types.h>
#ifdef NO_DIRENT_H
# include <sys/dir.h>  /* logic from tcl/compat/dirent.h *
# define dirent direct  *                                */
#else
# include <dirent.h>
#endif

int main() {
readdir_r(NULL, NULL);
; return 0; }
EOF
if { (eval echo configure:1650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_two_arg_readdir_r=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_two_arg_readdir_r=no
fi
rm -f conftest*
fi

	    if eval "test \"`echo '$''{'tcl_cv_three_arg_readdir_r'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1666 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <sys/types.h>
#ifdef NO_DIRENT_H
# include <sys/dir.h>  /* logic from tcl/compat/dirent.h *
# define dirent direct  *                                */
#else
# include <dirent.h>
#endif

int main() {
readdir_r(NULL, NULL, NULL);
; return 0; }
EOF
if { (eval echo configure:1681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_three_arg_readdir_r=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_three_arg_readdir_r=no
fi
rm -f conftest*
fi

	    if test "x$tcl_cv_two_arg_readdir_r" = "xyes" ; then
                echo "$ac_t""2" 1>&6
	        cat >> confdefs.h <<\EOF
#define HAVE_TWO_ARG_READDIR_R 1
EOF

	    elif test "x$tcl_cv_three_arg_readdir_r" = "xyes" ; then
                echo "$ac_t""3" 1>&6
	        cat >> confdefs.h <<\EOF
#define HAVE_THREE_ARG_READDIR_R 1
EOF

	    else
	        { echo "configure: error: unknown number of args for readdir_r" 1>&2; exit 1; }
	    fi
	fi
d1635 1
a1635 1
echo "configure:1725: checking how to build libraries" >&5
d1668 1
a1668 1
echo "configure:1758: checking for $ac_word" >&5
d1700 1
a1700 1
echo "configure:1790: checking if 64bit support is requested" >&5
d1720 1
a1720 1
echo "configure:1810: checking if 64bit Sparc VIS support is requested" >&5
d1744 1
a1744 1
echo "configure:1834: checking system version (for dynamic loading)" >&5
d1770 1
a1770 1
echo "configure:1860: checking for dlopen in -ldl" >&5
d1778 1
a1778 1
#line 1868 "configure"
d1789 1
a1789 1
if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1837 1
a1837 1
echo "configure:1927: checking for $ac_word" >&5
d1978 1
a1978 1
echo "configure:2068: checking for gettimeofday in -lbsd" >&5
d1986 1
a1986 1
#line 2076 "configure"
d1997 1
a1997 1
if { (eval echo configure:2087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2040 1
a2040 1
echo "configure:2130: checking for inet_ntoa in -lbind" >&5
d2048 1
a2048 1
#line 2138 "configure"
d2059 1
a2059 1
if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2125 1
a2125 1
echo "configure:2215: checking for shl_load in -ldld" >&5
d2133 1
a2133 1
#line 2223 "configure"
d2144 1
a2144 1
if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2213 1
a2213 1
echo "configure:2303: checking for shl_load in -ldld" >&5
d2221 1
a2221 1
#line 2311 "configure"
d2232 1
a2232 1
if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2356 1
a2356 1
echo "configure:2446: checking for dld.h" >&5
d2361 1
a2361 1
#line 2451 "configure"
d2366 1
a2366 1
{ (eval echo configure:2456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2430 1
a2430 1
echo "configure:2520: checking for dld.h" >&5
d2435 1
a2435 1
#line 2525 "configure"
d2440 1
a2440 1
{ (eval echo configure:2530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2496 1
a2496 1
echo "configure:2586: checking for dlfcn.h" >&5
d2501 1
a2501 1
#line 2591 "configure"
d2506 1
a2506 1
{ (eval echo configure:2596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2533 1
a2533 1
echo "configure:2623: checking for ELF" >&5
d2535 1
a2535 1
#line 2625 "configure"
d2587 1
a2587 1
echo "configure:2677: checking for ELF" >&5
d2589 1
a2589 1
#line 2679 "configure"
d2877 1
a2877 9
			    if test "`gcc -dumpversion` | awk -F. '{print }'" -lt "3" ; then
				echo "configure: warning: 64bit mode not supported with GCC < 3.2 on $system" 1>&2
			    else
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64 -mcpu=v9"
				LDFLAGS="$LDFLAGS -m64 -mcpu=v9"
				SHLIB_CFLAGS="-fPIC"
				SHLIB_LD_FLAGS=""
			    fi
a2886 2
			    # Solaris 64 uses this as well
			    #LD_LIBRARY_PATH_VAR="LD_LIBRARY_PATH_64"
d2889 1
a2889 1
		    echo "configure: warning: 64bit mode only supported sparcv9 system" 1>&2
a2903 9
		if test "$do64bit" = "yes" ; then
		    # We need to specify -static-libgcc or we need to
		    # add the path to the sparv9 libgcc.
		    SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
		    # for finding sparcv9 libgcc, get the regular libgcc
		    # path, remove so name and append 'sparcv9'
		    #v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
		    #CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
		fi
d2935 1
a2935 1
echo "configure:3044: checking for ld accepts -Bexport flag" >&5
d2938 1
a2938 1
#line 3047 "configure"
d2945 1
a2945 1
if { (eval echo configure:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2986 1
a2986 1
echo "configure:3095: checking sys/exec.h" >&5
d2988 1
a2988 1
#line 3097 "configure"
d3006 1
a3006 1
if { (eval echo configure:3115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3024 1
a3024 1
echo "configure:3133: checking a.out.h" >&5
d3026 1
a3026 1
#line 3135 "configure"
d3044 1
a3044 1
if { (eval echo configure:3153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3062 1
a3062 1
echo "configure:3171: checking sys/exec_aout.h" >&5
d3064 1
a3064 1
#line 3173 "configure"
d3082 1
a3082 1
if { (eval echo configure:3191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3233 1
a3233 1
echo "configure:3342: checking for build with symbols" >&5
d3294 1
a3294 1
echo "configure:3403: checking for required early compiler flags" >&5
d3301 1
a3301 1
#line 3410 "configure"
d3308 1
a3308 1
if { (eval echo configure:3417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3316 1
a3316 1
#line 3425 "configure"
d3324 1
a3324 1
if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3350 1
a3350 1
#line 3459 "configure"
d3357 1
a3357 1
if { (eval echo configure:3466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3365 1
a3365 1
#line 3474 "configure"
d3373 1
a3373 1
if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3402 1
a3402 1
echo "configure:3511: checking for 64-bit integer type" >&5
d3410 1
a3410 1
#line 3519 "configure"
d3417 1
a3417 1
if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3431 1
a3431 1
#line 3540 "configure"
d3440 1
a3440 1
if { (eval echo configure:3549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3465 1
a3465 1
echo "configure:3574: checking for struct dirent64" >&5
d3471 1
a3471 1
#line 3580 "configure"
d3479 1
a3479 1
if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3500 1
a3500 1
echo "configure:3609: checking for struct stat64" >&5
d3506 1
a3506 1
#line 3615 "configure"
d3514 1
a3514 1
if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3535 1
a3535 1
echo "configure:3644: checking for off64_t" >&5
d3541 1
a3541 1
#line 3650 "configure"
d3549 1
a3549 1
if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3561 1
a3561 58
	for ac_func in open64 lseek64
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3673: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3678 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

			if test "x${tcl_cv_type_off64_t}" = "xyes" && \
	        test "x${ac_cv_func_lseek64}" = "xyes" && \
	        test "x${ac_cv_func_open64}" = "xyes" ; then
a3565 3
	    echo "$ac_t""yes" 1>&6
	else
	    echo "$ac_t""no" 1>&6
d3567 1
d3596 1
a3596 1
echo "configure:3764: checking for sin" >&5
d3601 1
a3601 1
#line 3769 "configure"
d3624 1
a3624 1
if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3645 1
a3645 1
echo "configure:3813: checking for main in -lieee" >&5
d3653 1
a3653 1
#line 3821 "configure"
d3660 1
a3660 1
if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3691 1
a3691 1
echo "configure:3859: checking for gettimeofday in -lbsd" >&5
d3699 1
a3699 1
#line 3867 "configure"
d3710 1
a3710 1
if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3741 1
a3741 1
echo "configure:3909: checking stdlib.h" >&5
d3743 1
a3743 1
#line 3911 "configure"
d3758 1
a3758 1
#line 3926 "configure"
d3772 1
a3772 1
#line 3940 "configure"
d3804 1
a3804 1
echo "configure:3972: checking fd_set and sys/select" >&5
d3806 1
a3806 1
#line 3974 "configure"
d3813 1
a3813 1
if { (eval echo configure:3981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3825 1
a3825 1
#line 3993 "configure"
d3857 1
a3857 1
echo "configure:4025: checking for ANSI C header files" >&5
d3862 1
a3862 1
#line 4030 "configure"
d3870 1
a3870 1
{ (eval echo configure:4038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3887 1
a3887 1
#line 4055 "configure"
d3905 1
a3905 1
#line 4073 "configure"
d3926 1
a3926 1
#line 4094 "configure"
d3937 1
a3937 1
if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3961 1
a3961 1
echo "configure:4129: checking for mode_t" >&5
d3966 1
a3966 1
#line 4134 "configure"
d3994 1
a3994 1
echo "configure:4162: checking for pid_t" >&5
d3999 1
a3999 1
#line 4167 "configure"
d4027 1
a4027 1
echo "configure:4195: checking for size_t" >&5
d4032 1
a4032 1
#line 4200 "configure"
d4060 1
a4060 1
echo "configure:4228: checking for uid_t in sys/types.h" >&5
d4065 1
a4065 1
#line 4233 "configure"
d4102 1
a4102 1
echo "configure:4270: checking for $ac_hdr" >&5
d4107 1
a4107 1
#line 4275 "configure"
d4112 1
a4112 1
{ (eval echo configure:4280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4139 1
a4139 1
echo "configure:4307: checking whether time.h and sys/time.h may both be included" >&5
d4144 1
a4144 1
#line 4312 "configure"
d4153 1
a4153 1
if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4179 1
a4179 1
echo "configure:4347: checking pw_gecos in struct pwd" >&5
d4181 1
a4181 1
#line 4349 "configure"
d4188 1
a4188 1
if { (eval echo configure:4356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4221 1
a4221 1
echo "configure:4389: checking for X" >&5
d4283 1
a4283 1
#line 4451 "configure"
d4288 1
a4288 1
{ (eval echo configure:4456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4357 1
a4357 1
#line 4525 "configure"
d4364 1
a4364 1
if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4454 1
a4454 1
#line 4622 "configure"
d4459 1
a4459 1
{ (eval echo configure:4627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4479 1
a4479 1
echo "configure:4647: checking for X11 header files" >&5
d4482 1
a4482 1
#line 4650 "configure"
d4487 1
a4487 1
{ (eval echo configure:4655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4523 1
a4523 1
echo "configure:4691: checking for X11 libraries" >&5
d4543 1
a4543 1
echo "configure:4711: checking for XCreateWindow in -lXwindow" >&5
d4551 1
a4551 1
#line 4719 "configure"
d4562 1
a4562 1
if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4636 1
a4636 1
echo "configure:4804: checking for main in -lXbsd" >&5
d4644 1
a4644 1
#line 4812 "configure"
d4651 1
a4651 1
if { (eval echo configure:4819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4674 1
a4674 1
echo "configure:4842: checking for connect" >&5
d4679 1
a4679 1
#line 4847 "configure"
d4702 1
a4702 1
if { (eval echo configure:4870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4724 1
a4724 1
echo "configure:4892: checking for main in -lsocket" >&5
d4732 1
a4732 1
#line 4900 "configure"
d4739 1
a4739 1
if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4765 1
a4765 1
echo "configure:4933: checking for accept" >&5
d4770 1
a4770 1
#line 4938 "configure"
d4793 1
a4793 1
if { (eval echo configure:4961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4815 1
a4815 1
echo "configure:4983: checking for gethostbyname" >&5
d4820 1
a4820 1
#line 4988 "configure"
d4843 1
a4843 1
if { (eval echo configure:5011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4861 1
a4861 1
echo "configure:5029: checking for main in -lnsl" >&5
d4869 1
a4869 1
#line 5037 "configure"
d4876 1
a4876 1
if { (eval echo configure:5044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4912 1
a4912 1
echo "configure:5080: checking MIT X libraries" >&5
d4918 1
a4918 1
#line 5086 "configure"
d4929 1
a4929 1
if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4953 1
a4953 1
echo "configure:5121: checking whether char is unsigned" >&5
d4960 1
a4960 1
#line 5128 "configure"
d4982 1
a4982 1
#line 5150 "configure"
d4992 1
a4992 1
if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5025 1
a5025 1
echo "configure:5193: checking for strtod" >&5
d5030 1
a5030 1
#line 5198 "configure"
d5053 1
a5053 1
if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5075 1
a5075 1
echo "configure:5243: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5084 1
a5084 1
#line 5252 "configure"
d5107 1
a5107 1
if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.21
log
@correct autoconf generation for sol64-gcc support
@
text
@d2960 1
a2960 1

d2966 1
a2966 1
			    if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
d3003 1
a3003 1
		if test "$do64bit_ok" = "yes" ; then
d3070 1
a3070 1
	echo "configure: warning: 64bit support being disabled -- don't know magic for this platform" 1>&2
@


1.65.2.22
log
@	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
	* unix/tcl.m4:      into SHLIB_LD).  Combine AIX-* and AIX-5
	* unix/configure:   branches in SC_CONFIG_CFLAGS.
	Correct gcc builds for AIX-4+ and HP-UX-11.
@
text
@d1959 1
a1959 1
	AIX-*)
d1968 1
d1976 1
d1979 2
a1980 2
	    # Check to enable 64-bit flags for compiler/linker on AIX 4+
	    if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
d1982 2
a1983 2
		    echo "configure: warning: 64bit mode not supported with GCC on $system" 1>&2
		else
d2005 1
a2005 6
		if test "$GCC" = "yes" ; then
		    SHLIB_LD="gcc -shared"
		else
		    SHLIB_LD="/bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
		fi
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix ${SHLIB_LD} ${SHLIB_LD_FLAGS}"
d2012 20
d2039 15
d2067 1
a2067 1
echo "configure:2036: checking for gettimeofday in -lbsd" >&5
d2075 1
a2075 1
#line 2044 "configure"
d2086 1
a2086 1
if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2129 1
a2129 1
echo "configure:2098: checking for inet_ntoa in -lbind" >&5
d2137 1
a2137 1
#line 2106 "configure"
d2148 1
a2148 1
if { (eval echo configure:2117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2214 1
a2214 1
echo "configure:2183: checking for shl_load in -ldld" >&5
d2222 1
a2222 1
#line 2191 "configure"
d2233 1
a2233 1
if { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2268 2
a2269 1
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2285 2
a2286 2
			    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
			    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2302 1
a2302 1
echo "configure:2270: checking for shl_load in -ldld" >&5
d2310 1
a2310 1
#line 2278 "configure"
d2321 1
a2321 1
if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2445 1
a2445 1
echo "configure:2413: checking for dld.h" >&5
d2450 1
a2450 1
#line 2418 "configure"
d2455 1
a2455 1
{ (eval echo configure:2423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2519 1
a2519 1
echo "configure:2487: checking for dld.h" >&5
d2524 1
a2524 1
#line 2492 "configure"
d2529 1
a2529 1
{ (eval echo configure:2497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2585 1
a2585 1
echo "configure:2553: checking for dlfcn.h" >&5
d2590 1
a2590 1
#line 2558 "configure"
d2595 1
a2595 1
{ (eval echo configure:2563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2622 1
a2622 1
echo "configure:2590: checking for ELF" >&5
d2624 1
a2624 1
#line 2592 "configure"
d2676 1
a2676 1
echo "configure:2644: checking for ELF" >&5
d2678 1
a2678 1
#line 2646 "configure"
d2973 1
d3043 1
a3043 1
echo "configure:3010: checking for ld accepts -Bexport flag" >&5
d3046 1
a3046 1
#line 3013 "configure"
d3053 1
a3053 1
if { (eval echo configure:3020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3094 1
a3094 1
echo "configure:3061: checking sys/exec.h" >&5
d3096 1
a3096 1
#line 3063 "configure"
d3114 1
a3114 1
if { (eval echo configure:3081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3132 1
a3132 1
echo "configure:3099: checking a.out.h" >&5
d3134 1
a3134 1
#line 3101 "configure"
d3152 1
a3152 1
if { (eval echo configure:3119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3170 1
a3170 1
echo "configure:3137: checking sys/exec_aout.h" >&5
d3172 1
a3172 1
#line 3139 "configure"
d3190 1
a3190 1
if { (eval echo configure:3157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3282 1
a3282 1
        MAKE_LIB='${SHLIB_LD} -o $@@ ${OBJS} ${SHLIB_LD_LIBS} ${TCL_SHLIB_LD_EXTRAS} ${TK_SHLIB_LD_EXTRAS} ${LD_SEARCH_FLAGS}'
d3330 1
d3341 1
a3341 1
echo "configure:3307: checking for build with symbols" >&5
d3402 1
a3402 1
echo "configure:3368: checking for required early compiler flags" >&5
d3409 1
a3409 1
#line 3375 "configure"
d3416 1
a3416 1
if { (eval echo configure:3382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3424 1
a3424 1
#line 3390 "configure"
d3432 1
a3432 1
if { (eval echo configure:3398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3458 1
a3458 1
#line 3424 "configure"
d3465 1
a3465 1
if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3473 1
a3473 1
#line 3439 "configure"
d3481 1
a3481 1
if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3510 1
a3510 1
echo "configure:3476: checking for 64-bit integer type" >&5
d3518 1
a3518 1
#line 3484 "configure"
d3525 1
a3525 1
if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3539 1
a3539 1
#line 3505 "configure"
d3548 1
a3548 1
if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3573 1
a3573 1
echo "configure:3539: checking for struct dirent64" >&5
d3579 1
a3579 1
#line 3545 "configure"
d3587 1
a3587 1
if { (eval echo configure:3553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3608 1
a3608 1
echo "configure:3574: checking for struct stat64" >&5
d3614 1
a3614 1
#line 3580 "configure"
d3622 1
a3622 1
if { (eval echo configure:3588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3643 1
a3643 1
echo "configure:3609: checking for off64_t" >&5
d3649 1
a3649 1
#line 3615 "configure"
d3657 1
a3657 1
if { (eval echo configure:3623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3672 1
a3672 1
echo "configure:3638: checking for $ac_func" >&5
d3677 1
a3677 1
#line 3643 "configure"
d3700 1
a3700 1
if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3763 1
a3763 1
echo "configure:3729: checking for sin" >&5
d3768 1
a3768 1
#line 3734 "configure"
d3791 1
a3791 1
if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3812 1
a3812 1
echo "configure:3778: checking for main in -lieee" >&5
d3820 1
a3820 1
#line 3786 "configure"
d3827 1
a3827 1
if { (eval echo configure:3793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3858 1
a3858 1
echo "configure:3824: checking for gettimeofday in -lbsd" >&5
d3866 1
a3866 1
#line 3832 "configure"
d3877 1
a3877 1
if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3908 1
a3908 1
echo "configure:3874: checking stdlib.h" >&5
d3910 1
a3910 1
#line 3876 "configure"
d3925 1
a3925 1
#line 3891 "configure"
d3939 1
a3939 1
#line 3905 "configure"
d3971 1
a3971 1
echo "configure:3937: checking fd_set and sys/select" >&5
d3973 1
a3973 1
#line 3939 "configure"
d3980 1
a3980 1
if { (eval echo configure:3946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3992 1
a3992 1
#line 3958 "configure"
d4024 1
a4024 1
echo "configure:3990: checking for ANSI C header files" >&5
d4029 1
a4029 1
#line 3995 "configure"
d4037 1
a4037 1
{ (eval echo configure:4003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4054 1
a4054 1
#line 4020 "configure"
d4072 1
a4072 1
#line 4038 "configure"
d4093 1
a4093 1
#line 4059 "configure"
d4104 1
a4104 1
if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4128 1
a4128 1
echo "configure:4094: checking for mode_t" >&5
d4133 1
a4133 1
#line 4099 "configure"
d4161 1
a4161 1
echo "configure:4127: checking for pid_t" >&5
d4166 1
a4166 1
#line 4132 "configure"
d4194 1
a4194 1
echo "configure:4160: checking for size_t" >&5
d4199 1
a4199 1
#line 4165 "configure"
d4227 1
a4227 1
echo "configure:4193: checking for uid_t in sys/types.h" >&5
d4232 1
a4232 1
#line 4198 "configure"
d4269 1
a4269 1
echo "configure:4235: checking for $ac_hdr" >&5
d4274 1
a4274 1
#line 4240 "configure"
d4279 1
a4279 1
{ (eval echo configure:4245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4306 1
a4306 1
echo "configure:4272: checking whether time.h and sys/time.h may both be included" >&5
d4311 1
a4311 1
#line 4277 "configure"
d4320 1
a4320 1
if { (eval echo configure:4286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4346 1
a4346 1
echo "configure:4312: checking pw_gecos in struct pwd" >&5
d4348 1
a4348 1
#line 4314 "configure"
d4355 1
a4355 1
if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4388 1
a4388 1
echo "configure:4354: checking for X" >&5
d4450 1
a4450 1
#line 4416 "configure"
d4455 1
a4455 1
{ (eval echo configure:4421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4524 1
a4524 1
#line 4490 "configure"
d4531 1
a4531 1
if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4621 1
a4621 1
#line 4587 "configure"
d4626 1
a4626 1
{ (eval echo configure:4592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4646 1
a4646 1
echo "configure:4612: checking for X11 header files" >&5
d4649 1
a4649 1
#line 4615 "configure"
d4654 1
a4654 1
{ (eval echo configure:4620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4690 1
a4690 1
echo "configure:4656: checking for X11 libraries" >&5
d4710 1
a4710 1
echo "configure:4676: checking for XCreateWindow in -lXwindow" >&5
d4718 1
a4718 1
#line 4684 "configure"
d4729 1
a4729 1
if { (eval echo configure:4695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4803 1
a4803 1
echo "configure:4769: checking for main in -lXbsd" >&5
d4811 1
a4811 1
#line 4777 "configure"
d4818 1
a4818 1
if { (eval echo configure:4784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4841 1
a4841 1
echo "configure:4807: checking for connect" >&5
d4846 1
a4846 1
#line 4812 "configure"
d4869 1
a4869 1
if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4891 1
a4891 1
echo "configure:4857: checking for main in -lsocket" >&5
d4899 1
a4899 1
#line 4865 "configure"
d4906 1
a4906 1
if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4932 1
a4932 1
echo "configure:4898: checking for accept" >&5
d4937 1
a4937 1
#line 4903 "configure"
d4960 1
a4960 1
if { (eval echo configure:4926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4982 1
a4982 1
echo "configure:4948: checking for gethostbyname" >&5
d4987 1
a4987 1
#line 4953 "configure"
d5010 1
a5010 1
if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5028 1
a5028 1
echo "configure:4994: checking for main in -lnsl" >&5
d5036 1
a5036 1
#line 5002 "configure"
d5043 1
a5043 1
if { (eval echo configure:5009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5079 1
a5079 1
echo "configure:5045: checking MIT X libraries" >&5
d5085 1
a5085 1
#line 5051 "configure"
d5096 1
a5096 1
if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5120 1
a5120 1
echo "configure:5086: checking whether char is unsigned" >&5
d5127 1
a5127 1
#line 5093 "configure"
d5149 1
a5149 1
#line 5115 "configure"
d5159 1
a5159 1
if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5192 1
a5192 1
echo "configure:5158: checking for strtod" >&5
d5197 1
a5197 1
#line 5163 "configure"
d5220 1
a5220 1
if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5242 1
a5242 1
echo "configure:5208: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5251 1
a5251 1
#line 5217 "configure"
d5274 1
a5274 1
if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5578 1
@


1.65.2.23
log
@Updated for OpenBSD and regenerated the configure script
@
text
@d2635 11
a2645 33
	    case `arch -s` in
	    m88k|vax)
		SHLIB_CFLAGS=""
		SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r"
		SHLIB_LD_LIBS='${LIBS}'
		SHLIB_SUFFIX=".a"
		DL_OBJS="tclLoadAout.o"
		DL_LIBS=""
		LDFLAGS=""
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
		;;
	    *)
		# OpenBSD/SPARC[64] needs -fPIC, -fpic will not do.
		case `machine` in
		sparc|sparc64)
		    SHLIB_CFLAGS="-fPIC";;
	        *)
		    SHLIB_CFLAGS="-fpic";;
	        esac
		SHLIB_LD="${CC} -shared ${SHLIB_CFLAGS}"
		SHLIB_LD_LIBS=""
		SHLIB_SUFFIX=".so"
		DL_OBJS="tclLoadDl.o"
		DL_LIBS=""
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
		echo $ac_n "checking for ELF""... $ac_c" 1>&6
echo "configure:2666: checking for ELF" >&5
		cat > conftest.$ac_ext <<EOF
#line 2668 "configure"
d2651 1
a2651 1
	        
d2657 1
a2657 1
		     LDFLAGS=-Wl,-export-dynamic 
d2661 2
a2662 2
		    LDFLAGS=""
	        
a2665 2
		;;
	    esac
d3009 1
a3009 1
echo "configure:3034: checking for ld accepts -Bexport flag" >&5
d3012 1
a3012 1
#line 3037 "configure"
d3019 1
a3019 1
if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3060 1
a3060 1
echo "configure:3085: checking sys/exec.h" >&5
d3062 1
a3062 1
#line 3087 "configure"
d3080 1
a3080 1
if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3098 1
a3098 1
echo "configure:3123: checking a.out.h" >&5
d3100 1
a3100 1
#line 3125 "configure"
d3118 1
a3118 1
if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3136 1
a3136 1
echo "configure:3161: checking sys/exec_aout.h" >&5
d3138 1
a3138 1
#line 3163 "configure"
d3156 1
a3156 1
if { (eval echo configure:3181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3306 1
a3306 1
echo "configure:3331: checking for build with symbols" >&5
d3367 1
a3367 1
echo "configure:3392: checking for required early compiler flags" >&5
d3374 1
a3374 1
#line 3399 "configure"
d3381 1
a3381 1
if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3389 1
a3389 1
#line 3414 "configure"
d3397 1
a3397 1
if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3423 1
a3423 1
#line 3448 "configure"
d3430 1
a3430 1
if { (eval echo configure:3455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3438 1
a3438 1
#line 3463 "configure"
d3446 1
a3446 1
if { (eval echo configure:3471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3475 1
a3475 1
echo "configure:3500: checking for 64-bit integer type" >&5
d3483 1
a3483 1
#line 3508 "configure"
d3490 1
a3490 1
if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3504 1
a3504 1
#line 3529 "configure"
d3513 1
a3513 1
if { (eval echo configure:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3538 1
a3538 1
echo "configure:3563: checking for struct dirent64" >&5
d3544 1
a3544 1
#line 3569 "configure"
d3552 1
a3552 1
if { (eval echo configure:3577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3573 1
a3573 1
echo "configure:3598: checking for struct stat64" >&5
d3579 1
a3579 1
#line 3604 "configure"
d3587 1
a3587 1
if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3608 1
a3608 1
echo "configure:3633: checking for off64_t" >&5
d3614 1
a3614 1
#line 3639 "configure"
d3622 1
a3622 1
if { (eval echo configure:3647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3637 1
a3637 1
echo "configure:3662: checking for $ac_func" >&5
d3642 1
a3642 1
#line 3667 "configure"
d3665 1
a3665 1
if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3728 1
a3728 1
echo "configure:3753: checking for sin" >&5
d3733 1
a3733 1
#line 3758 "configure"
d3756 1
a3756 1
if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3777 1
a3777 1
echo "configure:3802: checking for main in -lieee" >&5
d3785 1
a3785 1
#line 3810 "configure"
d3792 1
a3792 1
if { (eval echo configure:3817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3823 1
a3823 1
echo "configure:3848: checking for gettimeofday in -lbsd" >&5
d3831 1
a3831 1
#line 3856 "configure"
d3842 1
a3842 1
if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3873 1
a3873 1
echo "configure:3898: checking stdlib.h" >&5
d3875 1
a3875 1
#line 3900 "configure"
d3890 1
a3890 1
#line 3915 "configure"
d3904 1
a3904 1
#line 3929 "configure"
d3936 1
a3936 1
echo "configure:3961: checking fd_set and sys/select" >&5
d3938 1
a3938 1
#line 3963 "configure"
d3945 1
a3945 1
if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3957 1
a3957 1
#line 3982 "configure"
d3989 1
a3989 1
echo "configure:4014: checking for ANSI C header files" >&5
d3994 1
a3994 1
#line 4019 "configure"
d4002 1
a4002 1
{ (eval echo configure:4027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4019 1
a4019 1
#line 4044 "configure"
d4037 1
a4037 1
#line 4062 "configure"
d4058 1
a4058 1
#line 4083 "configure"
d4069 1
a4069 1
if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4093 1
a4093 1
echo "configure:4118: checking for mode_t" >&5
d4098 1
a4098 1
#line 4123 "configure"
d4126 1
a4126 1
echo "configure:4151: checking for pid_t" >&5
d4131 1
a4131 1
#line 4156 "configure"
d4159 1
a4159 1
echo "configure:4184: checking for size_t" >&5
d4164 1
a4164 1
#line 4189 "configure"
d4192 1
a4192 1
echo "configure:4217: checking for uid_t in sys/types.h" >&5
d4197 1
a4197 1
#line 4222 "configure"
d4234 1
a4234 1
echo "configure:4259: checking for $ac_hdr" >&5
d4239 1
a4239 1
#line 4264 "configure"
d4244 1
a4244 1
{ (eval echo configure:4269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4271 1
a4271 1
echo "configure:4296: checking whether time.h and sys/time.h may both be included" >&5
d4276 1
a4276 1
#line 4301 "configure"
d4285 1
a4285 1
if { (eval echo configure:4310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4311 1
a4311 1
echo "configure:4336: checking pw_gecos in struct pwd" >&5
d4313 1
a4313 1
#line 4338 "configure"
d4320 1
a4320 1
if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4353 1
a4353 1
echo "configure:4378: checking for X" >&5
d4415 1
a4415 1
#line 4440 "configure"
d4420 1
a4420 1
{ (eval echo configure:4445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4489 1
a4489 1
#line 4514 "configure"
d4496 1
a4496 1
if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4586 1
a4586 1
#line 4611 "configure"
d4591 1
a4591 1
{ (eval echo configure:4616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4611 1
a4611 1
echo "configure:4636: checking for X11 header files" >&5
d4614 1
a4614 1
#line 4639 "configure"
d4619 1
a4619 1
{ (eval echo configure:4644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4655 1
a4655 1
echo "configure:4680: checking for X11 libraries" >&5
d4675 1
a4675 1
echo "configure:4700: checking for XCreateWindow in -lXwindow" >&5
d4683 1
a4683 1
#line 4708 "configure"
d4694 1
a4694 1
if { (eval echo configure:4719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4768 1
a4768 1
echo "configure:4793: checking for main in -lXbsd" >&5
d4776 1
a4776 1
#line 4801 "configure"
d4783 1
a4783 1
if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4806 1
a4806 1
echo "configure:4831: checking for connect" >&5
d4811 1
a4811 1
#line 4836 "configure"
d4834 1
a4834 1
if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4856 1
a4856 1
echo "configure:4881: checking for main in -lsocket" >&5
d4864 1
a4864 1
#line 4889 "configure"
d4871 1
a4871 1
if { (eval echo configure:4896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4897 1
a4897 1
echo "configure:4922: checking for accept" >&5
d4902 1
a4902 1
#line 4927 "configure"
d4925 1
a4925 1
if { (eval echo configure:4950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4947 1
a4947 1
echo "configure:4972: checking for gethostbyname" >&5
d4952 1
a4952 1
#line 4977 "configure"
d4975 1
a4975 1
if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4993 1
a4993 1
echo "configure:5018: checking for main in -lnsl" >&5
d5001 1
a5001 1
#line 5026 "configure"
d5008 1
a5008 1
if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5044 1
a5044 1
echo "configure:5069: checking MIT X libraries" >&5
d5050 1
a5050 1
#line 5075 "configure"
d5061 1
a5061 1
if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5085 1
a5085 1
echo "configure:5110: checking whether char is unsigned" >&5
d5092 1
a5092 1
#line 5117 "configure"
d5114 1
a5114 1
#line 5139 "configure"
d5124 1
a5124 1
if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5157 1
a5157 1
echo "configure:5182: checking for strtod" >&5
d5162 1
a5162 1
#line 5187 "configure"
d5185 1
a5185 1
if { (eval echo configure:5210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5207 1
a5207 1
echo "configure:5232: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5216 1
a5216 1
#line 5241 "configure"
d5239 1
a5239 1
if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.24
log
@	* unix/tcl.m4 (Darwin): added -single_module linker flag to
	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
	* unix/configure: autoconf-2.13
@
text
@d2724 2
a2725 2
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000 -Wl,-single_module"
	    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${DYLIB_INSTALL_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000 -Wl,-single_module"
@


1.65.2.25
log
@	* macosx/tkMacOSXNotify.c: syncd with tclUnixNotfy.c changes since
	2004-06-22, added compile time check for threaded tcl core, removed
	unthreaded code paths as they are never used anyway, fixed
	TkMacOSXAlertNotifier() implementation.

	* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of
	symbols from libtclstub to avoid duplicate symbol warnings.

	* unix/tcl.m4 (Darwin): added configure checks for recently added linker
	flags -single_module and -search_paths_first to allow building with
	older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and
	not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols
	from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS
	definition for Mac OS X.
	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
	(SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output.

	* unix/configure: autoconf-2.13
@
text
@a1957 1
    PLAT_SRCS=""
d2035 1
a2035 1
echo "configure:2037: checking for gettimeofday in -lbsd" >&5
d2043 1
a2043 1
#line 2045 "configure"
d2054 1
a2054 1
if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2097 1
a2097 1
echo "configure:2099: checking for inet_ntoa in -lbind" >&5
d2105 1
a2105 1
#line 2107 "configure"
d2116 1
a2116 1
if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2182 1
a2182 1
echo "configure:2184: checking for shl_load in -ldld" >&5
d2190 1
a2190 1
#line 2192 "configure"
d2201 1
a2201 1
if { (eval echo configure:2203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2269 1
a2269 1
echo "configure:2271: checking for shl_load in -ldld" >&5
d2277 1
a2277 1
#line 2279 "configure"
d2288 1
a2288 1
if { (eval echo configure:2290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2412 1
a2412 1
echo "configure:2414: checking for dld.h" >&5
d2417 1
a2417 1
#line 2419 "configure"
d2422 1
a2422 1
{ (eval echo configure:2424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2486 1
a2486 1
echo "configure:2488: checking for dld.h" >&5
d2491 1
a2491 1
#line 2493 "configure"
d2496 1
a2496 1
{ (eval echo configure:2498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2552 1
a2552 1
echo "configure:2554: checking for dlfcn.h" >&5
d2557 1
a2557 1
#line 2559 "configure"
d2562 1
a2562 1
{ (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2589 1
a2589 1
echo "configure:2591: checking for ELF" >&5
d2591 1
a2591 1
#line 2593 "configure"
d2665 1
a2665 1
echo "configure:2667: checking for ELF" >&5
d2667 1
a2667 1
#line 2669 "configure"
a2721 1
	    CFLAGS_OPTIMIZE="-Os"
d2724 2
a2725 33
	    echo $ac_n "checking if ld accepts -single_module flag""... $ac_c" 1>&6
echo "configure:2728: checking if ld accepts -single_module flag" >&5
if eval "test \"`echo '$''{'tcl_cv_ld_single_module'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	        hold_ldflags=$LDFLAGS
	        LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
	        cat > conftest.$ac_ext <<EOF
#line 2736 "configure"
#include "confdefs.h"

int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_ld_single_module=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_ld_single_module=no
fi
rm -f conftest*
	        LDFLAGS=$hold_ldflags
fi

echo "$ac_t""$tcl_cv_ld_single_module" 1>&6
	    if test $tcl_cv_ld_single_module = yes; then
	        SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
	    fi
d2729 1
d2731 1
a2731 34
	    LDFLAGS="$LDFLAGS -prebind"
	    echo $ac_n "checking if ld accepts -search_paths_first flag""... $ac_c" 1>&6
echo "configure:2766: checking if ld accepts -search_paths_first flag" >&5
if eval "test \"`echo '$''{'tcl_cv_ld_search_paths_first'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	        hold_ldflags=$LDFLAGS
	        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
	        cat > conftest.$ac_ext <<EOF
#line 2774 "configure"
#include "confdefs.h"

int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_ld_search_paths_first=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_ld_search_paths_first=no
fi
rm -f conftest*
	        LDFLAGS=$hold_ldflags
fi

echo "$ac_t""$tcl_cv_ld_search_paths_first" 1>&6
	    if test $tcl_cv_ld_search_paths_first = yes; then
	        LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
	    fi
d2734 1
a2735 5
	    PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
	    PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
	    TCL_SHLIB_LD_EXTRAS='-compatibility_version ${VERSION} -current_version ${VERSION} -install_name ${DYLIB_INSTALL_DIR}/${TCL_LIB_FILE} -seg1addr 0xa000000'
	    TK_SHLIB_LD_EXTRAS=' -compatibility_version ${VERSION} -current_version ${VERSION} -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE}  -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | tail +3 > $$f && echo $$f)'
	    LIBS="$LIBS -framework CoreFoundation"
d2752 1
d3033 1
a3033 1
echo "configure:3102: checking for ld accepts -Bexport flag" >&5
d3036 1
a3036 1
#line 3105 "configure"
d3043 1
a3043 1
if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3084 1
a3084 1
echo "configure:3153: checking sys/exec.h" >&5
d3086 1
a3086 1
#line 3155 "configure"
d3104 1
a3104 1
if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3122 1
a3122 1
echo "configure:3191: checking a.out.h" >&5
d3124 1
a3124 1
#line 3193 "configure"
d3142 1
a3142 1
if { (eval echo configure:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3160 1
a3160 1
echo "configure:3229: checking sys/exec_aout.h" >&5
d3162 1
a3162 1
#line 3231 "configure"
d3180 1
a3180 1
if { (eval echo configure:3249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3305 1
    
d3330 1
a3330 1
echo "configure:3400: checking for build with symbols" >&5
d3391 1
a3391 1
echo "configure:3461: checking for required early compiler flags" >&5
d3398 1
a3398 1
#line 3468 "configure"
d3405 1
a3405 1
if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3413 1
a3413 1
#line 3483 "configure"
d3421 1
a3421 1
if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3447 1
a3447 1
#line 3517 "configure"
d3454 1
a3454 1
if { (eval echo configure:3524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3462 1
a3462 1
#line 3532 "configure"
d3470 1
a3470 1
if { (eval echo configure:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3499 1
a3499 1
echo "configure:3569: checking for 64-bit integer type" >&5
d3507 1
a3507 1
#line 3577 "configure"
d3514 1
a3514 1
if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3528 1
a3528 1
#line 3598 "configure"
d3537 1
a3537 1
if { (eval echo configure:3607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3562 1
a3562 1
echo "configure:3632: checking for struct dirent64" >&5
d3568 1
a3568 1
#line 3638 "configure"
d3576 1
a3576 1
if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3597 1
a3597 1
echo "configure:3667: checking for struct stat64" >&5
d3603 1
a3603 1
#line 3673 "configure"
d3611 1
a3611 1
if { (eval echo configure:3681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3631 27
d3661 1
a3661 1
echo "configure:3704: checking for $ac_func" >&5
d3666 1
a3666 1
#line 3709 "configure"
d3689 1
a3689 1
if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3712 27
	echo $ac_n "checking for off64_t""... $ac_c" 1>&6
echo "configure:3757: checking for off64_t" >&5
	if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 3763 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
off64_t offset;

; return 0; }
EOF
if { (eval echo configure:3771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_off64_t=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_off64_t=no
fi
rm -f conftest*
fi

d3752 1
a3752 1
echo "configure:3822: checking for sin" >&5
d3757 1
a3757 1
#line 3827 "configure"
d3780 1
a3780 1
if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3801 1
a3801 1
echo "configure:3871: checking for main in -lieee" >&5
d3809 1
a3809 1
#line 3879 "configure"
d3816 1
a3816 1
if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3847 1
a3847 1
echo "configure:3917: checking for gettimeofday in -lbsd" >&5
d3855 1
a3855 1
#line 3925 "configure"
d3866 1
a3866 1
if { (eval echo configure:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3897 1
a3897 1
echo "configure:3967: checking stdlib.h" >&5
d3899 1
a3899 1
#line 3969 "configure"
d3914 1
a3914 1
#line 3984 "configure"
d3928 1
a3928 1
#line 3998 "configure"
d3960 1
a3960 1
echo "configure:4030: checking fd_set and sys/select" >&5
d3962 1
a3962 1
#line 4032 "configure"
d3969 1
a3969 1
if { (eval echo configure:4039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3981 1
a3981 1
#line 4051 "configure"
d4013 1
a4013 1
echo "configure:4083: checking for ANSI C header files" >&5
d4018 1
a4018 1
#line 4088 "configure"
d4026 1
a4026 1
{ (eval echo configure:4096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4043 1
a4043 1
#line 4113 "configure"
d4061 1
a4061 1
#line 4131 "configure"
d4082 1
a4082 1
#line 4152 "configure"
d4093 1
a4093 1
if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4117 1
a4117 1
echo "configure:4187: checking for mode_t" >&5
d4122 1
a4122 1
#line 4192 "configure"
d4150 1
a4150 1
echo "configure:4220: checking for pid_t" >&5
d4155 1
a4155 1
#line 4225 "configure"
d4183 1
a4183 1
echo "configure:4253: checking for size_t" >&5
d4188 1
a4188 1
#line 4258 "configure"
d4216 1
a4216 1
echo "configure:4286: checking for uid_t in sys/types.h" >&5
d4221 1
a4221 1
#line 4291 "configure"
d4258 1
a4258 1
echo "configure:4328: checking for $ac_hdr" >&5
d4263 1
a4263 1
#line 4333 "configure"
d4268 1
a4268 1
{ (eval echo configure:4338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4295 1
a4295 1
echo "configure:4365: checking whether time.h and sys/time.h may both be included" >&5
d4300 1
a4300 1
#line 4370 "configure"
d4309 1
a4309 1
if { (eval echo configure:4379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4335 1
a4335 1
echo "configure:4405: checking pw_gecos in struct pwd" >&5
d4337 1
a4337 1
#line 4407 "configure"
d4344 1
a4344 1
if { (eval echo configure:4414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4377 1
a4377 1
echo "configure:4447: checking for X" >&5
d4439 1
a4439 1
#line 4509 "configure"
d4444 1
a4444 1
{ (eval echo configure:4514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4513 1
a4513 1
#line 4583 "configure"
d4520 1
a4520 1
if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4610 1
a4610 1
#line 4680 "configure"
d4615 1
a4615 1
{ (eval echo configure:4685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4635 1
a4635 1
echo "configure:4705: checking for X11 header files" >&5
d4638 1
a4638 1
#line 4708 "configure"
d4643 1
a4643 1
{ (eval echo configure:4713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4679 1
a4679 1
echo "configure:4749: checking for X11 libraries" >&5
d4699 1
a4699 1
echo "configure:4769: checking for XCreateWindow in -lXwindow" >&5
d4707 1
a4707 1
#line 4777 "configure"
d4718 1
a4718 1
if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4792 1
a4792 1
echo "configure:4862: checking for main in -lXbsd" >&5
d4800 1
a4800 1
#line 4870 "configure"
d4807 1
a4807 1
if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4830 1
a4830 1
echo "configure:4900: checking for connect" >&5
d4835 1
a4835 1
#line 4905 "configure"
d4858 1
a4858 1
if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4880 1
a4880 1
echo "configure:4950: checking for main in -lsocket" >&5
d4888 1
a4888 1
#line 4958 "configure"
d4895 1
a4895 1
if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4921 1
a4921 1
echo "configure:4991: checking for accept" >&5
d4926 1
a4926 1
#line 4996 "configure"
d4949 1
a4949 1
if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4971 1
a4971 1
echo "configure:5041: checking for gethostbyname" >&5
d4976 1
a4976 1
#line 5046 "configure"
d4999 1
a4999 1
if { (eval echo configure:5069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5017 1
a5017 1
echo "configure:5087: checking for main in -lnsl" >&5
d5025 1
a5025 1
#line 5095 "configure"
d5032 1
a5032 1
if { (eval echo configure:5102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5068 1
a5068 1
echo "configure:5138: checking MIT X libraries" >&5
d5074 1
a5074 1
#line 5144 "configure"
d5085 1
a5085 1
if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5109 1
a5109 1
echo "configure:5179: checking whether char is unsigned" >&5
d5116 1
a5116 1
#line 5186 "configure"
d5138 1
a5138 1
#line 5208 "configure"
d5148 1
a5148 1
if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5181 1
a5181 1
echo "configure:5251: checking for strtod" >&5
d5186 1
a5186 1
#line 5256 "configure"
d5209 1
a5209 1
if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5231 1
a5231 1
echo "configure:5301: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5240 1
a5240 1
#line 5310 "configure"
d5263 1
a5263 1
if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
a5555 1
s%@@PLAT_SRCS@@%$PLAT_SRCS%g
@


1.65.2.26
log
@	* unix/configure: regen
	* unix/configure.in: add AC_C_BIGENDIAN check
	* unix/tcl.m4: correct Solaris 10 (5.10) check and add support for
	x86_64 Solaris cc builds.
@
text
@d2971 1
a2971 2
	SunOS-5.[0-6])
	    # Careful to not let 5.10+ fall into this case
d3005 1
a3044 8
		elif test "$arch" = "amd64 i386" ; then
		    if test "$GCC" = "yes" ; then
			echo "configure: warning: 64bit mode not supported with GCC on $system" 1>&2
		    else
			do64bit_ok=yes
			CFLAGS="$CFLAGS -xarch=amd64"
			LDFLAGS="$LDFLAGS -xarch=amd64"
		    fi
d3046 1
a3046 1
		    echo "configure: warning: 64bit mode not supported for $arch" 1>&2
d3101 1
a3101 1
echo "configure:3110: checking for ld accepts -Bexport flag" >&5
d3104 1
a3104 1
#line 3113 "configure"
d3111 1
a3111 1
if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3152 1
a3152 1
echo "configure:3161: checking sys/exec.h" >&5
d3154 1
a3154 1
#line 3163 "configure"
d3172 1
a3172 1
if { (eval echo configure:3181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3190 1
a3190 1
echo "configure:3199: checking a.out.h" >&5
d3192 1
a3192 1
#line 3201 "configure"
d3210 1
a3210 1
if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3228 1
a3228 1
echo "configure:3237: checking sys/exec_aout.h" >&5
d3230 1
a3230 1
#line 3239 "configure"
d3248 1
a3248 1
if { (eval echo configure:3257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3399 1
a3399 1
echo "configure:3408: checking for build with symbols" >&5
d3460 1
a3460 1
echo "configure:3469: checking for required early compiler flags" >&5
d3467 1
a3467 1
#line 3476 "configure"
d3474 1
a3474 1
if { (eval echo configure:3483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3482 1
a3482 1
#line 3491 "configure"
d3490 1
a3490 1
if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3516 1
a3516 1
#line 3525 "configure"
d3523 1
a3523 1
if { (eval echo configure:3532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3531 1
a3531 1
#line 3540 "configure"
d3539 1
a3539 1
if { (eval echo configure:3548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3568 1
a3568 1
echo "configure:3577: checking for 64-bit integer type" >&5
d3576 1
a3576 1
#line 3585 "configure"
d3583 1
a3583 1
if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3597 1
a3597 1
#line 3606 "configure"
d3606 1
a3606 1
if { (eval echo configure:3615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3631 1
a3631 1
echo "configure:3640: checking for struct dirent64" >&5
d3637 1
a3637 1
#line 3646 "configure"
d3645 1
a3645 1
if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3666 1
a3666 1
echo "configure:3675: checking for struct stat64" >&5
d3672 1
a3672 1
#line 3681 "configure"
d3680 1
a3680 1
if { (eval echo configure:3689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3703 1
a3703 1
echo "configure:3712: checking for $ac_func" >&5
d3708 1
a3708 1
#line 3717 "configure"
d3731 1
a3731 1
if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3756 1
a3756 1
echo "configure:3765: checking for off64_t" >&5
d3762 1
a3762 1
#line 3771 "configure"
d3770 1
a3770 1
if { (eval echo configure:3779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3794 95
#--------------------------------------------------------------------
#	Check endianness because we can optimize some operations
#--------------------------------------------------------------------

echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:3809: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 3816 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
EOF
if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 3831 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
EOF
if { (eval echo configure:3842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_bigendian=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_c_bigendian=no
fi
rm -f conftest*
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
if test $ac_cv_c_bigendian = unknown; then
if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 3862 "configure"
#include "confdefs.h"
main () {
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_c_bigendian=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_c_bigendian=yes
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = yes; then
  cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF

fi


d3821 1
a3821 1
echo "configure:3925: checking for sin" >&5
d3826 1
a3826 1
#line 3930 "configure"
d3849 1
a3849 1
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3870 1
a3870 1
echo "configure:3974: checking for main in -lieee" >&5
d3878 1
a3878 1
#line 3982 "configure"
d3885 1
a3885 1
if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3916 1
a3916 1
echo "configure:4020: checking for gettimeofday in -lbsd" >&5
d3924 1
a3924 1
#line 4028 "configure"
d3935 1
a3935 1
if { (eval echo configure:4039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3966 1
a3966 1
echo "configure:4070: checking stdlib.h" >&5
d3968 1
a3968 1
#line 4072 "configure"
d3983 1
a3983 1
#line 4087 "configure"
d3997 1
a3997 1
#line 4101 "configure"
d4029 1
a4029 1
echo "configure:4133: checking fd_set and sys/select" >&5
d4031 1
a4031 1
#line 4135 "configure"
d4038 1
a4038 1
if { (eval echo configure:4142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4050 1
a4050 1
#line 4154 "configure"
d4082 1
a4082 1
echo "configure:4186: checking for ANSI C header files" >&5
d4087 1
a4087 1
#line 4191 "configure"
d4095 1
a4095 1
{ (eval echo configure:4199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4112 1
a4112 1
#line 4216 "configure"
d4130 1
a4130 1
#line 4234 "configure"
d4151 1
a4151 1
#line 4255 "configure"
d4162 1
a4162 1
if { (eval echo configure:4266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4186 1
a4186 1
echo "configure:4290: checking for mode_t" >&5
d4191 1
a4191 1
#line 4295 "configure"
d4219 1
a4219 1
echo "configure:4323: checking for pid_t" >&5
d4224 1
a4224 1
#line 4328 "configure"
d4252 1
a4252 1
echo "configure:4356: checking for size_t" >&5
d4257 1
a4257 1
#line 4361 "configure"
d4285 1
a4285 1
echo "configure:4389: checking for uid_t in sys/types.h" >&5
d4290 1
a4290 1
#line 4394 "configure"
d4327 1
a4327 1
echo "configure:4431: checking for $ac_hdr" >&5
d4332 1
a4332 1
#line 4436 "configure"
d4337 1
a4337 1
{ (eval echo configure:4441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4364 1
a4364 1
echo "configure:4468: checking whether time.h and sys/time.h may both be included" >&5
d4369 1
a4369 1
#line 4473 "configure"
d4378 1
a4378 1
if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4404 1
a4404 1
echo "configure:4508: checking pw_gecos in struct pwd" >&5
d4406 1
a4406 1
#line 4510 "configure"
d4413 1
a4413 1
if { (eval echo configure:4517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4446 1
a4446 1
echo "configure:4550: checking for X" >&5
d4508 1
a4508 1
#line 4612 "configure"
d4513 1
a4513 1
{ (eval echo configure:4617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4582 1
a4582 1
#line 4686 "configure"
d4589 1
a4589 1
if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4679 1
a4679 1
#line 4783 "configure"
d4684 1
a4684 1
{ (eval echo configure:4788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4704 1
a4704 1
echo "configure:4808: checking for X11 header files" >&5
d4707 1
a4707 1
#line 4811 "configure"
d4712 1
a4712 1
{ (eval echo configure:4816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4748 1
a4748 1
echo "configure:4852: checking for X11 libraries" >&5
d4768 1
a4768 1
echo "configure:4872: checking for XCreateWindow in -lXwindow" >&5
d4776 1
a4776 1
#line 4880 "configure"
d4787 1
a4787 1
if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4861 1
a4861 1
echo "configure:4965: checking for main in -lXbsd" >&5
d4869 1
a4869 1
#line 4973 "configure"
d4876 1
a4876 1
if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4899 1
a4899 1
echo "configure:5003: checking for connect" >&5
d4904 1
a4904 1
#line 5008 "configure"
d4927 1
a4927 1
if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4949 1
a4949 1
echo "configure:5053: checking for main in -lsocket" >&5
d4957 1
a4957 1
#line 5061 "configure"
d4964 1
a4964 1
if { (eval echo configure:5068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4990 1
a4990 1
echo "configure:5094: checking for accept" >&5
d4995 1
a4995 1
#line 5099 "configure"
d5018 1
a5018 1
if { (eval echo configure:5122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5040 1
a5040 1
echo "configure:5144: checking for gethostbyname" >&5
d5045 1
a5045 1
#line 5149 "configure"
d5068 1
a5068 1
if { (eval echo configure:5172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5086 1
a5086 1
echo "configure:5190: checking for main in -lnsl" >&5
d5094 1
a5094 1
#line 5198 "configure"
d5101 1
a5101 1
if { (eval echo configure:5205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5137 1
a5137 1
echo "configure:5241: checking MIT X libraries" >&5
d5143 1
a5143 1
#line 5247 "configure"
d5154 1
a5154 1
if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5178 1
a5178 1
echo "configure:5282: checking whether char is unsigned" >&5
d5185 1
a5185 1
#line 5289 "configure"
d5207 1
a5207 1
#line 5311 "configure"
d5217 1
a5217 1
if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5250 1
a5250 1
echo "configure:5354: checking for strtod" >&5
d5255 1
a5255 1
#line 5359 "configure"
d5278 1
a5278 1
if { (eval echo configure:5382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5300 1
a5300 1
echo "configure:5404: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5309 1
a5309 1
#line 5413 "configure"
d5332 1
a5332 1
if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.27
log
@	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on
	CFRunLoop allows replacement of the custom TkAqua notifier by a
	standard tcl event source. Removes requirement of threaded tcl core
	for TkAqua, allows to stub-link TkAqua against Tcl by removing use of
	the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052]

	* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with
	USE_TCL_STUBS and link against libtclstub instead of Tcl.framework,
	unexport libtclstub symbols from Tk to avoid duplicate symbol warnings
	when linking with both Tcl and Tk, fixes for gcc4.0 warnings.

	* macosx/tkMacOSXBitmap.c:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXFont.c:
	* macosx/tkMacOSXHLEvents.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyboard.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXWm.c:
	* macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.

	* unix/tcl.m4: sync with tcl
	* unix/configure: autoconf-2.13
@
text
@a33 2
  --enable-corefoundation use CoreFoundation API [--enable-corefoundation]"
ac_help="$ac_help
d579 1
a579 1
echo "configure:582: checking for Tcl configuration" >&5
d660 1
a660 1
echo "configure:663: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d737 1
a737 1
echo "configure:740: checking whether to use symlinks for manpages" >&5
d749 1
a749 1
echo "configure:752: checking whether to compress the manpages" >&5
d762 1
a762 1
echo "configure:765: checking for compressed file suffix" >&5
d772 1
a772 1
echo "configure:775: checking whether to add a package name suffix for the manpages" >&5
d800 1
a800 1
echo "configure:803: checking for $ac_word" >&5
d830 1
a830 1
echo "configure:833: checking for $ac_word" >&5
d881 1
a881 1
echo "configure:884: checking for $ac_word" >&5
d913 1
a913 1
echo "configure:916: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d924 1
a924 1
#line 927 "configure"
d929 1
a929 1
if { (eval echo configure:932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d955 1
a955 1
echo "configure:958: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d960 1
a960 1
echo "configure:963: checking whether we are using GNU C" >&5
d969 1
a969 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d988 1
a988 1
echo "configure:991: checking whether ${CC-cc} accepts -g" >&5
d1021 1
a1021 1
echo "configure:1024: checking how to run the C preprocessor" >&5
d1036 1
a1036 1
#line 1039 "configure"
d1042 1
a1042 1
{ (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1053 1
a1053 1
#line 1056 "configure"
d1059 1
a1059 1
{ (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1070 1
a1070 1
#line 1073 "configure"
d1076 1
a1076 1
{ (eval echo configure:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1104 1
a1104 1
echo "configure:1107: checking for $ac_hdr" >&5
d1109 1
a1109 1
#line 1112 "configure"
d1114 1
a1114 1
{ (eval echo configure:1117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1149 1
a1149 1
echo "configure:1152: checking if the compiler understands -pipe" >&5
d1153 1
a1153 1
#line 1156 "configure"
d1160 1
a1160 1
if { (eval echo configure:1163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1180 1
a1180 1
echo "configure:1183: checking for building with threads" >&5
d1222 1
a1222 1
echo "configure:1225: checking for pthread_mutex_init in -lpthread" >&5
d1230 1
a1230 1
#line 1233 "configure"
d1241 1
a1241 1
if { (eval echo configure:1244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1269 1
a1269 1
echo "configure:1272: checking for __pthread_mutex_init in -lpthread" >&5
d1277 1
a1277 1
#line 1280 "configure"
d1288 1
a1288 1
if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1316 1
a1316 1
echo "configure:1319: checking for pthread_mutex_init in -lpthreads" >&5
d1324 1
a1324 1
#line 1327 "configure"
d1335 1
a1335 1
if { (eval echo configure:1338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1361 1
a1361 1
echo "configure:1364: checking for pthread_mutex_init in -lc" >&5
d1369 1
a1369 1
#line 1372 "configure"
d1380 1
a1380 1
if { (eval echo configure:1383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1403 1
a1403 1
echo "configure:1406: checking for pthread_mutex_init in -lc_r" >&5
d1411 1
a1411 1
#line 1414 "configure"
d1422 1
a1422 1
if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1462 1
a1462 1
echo "configure:1465: checking for $ac_func" >&5
d1467 1
a1467 1
#line 1470 "configure"
d1490 1
a1490 1
if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1517 1
a1517 1
echo "configure:1520: checking for $ac_func" >&5
d1522 1
a1522 1
#line 1525 "configure"
d1545 1
a1545 1
if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1573 1
a1573 1
echo "configure:1576: checking for $ac_func" >&5
d1578 1
a1578 1
#line 1581 "configure"
d1601 1
a1601 1
if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1627 1
a1627 1
echo "configure:1630: checking how many args readdir_r takes" >&5
d1634 1
a1634 1
#line 1637 "configure"
d1649 1
a1649 1
if { (eval echo configure:1652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1665 1
a1665 1
#line 1668 "configure"
d1680 1
a1680 1
if { (eval echo configure:1683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1724 1
a1724 1
echo "configure:1727: checking how to build libraries" >&5
d1757 1
a1757 1
echo "configure:1760: checking for $ac_word" >&5
d1789 1
a1789 1
echo "configure:1792: checking if 64bit support is requested" >&5
d1809 1
a1809 1
echo "configure:1812: checking if 64bit Sparc VIS support is requested" >&5
d1833 1
a1833 1
echo "configure:1836: checking system version (for dynamic loading)" >&5
d1859 1
a1859 1
echo "configure:1862: checking for dlopen in -ldl" >&5
d1867 1
a1867 1
#line 1870 "configure"
d1878 1
a1878 1
if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1926 1
a1926 1
echo "configure:1929: checking for $ac_word" >&5
d2036 1
a2036 1
echo "configure:2039: checking for gettimeofday in -lbsd" >&5
d2044 1
a2044 1
#line 2047 "configure"
d2055 1
a2055 1
if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2098 1
a2098 1
echo "configure:2101: checking for inet_ntoa in -lbind" >&5
d2106 1
a2106 1
#line 2109 "configure"
d2117 1
a2117 1
if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2183 1
a2183 1
echo "configure:2186: checking for shl_load in -ldld" >&5
d2191 1
a2191 1
#line 2194 "configure"
d2202 1
a2202 1
if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2270 1
a2270 1
echo "configure:2273: checking for shl_load in -ldld" >&5
d2278 1
a2278 1
#line 2281 "configure"
d2289 1
a2289 1
if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2413 1
a2413 1
echo "configure:2416: checking for dld.h" >&5
d2418 1
a2418 1
#line 2421 "configure"
d2423 1
a2423 1
{ (eval echo configure:2426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2487 1
a2487 1
echo "configure:2490: checking for dld.h" >&5
d2492 1
a2492 1
#line 2495 "configure"
d2497 1
a2497 1
{ (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2553 1
a2553 1
echo "configure:2556: checking for dlfcn.h" >&5
d2558 1
a2558 1
#line 2561 "configure"
d2563 1
a2563 1
{ (eval echo configure:2566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2590 1
a2590 1
echo "configure:2593: checking for ELF" >&5
d2592 1
a2592 1
#line 2595 "configure"
d2666 1
a2666 1
echo "configure:2669: checking for ELF" >&5
d2668 1
a2668 1
#line 2671 "configure"
d2727 1
a2727 1
echo "configure:2730: checking if ld accepts -single_module flag" >&5
d2735 1
a2735 1
#line 2738 "configure"
d2742 1
a2742 1
if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2765 1
a2765 1
echo "configure:2768: checking if ld accepts -search_paths_first flag" >&5
d2773 1
a2773 1
#line 2776 "configure"
d2780 1
a2780 1
if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2804 3
a2806 83
            echo $ac_n "checking whether to use CoreFoundation""... $ac_c" 1>&6
echo "configure:2808: checking whether to use CoreFoundation" >&5
            # Check whether --enable-corefoundation or --disable-corefoundation was given.
if test "${enable_corefoundation+set}" = set; then
  enableval="$enable_corefoundation"
  tcl_corefoundation=$enableval
else
  tcl_corefoundation=yes
fi

            echo "$ac_t""$tcl_corefoundation" 1>&6
            if test $tcl_corefoundation = yes; then
                echo $ac_n "checking for CoreFoundation.framework""... $ac_c" 1>&6
echo "configure:2820: checking for CoreFoundation.framework" >&5
if eval "test \"`echo '$''{'tcl_cv_lib_corefoundation'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
                    hold_libs=$LIBS
                    LIBS="$LIBS -framework CoreFoundation"
                    cat > conftest.$ac_ext <<EOF
#line 2828 "configure"
#include "confdefs.h"
#include <CoreFoundation/CoreFoundation.h>
int main() {
CFBundleRef b = CFBundleGetMainBundle();
; return 0; }
EOF
if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_lib_corefoundation=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_lib_corefoundation=no
fi
rm -f conftest*
                    LIBS=$hold_libs
fi

echo "$ac_t""$tcl_cv_lib_corefoundation" 1>&6
                if test $tcl_cv_lib_corefoundation = yes; then
                    LIBS="$LIBS -framework CoreFoundation"
                    cat >> confdefs.h <<\EOF
#define HAVE_COREFOUNDATION 1
EOF

                fi
	    fi
	    for ac_hdr in libkern/OSAtomic.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:2861: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2866 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
a2807 60
 
else
  echo "$ac_t""no" 1>&6
fi
done

	    for ac_func in OSSpinLockLock
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2900: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2905 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done
d2810 1
a2810 1
#define MAC_OSX_TCL 1
a2820 54
	    # prior to Darwin 7, realpath is not threadsafe, so don't
	    # use it when threads are enabled, c.f. bug # 711232:
	    echo $ac_n "checking for realpath""... $ac_c" 1>&6
echo "configure:2967: checking for realpath" >&5
if eval "test \"`echo '$''{'ac_cv_func_realpath'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2972 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char realpath(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char realpath();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_realpath) || defined (__stub___realpath)
choke me
#else
realpath();
#endif

; return 0; }
EOF
if { (eval echo configure:2995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_realpath=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_realpath=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'realpath`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  :
else
  echo "$ac_t""no" 1>&6
fi

	    if test "$ac_cv_func_realpath" = yes -a "${TCL_THREADS}" = 1 \
	            -a `uname -r | awk -F. '{print $1}'` -lt 7 ; then
	        ac_cv_func_realpath=no
	    fi
d3109 1
a3109 1
echo "configure:3306: checking for ld accepts -Bexport flag" >&5
d3112 1
a3112 1
#line 3309 "configure"
d3119 1
a3119 1
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3160 1
a3160 1
echo "configure:3357: checking sys/exec.h" >&5
d3162 1
a3162 1
#line 3359 "configure"
d3180 1
a3180 1
if { (eval echo configure:3377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3198 1
a3198 1
echo "configure:3395: checking a.out.h" >&5
d3200 1
a3200 1
#line 3397 "configure"
d3218 1
a3218 1
if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3236 1
a3236 1
echo "configure:3433: checking sys/exec_aout.h" >&5
d3238 1
a3238 1
#line 3435 "configure"
d3256 1
a3256 1
if { (eval echo configure:3453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3407 1
a3407 1
echo "configure:3604: checking for build with symbols" >&5
d3468 1
a3468 1
echo "configure:3665: checking for required early compiler flags" >&5
d3475 1
a3475 1
#line 3672 "configure"
d3482 1
a3482 1
if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3490 1
a3490 1
#line 3687 "configure"
d3498 1
a3498 1
if { (eval echo configure:3695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3524 1
a3524 1
#line 3721 "configure"
d3531 1
a3531 1
if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3539 1
a3539 1
#line 3736 "configure"
d3547 1
a3547 1
if { (eval echo configure:3744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3576 1
a3576 1
echo "configure:3773: checking for 64-bit integer type" >&5
d3584 1
a3584 1
#line 3781 "configure"
d3591 1
a3591 1
if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3605 1
a3605 1
#line 3802 "configure"
d3614 1
a3614 1
if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3639 1
a3639 1
echo "configure:3836: checking for struct dirent64" >&5
d3645 1
a3645 1
#line 3842 "configure"
d3653 1
a3653 1
if { (eval echo configure:3850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3674 1
a3674 1
echo "configure:3871: checking for struct stat64" >&5
d3680 1
a3680 1
#line 3877 "configure"
d3688 1
a3688 1
if { (eval echo configure:3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3711 1
a3711 1
echo "configure:3908: checking for $ac_func" >&5
d3716 1
a3716 1
#line 3913 "configure"
d3739 1
a3739 1
if { (eval echo configure:3936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3764 1
a3764 1
echo "configure:3961: checking for off64_t" >&5
d3770 1
a3770 1
#line 3967 "configure"
d3778 1
a3778 1
if { (eval echo configure:3975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3808 1
a3808 1
echo "configure:4005: checking whether byte ordering is bigendian" >&5
d3815 1
a3815 1
#line 4012 "configure"
d3826 1
a3826 1
if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3830 1
a3830 1
#line 4027 "configure"
d3841 1
a3841 1
if { (eval echo configure:4038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3861 1
a3861 1
#line 4058 "configure"
d3874 1
a3874 1
if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3924 1
a3924 1
echo "configure:4121: checking for sin" >&5
d3929 1
a3929 1
#line 4126 "configure"
d3952 1
a3952 1
if { (eval echo configure:4149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3973 1
a3973 1
echo "configure:4170: checking for main in -lieee" >&5
d3981 1
a3981 1
#line 4178 "configure"
d3988 1
a3988 1
if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4019 1
a4019 1
echo "configure:4216: checking for gettimeofday in -lbsd" >&5
d4027 1
a4027 1
#line 4224 "configure"
d4038 1
a4038 1
if { (eval echo configure:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4069 1
a4069 1
echo "configure:4266: checking stdlib.h" >&5
d4071 1
a4071 1
#line 4268 "configure"
d4086 1
a4086 1
#line 4283 "configure"
d4100 1
a4100 1
#line 4297 "configure"
d4132 1
a4132 1
echo "configure:4329: checking fd_set and sys/select" >&5
d4134 1
a4134 1
#line 4331 "configure"
d4141 1
a4141 1
if { (eval echo configure:4338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4153 1
a4153 1
#line 4350 "configure"
d4185 1
a4185 1
echo "configure:4382: checking for ANSI C header files" >&5
d4190 1
a4190 1
#line 4387 "configure"
d4198 1
a4198 1
{ (eval echo configure:4395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4215 1
a4215 1
#line 4412 "configure"
d4233 1
a4233 1
#line 4430 "configure"
d4254 1
a4254 1
#line 4451 "configure"
d4265 1
a4265 1
if { (eval echo configure:4462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4289 1
a4289 1
echo "configure:4486: checking for mode_t" >&5
d4294 1
a4294 1
#line 4491 "configure"
d4322 1
a4322 1
echo "configure:4519: checking for pid_t" >&5
d4327 1
a4327 1
#line 4524 "configure"
d4355 1
a4355 1
echo "configure:4552: checking for size_t" >&5
d4360 1
a4360 1
#line 4557 "configure"
d4388 1
a4388 1
echo "configure:4585: checking for uid_t in sys/types.h" >&5
d4393 1
a4393 1
#line 4590 "configure"
d4430 1
a4430 1
echo "configure:4627: checking for $ac_hdr" >&5
d4435 1
a4435 1
#line 4632 "configure"
d4440 1
a4440 1
{ (eval echo configure:4637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4467 1
a4467 1
echo "configure:4664: checking whether time.h and sys/time.h may both be included" >&5
d4472 1
a4472 1
#line 4669 "configure"
d4481 1
a4481 1
if { (eval echo configure:4678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4507 1
a4507 1
echo "configure:4704: checking pw_gecos in struct pwd" >&5
d4509 1
a4509 1
#line 4706 "configure"
d4516 1
a4516 1
if { (eval echo configure:4713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4549 1
a4549 1
echo "configure:4746: checking for X" >&5
d4611 1
a4611 1
#line 4808 "configure"
d4616 1
a4616 1
{ (eval echo configure:4813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4685 1
a4685 1
#line 4882 "configure"
d4692 1
a4692 1
if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4782 1
a4782 1
#line 4979 "configure"
d4787 1
a4787 1
{ (eval echo configure:4984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4807 1
a4807 1
echo "configure:5004: checking for X11 header files" >&5
d4810 1
a4810 1
#line 5007 "configure"
d4815 1
a4815 1
{ (eval echo configure:5012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4851 1
a4851 1
echo "configure:5048: checking for X11 libraries" >&5
d4871 1
a4871 1
echo "configure:5068: checking for XCreateWindow in -lXwindow" >&5
d4879 1
a4879 1
#line 5076 "configure"
d4890 1
a4890 1
if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4964 1
a4964 1
echo "configure:5161: checking for main in -lXbsd" >&5
d4972 1
a4972 1
#line 5169 "configure"
d4979 1
a4979 1
if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5002 1
a5002 1
echo "configure:5199: checking for connect" >&5
d5007 1
a5007 1
#line 5204 "configure"
d5030 1
a5030 1
if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5052 1
a5052 1
echo "configure:5249: checking for main in -lsocket" >&5
d5060 1
a5060 1
#line 5257 "configure"
d5067 1
a5067 1
if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5093 1
a5093 1
echo "configure:5290: checking for accept" >&5
d5098 1
a5098 1
#line 5295 "configure"
d5121 1
a5121 1
if { (eval echo configure:5318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5143 1
a5143 1
echo "configure:5340: checking for gethostbyname" >&5
d5148 1
a5148 1
#line 5345 "configure"
d5171 1
a5171 1
if { (eval echo configure:5368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5189 1
a5189 1
echo "configure:5386: checking for main in -lnsl" >&5
d5197 1
a5197 1
#line 5394 "configure"
d5204 1
a5204 1
if { (eval echo configure:5401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5240 1
a5240 1
echo "configure:5437: checking MIT X libraries" >&5
d5246 1
a5246 1
#line 5443 "configure"
d5257 1
a5257 1
if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5281 1
a5281 1
echo "configure:5478: checking whether char is unsigned" >&5
d5288 1
a5288 1
#line 5485 "configure"
d5310 1
a5310 1
#line 5507 "configure"
d5320 1
a5320 1
if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5353 1
a5353 1
echo "configure:5550: checking for strtod" >&5
d5358 1
a5358 1
#line 5555 "configure"
d5381 1
a5381 1
if { (eval echo configure:5578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5403 1
a5403 1
echo "configure:5600: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5412 1
a5412 1
#line 5609 "configure"
d5435 1
a5435 1
if { (eval echo configure:5632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.65.2.28
log
@	* macosx/Makefile:
	* macosx/README:
	* macosx/Tk-Info.plist.in (new file):
	* macosx/Wish-Info.plist.in (new file):
	* unix/Makefile.in:
	* unix/configure.in:
	* unix/tcl.m4:
	* unix/tkUnixInit.c:  moved all Darwin framework and TkAqua build
	support from macosx/Wish.pbproj and macosx/Makefile into the standard
	unix configure/make buildsystem, the project and macosx/Makefile are
	no longer required to build Tk.framework and/or TkAqua. TkAqua is now
	enabled by the --enable-aqua configure option, and static and
	non-framework builds of TkAqua are now available via the standard
	configure switches. Tk/X11 can also be built as a framework. The
	macosx/Makefile now wraps the unix buildsystem and no longer uses the
	projects, embedded builds are still only available via this Makefile,
	but for other builds it is not longer required (but its current
	functionality is still available for backwards compatibility). The
	projects currently do not call through to the Makefile to build
	(unlike Tcl.pbproj) so project builds may differ from makefile builds.
	Due to issues with spaces in pathnames, 'Wish Shell.app' has been
	renamed to 'Wish.app', the macosx/Makefile installs backwards
	compatibility symlinks for the old name.
	* macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file
	in non-framework and static builds: the resource file is copied into a
	__tk_rsrc MachO segment of the library or executable at link time and
	extracted into a temporary location at initialization.
	* unix/configure: autoconf-2.13
@
text
@a39 2
  --enable-aqua           enable Aqua windowingsystem on Mac OS X [--disable-aqua]"
ac_help="$ac_help
a40 2
ac_help="$ac_help
  --enable-framework      package shared libraries in MacOSX frameworks [--disable-framework]"
d581 1
a581 1
echo "configure:586: checking for Tcl configuration" >&5
d662 1
a662 1
echo "configure:667: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d727 2
d739 1
a739 1
echo "configure:742: checking whether to use symlinks for manpages" >&5
d751 1
a751 1
echo "configure:754: checking whether to compress the manpages" >&5
d764 1
a764 1
echo "configure:767: checking for compressed file suffix" >&5
d774 1
a774 1
echo "configure:777: checking whether to add a package name suffix for the manpages" >&5
d802 1
a802 1
echo "configure:805: checking for $ac_word" >&5
d832 1
a832 1
echo "configure:835: checking for $ac_word" >&5
d883 1
a883 1
echo "configure:886: checking for $ac_word" >&5
d915 1
a915 1
echo "configure:918: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d926 1
a926 1
#line 929 "configure"
d931 1
a931 1
if { (eval echo configure:934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d957 1
a957 1
echo "configure:960: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d962 1
a962 1
echo "configure:965: checking whether we are using GNU C" >&5
d971 1
a971 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d990 1
a990 1
echo "configure:993: checking whether ${CC-cc} accepts -g" >&5
d1023 1
a1023 1
echo "configure:1026: checking how to run the C preprocessor" >&5
d1038 1
a1038 1
#line 1041 "configure"
d1044 1
a1044 1
{ (eval echo configure:1047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1055 1
a1055 1
#line 1058 "configure"
d1061 1
a1061 1
{ (eval echo configure:1064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1072 1
a1072 1
#line 1075 "configure"
d1078 1
a1078 1
{ (eval echo configure:1081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1106 1
a1106 1
echo "configure:1109: checking for $ac_hdr" >&5
d1111 1
a1111 1
#line 1114 "configure"
d1116 1
a1116 1
{ (eval echo configure:1119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1143 1
a1143 1
#------------------------------------------------------------------------
d1146 1
a1146 1
#------------------------------------------------------------------------
d1151 1
a1151 1
echo "configure:1154: checking if the compiler understands -pipe" >&5
d1155 1
a1155 1
#line 1158 "configure"
d1162 1
a1162 1
if { (eval echo configure:1165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1182 1
a1182 1
echo "configure:1185: checking for building with threads" >&5
d1224 1
a1224 1
echo "configure:1227: checking for pthread_mutex_init in -lpthread" >&5
d1232 1
a1232 1
#line 1235 "configure"
d1243 1
a1243 1
if { (eval echo configure:1246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1271 1
a1271 1
echo "configure:1274: checking for __pthread_mutex_init in -lpthread" >&5
d1279 1
a1279 1
#line 1282 "configure"
d1290 1
a1290 1
if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1318 1
a1318 1
echo "configure:1321: checking for pthread_mutex_init in -lpthreads" >&5
d1326 1
a1326 1
#line 1329 "configure"
d1337 1
a1337 1
if { (eval echo configure:1340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1363 1
a1363 1
echo "configure:1366: checking for pthread_mutex_init in -lc" >&5
d1371 1
a1371 1
#line 1374 "configure"
d1382 1
a1382 1
if { (eval echo configure:1385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1405 1
a1405 1
echo "configure:1408: checking for pthread_mutex_init in -lc_r" >&5
d1413 1
a1413 1
#line 1416 "configure"
d1424 1
a1424 1
if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1464 1
a1464 1
echo "configure:1467: checking for $ac_func" >&5
d1469 1
a1469 1
#line 1472 "configure"
d1492 1
a1492 1
if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1519 1
a1519 1
echo "configure:1522: checking for $ac_func" >&5
d1524 1
a1524 1
#line 1527 "configure"
d1547 1
a1547 1
if { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1575 1
a1575 1
echo "configure:1578: checking for $ac_func" >&5
d1580 1
a1580 1
#line 1583 "configure"
d1603 1
a1603 1
if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1629 1
a1629 1
echo "configure:1632: checking how many args readdir_r takes" >&5
d1636 1
a1636 1
#line 1639 "configure"
d1651 1
a1651 1
if { (eval echo configure:1654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1667 1
a1667 1
#line 1670 "configure"
d1682 1
a1682 1
if { (eval echo configure:1685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1720 4
d1726 1
a1726 1
echo "configure:1725: checking how to build libraries" >&5
a1755 6
#--------------------------------------------------------------------
# The statements below define a collection of compile flags.  This
# macro depends on the value of SHARED_BUILD, and should be called
# after SC_ENABLE_SHARED checks the configure switches.
#--------------------------------------------------------------------

d1759 1
a1759 1
echo "configure:1764: checking for $ac_word" >&5
d1791 1
a1791 1
echo "configure:1796: checking if 64bit support is requested" >&5
d1811 1
a1811 1
echo "configure:1816: checking if 64bit Sparc VIS support is requested" >&5
d1835 1
a1835 1
echo "configure:1840: checking system version (for dynamic loading)" >&5
d1861 1
a1861 1
echo "configure:1866: checking for dlopen in -ldl" >&5
d1869 1
a1869 1
#line 1874 "configure"
d1880 1
a1880 1
if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1928 1
a1928 1
echo "configure:1933: checking for $ac_word" >&5
d2038 1
a2038 1
echo "configure:2043: checking for gettimeofday in -lbsd" >&5
d2046 1
a2046 1
#line 2051 "configure"
d2057 1
a2057 1
if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2100 1
a2100 1
echo "configure:2105: checking for inet_ntoa in -lbind" >&5
d2108 1
a2108 1
#line 2113 "configure"
d2119 1
a2119 1
if { (eval echo configure:2124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2185 1
a2185 1
echo "configure:2190: checking for shl_load in -ldld" >&5
d2193 1
a2193 1
#line 2198 "configure"
d2204 1
a2204 1
if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2272 1
a2272 1
echo "configure:2277: checking for shl_load in -ldld" >&5
d2280 1
a2280 1
#line 2285 "configure"
d2291 1
a2291 1
if { (eval echo configure:2296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2415 1
a2415 1
echo "configure:2420: checking for dld.h" >&5
d2420 1
a2420 1
#line 2425 "configure"
d2425 1
a2425 1
{ (eval echo configure:2430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2489 1
a2489 1
echo "configure:2494: checking for dld.h" >&5
d2494 1
a2494 1
#line 2499 "configure"
d2499 1
a2499 1
{ (eval echo configure:2504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2555 1
a2555 1
echo "configure:2560: checking for dlfcn.h" >&5
d2560 1
a2560 1
#line 2565 "configure"
d2565 1
a2565 1
{ (eval echo configure:2570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2592 1
a2592 1
echo "configure:2597: checking for ELF" >&5
d2594 1
a2594 1
#line 2599 "configure"
d2668 1
a2668 1
echo "configure:2673: checking for ELF" >&5
d2670 1
a2670 1
#line 2675 "configure"
d2729 1
a2729 1
echo "configure:2734: checking if ld accepts -single_module flag" >&5
d2737 1
a2737 1
#line 2742 "configure"
d2744 1
a2744 1
if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2767 1
a2767 1
echo "configure:2772: checking if ld accepts -search_paths_first flag" >&5
d2775 1
a2775 1
#line 2780 "configure"
d2782 1
a2782 1
if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2804 2
d2807 1
a2807 1
echo "configure:2810: checking whether to use CoreFoundation" >&5
d2819 1
a2819 1
echo "configure:2822: checking for CoreFoundation.framework" >&5
d2827 1
a2827 1
#line 2830 "configure"
d2834 1
a2834 1
if { (eval echo configure:2837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2860 1
a2860 1
echo "configure:2863: checking for $ac_hdr" >&5
d2865 1
a2865 1
#line 2868 "configure"
d2870 1
a2870 1
{ (eval echo configure:2873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2899 1
a2899 1
echo "configure:2902: checking for $ac_func" >&5
d2904 1
a2904 1
#line 2907 "configure"
d2927 1
a2927 1
if { (eval echo configure:2930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2962 4
	    cat >> confdefs.h <<\EOF
#define TCL_LOAD_FROM_MEMORY 1
EOF

d2966 1
a2966 1
echo "configure:2973: checking for realpath" >&5
d2971 1
a2971 1
#line 2978 "configure"
d2994 1
a2994 1
if { (eval echo configure:3001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3305 1
a3305 1
echo "configure:3312: checking for ld accepts -Bexport flag" >&5
d3308 1
a3308 1
#line 3315 "configure"
d3315 1
a3315 1
if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3356 1
a3356 1
echo "configure:3363: checking sys/exec.h" >&5
d3358 1
a3358 1
#line 3365 "configure"
d3376 1
a3376 1
if { (eval echo configure:3383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3394 1
a3394 1
echo "configure:3401: checking a.out.h" >&5
d3396 1
a3396 1
#line 3403 "configure"
d3414 1
a3414 1
if { (eval echo configure:3421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3432 1
a3432 1
echo "configure:3439: checking sys/exec_aout.h" >&5
d3434 1
a3434 1
#line 3441 "configure"
d3452 1
a3452 1
if { (eval echo configure:3459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3603 1
a3603 1
echo "configure:3610: checking for build with symbols" >&5
d3664 1
a3664 1
echo "configure:3671: checking for required early compiler flags" >&5
d3671 1
a3671 1
#line 3678 "configure"
d3678 1
a3678 1
if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3686 1
a3686 1
#line 3693 "configure"
d3694 1
a3694 1
if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3720 1
a3720 1
#line 3727 "configure"
d3727 1
a3727 1
if { (eval echo configure:3734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3735 1
a3735 1
#line 3742 "configure"
d3743 1
a3743 1
if { (eval echo configure:3750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3772 1
a3772 1
echo "configure:3779: checking for 64-bit integer type" >&5
d3780 1
a3780 1
#line 3787 "configure"
d3787 1
a3787 1
if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3801 1
a3801 1
#line 3808 "configure"
d3810 1
a3810 1
if { (eval echo configure:3817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3835 1
a3835 1
echo "configure:3842: checking for struct dirent64" >&5
d3841 1
a3841 1
#line 3848 "configure"
d3849 1
a3849 1
if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3870 1
a3870 1
echo "configure:3877: checking for struct stat64" >&5
d3876 1
a3876 1
#line 3883 "configure"
d3884 1
a3884 1
if { (eval echo configure:3891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3907 1
a3907 1
echo "configure:3914: checking for $ac_func" >&5
d3912 1
a3912 1
#line 3919 "configure"
d3935 1
a3935 1
if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3960 1
a3960 1
echo "configure:3967: checking for off64_t" >&5
d3966 1
a3966 1
#line 3973 "configure"
d3974 1
a3974 1
if { (eval echo configure:3981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4004 1
a4004 1
echo "configure:4011: checking whether byte ordering is bigendian" >&5
d4011 1
a4011 1
#line 4018 "configure"
d4022 1
a4022 1
if { (eval echo configure:4029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4026 1
a4026 1
#line 4033 "configure"
d4037 1
a4037 1
if { (eval echo configure:4044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4057 1
a4057 1
#line 4064 "configure"
d4070 1
a4070 1
if { (eval echo configure:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4120 1
a4120 1
echo "configure:4127: checking for sin" >&5
d4125 1
a4125 1
#line 4132 "configure"
d4148 1
a4148 1
if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4169 1
a4169 1
echo "configure:4176: checking for main in -lieee" >&5
d4177 1
a4177 1
#line 4184 "configure"
d4184 1
a4184 1
if { (eval echo configure:4191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4215 1
a4215 1
echo "configure:4222: checking for gettimeofday in -lbsd" >&5
d4223 1
a4223 1
#line 4230 "configure"
d4234 1
a4234 1
if { (eval echo configure:4241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4265 1
a4265 1
echo "configure:4272: checking stdlib.h" >&5
d4267 1
a4267 1
#line 4274 "configure"
d4282 1
a4282 1
#line 4289 "configure"
d4296 1
a4296 1
#line 4303 "configure"
d4328 1
a4328 1
echo "configure:4335: checking fd_set and sys/select" >&5
d4330 1
a4330 1
#line 4337 "configure"
d4337 1
a4337 1
if { (eval echo configure:4344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4349 1
a4349 1
#line 4356 "configure"
d4381 1
a4381 1
echo "configure:4388: checking for ANSI C header files" >&5
d4386 1
a4386 1
#line 4393 "configure"
d4394 1
a4394 1
{ (eval echo configure:4401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4411 1
a4411 1
#line 4418 "configure"
d4429 1
a4429 1
#line 4436 "configure"
d4450 1
a4450 1
#line 4457 "configure"
d4461 1
a4461 1
if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4485 1
a4485 1
echo "configure:4492: checking for mode_t" >&5
d4490 1
a4490 1
#line 4497 "configure"
d4518 1
a4518 1
echo "configure:4525: checking for pid_t" >&5
d4523 1
a4523 1
#line 4530 "configure"
d4551 1
a4551 1
echo "configure:4558: checking for size_t" >&5
d4556 1
a4556 1
#line 4563 "configure"
d4584 1
a4584 1
echo "configure:4591: checking for uid_t in sys/types.h" >&5
d4589 1
a4589 1
#line 4596 "configure"
d4626 1
a4626 1
echo "configure:4633: checking for $ac_hdr" >&5
d4631 1
a4631 1
#line 4638 "configure"
d4636 1
a4636 1
{ (eval echo configure:4643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4663 1
a4663 1
echo "configure:4670: checking whether time.h and sys/time.h may both be included" >&5
d4668 1
a4668 1
#line 4675 "configure"
d4677 1
a4677 1
if { (eval echo configure:4684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4703 1
a4703 1
echo "configure:4710: checking pw_gecos in struct pwd" >&5
d4705 1
a4705 1
#line 4712 "configure"
d4712 1
a4712 1
if { (eval echo configure:4719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4731 6
a4736 1
#	On Mac OS X, we can build either with X11 or with Aqua
a4738 83
if test "`uname -s`" = "Darwin" ; then
    # Check whether --enable-aqua or --disable-aqua was given.
if test "${enable_aqua+set}" = set; then
  enableval="$enable_aqua"
  tk_aqua=$enableval
else
  tk_aqua=no
fi

    if test $tk_aqua = yes; then
        if test $tcl_corefoundation = no; then
            echo "configure: warning: "Aqua can only be used when CoreFoundation is available"" 1>&2
            tk_aqua=no
        elif test ! -d /System/Library/Frameworks/Carbon.framework; then
            echo "configure: warning: "Aqua can only be used when Carbon is available"" 1>&2
            tk_aqua=no
        fi
    fi
else
    tk_aqua=no
fi

if test $tk_aqua = yes; then
    cat >> confdefs.h <<\EOF
#define MAC_OSX_TK 1
EOF

    LIBS="$LIBS -framework Carbon"
    CFLAGS="$CFLAGS -fpascal-strings"
    for ac_func in _dyld_get_image_header_containing_address
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4773: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4778 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done
a4739 12
    TK_WINDOWINGSYSTEM=AQUA
else
    #--------------------------------------------------------------------
    #	Locate the X11 header files and the X11 library archive.  Try
    #	the ac_path_x macro first, but if it doesn't find the X stuff
    #	(e.g. because there's no xmkmf program) then check through
    #	a list of possible directories.  Under some conditions the
    #	autoconf macro will return an include directory that contains
    #	no include files, so double-check its result just to be safe.
    #--------------------------------------------------------------------
    
    
d4745 1
a4745 1
echo "configure:4842: checking for X" >&5
d4807 1
a4807 1
#line 4904 "configure"
d4812 1
a4812 1
{ (eval echo configure:4909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4881 1
a4881 1
#line 4978 "configure"
d4888 1
a4888 1
if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4978 1
a4978 1
#line 5075 "configure"
d4983 1
a4983 1
{ (eval echo configure:5080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5003 1
a5003 1
echo "configure:5100: checking for X11 header files" >&5
d5006 1
a5006 1
#line 5103 "configure"
d5011 1
a5011 1
{ (eval echo configure:5108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5047 1
a5047 1
echo "configure:5144: checking for X11 libraries" >&5
d5067 1
a5067 1
echo "configure:5164: checking for XCreateWindow in -lXwindow" >&5
d5075 1
a5075 1
#line 5172 "configure"
d5086 1
a5086 1
if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5111 2
    TK_WINDOWINGSYSTEM=X11
fi
d5160 1
a5160 1
echo "configure:5259: checking for main in -lXbsd" >&5
d5168 1
a5168 1
#line 5267 "configure"
d5175 1
a5175 1
if { (eval echo configure:5274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5198 1
a5198 1
echo "configure:5297: checking for connect" >&5
d5203 1
a5203 1
#line 5302 "configure"
d5226 1
a5226 1
if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5248 1
a5248 1
echo "configure:5347: checking for main in -lsocket" >&5
d5256 1
a5256 1
#line 5355 "configure"
d5263 1
a5263 1
if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5289 1
a5289 1
echo "configure:5388: checking for accept" >&5
d5294 1
a5294 1
#line 5393 "configure"
d5317 1
a5317 1
if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5339 1
a5339 1
echo "configure:5438: checking for gethostbyname" >&5
d5344 1
a5344 1
#line 5443 "configure"
d5367 1
a5367 1
if { (eval echo configure:5466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5385 1
a5385 1
echo "configure:5484: checking for main in -lnsl" >&5
d5393 1
a5393 1
#line 5492 "configure"
d5400 1
a5400 1
if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5436 1
a5436 1
echo "configure:5535: checking MIT X libraries" >&5
d5442 1
a5442 1
#line 5541 "configure"
d5453 1
a5453 1
if { (eval echo configure:5552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5477 1
a5477 1
echo "configure:5576: checking whether char is unsigned" >&5
d5484 1
a5484 1
#line 5583 "configure"
d5506 1
a5506 1
#line 5605 "configure"
d5516 1
a5516 1
if { (eval echo configure:5615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5549 1
a5549 1
echo "configure:5648: checking for strtod" >&5
d5554 1
a5554 1
#line 5653 "configure"
d5577 1
a5577 1
if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5599 1
a5599 1
echo "configure:5698: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5608 1
a5608 1
#line 5707 "configure"
d5631 1
a5631 1
if { (eval echo configure:5730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5663 1
a5664 9
eval eval "TK_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}"
eval "TK_LIB_FILE=libtk${LIB_SUFFIX}"

# tkConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
# so that the backslashes quoting the DBX braces are dropped.

# Trick to replace DBGX with TK_DBGX
DBGX='${TK_DBGX}'
eval "TK_LIB_FILE=${TK_LIB_FILE}"
d5669 2
d5672 2
a5673 7

TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
TK_RSRC_FILE='tk$(VERSION).rsrc'
WISH_RSRC_FILE='wish$(VERSION).rsrc'
d5680 3
a5682 16
if test "`uname -s`" = "Darwin" ; then
    
    echo $ac_n "checking how to package libraries""... $ac_c" 1>&6
echo "configure:5793: checking how to package libraries" >&5
    # Check whether --enable-framework or --disable-framework was given.
if test "${enable_framework+set}" = set; then
  enableval="$enable_framework"
  tcl_ok=$enableval
else
  tcl_ok=no
fi


    if test "${enable_framework+set}" = set; then
	enableval="$enable_framework"
	tcl_ok=$enableval
d5684 1
a5684 1
	tcl_ok=no
d5686 7
d5694 3
a5696 11
    if test "$tcl_ok" = "yes" ; then
	echo "$ac_t""framework" 1>&6
	FRAMEWORK_BUILD=1
	if test "${SHARED_BUILD}" = "0" ; then
	    echo "configure: warning: "Frameworks can only be built if --enable-shared is yes"" 1>&2
	    FRAMEWORK_BUILD=0
	fi
	if test $tcl_corefoundation = no; then
	    echo "configure: warning: "Frameworks can only be used when CoreFoundation is available"" 1>&2
	    FRAMEWORK_BUILD=0
	fi
d5698 2
a5699 91
	echo "$ac_t""standard shared library" 1>&6
	FRAMEWORK_BUILD=0
    fi

    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version ${TK_VERSION}`echo ${TK_PATCH_LEVEL} | awk '{match($0, "\\\.[0-9]+"); print substr($0,RSTART,RLENGTH)}'`"
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | tail +3 > $$f && echo $$f)'
fi

if test "$FRAMEWORK_BUILD" = "1" ; then
    cat >> confdefs.h <<\EOF
#define TK_FRAMEWORK 1
EOF

    tk_config_files="${tk_config_files} Tk-Info.plist:../macosx/Tk-Info.plist.in"
    # Construct a fake local framework structure to make linking with
    # '-framework Tk' and running of tktest work
    
    LD_LIBRARY_PATH_VAR="DYLD_FRAMEWORK_PATH"
    if test "${libdir}" = '${exec_prefix}/lib'; then
        # override libdir default
        libdir="/Library/Frameworks"
    fi
    TK_LIB_FILE="Tk"
    TK_LIB_FLAG="-framework Tk"
    TK_BUILD_LIB_SPEC="-F`pwd` -framework Tk"
    TK_LIB_SPEC="-F${libdir} -framework Tk"
    libdir="${libdir}/Tk.framework/Versions/\${VERSION}"
    TK_LIBRARY="${libdir}/Resources/Scripts"
    TK_PKG_DIR="Resources/Scripts"
    TK_RSRC_FILE="Tk.rsrc"
    WISH_RSRC_FILE="Wish.rsrc"
    includedir="${libdir}/Headers"
    PRIVATE_INCLUDE_DIR="${libdir}/PrivateHeaders"
    HTML_DIR="${libdir}/Resources/Documentation/Reference/Tk"
    EXTRA_INSTALL="install-private-headers html-tk"
    EXTRA_BUILD_HTML='@@ln -fs contents.htm $(HTML_INSTALL_DIR)/TkTOC.html' 
    EXTRA_INSTALL_BINARIES='@@echo "Installing Info.plist to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) Tk-Info.plist "$(LIB_INSTALL_DIR)/Resources/Info.plist"'
    if test $tk_aqua = yes; then
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing ${TK_RSRC_FILE} to $(LIB_INSTALL_DIR)/Resources" && mkdir -p "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) "${TK_RSRC_FILE}" "$(LIB_INSTALL_DIR)/Resources"'
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing wish$(VERSION) script to $(INSTALL_ROOT)/'"${bindir}"'" && mkdir -p "$(INSTALL_ROOT)/'"${bindir}"'" && printf > "$(INSTALL_ROOT)/'"${bindir}"'/wish$(VERSION)" "#!/bin/sh\n\"\$$(dirname \$$0)'"`eval d="${bindir}"; echo "$d" | sed -e 's#/[^/][^/]*#/..#g'`"'$(bindir)/Wish\" \"\$$@@\"" && chmod +x "$(INSTALL_ROOT)/'"${bindir}"'/wish$(VERSION)"'
        bindir="${libdir}/Resources/Wish.app/Contents/MacOS"
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Info.plist to $(BIN_INSTALL_DIR)/.." && $(INSTALL_DATA) Wish-Info.plist "$(BIN_INSTALL_DIR)/../Info.plist" && mv -f "$(BIN_INSTALL_DIR)/wish$(VERSION)" "$(BIN_INSTALL_DIR)/Wish"'
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing Wish.icns to $(BIN_INSTALL_DIR)/../Resources" && mkdir -p "$(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "'\$\(MAC\_OSX_DIR\)'/Wish.icns" "$(BIN_INSTALL_DIR)/../Resources"'
        EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing ${WISH_RSRC_FILE} to $(BIN_INSTALL_DIR)/../Resources" && $(INSTALL_DATA) "${WISH_RSRC_FILE}" "$(BIN_INSTALL_DIR)/../Resources"'
    fi
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Finalizing Tk.framework" && rm -f "$(LIB_INSTALL_DIR)/../Current" && ln -s "$(VERSION)" "$(LIB_INSTALL_DIR)/../Current" && for f in "$(LIB_FILE)" "$(STUB_LIB_FILE)" tkConfig.sh Resources Headers PrivateHeaders; do rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/Current/$$f" "$(LIB_INSTALL_DIR)/../.."; done'
    TK_YEAR="`date +%Y`"
    # Don't use AC_DEFINE for the following as the framework version define 
    # needs to go into the Makefile even when using autoheader, so that we  
    # can pick up a potential make override of VERSION. Also, don't put this
    # into CFLAGS as it should not go into tkConfig.sh
    EXTRA_CC_SWITCHES='-DTK_FRAMEWORK_VERSION=\"$(VERSION)\"'
else
    # libdir must be a fully qualified path and not ${exec_prefix}/lib
    eval libdir="$libdir"
    if test "$SHARED_BUILD" = "0" || test "$TCL_NEEDS_EXP_FILE" = "0"; then
        if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
            eval TK_LIB_FLAG="-ltk${VERSION}\${TK_DBGX}"
        else
            eval TK_LIB_FLAG="-ltk`echo ${VERSION} | tr -d .`\${TK_DBGX}"
        fi
        TK_BUILD_LIB_SPEC="-L`pwd` ${TK_LIB_FLAG}"
        TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
    else
        TK_BUILD_EXP_FILE="lib.exp"
        eval "TK_EXP_FILE=libtk${TCL_EXPORT_FILE_SUFFIX}"
    
        if test "$GCC" = "yes" ; then
            TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
            TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"
        else
            TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
            TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"
        fi
    fi
fi

# Support for building the Aqua resource files
if test $tk_aqua = yes; then
    tk_config_files="${tk_config_files} Wish-Info.plist:../macosx/Wish-Info.plist.in"
    EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
    LIB_RSRC_FILE='${TK_RSRC_FILE}'
    APP_RSRC_FILE='${WISH_RSRC_FILE}'
    REZ=/Developer/Tools/Rez
    REZ_FLAGS='-d "SystemSevenOrLater=1" -useDF'
    if test "$SHARED_BUILD" = 0; then
        EXTRA_INSTALL_BINARIES='@@echo "Installing $(TK_RSRC_FILE) to $(LIB_INSTALL_DIR)" && $(INSTALL_DATA) $(TK_RSRC_FILE) $(LIB_INSTALL_DIR)'
	TK_BUILD_LIB_SPEC="$TK_BUILD_LIB_SPEC -sectcreate __TEXT __tk_rsrc `pwd`/\${TK_RSRC_FILE}"
	TK_LIB_SPEC="$TK_LIB_SPEC -sectcreate __TEXT __tk_rsrc ${libdir}/\${TK_RSRC_FILE}"        
    elif test "$FRAMEWORK_BUILD" = "0"; then
        TK_SHLIB_LD_EXTRAS="$TK_SHLIB_LD_EXTRAS -sectcreate __TEXT __tk_rsrc \${TK_RSRC_FILE}"
d5702 1
d5705 6
a5710 2
#       The statements below define various symbols relating to Tk
#       stub support.
a5714 1
eval "TK_STUB_LIB_DIR=${libdir}"
d5723 1
a5723 1
TK_STUB_LIB_SPEC="-L${TK_STUB_LIB_DIR} ${TK_STUB_LIB_FLAG}"
d5725 1
a5725 15
TK_STUB_LIB_PATH="${TK_STUB_LIB_DIR}/${TK_STUB_LIB_FILE}"

#------------------------------------------------------------------------
# tkConfig.sh refers to this by a different name
#------------------------------------------------------------------------

TK_SHARED_BUILD=${SHARED_BUILD}








d5727 1
a5761 10









tk_config_files="${tk_config_files} Makefile tkConfig.sh"
d5874 1
a5874 1
trap 'rm -fr `echo "${tk_config_files}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
d5949 1
a5949 4
s%@@TK_YEAR@@%$TK_YEAR%g
s%@@TK_LIB_FILE@@%$TK_LIB_FILE%g
s%@@TK_LIB_FLAG@@%$TK_LIB_FLAG%g
s%@@TK_LIB_SPEC@@%$TK_LIB_SPEC%g
d5952 1
d5954 1
d5956 1
a5956 7
s%@@TK_BUILD_STUB_LIB_SPEC@@%$TK_BUILD_STUB_LIB_SPEC%g
s%@@TK_BUILD_STUB_LIB_PATH@@%$TK_BUILD_STUB_LIB_PATH%g
s%@@TK_SRC_DIR@@%$TK_SRC_DIR%g
s%@@TK_DBGX@@%$TK_DBGX%g
s%@@TK_SHARED_BUILD@@%$TK_SHARED_BUILD%g
s%@@LD_LIBRARY_PATH_VAR@@%$LD_LIBRARY_PATH_VAR%g
s%@@TK_BUILD_LIB_SPEC@@%$TK_BUILD_LIB_SPEC%g
d5960 1
d5962 5
d5969 1
a5970 16
s%@@TK_WINDOWINGSYSTEM@@%$TK_WINDOWINGSYSTEM%g
s%@@TK_PKG_DIR@@%$TK_PKG_DIR%g
s%@@TK_LIBRARY@@%$TK_LIBRARY%g
s%@@PRIVATE_INCLUDE_DIR@@%$PRIVATE_INCLUDE_DIR%g
s%@@HTML_DIR@@%$HTML_DIR%g
s%@@EXTRA_CC_SWITCHES@@%$EXTRA_CC_SWITCHES%g
s%@@EXTRA_INSTALL@@%$EXTRA_INSTALL%g
s%@@EXTRA_INSTALL_BINARIES@@%$EXTRA_INSTALL_BINARIES%g
s%@@EXTRA_BUILD_HTML@@%$EXTRA_BUILD_HTML%g
s%@@EXTRA_WISH_LIBS@@%$EXTRA_WISH_LIBS%g
s%@@TK_RSRC_FILE@@%$TK_RSRC_FILE%g
s%@@WISH_RSRC_FILE@@%$WISH_RSRC_FILE%g
s%@@LIB_RSRC_FILE@@%$LIB_RSRC_FILE%g
s%@@APP_RSRC_FILE@@%$APP_RSRC_FILE%g
s%@@REZ@@%$REZ%g
s%@@REZ_FLAGS@@%$REZ_FLAGS%g
d6012 1
a6012 1
CONFIG_FILES=\${CONFIG_FILES-"${tk_config_files}"}
a6067 1
VERSION=${TK_VERSION} && tk_aqua=${tk_aqua}
a6070 8
n=Tk && echo "creating $n.framework" &&
        f=$n.framework && v=Versions/$VERSION &&
        rm -rf $f && mkdir -p $f/$v/Resources &&
        ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
        ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
        if test $tk_aqua = yes; then ln -s ../../../../$n.rsrc $f/$v/Resources; fi &&
        unset n f v
    
@


1.65.2.29
log
@	* unix/configure, unix/configure.in: ensure false Tcl.framework is
	only created with --enable-framework
@
text
@d6315 1
a6315 2
VERSION=${TK_VERSION} FRAMEWORK_BUILD=${FRAMEWORK_BUILD}
	tk_aqua=${tk_aqua}
d6319 7
a6325 7
test "$FRAMEWORK_BUILD" = "1" &&
	n=Tk && f=$n.framework && v=Versions/$VERSION &&
	echo "creating $f" && rm -rf $f && mkdir -p $f/$v/Resources &&
	ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
	ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
	if test $tk_aqua = yes; then ln -s ../../../../$n.rsrc $f/$v/Resources; fi &&
	unset n f v
@


1.65.2.30
log
@	* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction
	from __tk_rsrc section to work with non-prebound .dylib and .bundle.

	* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl
	and tk version vars to properly support tk/x11 framework version
	overriding, rewrite tkConfig.sh when overriding tk version, corrected
	Wish.app symlink in tk build dir.

	* unix/configure.in: corrected framework finalization to softlink
	stub library to Versions/8.x subdir instead of Versions/Current.
	* unix/configure: autoconf-2.13
@
text
@d4769 55
d4841 1
a4841 1
echo "configure:4787: checking for X" >&5
d4903 1
a4903 1
#line 4849 "configure"
d4908 1
a4908 1
{ (eval echo configure:4854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4977 1
a4977 1
#line 4923 "configure"
d4984 1
a4984 1
if { (eval echo configure:4930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5074 1
a5074 1
#line 5020 "configure"
d5079 1
a5079 1
{ (eval echo configure:5025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5099 1
a5099 1
echo "configure:5045: checking for X11 header files" >&5
d5102 1
a5102 1
#line 5048 "configure"
d5107 1
a5107 1
{ (eval echo configure:5053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5143 1
a5143 1
echo "configure:5089: checking for X11 libraries" >&5
d5163 1
a5163 1
echo "configure:5109: checking for XCreateWindow in -lXwindow" >&5
d5171 1
a5171 1
#line 5117 "configure"
d5182 1
a5182 1
if { (eval echo configure:5128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5258 1
a5258 1
echo "configure:5204: checking for main in -lXbsd" >&5
d5266 1
a5266 1
#line 5212 "configure"
d5273 1
a5273 1
if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5296 1
a5296 1
echo "configure:5242: checking for connect" >&5
d5301 1
a5301 1
#line 5247 "configure"
d5324 1
a5324 1
if { (eval echo configure:5270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5346 1
a5346 1
echo "configure:5292: checking for main in -lsocket" >&5
d5354 1
a5354 1
#line 5300 "configure"
d5361 1
a5361 1
if { (eval echo configure:5307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5387 1
a5387 1
echo "configure:5333: checking for accept" >&5
d5392 1
a5392 1
#line 5338 "configure"
d5415 1
a5415 1
if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5437 1
a5437 1
echo "configure:5383: checking for gethostbyname" >&5
d5442 1
a5442 1
#line 5388 "configure"
d5465 1
a5465 1
if { (eval echo configure:5411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5483 1
a5483 1
echo "configure:5429: checking for main in -lnsl" >&5
d5491 1
a5491 1
#line 5437 "configure"
d5498 1
a5498 1
if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5534 1
a5534 1
echo "configure:5480: checking MIT X libraries" >&5
d5540 1
a5540 1
#line 5486 "configure"
d5551 1
a5551 1
if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5575 1
a5575 1
echo "configure:5521: checking whether char is unsigned" >&5
d5582 1
a5582 1
#line 5528 "configure"
d5604 1
a5604 1
#line 5550 "configure"
d5614 1
a5614 1
if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5647 1
a5647 1
echo "configure:5593: checking for strtod" >&5
d5652 1
a5652 1
#line 5598 "configure"
d5675 1
a5675 1
if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5697 1
a5697 1
echo "configure:5643: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5706 1
a5706 1
#line 5652 "configure"
d5729 1
a5729 1
if { (eval echo configure:5675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5792 1
a5792 1
echo "configure:5738: checking how to package libraries" >&5
d5866 1
a5866 1
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Finalizing Tk.framework" && rm -f "$(LIB_INSTALL_DIR)/../Current" && ln -s "$(VERSION)" "$(LIB_INSTALL_DIR)/../Current" && for f in "$(LIB_FILE)" tkConfig.sh Resources Headers PrivateHeaders; do rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/Current/$$f" "$(LIB_INSTALL_DIR)/../.."; done && f="$(STUB_LIB_FILE)" && rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/$(VERSION)/$$f" "$(LIB_INSTALL_DIR)/../.."'
d6320 2
a6321 2
test "$FRAMEWORK_BUILD" = "1" && n=Tk &&
	f=$n.framework && v=Versions/$VERSION &&
@


1.65.2.31
log
@	* README:       Bumped patchlevel to 8.4.10
	* generic/tk.h:
	* macosx/Wish.pbproj/project.pbxproj:
	* unix/configure, unix/configure.in, unix/tk.spec:
	* win/configure, win/configure.in:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".10"
@


1.65.2.32
log
@	* unix/configure.in: skip X11 configure checks when building tk_aqua.
	* unix/configure: autoconf-2.13
@
text
@d5202 2
a5203 3
if test $tk_aqua = no; then
    echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
echo "configure:5205: checking for main in -lXbsd" >&5
d5211 1
a5211 1
#line 5213 "configure"
d5218 1
a5218 1
if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a5237 1
fi
d5241 1
a5241 1
echo "configure:5244: checking for connect" >&5
d5246 1
a5246 1
#line 5249 "configure"
d5269 1
a5269 1
if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5291 1
a5291 1
echo "configure:5294: checking for main in -lsocket" >&5
d5299 1
a5299 1
#line 5302 "configure"
d5306 1
a5306 1
if { (eval echo configure:5309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5332 1
a5332 1
echo "configure:5335: checking for accept" >&5
d5337 1
a5337 1
#line 5340 "configure"
d5360 1
a5360 1
if { (eval echo configure:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5382 1
a5382 1
echo "configure:5385: checking for gethostbyname" >&5
d5387 1
a5387 1
#line 5390 "configure"
d5410 1
a5410 1
if { (eval echo configure:5413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5428 1
a5428 1
echo "configure:5431: checking for main in -lnsl" >&5
d5436 1
a5436 1
#line 5439 "configure"
d5443 1
a5443 1
if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5477 1
a5477 1
if test -d /usr/include/mit -a $tk_aqua = no; then
d5479 1
a5479 1
echo "configure:5482: checking MIT X libraries" >&5
d5485 1
a5485 1
#line 5488 "configure"
d5496 1
a5496 1
if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5520 1
a5520 1
echo "configure:5523: checking whether char is unsigned" >&5
d5527 1
a5527 1
#line 5530 "configure"
d5549 1
a5549 1
#line 5552 "configure"
d5559 1
a5559 1
if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5592 1
a5592 1
echo "configure:5595: checking for strtod" >&5
d5597 1
a5597 1
#line 5600 "configure"
d5620 1
a5620 1
if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5642 1
a5642 1
echo "configure:5645: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5651 1
a5651 1
#line 5654 "configure"
d5674 1
a5674 1
if { (eval echo configure:5677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5737 1
a5737 1
echo "configure:5740: checking how to package libraries" >&5
@


1.65.2.33
log
@        * README:               Bump version number to 8.4.11
        * generic/tk.h:
        * macosx/Wish.pbproj/project.pbxproc:
        * unix/configure.in:
        * win/configure.in:

        * unix/configure.in:    Updated LOCALES to cover all msgs catalogs.

        * unix/configure:       autoconf
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".11"
d562 1
a562 1
LOCALES="cs de el en en_gb eo es es_es fr it nl pl ru"
@


1.65.2.34
log
@	*** 8.4.11 TAGGED FOR RELEASE ***

	* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
	symbolic link.

	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
	ensure we can always relocate binaries with install_name_tool.

	* unix/configure: autoconf-2.13
@
text
@d2769 1
a2769 1
	    LDFLAGS="$LDFLAGS -prebind -headerpad_max_install_names"
@


1.65.2.35
log
@sync'ed to Tcl's tcl.m4
@
text
@d1574 138
d1724 1
a1724 1
echo "configure:1587: checking how to build libraries" >&5
d1763 1
a1763 1
echo "configure:1626: checking for $ac_word" >&5
d1795 1
a1795 1
echo "configure:1658: checking if 64bit support is requested" >&5
d1815 1
a1815 1
echo "configure:1678: checking if 64bit Sparc VIS support is requested" >&5
d1839 1
a1839 1
echo "configure:1702: checking system version (for dynamic loading)" >&5
d1865 1
a1865 1
echo "configure:1728: checking for dlopen in -ldl" >&5
d1873 1
a1873 1
#line 1736 "configure"
d1884 1
a1884 1
if { (eval echo configure:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1932 1
a1932 1
echo "configure:1795: checking for $ac_word" >&5
d1969 3
a1971 8
		case "${CC}" in
		    *_r)
			# ok ...
			;;
		    *)
			CC=${CC}_r
			;;
		esac
d2042 1
a2042 1
echo "configure:1910: checking for gettimeofday in -lbsd" >&5
d2050 1
a2050 1
#line 1918 "configure"
d2061 1
a2061 1
if { (eval echo configure:1929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2104 1
a2104 1
echo "configure:1972: checking for inet_ntoa in -lbind" >&5
d2112 1
a2112 1
#line 1980 "configure"
d2123 1
a2123 1
if { (eval echo configure:1991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2189 1
a2189 1
echo "configure:2057: checking for shl_load in -ldld" >&5
d2197 1
a2197 1
#line 2065 "configure"
d2208 1
a2208 1
if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2276 1
a2276 1
echo "configure:2144: checking for shl_load in -ldld" >&5
d2284 1
a2284 1
#line 2152 "configure"
d2295 1
a2295 1
if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2419 1
a2419 1
echo "configure:2287: checking for dld.h" >&5
d2424 1
a2424 1
#line 2292 "configure"
d2429 1
a2429 1
{ (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2493 1
a2493 1
echo "configure:2361: checking for dld.h" >&5
d2498 1
a2498 1
#line 2366 "configure"
d2503 1
a2503 1
{ (eval echo configure:2371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2559 1
a2559 1
echo "configure:2427: checking for dlfcn.h" >&5
d2564 1
a2564 1
#line 2432 "configure"
d2569 1
a2569 1
{ (eval echo configure:2437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2596 1
a2596 1
echo "configure:2464: checking for ELF" >&5
d2598 1
a2598 1
#line 2466 "configure"
d2672 1
a2672 1
echo "configure:2540: checking for ELF" >&5
d2674 1
a2674 1
#line 2542 "configure"
d2733 1
a2733 1
echo "configure:2601: checking if ld accepts -single_module flag" >&5
d2741 1
a2741 1
#line 2609 "configure"
d2748 1
a2748 1
if { (eval echo configure:2616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2771 1
a2771 1
echo "configure:2639: checking if ld accepts -search_paths_first flag" >&5
d2779 1
a2779 1
#line 2647 "configure"
d2786 1
a2786 1
if { (eval echo configure:2654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2809 1
a2809 1
echo "configure:2677: checking whether to use CoreFoundation" >&5
d2821 1
a2821 1
echo "configure:2689: checking for CoreFoundation.framework" >&5
d2829 1
a2829 1
#line 2697 "configure"
d2836 1
a2836 1
if { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2862 1
a2862 1
echo "configure:2730: checking for $ac_hdr" >&5
d2867 1
a2867 1
#line 2735 "configure"
d2872 1
a2872 1
{ (eval echo configure:2740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2901 1
a2901 1
echo "configure:2769: checking for $ac_func" >&5
d2906 1
a2906 1
#line 2774 "configure"
d2929 1
a2929 1
if { (eval echo configure:2797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2972 1
a2972 1
echo "configure:2840: checking for realpath" >&5
d2977 1
a2977 1
#line 2845 "configure"
d3000 1
a3000 1
if { (eval echo configure:2868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3311 1
a3311 1
echo "configure:3179: checking for ld accepts -Bexport flag" >&5
d3314 1
a3314 1
#line 3182 "configure"
d3321 1
a3321 1
if { (eval echo configure:3189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3362 1
a3362 1
echo "configure:3230: checking sys/exec.h" >&5
d3364 1
a3364 1
#line 3232 "configure"
d3382 1
a3382 1
if { (eval echo configure:3250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3400 1
a3400 1
echo "configure:3268: checking a.out.h" >&5
d3402 1
a3402 1
#line 3270 "configure"
d3420 1
a3420 1
if { (eval echo configure:3288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3438 1
a3438 1
echo "configure:3306: checking sys/exec_aout.h" >&5
d3440 1
a3440 1
#line 3308 "configure"
d3458 1
a3458 1
if { (eval echo configure:3326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3609 1
a3609 1
echo "configure:3477: checking for build with symbols" >&5
d3670 1
a3670 1
echo "configure:3538: checking for required early compiler flags" >&5
d3677 1
a3677 1
#line 3545 "configure"
d3684 1
a3684 1
if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3692 1
a3692 1
#line 3560 "configure"
d3700 1
a3700 1
if { (eval echo configure:3568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3726 1
a3726 1
#line 3594 "configure"
d3733 1
a3733 1
if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3741 1
a3741 1
#line 3609 "configure"
d3749 1
a3749 1
if { (eval echo configure:3617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3778 1
a3778 1
echo "configure:3646: checking for 64-bit integer type" >&5
d3786 1
a3786 1
#line 3654 "configure"
d3793 1
a3793 1
if { (eval echo configure:3661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3807 1
a3807 1
#line 3675 "configure"
d3816 1
a3816 1
if { (eval echo configure:3684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3841 1
a3841 1
echo "configure:3709: checking for struct dirent64" >&5
d3847 1
a3847 1
#line 3715 "configure"
d3855 1
a3855 1
if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3876 1
a3876 1
echo "configure:3744: checking for struct stat64" >&5
d3882 1
a3882 1
#line 3750 "configure"
d3890 1
a3890 1
if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3913 1
a3913 1
echo "configure:3781: checking for $ac_func" >&5
d3918 1
a3918 1
#line 3786 "configure"
d3941 1
a3941 1
if { (eval echo configure:3809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3966 1
a3966 1
echo "configure:3834: checking for off64_t" >&5
d3972 1
a3972 1
#line 3840 "configure"
d3980 1
a3980 1
if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4010 1
a4010 1
echo "configure:3878: checking whether byte ordering is bigendian" >&5
d4017 1
a4017 1
#line 3885 "configure"
d4028 1
a4028 1
if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4032 1
a4032 1
#line 3900 "configure"
d4043 1
a4043 1
if { (eval echo configure:3911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4063 1
a4063 1
#line 3931 "configure"
d4076 1
a4076 1
if { (eval echo configure:3944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4126 1
a4126 1
echo "configure:3994: checking for sin" >&5
d4131 1
a4131 1
#line 3999 "configure"
d4154 1
a4154 1
if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4175 1
a4175 1
echo "configure:4043: checking for main in -lieee" >&5
d4183 1
a4183 1
#line 4051 "configure"
d4190 1
a4190 1
if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4221 1
a4221 1
echo "configure:4089: checking for gettimeofday in -lbsd" >&5
d4229 1
a4229 1
#line 4097 "configure"
d4240 1
a4240 1
if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4271 1
a4271 1
echo "configure:4139: checking stdlib.h" >&5
d4273 1
a4273 1
#line 4141 "configure"
d4288 1
a4288 1
#line 4156 "configure"
d4302 1
a4302 1
#line 4170 "configure"
d4334 1
a4334 1
echo "configure:4202: checking fd_set and sys/select" >&5
d4336 1
a4336 1
#line 4204 "configure"
d4343 1
a4343 1
if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4355 1
a4355 1
#line 4223 "configure"
d4387 1
a4387 1
echo "configure:4255: checking for ANSI C header files" >&5
d4392 1
a4392 1
#line 4260 "configure"
d4400 1
a4400 1
{ (eval echo configure:4268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4417 1
a4417 1
#line 4285 "configure"
d4435 1
a4435 1
#line 4303 "configure"
d4456 1
a4456 1
#line 4324 "configure"
d4467 1
a4467 1
if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4491 1
a4491 1
echo "configure:4359: checking for mode_t" >&5
d4496 1
a4496 1
#line 4364 "configure"
d4524 1
a4524 1
echo "configure:4392: checking for pid_t" >&5
d4529 1
a4529 1
#line 4397 "configure"
d4557 1
a4557 1
echo "configure:4425: checking for size_t" >&5
d4562 1
a4562 1
#line 4430 "configure"
d4590 1
a4590 1
echo "configure:4458: checking for uid_t in sys/types.h" >&5
d4595 1
a4595 1
#line 4463 "configure"
d4632 1
a4632 1
echo "configure:4500: checking for $ac_hdr" >&5
d4637 1
a4637 1
#line 4505 "configure"
d4642 1
a4642 1
{ (eval echo configure:4510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4669 1
a4669 1
echo "configure:4537: checking whether time.h and sys/time.h may both be included" >&5
d4674 1
a4674 1
#line 4542 "configure"
d4683 1
a4683 1
if { (eval echo configure:4551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4709 1
a4709 1
echo "configure:4577: checking pw_gecos in struct pwd" >&5
d4711 1
a4711 1
#line 4579 "configure"
d4718 1
a4718 1
if { (eval echo configure:4586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4786 1
a4786 1
echo "configure:4654: checking for X" >&5
d4848 1
a4848 1
#line 4716 "configure"
d4853 1
a4853 1
{ (eval echo configure:4721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4922 1
a4922 1
#line 4790 "configure"
d4929 1
a4929 1
if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5019 1
a5019 1
#line 4887 "configure"
d5024 1
a5024 1
{ (eval echo configure:4892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5044 1
a5044 1
echo "configure:4912: checking for X11 header files" >&5
d5047 1
a5047 1
#line 4915 "configure"
d5052 1
a5052 1
{ (eval echo configure:4920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5088 1
a5088 1
echo "configure:4956: checking for X11 libraries" >&5
d5108 1
a5108 1
echo "configure:4976: checking for XCreateWindow in -lXwindow" >&5
d5116 1
a5116 1
#line 4984 "configure"
d5127 1
a5127 1
if { (eval echo configure:4995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5204 1
a5204 1
echo "configure:5072: checking for main in -lXbsd" >&5
d5212 1
a5212 1
#line 5080 "configure"
d5219 1
a5219 1
if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5243 1
a5243 1
echo "configure:5111: checking for connect" >&5
d5248 1
a5248 1
#line 5116 "configure"
d5271 1
a5271 1
if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5293 1
a5293 1
echo "configure:5161: checking for main in -lsocket" >&5
d5301 1
a5301 1
#line 5169 "configure"
d5308 1
a5308 1
if { (eval echo configure:5176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5334 1
a5334 1
echo "configure:5202: checking for accept" >&5
d5339 1
a5339 1
#line 5207 "configure"
d5362 1
a5362 1
if { (eval echo configure:5230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5384 1
a5384 1
echo "configure:5252: checking for gethostbyname" >&5
d5389 1
a5389 1
#line 5257 "configure"
d5412 1
a5412 1
if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5430 1
a5430 1
echo "configure:5298: checking for main in -lnsl" >&5
d5438 1
a5438 1
#line 5306 "configure"
d5445 1
a5445 1
if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5481 1
a5481 1
echo "configure:5349: checking MIT X libraries" >&5
d5487 1
a5487 1
#line 5355 "configure"
d5498 1
a5498 1
if { (eval echo configure:5366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5522 1
a5522 1
echo "configure:5390: checking whether char is unsigned" >&5
d5529 1
a5529 1
#line 5397 "configure"
d5551 1
a5551 1
#line 5419 "configure"
d5561 1
a5561 1
if { (eval echo configure:5429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5594 1
a5594 1
echo "configure:5462: checking for strtod" >&5
d5599 1
a5599 1
#line 5467 "configure"
d5622 1
a5622 1
if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5644 1
a5644 1
echo "configure:5512: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5653 1
a5653 1
#line 5521 "configure"
d5676 1
a5676 1
if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5739 1
a5739 1
echo "configure:5607: checking how to package libraries" >&5
@


1.65.2.36
log
@	* unix/Makefile.in: Subst TCLSH_PROG and
	BUILD_TCLSH into Makefile. Rework html
	target so that it depends on the tclsh
	installed on the system PATH.
	* unix/configure: Regen.
	* unix/configure.in: Invoke SC_PROG_TCLSH
	and SC_BUILD_TCLSH and subst into Makefile.
	* unix/tcl.m4: Update from Tcl.
	* win/Makefile.in: Subst TCLSH_PROG and
	BUILD_TCLSH into Makefile. Rework winhelp
	target so that it depends on the tclsh
	installed on the system PATH.
	* win/configure: Regen.
	* win/configure.in: Invoke SC_BUILD_TCLSH
	and subst into Makefile.
	* win/tcl.m4: Update from Tcl.
	[Tcl patch 1244153]
@
text
@a714 42

    echo $ac_n "checking for tclsh""... $ac_c" 1>&6
echo "configure:718: checking for tclsh" >&5

    if eval "test \"`echo '$''{'ac_cv_path_tclsh'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	search_path=`echo ${PATH} | sed -e 's/:/ /g'`
	for dir in $search_path ; do
	    for j in `ls -r $dir/tclsh[8-9]* 2> /dev/null` \
		    `ls -r $dir/tclsh* 2> /dev/null` ; do
		if test x"$ac_cv_path_tclsh" = x ; then
		    if test -f "$j" ; then
			ac_cv_path_tclsh=$j
			break
		    fi
		fi
	    done
	done
    
fi


    if test -f "$ac_cv_path_tclsh" ; then
	TCLSH_PROG="$ac_cv_path_tclsh"
	echo "$ac_t""$TCLSH_PROG" 1>&6
    else
	# It is not an error if an installed version of Tcl can't be located.
	TCLSH_PROG=""
	echo "$ac_t""No tclsh found on PATH" 1>&6
    fi
    


    echo $ac_n "checking for tclsh in Tcl build directory""... $ac_c" 1>&6
echo "configure:752: checking for tclsh in Tcl build directory" >&5
    BUILD_TCLSH=${TCL_BIN_DIR}/tclsh
    echo "$ac_t""$BUILD_TCLSH" 1>&6
    


d741 1
a741 1
echo "configure:784: checking whether to use symlinks for manpages" >&5
d753 1
a753 1
echo "configure:796: checking whether to compress the manpages" >&5
d766 1
a766 1
echo "configure:809: checking for compressed file suffix" >&5
d776 1
a776 1
echo "configure:819: checking whether to add a package name suffix for the manpages" >&5
d804 1
a804 1
echo "configure:847: checking for $ac_word" >&5
d834 1
a834 1
echo "configure:877: checking for $ac_word" >&5
d885 1
a885 1
echo "configure:928: checking for $ac_word" >&5
d917 1
a917 1
echo "configure:960: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d928 1
a928 1
#line 971 "configure"
d933 1
a933 1
if { (eval echo configure:976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d959 1
a959 1
echo "configure:1002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d964 1
a964 1
echo "configure:1007: checking whether we are using GNU C" >&5
d973 1
a973 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d992 1
a992 1
echo "configure:1035: checking whether ${CC-cc} accepts -g" >&5
d1025 1
a1025 1
echo "configure:1068: checking how to run the C preprocessor" >&5
d1040 1
a1040 1
#line 1083 "configure"
d1046 1
a1046 1
{ (eval echo configure:1089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1057 1
a1057 1
#line 1100 "configure"
d1063 1
a1063 1
{ (eval echo configure:1106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1074 1
a1074 1
#line 1117 "configure"
d1080 1
a1080 1
{ (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1108 1
a1108 1
echo "configure:1151: checking for $ac_hdr" >&5
d1113 1
a1113 1
#line 1156 "configure"
d1118 1
a1118 1
{ (eval echo configure:1161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1153 1
a1153 1
echo "configure:1196: checking if the compiler understands -pipe" >&5
d1157 1
a1157 1
#line 1200 "configure"
d1164 1
a1164 1
if { (eval echo configure:1207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1184 1
a1184 1
echo "configure:1227: checking for building with threads" >&5
d1226 1
a1226 1
echo "configure:1269: checking for pthread_mutex_init in -lpthread" >&5
d1234 1
a1234 1
#line 1277 "configure"
d1245 1
a1245 1
if { (eval echo configure:1288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1273 1
a1273 1
echo "configure:1316: checking for __pthread_mutex_init in -lpthread" >&5
d1281 1
a1281 1
#line 1324 "configure"
d1292 1
a1292 1
if { (eval echo configure:1335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1320 1
a1320 1
echo "configure:1363: checking for pthread_mutex_init in -lpthreads" >&5
d1328 1
a1328 1
#line 1371 "configure"
d1339 1
a1339 1
if { (eval echo configure:1382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1365 1
a1365 1
echo "configure:1408: checking for pthread_mutex_init in -lc" >&5
d1373 1
a1373 1
#line 1416 "configure"
d1384 1
a1384 1
if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1407 1
a1407 1
echo "configure:1450: checking for pthread_mutex_init in -lc_r" >&5
d1415 1
a1415 1
#line 1458 "configure"
d1426 1
a1426 1
if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1466 1
a1466 1
echo "configure:1509: checking for $ac_func" >&5
d1471 1
a1471 1
#line 1514 "configure"
d1494 1
a1494 1
if { (eval echo configure:1537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1521 1
a1521 1
echo "configure:1564: checking for $ac_func" >&5
d1526 1
a1526 1
#line 1569 "configure"
d1549 1
a1549 1
if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1586 1
a1586 1
echo "configure:1629: checking how to build libraries" >&5
d1625 1
a1625 1
echo "configure:1668: checking for $ac_word" >&5
d1657 1
a1657 1
echo "configure:1700: checking if 64bit support is requested" >&5
d1677 1
a1677 1
echo "configure:1720: checking if 64bit Sparc VIS support is requested" >&5
d1701 1
a1701 1
echo "configure:1744: checking system version (for dynamic loading)" >&5
d1727 1
a1727 1
echo "configure:1770: checking for dlopen in -ldl" >&5
d1735 1
a1735 1
#line 1778 "configure"
d1746 1
a1746 1
if { (eval echo configure:1789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1794 1
a1794 1
echo "configure:1837: checking for $ac_word" >&5
d1909 1
a1909 1
echo "configure:1952: checking for gettimeofday in -lbsd" >&5
d1917 1
a1917 1
#line 1960 "configure"
d1928 1
a1928 1
if { (eval echo configure:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1971 1
a1971 1
echo "configure:2014: checking for inet_ntoa in -lbind" >&5
d1979 1
a1979 1
#line 2022 "configure"
d1990 1
a1990 1
if { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2056 1
a2056 1
echo "configure:2099: checking for shl_load in -ldld" >&5
d2064 1
a2064 1
#line 2107 "configure"
d2075 1
a2075 1
if { (eval echo configure:2118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2143 1
a2143 1
echo "configure:2186: checking for shl_load in -ldld" >&5
d2151 1
a2151 1
#line 2194 "configure"
d2162 1
a2162 1
if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2286 1
a2286 1
echo "configure:2329: checking for dld.h" >&5
d2291 1
a2291 1
#line 2334 "configure"
d2296 1
a2296 1
{ (eval echo configure:2339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2360 1
a2360 1
echo "configure:2403: checking for dld.h" >&5
d2365 1
a2365 1
#line 2408 "configure"
d2370 1
a2370 1
{ (eval echo configure:2413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2426 1
a2426 1
echo "configure:2469: checking for dlfcn.h" >&5
d2431 1
a2431 1
#line 2474 "configure"
d2436 1
a2436 1
{ (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2463 1
a2463 1
echo "configure:2506: checking for ELF" >&5
d2465 1
a2465 1
#line 2508 "configure"
d2539 1
a2539 1
echo "configure:2582: checking for ELF" >&5
d2541 1
a2541 1
#line 2584 "configure"
d2600 1
a2600 1
echo "configure:2643: checking if ld accepts -single_module flag" >&5
d2608 1
a2608 1
#line 2651 "configure"
d2615 1
a2615 1
if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2638 1
a2638 1
echo "configure:2681: checking if ld accepts -search_paths_first flag" >&5
d2646 1
a2646 1
#line 2689 "configure"
d2653 1
a2653 1
if { (eval echo configure:2696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2676 1
a2676 1
echo "configure:2719: checking whether to use CoreFoundation" >&5
d2688 1
a2688 1
echo "configure:2731: checking for CoreFoundation.framework" >&5
d2696 1
a2696 1
#line 2739 "configure"
d2703 1
a2703 1
if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2729 1
a2729 1
echo "configure:2772: checking for $ac_hdr" >&5
d2734 1
a2734 1
#line 2777 "configure"
d2739 1
a2739 1
{ (eval echo configure:2782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2768 1
a2768 1
echo "configure:2811: checking for $ac_func" >&5
d2773 1
a2773 1
#line 2816 "configure"
d2796 1
a2796 1
if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2839 1
a2839 1
echo "configure:2882: checking for realpath" >&5
d2844 1
a2844 1
#line 2887 "configure"
d2867 1
a2867 1
if { (eval echo configure:2910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3178 1
a3178 1
echo "configure:3221: checking for ld accepts -Bexport flag" >&5
d3181 1
a3181 1
#line 3224 "configure"
d3188 1
a3188 1
if { (eval echo configure:3231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3229 1
a3229 1
echo "configure:3272: checking sys/exec.h" >&5
d3231 1
a3231 1
#line 3274 "configure"
d3249 1
a3249 1
if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3267 1
a3267 1
echo "configure:3310: checking a.out.h" >&5
d3269 1
a3269 1
#line 3312 "configure"
d3287 1
a3287 1
if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3305 1
a3305 1
echo "configure:3348: checking sys/exec_aout.h" >&5
d3307 1
a3307 1
#line 3350 "configure"
d3325 1
a3325 1
if { (eval echo configure:3368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3476 1
a3476 1
echo "configure:3519: checking for build with symbols" >&5
d3537 1
a3537 1
echo "configure:3580: checking for required early compiler flags" >&5
d3544 1
a3544 1
#line 3587 "configure"
d3551 1
a3551 1
if { (eval echo configure:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3559 1
a3559 1
#line 3602 "configure"
d3567 1
a3567 1
if { (eval echo configure:3610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3593 1
a3593 1
#line 3636 "configure"
d3600 1
a3600 1
if { (eval echo configure:3643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3608 1
a3608 1
#line 3651 "configure"
d3616 1
a3616 1
if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3645 1
a3645 1
echo "configure:3688: checking for 64-bit integer type" >&5
d3653 1
a3653 1
#line 3696 "configure"
d3660 1
a3660 1
if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3674 1
a3674 1
#line 3717 "configure"
d3683 1
a3683 1
if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3708 1
a3708 1
echo "configure:3751: checking for struct dirent64" >&5
d3714 1
a3714 1
#line 3757 "configure"
d3722 1
a3722 1
if { (eval echo configure:3765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3743 1
a3743 1
echo "configure:3786: checking for struct stat64" >&5
d3749 1
a3749 1
#line 3792 "configure"
d3757 1
a3757 1
if { (eval echo configure:3800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3780 1
a3780 1
echo "configure:3823: checking for $ac_func" >&5
d3785 1
a3785 1
#line 3828 "configure"
d3808 1
a3808 1
if { (eval echo configure:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3833 1
a3833 1
echo "configure:3876: checking for off64_t" >&5
d3839 1
a3839 1
#line 3882 "configure"
d3847 1
a3847 1
if { (eval echo configure:3890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3877 1
a3877 1
echo "configure:3920: checking whether byte ordering is bigendian" >&5
d3884 1
a3884 1
#line 3927 "configure"
d3895 1
a3895 1
if { (eval echo configure:3938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3899 1
a3899 1
#line 3942 "configure"
d3910 1
a3910 1
if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3930 1
a3930 1
#line 3973 "configure"
d3943 1
a3943 1
if { (eval echo configure:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3993 1
a3993 1
echo "configure:4036: checking for sin" >&5
d3998 1
a3998 1
#line 4041 "configure"
d4021 1
a4021 1
if { (eval echo configure:4064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4042 1
a4042 1
echo "configure:4085: checking for main in -lieee" >&5
d4050 1
a4050 1
#line 4093 "configure"
d4057 1
a4057 1
if { (eval echo configure:4100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4088 1
a4088 1
echo "configure:4131: checking for gettimeofday in -lbsd" >&5
d4096 1
a4096 1
#line 4139 "configure"
d4107 1
a4107 1
if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4138 1
a4138 1
echo "configure:4181: checking stdlib.h" >&5
d4140 1
a4140 1
#line 4183 "configure"
d4155 1
a4155 1
#line 4198 "configure"
d4169 1
a4169 1
#line 4212 "configure"
d4201 1
a4201 1
echo "configure:4244: checking fd_set and sys/select" >&5
d4203 1
a4203 1
#line 4246 "configure"
d4210 1
a4210 1
if { (eval echo configure:4253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4222 1
a4222 1
#line 4265 "configure"
d4254 1
a4254 1
echo "configure:4297: checking for ANSI C header files" >&5
d4259 1
a4259 1
#line 4302 "configure"
d4267 1
a4267 1
{ (eval echo configure:4310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4284 1
a4284 1
#line 4327 "configure"
d4302 1
a4302 1
#line 4345 "configure"
d4323 1
a4323 1
#line 4366 "configure"
d4334 1
a4334 1
if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4358 1
a4358 1
echo "configure:4401: checking for mode_t" >&5
d4363 1
a4363 1
#line 4406 "configure"
d4391 1
a4391 1
echo "configure:4434: checking for pid_t" >&5
d4396 1
a4396 1
#line 4439 "configure"
d4424 1
a4424 1
echo "configure:4467: checking for size_t" >&5
d4429 1
a4429 1
#line 4472 "configure"
d4457 1
a4457 1
echo "configure:4500: checking for uid_t in sys/types.h" >&5
d4462 1
a4462 1
#line 4505 "configure"
d4499 1
a4499 1
echo "configure:4542: checking for $ac_hdr" >&5
d4504 1
a4504 1
#line 4547 "configure"
d4509 1
a4509 1
{ (eval echo configure:4552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4536 1
a4536 1
echo "configure:4579: checking whether time.h and sys/time.h may both be included" >&5
d4541 1
a4541 1
#line 4584 "configure"
d4550 1
a4550 1
if { (eval echo configure:4593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4576 1
a4576 1
echo "configure:4619: checking pw_gecos in struct pwd" >&5
d4578 1
a4578 1
#line 4621 "configure"
d4585 1
a4585 1
if { (eval echo configure:4628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4653 1
a4653 1
echo "configure:4696: checking for X" >&5
d4715 1
a4715 1
#line 4758 "configure"
d4720 1
a4720 1
{ (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4789 1
a4789 1
#line 4832 "configure"
d4796 1
a4796 1
if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4886 1
a4886 1
#line 4929 "configure"
d4891 1
a4891 1
{ (eval echo configure:4934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4911 1
a4911 1
echo "configure:4954: checking for X11 header files" >&5
d4914 1
a4914 1
#line 4957 "configure"
d4919 1
a4919 1
{ (eval echo configure:4962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4955 1
a4955 1
echo "configure:4998: checking for X11 libraries" >&5
d4975 1
a4975 1
echo "configure:5018: checking for XCreateWindow in -lXwindow" >&5
d4983 1
a4983 1
#line 5026 "configure"
d4994 1
a4994 1
if { (eval echo configure:5037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5071 1
a5071 1
echo "configure:5114: checking for main in -lXbsd" >&5
d5079 1
a5079 1
#line 5122 "configure"
d5086 1
a5086 1
if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5110 1
a5110 1
echo "configure:5153: checking for connect" >&5
d5115 1
a5115 1
#line 5158 "configure"
d5138 1
a5138 1
if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5160 1
a5160 1
echo "configure:5203: checking for main in -lsocket" >&5
d5168 1
a5168 1
#line 5211 "configure"
d5175 1
a5175 1
if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5201 1
a5201 1
echo "configure:5244: checking for accept" >&5
d5206 1
a5206 1
#line 5249 "configure"
d5229 1
a5229 1
if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5251 1
a5251 1
echo "configure:5294: checking for gethostbyname" >&5
d5256 1
a5256 1
#line 5299 "configure"
d5279 1
a5279 1
if { (eval echo configure:5322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5297 1
a5297 1
echo "configure:5340: checking for main in -lnsl" >&5
d5305 1
a5305 1
#line 5348 "configure"
d5312 1
a5312 1
if { (eval echo configure:5355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5348 1
a5348 1
echo "configure:5391: checking MIT X libraries" >&5
d5354 1
a5354 1
#line 5397 "configure"
d5365 1
a5365 1
if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5389 1
a5389 1
echo "configure:5432: checking whether char is unsigned" >&5
d5396 1
a5396 1
#line 5439 "configure"
d5418 1
a5418 1
#line 5461 "configure"
d5428 1
a5428 1
if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5461 1
a5461 1
echo "configure:5504: checking for strtod" >&5
d5466 1
a5466 1
#line 5509 "configure"
d5489 1
a5489 1
if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5511 1
a5511 1
echo "configure:5554: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5520 1
a5520 1
#line 5563 "configure"
d5543 1
a5543 1
if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5606 1
a5606 1
echo "configure:5649: checking how to package libraries" >&5
a5959 2
s%@@TCLSH_PROG@@%$TCLSH_PROG%g
s%@@BUILD_TCLSH@@%$BUILD_TCLSH%g
@


1.65.2.37
log
@	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if
	process is in front on MouseDown, otherwise request process activation
	from BringWindowForward() via new isFrontProcess param.

	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our
	event handler on the dispatcher target for all carbon events of interest
	to TkAqua; this replaces event processing directly from the event queue
	and thus allows to capture events that are syntesized by Carbon and sent
	directly to the dispatcher and not to the event queue.

	* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
	rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
	(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
	sending events to the dispatcher, all events of interest are now
	processed in our dispatcher target event handler.

	* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
	directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than
	four carbon events at one time to avoid starving other event sources.

	* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
	* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
	* macosx/tkMacOSXXStubs.c

	* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
	* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXEvent.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMenubutton.c:
	* macosx/tkMacOSXScale.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXWm.c:

	* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
	* unix/configure: autoconf-2.13

	* library/listbox.tcl: corrected comments.
	* library/text.tcl:

	* xlib/xcolors.c: fixed warning
@
text
@a4678 6
    if test "${enable_symbols+set}" = set; then
        cat >> confdefs.h <<\EOF
#define TK_MAC_DEBUG 1
EOF

    fi
d4695 1
a4695 1
echo "configure:4702: checking for X" >&5
d4757 1
a4757 1
#line 4764 "configure"
d4762 1
a4762 1
{ (eval echo configure:4769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4831 1
a4831 1
#line 4838 "configure"
d4838 1
a4838 1
if { (eval echo configure:4845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4928 1
a4928 1
#line 4935 "configure"
d4933 1
a4933 1
{ (eval echo configure:4940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4953 1
a4953 1
echo "configure:4960: checking for X11 header files" >&5
d4956 1
a4956 1
#line 4963 "configure"
d4961 1
a4961 1
{ (eval echo configure:4968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4997 1
a4997 1
echo "configure:5004: checking for X11 libraries" >&5
d5017 1
a5017 1
echo "configure:5024: checking for XCreateWindow in -lXwindow" >&5
d5025 1
a5025 1
#line 5032 "configure"
d5036 1
a5036 1
if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5113 1
a5113 1
echo "configure:5120: checking for main in -lXbsd" >&5
d5121 1
a5121 1
#line 5128 "configure"
d5128 1
a5128 1
if { (eval echo configure:5135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5152 1
a5152 1
echo "configure:5159: checking for connect" >&5
d5157 1
a5157 1
#line 5164 "configure"
d5180 1
a5180 1
if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5202 1
a5202 1
echo "configure:5209: checking for main in -lsocket" >&5
d5210 1
a5210 1
#line 5217 "configure"
d5217 1
a5217 1
if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5243 1
a5243 1
echo "configure:5250: checking for accept" >&5
d5248 1
a5248 1
#line 5255 "configure"
d5271 1
a5271 1
if { (eval echo configure:5278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5293 1
a5293 1
echo "configure:5300: checking for gethostbyname" >&5
d5298 1
a5298 1
#line 5305 "configure"
d5321 1
a5321 1
if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5339 1
a5339 1
echo "configure:5346: checking for main in -lnsl" >&5
d5347 1
a5347 1
#line 5354 "configure"
d5354 1
a5354 1
if { (eval echo configure:5361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5390 1
a5390 1
echo "configure:5397: checking MIT X libraries" >&5
d5396 1
a5396 1
#line 5403 "configure"
d5407 1
a5407 1
if { (eval echo configure:5414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5431 1
a5431 1
echo "configure:5438: checking whether char is unsigned" >&5
d5438 1
a5438 1
#line 5445 "configure"
d5460 1
a5460 1
#line 5467 "configure"
d5470 1
a5470 1
if { (eval echo configure:5477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5503 1
a5503 1
echo "configure:5510: checking for strtod" >&5
d5508 1
a5508 1
#line 5515 "configure"
d5531 1
a5531 1
if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5553 1
a5553 1
echo "configure:5560: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5562 1
a5562 1
#line 5569 "configure"
d5585 1
a5585 1
if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5648 1
a5648 1
echo "configure:5655: checking how to package libraries" >&5
@


1.65.2.38
log
@Added LIBS to fix issue building tclkit on OpenBSD
@
text
@d2573 1
a2573 1
		SHLIB_LD_LIBS='${LIBS}'
@


1.65.2.39
log
@        * README:               Bump version number to 8.4.12
        * generic/tk.h:
        * macosx/Wish.pbproj/project.pbxproc:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".12"
@


1.65.2.40
log
@	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
	configure (flag can't be present twice, so can't be in both CFLAGS and
	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
	autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD.

	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
	formatting/ordering differences with tcl/unix/configure.in.

	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
	linking the same as during configure (needed to avoid loosing any linker
	relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
	Avoid concurrent linking of wish and compiling of tkTestInit.o during
	parallel make, fix dependencies and flags for building tkMacOSXInit.o
	(checkstubs, checkexports): dependency and Darwin fixes

	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
	* macosx/tkMacOSXEvent.h:
	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
	* macosx/tkMacOSXCarbonEvents.c: install standard application event
	handler, add & call functions to start and stop carbon even timer that
	runs the tcl event loop periodically during a nested carbon event loop
	in the toolbox (e.g. during menutracking) to ensure tcl timers etc
	continue to fire, register app event handler for menu tracking and HI
	command carbon events, move menu event handling to new handlers for
	those carbon events, no longer register for/handle appleevent carbon
	event (now dealt with by standard application event handler), event
	debugging code dynamically acquires carbon event debugging functions to
	allow use on Tiger where they are no longer exported from HIToolbox.

	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
	address of a named symbol (from a loaded dynamic library) into new
	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.

	* macosx/tkMacOSXMenu.c (TkpNewMenu):
	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to  modern
	utf8 aware menu manager API, remove obsolete code, add error handling.

	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
	if necessary to allow compilation on OSX 10.2

	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
	executed.

	* generic/tk.h: add/correct location of version numbers in macosx files.

	* generic/tkInt.h: clarify fat compile comment.

	* macosx/Wish.pbproj/default.pbxuser (new file):
	* macosx/Wish.pbproj/jingham.pbxuser:
	* macosx/Wish.pbproj/project.pbxproj: sync with HEAD.

	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.

	* macosx/README: clarification/cleanup, sync with HEAD, document
	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).

	* macosx/Makefile: add support for reusing configure cache, build target
	fixes.

	* generic/tkMenu.c:
	* macosx/tkMacOSXButton.c:
	* macosx/tkMacOSXDebug.c:
	* macosx/tkMacOSXDebug.h:
	* macosx/tkMacOSXDialog.c:
	* macosx/tkMacOSXDraw.c:
	* macosx/tkMacOSXEntry.c:
	* macosx/tkMacOSXMenu.c:
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXXStubs.c:
	* macosx/tkMacOSXSubwindows.c:
	* xlib/xgc.c: declare functions and globals used only in own file as
	static, #ifdef out a few Xlib and aqua functions that are never called
	(sync with HEAD).

	* macosx/tkMacOSXPort.h:
	* generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect,
	add XSync to aqua Xlib stubs.

	* generic/tkTest.c: #ifdef unix only declarations.
	(TestmetricsCmd): unify win and mac implementation.

	* generic/tkTextDisp.c:
	* generic/tkTextBTree.c:
	* macosx/tkMacOSXInit.c:
	* macosx/tkMacOSXKeyEvent.c:
	* macosx/tkMacOSXWindowEvent.c:
	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.

	* macosx/tkMacOSXNotify.c:
	* macosx/tkMacOSXTest.c: sync with HEAD.

	* generic/tkIntPlatDecls.h:
	* generic/tkIntXlibDecls.h:
	* generic/tkStubInit.c:
	* unix/configure: regen.
@
text
@d20 1
a20 1
		      compress the manpages with PROG"
d23 2
a24 2
		      use STRING as a suffix to manpage file names
		      (default: tk)"
d781 4
a784 3
    echo $ac_n "checking whether to use symlinks for manpages""... $ac_c" 1>&6
echo "configure:783: checking whether to use symlinks for manpages" >&5
    # Check whether --enable-man-symlinks or --disable-man-symlinks was given.
d792 1
a792 1
    echo "$ac_t""$enableval" 1>&6
d794 3
a796 3
    echo $ac_n "checking whether to compress the manpages""... $ac_c" 1>&6
echo "configure:795: checking whether to compress the manpages" >&5
    # Check whether --enable-man-compression or --disable-man-compression was given.
d800 1
a800 1
	test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --compress $enableval"
d805 11
a815 11
    echo "$ac_t""$enableval" 1>&6
    if test "$enableval" != "no"; then
	echo $ac_n "checking for compressed file suffix""... $ac_c" 1>&6
echo "configure:808: checking for compressed file suffix" >&5
	touch TeST
	$enableval TeST
	Z=`ls TeST* | sed 's/^....//'`
	rm -f TeST*
	MAN_FLAGS="$MAN_FLAGS --extension $Z"
	echo "$ac_t""$Z" 1>&6
    fi
d817 3
a819 3
    echo $ac_n "checking whether to add a package name suffix for the manpages""... $ac_c" 1>&6
echo "configure:818: checking whether to add a package name suffix for the manpages" >&5
    # Check whether --enable-man-suffix or --disable-man-suffix was given.
d823 1
a823 1
	test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --suffix $enableval"
d828 1
a828 1
    echo "$ac_t""$enableval" 1>&6
d830 1
a830 1
    
d846 1
a846 1
echo "configure:846: checking for $ac_word" >&5
d876 1
a876 1
echo "configure:876: checking for $ac_word" >&5
d927 1
a927 1
echo "configure:927: checking for $ac_word" >&5
d959 1
a959 1
echo "configure:959: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d970 1
a970 1
#line 970 "configure"
d975 1
a975 1
if { (eval echo configure:975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1001 1
a1001 1
echo "configure:1001: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1006 1
a1006 1
echo "configure:1006: checking whether we are using GNU C" >&5
d1015 1
a1015 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1034 1
a1034 1
echo "configure:1034: checking whether ${CC-cc} accepts -g" >&5
a1065 2
# limits header checks must come early to prevent
# an autoconf bug that throws errors on configure
d1067 1
a1067 1
echo "configure:1069: checking how to run the C preprocessor" >&5
d1082 1
a1082 1
#line 1084 "configure"
d1088 1
a1088 1
{ (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1099 1
a1099 1
#line 1101 "configure"
d1105 1
a1105 1
{ (eval echo configure:1107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1116 1
a1116 1
#line 1118 "configure"
d1122 1
a1122 1
{ (eval echo configure:1124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1146 1
a1146 41
ac_safe=`echo "limits.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for limits.h""... $ac_c" 1>&6
echo "configure:1150: checking for limits.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1155 "configure"
#include "confdefs.h"
#include <limits.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define HAVE_LIMITS_H 1
EOF

else
  echo "$ac_t""no" 1>&6
cat >> confdefs.h <<\EOF
#define NO_LIMITS_H 1
EOF

fi

for ac_hdr in unistd.h
d1150 1
a1150 1
echo "configure:1192: checking for $ac_hdr" >&5
d1155 1
a1155 1
#line 1197 "configure"
d1160 1
a1160 1
{ (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1186 58
#--------------------------------------------------------------------
# Supply a substitute for stdlib.h if it doesn't define strtol,
# strtoul, or strtod (which it doesn't in some versions of SunOS).
#--------------------------------------------------------------------

echo $ac_n "checking stdlib.h""... $ac_c" 1>&6
echo "configure:1235: checking stdlib.h" >&5
cat > conftest.$ac_ext <<EOF
#line 1237 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "strtol" >/dev/null 2>&1; then
  rm -rf conftest*
  tk_ok=yes
else
  rm -rf conftest*
  tk_ok=no
fi
rm -f conftest*

cat > conftest.$ac_ext <<EOF
#line 1252 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "strtoul" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  tk_ok=no
fi
rm -f conftest*

cat > conftest.$ac_ext <<EOF
#line 1266 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "strtod" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  tk_ok=no
fi
rm -f conftest*

if test $tk_ok = no; then
    cat >> confdefs.h <<\EOF
#define NO_STDLIB_H 1
EOF

fi
echo "$ac_t""$tk_ok" 1>&6

d1195 1
a1195 1
echo "configure:1295: checking if the compiler understands -pipe" >&5
d1199 1
a1199 1
#line 1299 "configure"
d1206 1
a1206 1
if { (eval echo configure:1306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1226 1
a1226 1
echo "configure:1326: checking for building with threads" >&5
d1268 1
a1268 1
echo "configure:1368: checking for pthread_mutex_init in -lpthread" >&5
d1276 1
a1276 1
#line 1376 "configure"
d1287 1
a1287 1
if { (eval echo configure:1387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1315 1
a1315 1
echo "configure:1415: checking for __pthread_mutex_init in -lpthread" >&5
d1323 1
a1323 1
#line 1423 "configure"
d1334 1
a1334 1
if { (eval echo configure:1434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1362 1
a1362 1
echo "configure:1462: checking for pthread_mutex_init in -lpthreads" >&5
d1370 1
a1370 1
#line 1470 "configure"
d1381 1
a1381 1
if { (eval echo configure:1481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1407 1
a1407 1
echo "configure:1507: checking for pthread_mutex_init in -lc" >&5
d1415 1
a1415 1
#line 1515 "configure"
d1426 1
a1426 1
if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1449 1
a1449 1
echo "configure:1549: checking for pthread_mutex_init in -lc_r" >&5
d1457 1
a1457 1
#line 1557 "configure"
d1468 1
a1468 1
if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1508 1
a1508 1
echo "configure:1608: checking for $ac_func" >&5
d1513 1
a1513 1
#line 1613 "configure"
d1536 1
a1536 1
if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1563 1
a1563 1
echo "configure:1663: checking for $ac_func" >&5
d1568 1
a1568 1
#line 1668 "configure"
d1591 1
a1591 1
if { (eval echo configure:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1622 94
#--------------------------------------------------------------------
# On a few very rare systems, all of the libm.a stuff is
# already in libc.a.  Set compiler flags accordingly.
# Also, Linux requires the "ieee" library for math to work
# right (and it must appear before "-lm").
#--------------------------------------------------------------------

MATH_LIBS=""
echo $ac_n "checking for sin""... $ac_c" 1>&6
echo "configure:1732: checking for sin" >&5
if eval "test \"`echo '$''{'ac_cv_func_sin'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1737 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char sin(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char sin();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_sin) || defined (__stub___sin)
choke me
#else
sin();
#endif

; return 0; }
EOF
if { (eval echo configure:1760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_sin=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_sin=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'sin`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  :
else
  echo "$ac_t""no" 1>&6
MATH_LIBS="-lm"
fi

echo $ac_n "checking for main in -lieee""... $ac_c" 1>&6
echo "configure:1781: checking for main in -lieee" >&5
ac_lib_var=`echo ieee'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lieee  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1789 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
EOF
if { (eval echo configure:1796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  MATH_LIBS="-lieee $MATH_LIBS"
else
  echo "$ac_t""no" 1>&6
fi


d1628 1
a1628 1
echo "configure:1822: checking how to build libraries" >&5
d1667 1
a1667 1
echo "configure:1861: checking for $ac_word" >&5
d1699 1
a1699 1
echo "configure:1893: checking if 64bit support is requested" >&5
d1719 1
a1719 1
echo "configure:1913: checking if 64bit Sparc VIS support is requested" >&5
d1743 1
a1743 1
echo "configure:1937: checking system version (for dynamic loading)" >&5
d1769 1
a1769 1
echo "configure:1963: checking for dlopen in -ldl" >&5
d1777 1
a1777 1
#line 1971 "configure"
d1788 1
a1788 1
if { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1836 1
a1836 1
echo "configure:2030: checking for $ac_word" >&5
d1897 1
a1897 1
		else 
d1951 1
a1951 1
echo "configure:2145: checking for gettimeofday in -lbsd" >&5
d1959 1
a1959 1
#line 2153 "configure"
d1970 1
a1970 1
if { (eval echo configure:2164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2013 1
a2013 1
echo "configure:2207: checking for inet_ntoa in -lbind" >&5
d2021 1
a2021 1
#line 2215 "configure"
d2032 1
a2032 1
if { (eval echo configure:2226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2098 1
a2098 1
echo "configure:2292: checking for shl_load in -ldld" >&5
d2106 1
a2106 1
#line 2300 "configure"
d2117 1
a2117 1
if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2185 1
a2185 1
echo "configure:2379: checking for shl_load in -ldld" >&5
d2193 1
a2193 1
#line 2387 "configure"
d2204 1
a2204 1
if { (eval echo configure:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2328 1
a2328 1
echo "configure:2522: checking for dld.h" >&5
d2333 1
a2333 1
#line 2527 "configure"
d2338 1
a2338 1
{ (eval echo configure:2532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2402 1
a2402 1
echo "configure:2596: checking for dld.h" >&5
d2407 1
a2407 1
#line 2601 "configure"
d2412 1
a2412 1
{ (eval echo configure:2606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2442 12
	Lynx*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    CFLAGS_OPTIMIZE=-02
	    SHLIB_LD="${CC} -shared "
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS="-mshared -ldl"
	    LD_FLAGS="-Wl,--export-dynamic"
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    ;;
d2468 1
a2468 1
echo "configure:2674: checking for dlfcn.h" >&5
d2473 1
a2473 1
#line 2679 "configure"
d2478 1
a2478 1
{ (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2505 1
a2505 1
echo "configure:2711: checking for ELF" >&5
d2507 1
a2507 1
#line 2713 "configure"
d2581 1
a2581 1
echo "configure:2787: checking for ELF" >&5
d2583 1
a2583 1
#line 2789 "configure"
d2640 1
a2640 5
	    if test $do64bit = yes; then
	        do64bit_ok=yes
	        CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
	    fi
	    SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
d2642 1
a2642 1
echo "configure:2852: checking if ld accepts -single_module flag" >&5
d2650 1
a2650 1
#line 2860 "configure"
d2657 1
a2657 1
if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2678 1
a2678 6
	    # Don't use -prebind when building for Mac OS X 10.4 or later only:
	    if test -z "${MACOSX_DEPLOYMENT_TARGET}" -o \
		    `echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print $2}'` -lt 4; then
		LDFLAGS="$LDFLAGS -prebind"
	    fi
	    LDFLAGS="$LDFLAGS -headerpad_max_install_names"
d2680 1
a2680 1
echo "configure:2895: checking if ld accepts -search_paths_first flag" >&5
d2688 1
a2688 1
#line 2903 "configure"
d2695 1
a2695 1
if { (eval echo configure:2910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2718 1
a2718 1
echo "configure:2933: checking whether to use CoreFoundation" >&5
d2730 1
a2730 1
echo "configure:2945: checking for CoreFoundation.framework" >&5
d2735 1
a2735 7
                    hold_libs=$LIBS; hold_cflags=$CFLAGS
                    if test $do64bit_ok = no ; then
                        # remove -arch ppc64 from CFLAGS while testing presence
                        # of CF, otherwise all archs will have CF disabled.
                        # CF for ppc64 is disabled in tclUnixPort.h instead.
                        CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
                    fi
d2738 1
a2738 1
#line 2959 "configure"
d2745 1
a2745 1
if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2755 1
a2755 1
                    LIBS=$hold_libs; CFLAGS=$hold_cflags
d2771 1
a2771 1
echo "configure:2992: checking for $ac_hdr" >&5
d2776 1
a2776 1
#line 2997 "configure"
d2781 1
a2781 1
{ (eval echo configure:3002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2810 1
a2810 1
echo "configure:3031: checking for $ac_func" >&5
d2815 1
a2815 1
#line 3036 "configure"
d2838 1
a2838 1
if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2862 10
a2871 12
	    for ac_hdr in copyfile.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3087: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3092 "configure"
#include "confdefs.h"
#include <$ac_hdr>
d2873 3
a2875 20
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
a2876 5
 
else
  echo "$ac_t""no" 1>&6
fi
done
d2878 5
a2882 5
	    for ac_func in copyfile
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3126: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
d2886 1
a2886 1
#line 3131 "configure"
d2889 1
a2889 1
    which can conflict with char $ac_func(); below.  */
d2894 1
a2894 1
char $ac_func();
d2901 1
a2901 1
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
d2904 1
a2904 1
$ac_func();
d2909 1
a2909 1
if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2911 1
a2911 1
  eval "ac_cv_func_$ac_func=yes"
d2916 1
a2916 1
  eval "ac_cv_func_$ac_func=no"
d2921 1
a2921 76
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

	    cat >> confdefs.h <<\EOF
#define MAC_OSX_TCL 1
EOF

	    cat >> confdefs.h <<\EOF
#define USE_VFORK 1
EOF

	    cat >> confdefs.h <<\EOF
#define TCL_DEFAULT_ENCODING "utf-8"
EOF

	    cat >> confdefs.h <<\EOF
#define TCL_LOAD_FROM_MEMORY 1
EOF

	    cat >> confdefs.h <<\EOF
#define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING 1
EOF

	    # prior to Darwin 7, realpath is not threadsafe, so don't
	    # use it when threads are enabled, c.f. bug # 711232:
	    echo $ac_n "checking for realpath""... $ac_c" 1>&6
echo "configure:3201: checking for realpath" >&5
if eval "test \"`echo '$''{'ac_cv_func_realpath'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3206 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char realpath(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char realpath();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_realpath) || defined (__stub___realpath)
choke me
#else
realpath();
#endif

; return 0; }
EOF
if { (eval echo configure:3229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_realpath=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_realpath=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'realpath`\" = yes"; then
d2928 1
a2928 1
	    if test $ac_cv_func_realpath = yes -a "${TCL_THREADS}" = 1 \
d3220 1
a3220 1
echo "configure:3540: checking for ld accepts -Bexport flag" >&5
d3223 1
a3223 1
#line 3543 "configure"
d3230 1
a3230 1
if { (eval echo configure:3550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3271 1
a3271 1
echo "configure:3591: checking sys/exec.h" >&5
d3273 1
a3273 1
#line 3593 "configure"
d3291 1
a3291 1
if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3309 1
a3309 1
echo "configure:3629: checking a.out.h" >&5
d3311 1
a3311 1
#line 3631 "configure"
d3329 1
a3329 1
if { (eval echo configure:3649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3347 1
a3347 1
echo "configure:3667: checking sys/exec_aout.h" >&5
d3349 1
a3349 1
#line 3669 "configure"
d3367 1
a3367 1
if { (eval echo configure:3687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3518 1
a3518 1
echo "configure:3838: checking for build with symbols" >&5
d3579 1
a3579 1
echo "configure:3899: checking for required early compiler flags" >&5
d3586 1
a3586 1
#line 3906 "configure"
d3593 1
a3593 1
if { (eval echo configure:3913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3601 1
a3601 1
#line 3921 "configure"
d3609 1
a3609 1
if { (eval echo configure:3929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3635 1
a3635 1
#line 3955 "configure"
d3642 1
a3642 1
if { (eval echo configure:3962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3650 1
a3650 1
#line 3970 "configure"
d3658 1
a3658 1
if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3678 49
    
    if eval "test \"`echo '$''{'tcl_cv_flag__largefile_source64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4004 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
char *p = (char *)open64;
; return 0; }
EOF
if { (eval echo configure:4011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile_source64=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 4019 "configure"
#include "confdefs.h"
#define _LARGEFILE_SOURCE64 1
#include <sys/stat.h>
int main() {
char *p = (char *)open64;
; return 0; }
EOF
if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile_source64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__largefile_source64=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _LARGEFILE_SOURCE64 1
EOF

	tcl_flags="$tcl_flags _LARGEFILE_SOURCE64"
    fi
d3687 1
a3687 1
echo "configure:4056: checking for 64-bit integer type" >&5
d3695 1
a3695 1
#line 4064 "configure"
d3702 1
a3702 1
if { (eval echo configure:4071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3716 1
a3716 1
#line 4085 "configure"
d3725 1
a3725 1
if { (eval echo configure:4094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3750 1
a3750 1
echo "configure:4119: checking for struct dirent64" >&5
d3756 1
a3756 1
#line 4125 "configure"
d3764 1
a3764 1
if { (eval echo configure:4133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3785 1
a3785 1
echo "configure:4154: checking for struct stat64" >&5
d3791 1
a3791 1
#line 4160 "configure"
d3799 1
a3799 1
if { (eval echo configure:4168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3822 1
a3822 1
echo "configure:4191: checking for $ac_func" >&5
d3827 1
a3827 1
#line 4196 "configure"
d3850 1
a3850 1
if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3875 1
a3875 1
echo "configure:4244: checking for off64_t" >&5
d3881 1
a3881 1
#line 4250 "configure"
d3889 1
a3889 1
if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3919 1
a3919 1
echo "configure:4288: checking whether byte ordering is bigendian" >&5
d3926 1
a3926 1
#line 4295 "configure"
d3937 1
a3937 1
if { (eval echo configure:4306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3941 1
a3941 1
#line 4310 "configure"
d3952 1
a3952 1
if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3972 1
a3972 1
#line 4341 "configure"
d3985 1
a3985 1
if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4022 2
a4023 2
        Different --prefix selected for Tk and Tcl!
        [package require Tk] may not work correctly in tclsh." 1>&2
d4027 4
a4030 7
#	Include sys/select.h if it exists and if it supplies things
#	that appear to be useful and aren't already in sys/types.h.
#	This appears to be true only on the RS/6000 under AIX.  Some
#	systems like OSF/1 have a sys/select.h that's of no use, and
#	other systems like SCO UNIX have a sys/select.h that's
#	pernicious.  If "fd_set" isn't defined anywhere then set a
#	special flag.
d4033 4
a4036 3
echo $ac_n "checking for fd_set in sys/types""... $ac_c" 1>&6
echo "configure:4406: checking for fd_set in sys/types" >&5
if eval "test \"`echo '$''{'tcl_cv_type_fd_set'+set}'`\" = set"; then
d4040 1
a4040 1
#line 4411 "configure"
d4042 8
a4049 1
#include <sys/types.h>
d4051 10
a4060 1
fd_set readMask, writeMask;
d4063 1
a4063 1
if { (eval echo configure:4418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4065 1
a4065 1
  tcl_cv_type_fd_set=yes
d4070 1
a4070 1
  tcl_cv_type_fd_set=no
d4075 3
a4077 7
echo "$ac_t""$tcl_cv_type_fd_set" 1>&6
tk_ok=$tcl_cv_type_fd_set
if test $tcl_cv_type_fd_set = no; then
    echo $ac_n "checking for fd_mask in sys/select""... $ac_c" 1>&6
echo "configure:4434: checking for fd_mask in sys/select" >&5
    if eval "test \"`echo '$''{'tcl_cv_grep_fd_mask'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
d4079 2
a4080 15
  cat > conftest.$ac_ext <<EOF
#line 4439 "configure"
#include "confdefs.h"
#include <sys/select.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "fd_mask" >/dev/null 2>&1; then
  rm -rf conftest*
  tcl_cv_grep_fd_mask=present
else
  rm -rf conftest*
  tcl_cv_grep_fd_mask=missing
fi
rm -f conftest*

d4083 4
a4086 26
    echo "$ac_t""$tcl_cv_grep_fd_mask" 1>&6
    if test $tcl_cv_grep_fd_mask = present; then
	cat >> confdefs.h <<\EOF
#define HAVE_SYS_SELECT_H 1
EOF

	tk_ok=yes
    fi
fi
if test $tk_ok = no; then
    cat >> confdefs.h <<\EOF
#define NO_FD_SET 1
EOF

fi

#------------------------------------------------------------------------------
#       Find out all about time handling differences.
#------------------------------------------------------------------------------

for ac_hdr in sys/time.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:4479: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
d4089 4
a4092 2
  cat > conftest.$ac_ext <<EOF
#line 4484 "configure"
d4094 4
a4097 1
#include <$ac_hdr>
d4099 1
a4099 4
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
d4101 1
a4101 1
  eval "ac_cv_header_$ac_safe=yes"
a4102 1
  echo "$ac_err" >&5
d4106 1
a4106 1
  eval "ac_cv_header_$ac_safe=no"
d4109 2
d4112 1
a4112 1
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
d4114 1
a4114 5
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
a4117 1
done
d4119 14
a4132 3
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:4516: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
d4135 4
a4138 2
  cat > conftest.$ac_ext <<EOF
#line 4521 "configure"
d4140 5
a4144 3
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
d4146 1
a4146 1
struct tm *tp;
d4149 1
a4149 1
if { (eval echo configure:4530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4151 1
a4151 1
  ac_cv_header_time=yes
d4156 1
a4156 1
  ac_cv_header_time=no
d4159 8
d4169 3
a4171 6
echo "$ac_t""$ac_cv_header_time" 1>&6
if test $ac_cv_header_time = yes; then
  cat >> confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1
EOF

a4173 1

d4175 2
a4176 4
#	Under Solaris 2.4, strtod returns the wrong value for the
#	terminating character under some conditions.  Check for this
#	and if the problem exists use a substitute procedure
#	"fixstrtod" (provided by Tcl) that corrects the error.
d4179 4
a4182 8

    echo $ac_n "checking for strtod""... $ac_c" 1>&6
echo "configure:4560: checking for strtod" >&5
if eval "test \"`echo '$''{'ac_cv_func_strtod'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4565 "configure"
d4184 1
a4184 20
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char strtod(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char strtod();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_strtod) || defined (__stub___strtod)
choke me
#else
strtod();
#endif

; return 0; }
d4186 2
a4187 1
if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4189 1
a4189 1
  eval "ac_cv_func_strtod=yes"
a4190 2
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
d4192 1
a4192 1
  eval "ac_cv_func_strtod=no"
d4195 12
d4208 1
d4210 8
a4217 3
if eval "test \"`echo '$ac_cv_func_'strtod`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_strtod=1
d4219 10
a4228 2
  echo "$ac_t""no" 1>&6
tcl_strtod=0
d4230 1
d4232 14
a4245 12
    if test "$tcl_strtod" = 1; then
	echo $ac_n "checking for Solaris2.4/Tru64 strtod bugs""... $ac_c" 1>&6
echo "configure:4610: checking for Solaris2.4/Tru64 strtod bugs" >&5
	if eval "test \"`echo '$''{'tcl_cv_strtod_buggy'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    if test "$cross_compiling" = yes; then
  tcl_cv_strtod_buggy=0
else
  cat > conftest.$ac_ext <<EOF
#line 4619 "configure"
d4247 4
a4250 20

		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(nanString, &term);
		    if ((term != nanString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(spaceString, &term);
		    if (term == (spaceString+1)) {
			exit(1);
		    }
		    exit(0);
		}
d4252 3
a4254 3
if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  tcl_cv_strtod_buggy=1
d4258 2
a4259 2
  rm -fr conftest*
  tcl_cv_strtod_buggy=0
d4261 11
a4271 1
rm -fr conftest*
d4273 1
d4275 3
a4277 9
fi

	if test "$tcl_cv_strtod_buggy" = 1; then
	    echo "$ac_t""ok" 1>&6
	else
	    echo "$ac_t""buggy" 1>&6
	    LIBOBJS="$LIBOBJS fixstrtod.o"
	    cat >> confdefs.h <<\EOF
#define strtod fixstrtod
a4279 1
	fi
d4281 6
d4288 1
d4291 2
a4292 2
#	Check for various typedefs and provide substitutes if
#	they don't exist.
d4296 1
a4296 1
echo "configure:4675: checking for ANSI C header files" >&5
d4301 1
a4301 1
#line 4680 "configure"
d4309 1
a4309 1
{ (eval echo configure:4688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4326 1
a4326 1
#line 4705 "configure"
d4344 1
a4344 1
#line 4723 "configure"
d4365 1
a4365 1
#line 4744 "configure"
d4376 1
a4376 1
if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4400 1
a4400 1
echo "configure:4779: checking for mode_t" >&5
d4405 1
a4405 1
#line 4784 "configure"
d4433 1
a4433 1
echo "configure:4812: checking for pid_t" >&5
d4438 1
a4438 1
#line 4817 "configure"
d4466 1
a4466 1
echo "configure:4845: checking for size_t" >&5
d4471 1
a4471 1
#line 4850 "configure"
d4499 1
a4499 1
echo "configure:4878: checking for uid_t in sys/types.h" >&5
d4504 1
a4504 1
#line 4883 "configure"
d4533 80
d4618 3
a4620 6
echo "configure:4917: checking pw_gecos in struct pwd" >&5
if eval "test \"`echo '$''{'tcl_cv_pwd_pw_gecos'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4922 "configure"
d4627 1
a4627 1
if { (eval echo configure:4929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4629 1
a4629 1
  tcl_cv_pwd_pw_gecos=yes
d4634 1
a4634 1
  tcl_cv_pwd_pw_gecos=no
d4637 2
a4638 4
fi

echo "$ac_t""$tcl_cv_pwd_pw_gecos" 1>&6
if test $tcl_cv_pwd_pw_gecos = yes; then
d4701 1
a4701 1
echo "configure:5005: checking for X" >&5
d4763 1
a4763 1
#line 5067 "configure"
d4768 1
a4768 1
{ (eval echo configure:5072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4837 1
a4837 1
#line 5141 "configure"
d4844 1
a4844 1
if { (eval echo configure:5148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4934 1
a4934 1
#line 5238 "configure"
d4939 1
a4939 1
{ (eval echo configure:5243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4959 1
a4959 1
echo "configure:5263: checking for X11 header files" >&5
d4962 1
a4962 1
#line 5266 "configure"
d4967 1
a4967 1
{ (eval echo configure:5271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5003 1
a5003 1
echo "configure:5307: checking for X11 libraries" >&5
d5023 1
a5023 1
echo "configure:5327: checking for XCreateWindow in -lXwindow" >&5
d5031 1
a5031 1
#line 5335 "configure"
d5042 1
a5042 1
if { (eval echo configure:5346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5119 1
a5119 1
echo "configure:5423: checking for main in -lXbsd" >&5
d5127 1
a5127 1
#line 5431 "configure"
d5134 1
a5134 1
if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5158 1
a5158 1
echo "configure:5462: checking for connect" >&5
d5163 1
a5163 1
#line 5467 "configure"
d5186 1
a5186 1
if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5208 1
a5208 1
echo "configure:5512: checking for main in -lsocket" >&5
d5216 1
a5216 1
#line 5520 "configure"
d5223 1
a5223 1
if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5249 1
a5249 1
echo "configure:5553: checking for accept" >&5
d5254 1
a5254 1
#line 5558 "configure"
d5277 1
a5277 1
if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5299 1
a5299 1
echo "configure:5603: checking for gethostbyname" >&5
d5304 1
a5304 1
#line 5608 "configure"
d5327 1
a5327 1
if { (eval echo configure:5631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5345 1
a5345 1
echo "configure:5649: checking for main in -lnsl" >&5
d5353 1
a5353 1
#line 5657 "configure"
d5360 1
a5360 1
if { (eval echo configure:5664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5396 1
a5396 1
echo "configure:5700: checking MIT X libraries" >&5
d5402 1
a5402 1
#line 5706 "configure"
d5413 1
a5413 1
if { (eval echo configure:5717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5437 1
a5437 1
echo "configure:5741: checking whether char is unsigned" >&5
d5444 1
a5444 1
#line 5748 "configure"
d5466 1
a5466 1
#line 5770 "configure"
d5476 1
a5476 1
if { (eval echo configure:5780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5501 118
d5654 1
a5654 1
echo "configure:5840: checking how to package libraries" >&5
d5688 1
a5688 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_ > $$f && echo $$f)'
@


1.65.2.41
log
@Darwin: disable ppc64 for fat builds since neither Aqua nor X11 is
available for 64 bit at present.
@
text
@a4969 5
    if test $do64bit_ok = no ; then
	# remove -arch ppc64 from CFLAGS for fat builds as neither Aqua nor X11
	# can be built for 64bit at present (no 64bit GUI libraries).
	CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
    fi
d5004 1
a5004 1
echo "configure:5010: checking for X" >&5
d5066 1
a5066 1
#line 5072 "configure"
d5071 1
a5071 1
{ (eval echo configure:5077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5140 1
a5140 1
#line 5146 "configure"
d5147 1
a5147 1
if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5237 1
a5237 1
#line 5243 "configure"
d5242 1
a5242 1
{ (eval echo configure:5248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5262 1
a5262 1
echo "configure:5268: checking for X11 header files" >&5
d5265 1
a5265 1
#line 5271 "configure"
d5270 1
a5270 1
{ (eval echo configure:5276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5306 1
a5306 1
echo "configure:5312: checking for X11 libraries" >&5
d5326 1
a5326 1
echo "configure:5332: checking for XCreateWindow in -lXwindow" >&5
d5334 1
a5334 1
#line 5340 "configure"
d5345 1
a5345 1
if { (eval echo configure:5351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5422 1
a5422 1
echo "configure:5428: checking for main in -lXbsd" >&5
d5430 1
a5430 1
#line 5436 "configure"
d5437 1
a5437 1
if { (eval echo configure:5443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5461 1
a5461 1
echo "configure:5467: checking for connect" >&5
d5466 1
a5466 1
#line 5472 "configure"
d5489 1
a5489 1
if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5511 1
a5511 1
echo "configure:5517: checking for main in -lsocket" >&5
d5519 1
a5519 1
#line 5525 "configure"
d5526 1
a5526 1
if { (eval echo configure:5532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5552 1
a5552 1
echo "configure:5558: checking for accept" >&5
d5557 1
a5557 1
#line 5563 "configure"
d5580 1
a5580 1
if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5602 1
a5602 1
echo "configure:5608: checking for gethostbyname" >&5
d5607 1
a5607 1
#line 5613 "configure"
d5630 1
a5630 1
if { (eval echo configure:5636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5648 1
a5648 1
echo "configure:5654: checking for main in -lnsl" >&5
d5656 1
a5656 1
#line 5662 "configure"
d5663 1
a5663 1
if { (eval echo configure:5669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5699 1
a5699 1
echo "configure:5705: checking MIT X libraries" >&5
d5705 1
a5705 1
#line 5711 "configure"
d5716 1
a5716 1
if { (eval echo configure:5722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5740 1
a5740 1
echo "configure:5746: checking whether char is unsigned" >&5
d5747 1
a5747 1
#line 5753 "configure"
d5769 1
a5769 1
#line 5775 "configure"
d5779 1
a5779 1
if { (eval echo configure:5785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5839 1
a5839 1
echo "configure:5845: checking how to package libraries" >&5
@


1.65.2.42
log
@	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.
	* unix/configure: regen.

	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): added newly
	registered kEventAppAvailableWindowBoundsChanged to debugging code.
@
text
@d2888 2
a2889 2
	    test -z "${MACOSX_DEPLOYMENT_TARGET}" || \
		test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F. '{print $2}'`" -lt 4 && \
d2891 1
d2894 1
a2894 1
echo "configure:2894: checking if ld accepts -search_paths_first flag" >&5
d2902 1
a2902 1
#line 2902 "configure"
d2909 1
a2909 1
if { (eval echo configure:2909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2932 1
a2932 1
echo "configure:2932: checking whether to use CoreFoundation" >&5
d2944 1
a2944 1
echo "configure:2944: checking for CoreFoundation.framework" >&5
d2958 1
a2958 1
#line 2958 "configure"
d2965 1
a2965 1
if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2991 1
a2991 1
echo "configure:2991: checking for $ac_hdr" >&5
d2996 1
a2996 1
#line 2996 "configure"
d3001 1
a3001 1
{ (eval echo configure:3001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3030 1
a3030 1
echo "configure:3030: checking for $ac_func" >&5
d3035 1
a3035 1
#line 3035 "configure"
d3058 1
a3058 1
if { (eval echo configure:3058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3086 1
a3086 1
echo "configure:3086: checking for $ac_hdr" >&5
d3091 1
a3091 1
#line 3091 "configure"
d3096 1
a3096 1
{ (eval echo configure:3096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3125 1
a3125 1
echo "configure:3125: checking for $ac_func" >&5
d3130 1
a3130 1
#line 3130 "configure"
d3153 1
a3153 1
if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3200 1
a3200 1
echo "configure:3200: checking for realpath" >&5
d3205 1
a3205 1
#line 3205 "configure"
d3228 1
a3228 1
if { (eval echo configure:3228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3539 1
a3539 1
echo "configure:3539: checking for ld accepts -Bexport flag" >&5
d3542 1
a3542 1
#line 3542 "configure"
d3549 1
a3549 1
if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3590 1
a3590 1
echo "configure:3590: checking sys/exec.h" >&5
d3592 1
a3592 1
#line 3592 "configure"
d3610 1
a3610 1
if { (eval echo configure:3610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3628 1
a3628 1
echo "configure:3628: checking a.out.h" >&5
d3630 1
a3630 1
#line 3630 "configure"
d3648 1
a3648 1
if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3666 1
a3666 1
echo "configure:3666: checking sys/exec_aout.h" >&5
d3668 1
a3668 1
#line 3668 "configure"
d3686 1
a3686 1
if { (eval echo configure:3686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3837 1
a3837 1
echo "configure:3837: checking for build with symbols" >&5
d3898 1
a3898 1
echo "configure:3898: checking for required early compiler flags" >&5
d3905 1
a3905 1
#line 3905 "configure"
d3912 1
a3912 1
if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3920 1
a3920 1
#line 3920 "configure"
d3928 1
a3928 1
if { (eval echo configure:3928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3954 1
a3954 1
#line 3954 "configure"
d3961 1
a3961 1
if { (eval echo configure:3961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3969 1
a3969 1
#line 3969 "configure"
d3977 1
a3977 1
if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4003 1
a4003 1
#line 4003 "configure"
d4010 1
a4010 1
if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4018 1
a4018 1
#line 4018 "configure"
d4026 1
a4026 1
if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4055 1
a4055 1
echo "configure:4055: checking for 64-bit integer type" >&5
d4063 1
a4063 1
#line 4063 "configure"
d4070 1
a4070 1
if { (eval echo configure:4070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4084 1
a4084 1
#line 4084 "configure"
d4093 1
a4093 1
if { (eval echo configure:4093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4118 1
a4118 1
echo "configure:4118: checking for struct dirent64" >&5
d4124 1
a4124 1
#line 4124 "configure"
d4132 1
a4132 1
if { (eval echo configure:4132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4153 1
a4153 1
echo "configure:4153: checking for struct stat64" >&5
d4159 1
a4159 1
#line 4159 "configure"
d4167 1
a4167 1
if { (eval echo configure:4167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4190 1
a4190 1
echo "configure:4190: checking for $ac_func" >&5
d4195 1
a4195 1
#line 4195 "configure"
d4218 1
a4218 1
if { (eval echo configure:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4243 1
a4243 1
echo "configure:4243: checking for off64_t" >&5
d4249 1
a4249 1
#line 4249 "configure"
d4257 1
a4257 1
if { (eval echo configure:4257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4287 1
a4287 1
echo "configure:4287: checking whether byte ordering is bigendian" >&5
d4294 1
a4294 1
#line 4294 "configure"
d4305 1
a4305 1
if { (eval echo configure:4305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4309 1
a4309 1
#line 4309 "configure"
d4320 1
a4320 1
if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4340 1
a4340 1
#line 4340 "configure"
d4353 1
a4353 1
if { (eval echo configure:4353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4405 1
a4405 1
echo "configure:4405: checking for fd_set in sys/types" >&5
d4410 1
a4410 1
#line 4410 "configure"
d4417 1
a4417 1
if { (eval echo configure:4417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4433 1
a4433 1
echo "configure:4433: checking for fd_mask in sys/select" >&5
d4438 1
a4438 1
#line 4438 "configure"
d4478 1
a4478 1
echo "configure:4478: checking for $ac_hdr" >&5
d4483 1
a4483 1
#line 4483 "configure"
d4488 1
a4488 1
{ (eval echo configure:4488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4515 1
a4515 1
echo "configure:4515: checking whether time.h and sys/time.h may both be included" >&5
d4520 1
a4520 1
#line 4520 "configure"
d4529 1
a4529 1
if { (eval echo configure:4529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4559 1
a4559 1
echo "configure:4559: checking for strtod" >&5
d4564 1
a4564 1
#line 4564 "configure"
d4587 1
a4587 1
if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4609 1
a4609 1
echo "configure:4609: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4618 1
a4618 1
#line 4618 "configure"
d4641 1
a4641 1
if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4674 1
a4674 1
echo "configure:4674: checking for ANSI C header files" >&5
d4679 1
a4679 1
#line 4679 "configure"
d4687 1
a4687 1
{ (eval echo configure:4687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4704 1
a4704 1
#line 4704 "configure"
d4722 1
a4722 1
#line 4722 "configure"
d4743 1
a4743 1
#line 4743 "configure"
d4754 1
a4754 1
if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4778 1
a4778 1
echo "configure:4778: checking for mode_t" >&5
d4783 1
a4783 1
#line 4783 "configure"
d4811 1
a4811 1
echo "configure:4811: checking for pid_t" >&5
d4816 1
a4816 1
#line 4816 "configure"
d4844 1
a4844 1
echo "configure:4844: checking for size_t" >&5
d4849 1
a4849 1
#line 4849 "configure"
d4877 1
a4877 1
echo "configure:4877: checking for uid_t in sys/types.h" >&5
d4882 1
a4882 1
#line 4882 "configure"
d4916 1
a4916 1
echo "configure:4916: checking pw_gecos in struct pwd" >&5
d4921 1
a4921 1
#line 4921 "configure"
d4928 1
a4928 1
if { (eval echo configure:4928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d5009 1
a5009 1
echo "configure:5009: checking for X" >&5
d5071 1
a5071 1
#line 5071 "configure"
d5076 1
a5076 1
{ (eval echo configure:5076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5145 1
a5145 1
#line 5145 "configure"
d5152 1
a5152 1
if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5242 1
a5242 1
#line 5242 "configure"
d5247 1
a5247 1
{ (eval echo configure:5247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5267 1
a5267 1
echo "configure:5267: checking for X11 header files" >&5
d5270 1
a5270 1
#line 5270 "configure"
d5275 1
a5275 1
{ (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5311 1
a5311 1
echo "configure:5311: checking for X11 libraries" >&5
d5331 1
a5331 1
echo "configure:5331: checking for XCreateWindow in -lXwindow" >&5
d5339 1
a5339 1
#line 5339 "configure"
d5350 1
a5350 1
if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5427 1
a5427 1
echo "configure:5427: checking for main in -lXbsd" >&5
d5435 1
a5435 1
#line 5435 "configure"
d5442 1
a5442 1
if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5466 1
a5466 1
echo "configure:5466: checking for connect" >&5
d5471 1
a5471 1
#line 5471 "configure"
d5494 1
a5494 1
if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5516 1
a5516 1
echo "configure:5516: checking for main in -lsocket" >&5
d5524 1
a5524 1
#line 5524 "configure"
d5531 1
a5531 1
if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5557 1
a5557 1
echo "configure:5557: checking for accept" >&5
d5562 1
a5562 1
#line 5562 "configure"
d5585 1
a5585 1
if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5607 1
a5607 1
echo "configure:5607: checking for gethostbyname" >&5
d5612 1
a5612 1
#line 5612 "configure"
d5635 1
a5635 1
if { (eval echo configure:5635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5653 1
a5653 1
echo "configure:5653: checking for main in -lnsl" >&5
d5661 1
a5661 1
#line 5661 "configure"
d5668 1
a5668 1
if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5704 1
a5704 1
echo "configure:5704: checking MIT X libraries" >&5
d5710 1
a5710 1
#line 5710 "configure"
d5721 1
a5721 1
if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5745 1
a5745 1
echo "configure:5745: checking whether char is unsigned" >&5
d5752 1
a5752 1
#line 5752 "configure"
d5774 1
a5774 1
#line 5774 "configure"
d5784 1
a5784 1
if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5844 1
a5844 1
echo "configure:5844: checking how to package libraries" >&5
@


1.65.2.43
log
@	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
	bash-3.1+ [Bug 1377619] (schafer)
@
text
@d1949 1
a1949 1
		system=MP-RAS-`awk '{print }' /etc/.relid`
@


1.65.2.44
log
@	* macosx/tkMacOSXDraw.c: re-added inclusion of tclInt.h to allow access
	* macosx/tkMacOSXFont.c: to 8.4-internal Tcl_CreateNamespace().

	* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
	* macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded
	libraries by manually walking their symbol table; only to be used for
	debugging purposes, may break unexpectedly in the future. Needed to get
	access to private_extern internal debugging functions in HIToolbox.

	* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger.
	* macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure.
	* macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code.
	* macosx/Makefile: add 'wish8.x' symlink to SYMROOT.

	* unix/configure:    add caching, use AC_CACHE_CHECK instead of
	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
	* unix/tcl.m4:       quoting, sync relevant tclconfig/tcl.m4 changes and
	gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default
	argument, Darwin improvements to SC_LOAD_*CONFIG.
@
text
@a621 14
	    # on Darwin, check in Framework installation locations
	    if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then
		for i in `ls -d ~/Library/Frameworks 2>/dev/null` \
			`ls -d /Library/Frameworks 2>/dev/null` \
			`ls -d /Network/Library/Frameworks 2>/dev/null` \
			`ls -d /System/Library/Frameworks 2>/dev/null` \
			; do
		    if test -f "$i/Tcl.framework/tclConfig.sh" ; then
			ac_cv_c_tclconfig=`(cd $i/Tcl.framework; pwd)`
			break
		    fi
		done
	    fi

a624 2
			`ls -d ${exec_prefix}/lib 2>/dev/null` \
			`ls -d ${prefix}/lib 2>/dev/null` \
d660 1
a660 1
	    echo "$ac_t""found ${TCL_BIN_DIR}/tclConfig.sh" 1>&6
d665 2
a666 2
    echo $ac_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh""... $ac_c" 1>&6
echo "configure:683: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
d668 1
a668 1
    if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
d670 1
a670 1
	. ${TCL_BIN_DIR}/tclConfig.sh
d672 1
a672 1
        echo "$ac_t""could not find ${TCL_BIN_DIR}/tclConfig.sh" 1>&6
d675 1
a675 4
    # eval is required to do the TCL_DBGX substitution
    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""

d682 3
a684 1
    if test -f ${TCL_BIN_DIR}/Makefile ; then
a687 21
    elif test "`uname -s`" = "Darwin"; then
	# If Tcl was built as a framework, attempt to use the libraries
	# from the framework at the given location so that linking works
	# against Tcl.framework installed in an arbitary location.
	case ${TCL_DEFS} in
	    *TCL_FRAMEWORK*)
		if test -f ${TCL_BIN_DIR}/${TCL_LIB_FILE}; then
		    for i in "`cd ${TCL_BIN_DIR}; pwd`" \
			     "`cd ${TCL_BIN_DIR}/../..; pwd`"; do
			if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then
			    TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_FILE}"
			    break
			fi
		    done
		fi
		if test -f ${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}; then
		    TCL_STUB_LIB_SPEC="-L${TCL_BIN_DIR} ${TCL_STUB_LIB_FLAG}"
		    TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"
		fi
		;;
	esac
d690 1
d692 3
d697 2
d717 2
a718 1
echo "configure:750: checking for tclsh" >&5
d751 1
a751 1
echo "configure:783: checking for tclsh in Tcl build directory" >&5
a780 1

d782 1
a782 1
echo "configure:815: checking whether to use symlinks for manpages" >&5
d794 1
a794 1
echo "configure:827: checking whether to compress the manpages" >&5
d798 2
a799 5
  case $enableval in
	    yes) { echo "configure: error: missing argument to --enable-man-compression" 1>&2; exit 1; };;
	    no)  ;;
	    *)   MAN_FLAGS="$MAN_FLAGS --compress $enableval";;
	esac
d807 1
a807 1
echo "configure:843: checking for compressed file suffix" >&5
d817 1
a817 1
echo "configure:853: checking whether to add a package name suffix for the manpages" >&5
d821 2
a822 5
  case $enableval in
	    yes) enableval="tk" MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
	    no)  ;;
	    *)   MAN_FLAGS="$MAN_FLAGS --suffix $enableval";;
	esac
d845 1
a845 1
echo "configure:884: checking for $ac_word" >&5
d875 1
a875 1
echo "configure:914: checking for $ac_word" >&5
d926 1
a926 1
echo "configure:965: checking for $ac_word" >&5
d958 1
a958 1
echo "configure:997: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d969 1
a969 1
#line 1008 "configure"
d974 1
a974 1
if { (eval echo configure:1013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1000 1
a1000 1
echo "configure:1039: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1005 1
a1005 1
echo "configure:1044: checking whether we are using GNU C" >&5
d1014 1
a1014 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1033 1
a1033 1
echo "configure:1072: checking whether ${CC-cc} accepts -g" >&5
d1068 1
a1068 1
echo "configure:1107: checking how to run the C preprocessor" >&5
d1083 1
a1083 1
#line 1122 "configure"
d1089 1
a1089 1
{ (eval echo configure:1128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1100 1
a1100 1
#line 1139 "configure"
d1106 1
a1106 1
{ (eval echo configure:1145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1117 1
a1117 1
#line 1156 "configure"
d1123 1
a1123 1
{ (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1149 1
a1149 1
echo "configure:1188: checking for limits.h" >&5
d1154 1
a1154 1
#line 1193 "configure"
d1159 1
a1159 1
{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1191 1
a1191 1
echo "configure:1230: checking for $ac_hdr" >&5
d1196 1
a1196 1
#line 1235 "configure"
d1201 1
a1201 1
{ (eval echo configure:1240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1234 1
a1234 1
echo "configure:1273: checking stdlib.h" >&5
d1236 1
a1236 1
#line 1275 "configure"
d1251 1
a1251 1
#line 1290 "configure"
d1265 1
a1265 1
#line 1304 "configure"
d1294 1
a1294 1
echo "configure:1333: checking if the compiler understands -pipe" >&5
d1298 1
a1298 1
#line 1337 "configure"
d1305 1
a1305 1
if { (eval echo configure:1344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1324 2
a1334 4
    if test "${TCL_THREADS}" = 1; then
	tcl_threaded_core=1;
    fi

d1336 5
d1342 4
d1367 1
a1367 1
echo "configure:1399: checking for pthread_mutex_init in -lpthread" >&5
d1375 1
a1375 1
#line 1407 "configure"
d1386 1
a1386 1
if { (eval echo configure:1418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1414 1
a1414 1
echo "configure:1446: checking for __pthread_mutex_init in -lpthread" >&5
d1422 1
a1422 1
#line 1454 "configure"
d1433 1
a1433 1
if { (eval echo configure:1465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1461 1
a1461 1
echo "configure:1493: checking for pthread_mutex_init in -lpthreads" >&5
d1469 1
a1469 1
#line 1501 "configure"
d1480 1
a1480 1
if { (eval echo configure:1512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1506 1
a1506 1
echo "configure:1538: checking for pthread_mutex_init in -lc" >&5
d1514 1
a1514 1
#line 1546 "configure"
d1525 1
a1525 1
if { (eval echo configure:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1546 1
a1546 1
		if test "$tcl_ok" = "no"; then
d1548 1
a1548 1
echo "configure:1580: checking for pthread_mutex_init in -lc_r" >&5
d1556 1
a1556 1
#line 1588 "configure"
d1567 1
a1567 1
if { (eval echo configure:1599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1593 1
a1593 1
			echo "configure: warning: Don't know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..." 1>&2
d1595 1
a1595 1
		fi
d1607 1
a1607 1
echo "configure:1639: checking for $ac_func" >&5
d1612 1
a1612 1
#line 1644 "configure"
d1635 1
a1635 1
if { (eval echo configure:1667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1662 1
a1662 1
echo "configure:1694: checking for $ac_func" >&5
d1667 1
a1667 1
#line 1699 "configure"
d1690 1
a1690 1
if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1716 15
    fi
    # Do checking message here to not mess up interleaved configure output
    echo $ac_n "checking for building with threads""... $ac_c" 1>&6
echo "configure:1752: checking for building with threads" >&5
    if test "${TCL_THREADS}" = 1; then
	cat >> confdefs.h <<\EOF
#define TCL_THREADS 1
EOF

	if test "${tcl_threaded_core}" = 1; then
	    echo "$ac_t""yes (threaded core)" 1>&6
	else
	    echo "$ac_t""yes" 1>&6
	fi
    else
a1718 1

d1731 1
a1731 1
echo "configure:1779: checking for sin" >&5
d1736 1
a1736 1
#line 1784 "configure"
d1759 1
a1759 1
if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1780 1
a1780 1
echo "configure:1828: checking for main in -lieee" >&5
d1788 1
a1788 1
#line 1836 "configure"
d1795 1
a1795 1
if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1821 1
a1821 1
echo "configure:1869: checking how to build libraries" >&5
d1860 1
a1860 1
echo "configure:1908: checking for $ac_word" >&5
d1892 1
a1892 1
echo "configure:1940: checking if 64bit support is requested" >&5
d1896 1
a1896 1
  do64bit=$enableval
d1898 1
a1898 1
  do64bit=no
d1901 6
d1912 1
a1912 1
echo "configure:1954: checking if 64bit Sparc VIS support is requested" >&5
d1916 1
a1916 1
  do64bitVIS=$enableval
d1918 1
a1918 1
  do64bitVIS=no
a1920 1
    echo "$ac_t""$do64bitVIS" 1>&6
d1922 1
a1922 1
    if test "$do64bitVIS" = "yes"; then
d1925 3
d1929 1
d1932 2
a1933 1
    # for the system.
d1935 9
a1943 9
    
    echo $ac_n "checking system version""... $ac_c" 1>&6
echo "configure:1975: checking system version" >&5
if eval "test \"`echo '$''{'tcl_cv_sys_version'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	if test -f /usr/lib/NextStep/software_version; then
	    tcl_cv_sys_version=NEXTSTEP-`awk '/3/,/3/' /usr/lib/NextStep/software_version`
d1945 8
a1952 14
	    tcl_cv_sys_version=`uname -s`-`uname -r`
	    if test "$?" -ne 0 ; then
		echo "configure: warning: can't find uname command" 1>&2
		tcl_cv_sys_version=unknown
	    else
		# Special check for weird MP-RAS system (uname returns weird
		# results, and the version is kept in special file).

		if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
		    tcl_cv_sys_version=MP-RAS-`awk '{print }' /etc/.relid`
		fi
		if test "`uname -s`" = "AIX" ; then
		    tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
		fi
d1954 1
d1956 1
a1956 6
    
fi

echo "$ac_t""$tcl_cv_sys_version" 1>&6
    system=$tcl_cv_sys_version

d1962 1
a1962 1
echo "configure:2010: checking for dlopen in -ldl" >&5
d1970 1
a1970 1
#line 2018 "configure"
d1981 1
a1981 1
if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2029 1
a2029 1
echo "configure:2077: checking for $ac_word" >&5
d2144 1
a2144 1
echo "configure:2192: checking for gettimeofday in -lbsd" >&5
d2152 1
a2152 1
#line 2200 "configure"
d2163 1
a2163 1
if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2206 1
a2206 1
echo "configure:2254: checking for inet_ntoa in -lbind" >&5
d2214 1
a2214 1
#line 2262 "configure"
d2225 1
a2225 1
if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2291 1
a2291 1
echo "configure:2339: checking for shl_load in -ldld" >&5
d2299 1
a2299 1
#line 2347 "configure"
d2310 1
a2310 1
if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2354 1
a2354 1
		    hpux_arch=`${CC} -dumpmachine`
d2359 1
a2359 1
			    SHLIB_LD="${CC} -shared"
d2365 1
a2365 1
			    echo "configure: warning: 64bit mode not supported with GCC on $system" 1>&2
d2378 1
a2378 1
echo "configure:2426: checking for shl_load in -ldld" >&5
d2386 1
a2386 1
#line 2434 "configure"
d2397 1
a2397 1
if { (eval echo configure:2445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2521 1
a2521 1
echo "configure:2569: checking for dld.h" >&5
d2526 1
a2526 1
#line 2574 "configure"
d2531 1
a2531 1
{ (eval echo configure:2579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2595 1
a2595 1
echo "configure:2643: checking for dld.h" >&5
d2600 1
a2600 1
#line 2648 "configure"
d2605 1
a2605 1
{ (eval echo configure:2653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2673 1
a2673 1
echo "configure:2721: checking for dlfcn.h" >&5
d2678 1
a2678 1
#line 2726 "configure"
d2683 1
a2683 1
{ (eval echo configure:2731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2710 3
a2712 7
echo "configure:2758: checking for ELF" >&5
if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
		    cat > conftest.$ac_ext <<EOF
#line 2764 "configure"
d2718 1
a2718 1
		    
d2723 2
a2724 1
  tcl_cv_ld_elf=yes
d2727 3
a2729 1
  tcl_cv_ld_elf=no
a2732 8
fi

echo "$ac_t""$tcl_cv_ld_elf" 1>&6
		if test $tcl_cv_ld_elf = yes; then
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
		else
		    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
		fi
d2786 3
a2788 7
echo "configure:2843: checking for ELF" >&5
if eval "test \"`echo '$''{'tcl_cv_ld_elf'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
		    cat > conftest.$ac_ext <<EOF
#line 2849 "configure"
d2794 1
a2794 1
		    
d2799 2
a2800 1
  tcl_cv_ld_elf=yes
d2803 3
a2805 1
  tcl_cv_ld_elf=no
a2808 8
fi

echo "$ac_t""$tcl_cv_ld_elf" 1>&6
		if test $tcl_cv_ld_elf = yes; then
		    LDFLAGS=-Wl,-export-dynamic
		else
		    LDFLAGS=""
	        fi
d2851 1
a2851 1
echo "configure:2917: checking if ld accepts -single_module flag" >&5
d2859 1
a2859 1
#line 2925 "configure"
d2866 1
a2866 1
if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2893 1
a2893 1
echo "configure:2959: checking if ld accepts -search_paths_first flag" >&5
d2901 1
a2901 1
#line 2967 "configure"
d2908 1
a2908 1
if { (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2931 1
a2931 1
echo "configure:2997: checking whether to use CoreFoundation" >&5
d2943 1
a2943 1
echo "configure:3009: checking for CoreFoundation.framework" >&5
d2957 1
a2957 1
#line 3023 "configure"
d2964 1
a2964 1
if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2990 1
a2990 1
echo "configure:3056: checking for $ac_hdr" >&5
d2995 1
a2995 1
#line 3061 "configure"
d3000 1
a3000 1
{ (eval echo configure:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3029 1
a3029 1
echo "configure:3095: checking for $ac_func" >&5
d3034 1
a3034 1
#line 3100 "configure"
d3057 1
a3057 1
if { (eval echo configure:3123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3085 1
a3085 1
echo "configure:3151: checking for $ac_hdr" >&5
d3090 1
a3090 1
#line 3156 "configure"
d3095 1
a3095 1
{ (eval echo configure:3161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3124 1
a3124 1
echo "configure:3190: checking for $ac_func" >&5
d3129 1
a3129 1
#line 3195 "configure"
d3152 1
a3152 1
if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3199 1
a3199 1
echo "configure:3265: checking for realpath" >&5
d3204 1
a3204 1
#line 3270 "configure"
d3227 1
a3227 1
if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3262 1
a3262 1
	    CFLAGS_OPTIMIZE=""		# Optimizer is buggy
d3266 1
a3266 1
	# needed in sys/socket.h
d3536 1
d3538 4
a3541 9
echo "configure:3603: checking for ld accepts -Bexport flag" >&5
if eval "test \"`echo '$''{'tcl_cv_ld_Bexport'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -Wl,-Bexport"
		cat > conftest.$ac_ext <<EOF
#line 3611 "configure"
d3548 1
a3548 1
if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3550 1
a3550 1
  tcl_cv_ld_Bexport=yes
d3555 1
a3555 1
  tcl_cv_ld_Bexport=no
d3558 1
a3558 7
	        LDFLAGS=$hold_ldflags
fi

echo "$ac_t""$tcl_cv_ld_Bexport" 1>&6
	    if test $tcl_cv_ld_Bexport = yes; then
		LDFLAGS="$LDFLAGS -Wl,-Bexport"
	    fi
d3589 1
a3589 5
echo "configure:3665: checking sys/exec.h" >&5
if eval "test \"`echo '$''{'tcl_cv_sysexec_h'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
d3591 1
a3591 1
#line 3671 "configure"
d3609 1
a3609 1
if { (eval echo configure:3689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3611 1
a3611 1
  tcl_cv_sysexec_h=usable
d3616 1
a3616 1
  tcl_cv_sysexec_h=unusable
d3619 2
a3620 4
fi

echo "$ac_t""$tcl_cv_sysexec_h" 1>&6
	if test $tcl_cv_sysexec_h = usable; then
d3627 1
a3627 5
echo "configure:3709: checking a.out.h" >&5
if eval "test \"`echo '$''{'tcl_cv_aout_h'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
d3629 1
a3629 1
#line 3715 "configure"
d3647 1
a3647 1
if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3649 1
a3649 1
  tcl_cv_aout_h=usable
d3654 1
a3654 1
  tcl_cv_aout_h=unusable
d3657 2
a3658 4
fi

echo "$ac_t""$tcl_cv_aout_h" 1>&6
	    if test $tcl_cv_aout_h = usable; then
d3665 1
a3665 5
echo "configure:3753: checking sys/exec_aout.h" >&5
if eval "test \"`echo '$''{'tcl_cv_sysexecaout_h'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
d3667 1
a3667 1
#line 3759 "configure"
d3685 1
a3685 1
if { (eval echo configure:3777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3687 1
a3687 1
  tcl_cv_sysexecaout_h=usable
d3692 1
a3692 1
  tcl_cv_sysexecaout_h=unusable
d3695 2
a3696 4
fi

echo "$ac_t""$tcl_cv_sysexecaout_h" 1>&6
		if test $tcl_cv_sysexecaout_h = usable; then
d3836 1
a3836 1
echo "configure:3930: checking for build with symbols" >&5
d3897 1
a3897 1
echo "configure:3991: checking for required early compiler flags" >&5
d3904 1
a3904 1
#line 3998 "configure"
d3911 1
a3911 1
if { (eval echo configure:4005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3919 1
a3919 1
#line 4013 "configure"
d3927 1
a3927 1
if { (eval echo configure:4021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3947 1

d3953 1
a3953 1
#line 4048 "configure"
d3960 1
a3960 1
if { (eval echo configure:4055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3968 1
a3968 1
#line 4063 "configure"
d3976 1
a3976 1
if { (eval echo configure:4071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3996 1

d4002 1
a4002 1
#line 4098 "configure"
d4009 1
a4009 1
if { (eval echo configure:4105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4017 1
a4017 1
#line 4113 "configure"
d4025 1
a4025 1
if { (eval echo configure:4121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a4045 1

a4052 1

d4054 1
a4054 1
echo "configure:4152: checking for 64-bit integer type" >&5
d4062 1
a4062 1
#line 4160 "configure"
d4069 1
a4069 1
if { (eval echo configure:4167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4083 1
a4083 1
#line 4181 "configure"
d4092 1
a4092 1
if { (eval echo configure:4190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4117 2
a4118 2
echo "configure:4215: checking for struct dirent64" >&5
if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then
d4123 1
a4123 1
#line 4221 "configure"
d4131 1
a4131 1
if { (eval echo configure:4229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a4142 1
echo "$ac_t""$tcl_cv_struct_dirent64" 1>&6
d4149 1
d4152 2
a4153 2
echo "configure:4250: checking for struct stat64" >&5
if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then
d4158 1
a4158 1
#line 4256 "configure"
d4166 1
a4166 1
if { (eval echo configure:4264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a4177 1
echo "$ac_t""$tcl_cv_struct_stat64" 1>&6
d4184 1
d4189 1
a4189 1
echo "configure:4287: checking for $ac_func" >&5
d4194 1
a4194 1
#line 4292 "configure"
d4217 1
a4217 1
if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4242 1
a4242 1
echo "configure:4340: checking for off64_t" >&5
d4248 1
a4248 1
#line 4346 "configure"
d4256 1
a4256 1
if { (eval echo configure:4354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a4280 1

d4286 1
a4286 1
echo "configure:4385: checking whether byte ordering is bigendian" >&5
d4293 1
a4293 1
#line 4392 "configure"
d4304 1
a4304 1
if { (eval echo configure:4403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4308 1
a4308 1
#line 4407 "configure"
d4319 1
a4319 1
if { (eval echo configure:4418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4339 1
a4339 1
#line 4438 "configure"
d4352 1
a4352 1
if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4404 1
a4404 1
echo "configure:4503: checking for fd_set in sys/types" >&5
d4409 1
a4409 1
#line 4508 "configure"
d4416 1
a4416 1
if { (eval echo configure:4515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4430 1
a4430 1
if test $tk_ok = no; then
d4432 2
a4433 2
echo "configure:4531: checking for fd_mask in sys/select" >&5
if eval "test \"`echo '$''{'tcl_cv_grep_fd_mask'+set}'`\" = set"; then
d4437 1
a4437 1
#line 4536 "configure"
d4453 1
a4453 1
echo "$ac_t""$tcl_cv_grep_fd_mask" 1>&6
d4477 1
a4477 1
echo "configure:4576: checking for $ac_hdr" >&5
d4482 1
a4482 1
#line 4581 "configure"
d4487 1
a4487 1
{ (eval echo configure:4586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4514 1
a4514 1
echo "configure:4613: checking whether time.h and sys/time.h may both be included" >&5
d4519 1
a4519 1
#line 4618 "configure"
d4528 1
a4528 1
if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4558 1
a4558 1
echo "configure:4657: checking for strtod" >&5
d4563 1
a4563 1
#line 4662 "configure"
d4586 1
a4586 1
if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4608 2
a4609 2
echo "configure:4707: checking for Solaris2.4/Tru64 strtod bugs" >&5
if eval "test \"`echo '$''{'tcl_cv_strtod_buggy'+set}'`\" = set"; then
d4614 1
a4614 1
  tcl_cv_strtod_buggy=buggy
d4617 1
a4617 1
#line 4716 "configure"
d4640 1
a4640 1
if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4642 1
a4642 1
  tcl_cv_strtod_buggy=ok
d4647 1
a4647 1
  tcl_cv_strtod_buggy=buggy
d4654 4
a4657 2
echo "$ac_t""$tcl_cv_strtod_buggy" 1>&6
	if test "$tcl_cv_strtod_buggy" = buggy; then
d4673 1
a4673 1
echo "configure:4770: checking for ANSI C header files" >&5
d4678 1
a4678 1
#line 4775 "configure"
d4686 1
a4686 1
{ (eval echo configure:4783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4703 1
a4703 1
#line 4800 "configure"
d4721 1
a4721 1
#line 4818 "configure"
d4742 1
a4742 1
#line 4839 "configure"
d4753 1
a4753 1
if { (eval echo configure:4850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4777 1
a4777 1
echo "configure:4874: checking for mode_t" >&5
d4782 1
a4782 1
#line 4879 "configure"
d4810 1
a4810 1
echo "configure:4907: checking for pid_t" >&5
d4815 1
a4815 1
#line 4912 "configure"
d4843 1
a4843 1
echo "configure:4940: checking for size_t" >&5
d4848 1
a4848 1
#line 4945 "configure"
d4876 1
a4876 1
echo "configure:4973: checking for uid_t in sys/types.h" >&5
d4881 1
a4881 1
#line 4978 "configure"
d4915 1
a4915 1
echo "configure:5012: checking pw_gecos in struct pwd" >&5
d4920 1
a4920 1
#line 5017 "configure"
d4927 1
a4927 1
if { (eval echo configure:5024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4962 1
a4962 1
            echo "configure: warning: Aqua can only be used when CoreFoundation is available" 1>&2
d4965 1
a4965 1
            echo "configure: warning: Aqua can only be used when Carbon is available" 1>&2
d5008 1
a5008 1
echo "configure:5105: checking for X" >&5
d5070 1
a5070 1
#line 5167 "configure"
d5075 1
a5075 1
{ (eval echo configure:5172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5144 1
a5144 1
#line 5241 "configure"
d5151 1
a5151 1
if { (eval echo configure:5248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5241 1
a5241 1
#line 5338 "configure"
d5246 1
a5246 1
{ (eval echo configure:5343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5266 1
a5266 1
echo "configure:5363: checking for X11 header files" >&5
d5269 1
a5269 1
#line 5366 "configure"
d5274 1
a5274 1
{ (eval echo configure:5371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5310 1
a5310 1
echo "configure:5407: checking for X11 libraries" >&5
d5330 1
a5330 1
echo "configure:5427: checking for XCreateWindow in -lXwindow" >&5
d5338 1
a5338 1
#line 5435 "configure"
d5349 1
a5349 1
if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5371 1
a5371 1
	echo "$ac_t""could not find any!  Using -lX11." 1>&6
d5426 1
a5426 1
echo "configure:5523: checking for main in -lXbsd" >&5
d5434 1
a5434 1
#line 5531 "configure"
d5441 1
a5441 1
if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5465 1
a5465 1
echo "configure:5562: checking for connect" >&5
d5470 1
a5470 1
#line 5567 "configure"
d5493 1
a5493 1
if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5515 1
a5515 1
echo "configure:5612: checking for main in -lsocket" >&5
d5523 1
a5523 1
#line 5620 "configure"
d5530 1
a5530 1
if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5556 1
a5556 1
echo "configure:5653: checking for accept" >&5
d5561 1
a5561 1
#line 5658 "configure"
d5584 1
a5584 1
if { (eval echo configure:5681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5606 1
a5606 1
echo "configure:5703: checking for gethostbyname" >&5
d5611 1
a5611 1
#line 5708 "configure"
d5634 1
a5634 1
if { (eval echo configure:5731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5652 1
a5652 1
echo "configure:5749: checking for main in -lnsl" >&5
d5660 1
a5660 1
#line 5757 "configure"
d5667 1
a5667 1
if { (eval echo configure:5764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5703 1
a5703 1
echo "configure:5800: checking MIT X libraries" >&5
d5709 1
a5709 1
#line 5806 "configure"
d5720 1
a5720 1
if { (eval echo configure:5817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5744 1
a5744 1
echo "configure:5841: checking whether char is unsigned" >&5
d5751 1
a5751 1
#line 5848 "configure"
d5773 1
a5773 1
#line 5870 "configure"
d5783 1
a5783 1
if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5843 1
a5843 1
echo "configure:5940: checking how to package libraries" >&5
d5864 1
a5864 1
	    echo "configure: warning: Frameworks can only be built if --enable-shared is yes" 1>&2
d5868 1
a5868 1
	    echo "configure: warning: Frameworks can only be used when CoreFoundation is available" 1>&2
d5956 1
a5956 1
    REZ_FLAGS='-d "SystemSevenOrLater=1" -useDF -ro'
@


1.65.2.45
log
@	* unix/configure:    minor fix to Darwin specific code removing
	* unix/configure.in: 64bit flags from CFLAGS for Tk build.
@
text
@d5068 1
a5068 1
	CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/g'`"
@


1.65.2.46
log
@	* unix/tcl.m4:    Fix for tk bug #1334613 to sort out shared library
	* unix/configure: issues on NetBSD. Regenerated configure script.
@
text
@d2750 1
a2750 1
		SHLIB_LD_LIBS='${LIBS}'
@


1.65.2.47
log
@        * READNE:               Bump version number to 8.4.13 and update
        * changes:              changes to start prep for an 8.4.13 release.
        * generic/tk.h:
        * unix/configure{.in}:
        * unix/tk.spec:
        * win/configure{.in}:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".13"
@


1.65.2.48
log
@	* unix/configure.in: fix detection of symbols build when enabling
	TkAqua debug code; filter nm output of libtclstub better to avoid
	error on intel macs [Bug 1415789].
	* unix/configure: autoconf-2.13
@
text
@d562 1
a562 1
LOCALES="cs de el en en_gb eo es es_ES fr it nl pl pt ru"
d5082 1
a5082 1
    if test "${enable_symbols}" = yes; then
d5973 1
a5973 1
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -seg1addr 0xb000000 -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
@


1.65.2.49
log
@	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors
	in setting/removing window proxy icons via [wm attributes -titlepath]
	and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]

	* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
	define on Darwin. [Tcl Bug 1457515]
	* unix/configure: autoconf-2.13
@
text
@d3257 4
d3264 1
a3264 1
echo "configure:3261: checking for realpath" >&5
d3269 1
a3269 1
#line 3266 "configure"
d3292 1
a3292 1
if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3602 1
a3602 1
echo "configure:3599: checking for ld accepts -Bexport flag" >&5
d3610 1
a3610 1
#line 3607 "configure"
d3617 1
a3617 1
if { (eval echo configure:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3664 1
a3664 1
echo "configure:3661: checking sys/exec.h" >&5
d3670 1
a3670 1
#line 3667 "configure"
d3688 1
a3688 1
if { (eval echo configure:3685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3708 1
a3708 1
echo "configure:3705: checking a.out.h" >&5
d3714 1
a3714 1
#line 3711 "configure"
d3732 1
a3732 1
if { (eval echo configure:3729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3752 1
a3752 1
echo "configure:3749: checking sys/exec_aout.h" >&5
d3758 1
a3758 1
#line 3755 "configure"
d3776 1
a3776 1
if { (eval echo configure:3773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3929 1
a3929 1
echo "configure:3926: checking for build with symbols" >&5
d3990 1
a3990 1
echo "configure:3987: checking for required early compiler flags" >&5
d3997 1
a3997 1
#line 3994 "configure"
d4004 1
a4004 1
if { (eval echo configure:4001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4012 1
a4012 1
#line 4009 "configure"
d4020 1
a4020 1
if { (eval echo configure:4017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4047 1
a4047 1
#line 4044 "configure"
d4054 1
a4054 1
if { (eval echo configure:4051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4062 1
a4062 1
#line 4059 "configure"
d4070 1
a4070 1
if { (eval echo configure:4067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4097 1
a4097 1
#line 4094 "configure"
d4104 1
a4104 1
if { (eval echo configure:4101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4112 1
a4112 1
#line 4109 "configure"
d4120 1
a4120 1
if { (eval echo configure:4117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4151 1
a4151 1
echo "configure:4148: checking for 64-bit integer type" >&5
d4159 1
a4159 1
#line 4156 "configure"
d4166 1
a4166 1
if { (eval echo configure:4163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4180 1
a4180 1
#line 4177 "configure"
d4189 1
a4189 1
if { (eval echo configure:4186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4214 1
a4214 1
echo "configure:4211: checking for struct dirent64" >&5
d4220 1
a4220 1
#line 4217 "configure"
d4228 1
a4228 1
if { (eval echo configure:4225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4249 1
a4249 1
echo "configure:4246: checking for struct stat64" >&5
d4255 1
a4255 1
#line 4252 "configure"
d4263 1
a4263 1
if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4286 1
a4286 1
echo "configure:4283: checking for $ac_func" >&5
d4291 1
a4291 1
#line 4288 "configure"
d4314 1
a4314 1
if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4339 1
a4339 1
echo "configure:4336: checking for off64_t" >&5
d4345 1
a4345 1
#line 4342 "configure"
d4353 1
a4353 1
if { (eval echo configure:4350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4384 1
a4384 1
echo "configure:4381: checking whether byte ordering is bigendian" >&5
d4391 1
a4391 1
#line 4388 "configure"
d4402 1
a4402 1
if { (eval echo configure:4399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4406 1
a4406 1
#line 4403 "configure"
d4417 1
a4417 1
if { (eval echo configure:4414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4437 1
a4437 1
#line 4434 "configure"
d4450 1
a4450 1
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4502 1
a4502 1
echo "configure:4499: checking for fd_set in sys/types" >&5
d4507 1
a4507 1
#line 4504 "configure"
d4514 1
a4514 1
if { (eval echo configure:4511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4530 1
a4530 1
echo "configure:4527: checking for fd_mask in sys/select" >&5
d4535 1
a4535 1
#line 4532 "configure"
d4575 1
a4575 1
echo "configure:4572: checking for $ac_hdr" >&5
d4580 1
a4580 1
#line 4577 "configure"
d4585 1
a4585 1
{ (eval echo configure:4582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4612 1
a4612 1
echo "configure:4609: checking whether time.h and sys/time.h may both be included" >&5
d4617 1
a4617 1
#line 4614 "configure"
d4626 1
a4626 1
if { (eval echo configure:4623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4656 1
a4656 1
echo "configure:4653: checking for strtod" >&5
d4661 1
a4661 1
#line 4658 "configure"
d4684 1
a4684 1
if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4706 1
a4706 1
echo "configure:4703: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4715 1
a4715 1
#line 4712 "configure"
d4738 1
a4738 1
if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4769 1
a4769 1
echo "configure:4766: checking for ANSI C header files" >&5
d4774 1
a4774 1
#line 4771 "configure"
d4782 1
a4782 1
{ (eval echo configure:4779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4799 1
a4799 1
#line 4796 "configure"
d4817 1
a4817 1
#line 4814 "configure"
d4838 1
a4838 1
#line 4835 "configure"
d4849 1
a4849 1
if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4873 1
a4873 1
echo "configure:4870: checking for mode_t" >&5
d4878 1
a4878 1
#line 4875 "configure"
d4906 1
a4906 1
echo "configure:4903: checking for pid_t" >&5
d4911 1
a4911 1
#line 4908 "configure"
d4939 1
a4939 1
echo "configure:4936: checking for size_t" >&5
d4944 1
a4944 1
#line 4941 "configure"
d4972 1
a4972 1
echo "configure:4969: checking for uid_t in sys/types.h" >&5
d4977 1
a4977 1
#line 4974 "configure"
d5011 1
a5011 1
echo "configure:5008: checking pw_gecos in struct pwd" >&5
d5016 1
a5016 1
#line 5013 "configure"
d5023 1
a5023 1
if { (eval echo configure:5020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d5104 1
a5104 1
echo "configure:5101: checking for X" >&5
d5166 1
a5166 1
#line 5163 "configure"
d5171 1
a5171 1
{ (eval echo configure:5168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5240 1
a5240 1
#line 5237 "configure"
d5247 1
a5247 1
if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5337 1
a5337 1
#line 5334 "configure"
d5342 1
a5342 1
{ (eval echo configure:5339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5362 1
a5362 1
echo "configure:5359: checking for X11 header files" >&5
d5365 1
a5365 1
#line 5362 "configure"
d5370 1
a5370 1
{ (eval echo configure:5367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5406 1
a5406 1
echo "configure:5403: checking for X11 libraries" >&5
d5426 1
a5426 1
echo "configure:5423: checking for XCreateWindow in -lXwindow" >&5
d5434 1
a5434 1
#line 5431 "configure"
d5445 1
a5445 1
if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5522 1
a5522 1
echo "configure:5519: checking for main in -lXbsd" >&5
d5530 1
a5530 1
#line 5527 "configure"
d5537 1
a5537 1
if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5561 1
a5561 1
echo "configure:5558: checking for connect" >&5
d5566 1
a5566 1
#line 5563 "configure"
d5589 1
a5589 1
if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5611 1
a5611 1
echo "configure:5608: checking for main in -lsocket" >&5
d5619 1
a5619 1
#line 5616 "configure"
d5626 1
a5626 1
if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5652 1
a5652 1
echo "configure:5649: checking for accept" >&5
d5657 1
a5657 1
#line 5654 "configure"
d5680 1
a5680 1
if { (eval echo configure:5677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5702 1
a5702 1
echo "configure:5699: checking for gethostbyname" >&5
d5707 1
a5707 1
#line 5704 "configure"
d5730 1
a5730 1
if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5748 1
a5748 1
echo "configure:5745: checking for main in -lnsl" >&5
d5756 1
a5756 1
#line 5753 "configure"
d5763 1
a5763 1
if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5799 1
a5799 1
echo "configure:5796: checking MIT X libraries" >&5
d5805 1
a5805 1
#line 5802 "configure"
d5816 1
a5816 1
if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5840 1
a5840 1
echo "configure:5837: checking whether char is unsigned" >&5
d5847 1
a5847 1
#line 5844 "configure"
d5869 1
a5869 1
#line 5866 "configure"
d5879 1
a5879 1
if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5939 1
a5939 1
echo "configure:5936: checking how to package libraries" >&5
@


1.65.2.50
log
@        * README:               Bump version number to 8.4.14
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".14"
@


1.65.2.51
log
@autoconf-2.13
@
text
@d1991 1
a1991 1
		    tcl_cv_sys_version=MP-RAS-`awk '{print $3}' /etc/.relid`
@


1.65.2.52
log
@sync with tcl
@
text
@d2911 2
a2912 2
		do64bit_ok=yes
		CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
d2921 3
a2923 3
		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
		cat > conftest.$ac_ext <<EOF
d2941 1
a2941 1
		LDFLAGS=$hold_ldflags
d2946 1
a2946 1
		SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
d2963 3
a2965 3
		hold_ldflags=$LDFLAGS
		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
		cat > conftest.$ac_ext <<EOF
d2983 1
a2983 1
		LDFLAGS=$hold_ldflags
d2988 1
a2988 1
		LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
d2995 1
a2995 1
	    echo $ac_n "checking whether to use CoreFoundation""... $ac_c" 1>&6
d2997 1
a2997 1
	    # Check whether --enable-corefoundation or --disable-corefoundation was given.
d3005 3
a3007 3
	    echo "$ac_t""$tcl_corefoundation" 1>&6
	    if test $tcl_corefoundation = yes; then
		echo $ac_n "checking for CoreFoundation.framework""... $ac_c" 1>&6
d3013 9
a3021 9
		    hold_libs=$LIBS; hold_cflags=$CFLAGS
		    if test $do64bit_ok = no ; then
			# remove -arch ppc64 from CFLAGS while testing presence
			# of CF, otherwise all archs will have CF disabled.
			# CF for ppc64 is disabled in tclUnixPort.h instead.
			CFLAGS="`echo "$CFLAGS" | sed -e 's/-arch ppc64/-arch ppc/'`"
		    fi
		    LIBS="$LIBS -framework CoreFoundation"
		    cat > conftest.$ac_ext <<EOF
d3039 1
a3039 1
		    LIBS=$hold_libs; CFLAGS=$hold_cflags
d3043 3
a3045 3
		if test $tcl_cv_lib_corefoundation = yes; then
		    LIBS="$LIBS -framework CoreFoundation"
		    cat >> confdefs.h <<\EOF
d3049 3
a3051 1
		    for ac_hdr in libkern/OSAtomic.h
d3055 1
a3055 1
echo "configure:3054: checking for $ac_hdr" >&5
d3060 1
a3060 1
#line 3059 "configure"
d3065 1
a3065 1
{ (eval echo configure:3064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3091 1
a3091 56
		    for ac_func in OSSpinLockLock
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3093: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3098 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:3121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

		    for ac_func in pthread_atfork
d3094 1
a3094 1
echo "configure:3148: checking for $ac_func" >&5
d3099 1
a3099 1
#line 3153 "configure"
d3122 1
a3122 1
if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3145 2
		fi
	    fi
d3150 1
a3150 1
echo "configure:3206: checking for $ac_hdr" >&5
d3155 1
a3155 1
#line 3211 "configure"
d3160 1
a3160 1
{ (eval echo configure:3216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3189 1
a3189 1
echo "configure:3245: checking for $ac_func" >&5
d3194 1
a3194 1
#line 3250 "configure"
d3217 1
a3217 1
if { (eval echo configure:3273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3260 1
a3260 1
echo "configure:3316: checking for realpath" >&5
d3265 1
a3265 1
#line 3321 "configure"
d3288 1
a3288 1
if { (eval echo configure:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3308 2
a3309 2
		    -a `uname -r | awk -F. '{print $1}'` -lt 7 ; then
		ac_cv_func_realpath=no
d3598 1
a3598 1
echo "configure:3654: checking for ld accepts -Bexport flag" >&5
d3606 1
a3606 1
#line 3662 "configure"
d3613 1
a3613 1
if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3660 1
a3660 1
echo "configure:3716: checking sys/exec.h" >&5
d3666 1
a3666 1
#line 3722 "configure"
d3684 1
a3684 1
if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3704 1
a3704 1
echo "configure:3760: checking a.out.h" >&5
d3710 1
a3710 1
#line 3766 "configure"
d3728 1
a3728 1
if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3748 1
a3748 1
echo "configure:3804: checking sys/exec_aout.h" >&5
d3754 1
a3754 1
#line 3810 "configure"
d3772 1
a3772 1
if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3925 1
a3925 1
echo "configure:3981: checking for build with symbols" >&5
d3986 1
a3986 1
echo "configure:4042: checking for required early compiler flags" >&5
d3993 1
a3993 1
#line 4049 "configure"
d4000 1
a4000 1
if { (eval echo configure:4056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4008 1
a4008 1
#line 4064 "configure"
d4016 1
a4016 1
if { (eval echo configure:4072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4043 1
a4043 1
#line 4099 "configure"
d4050 1
a4050 1
if { (eval echo configure:4106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4058 1
a4058 1
#line 4114 "configure"
d4066 1
a4066 1
if { (eval echo configure:4122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4093 1
a4093 1
#line 4149 "configure"
d4100 1
a4100 1
if { (eval echo configure:4156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4108 1
a4108 1
#line 4164 "configure"
d4116 1
a4116 1
if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4147 1
a4147 1
echo "configure:4203: checking for 64-bit integer type" >&5
d4155 1
a4155 1
#line 4211 "configure"
d4162 1
a4162 1
if { (eval echo configure:4218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4176 1
a4176 1
#line 4232 "configure"
d4185 1
a4185 1
if { (eval echo configure:4241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4210 1
a4210 1
echo "configure:4266: checking for struct dirent64" >&5
d4216 1
a4216 1
#line 4272 "configure"
d4224 1
a4224 1
if { (eval echo configure:4280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4245 1
a4245 1
echo "configure:4301: checking for struct stat64" >&5
d4251 1
a4251 1
#line 4307 "configure"
d4259 1
a4259 1
if { (eval echo configure:4315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4282 1
a4282 1
echo "configure:4338: checking for $ac_func" >&5
d4287 1
a4287 1
#line 4343 "configure"
d4310 1
a4310 1
if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4335 1
a4335 1
echo "configure:4391: checking for off64_t" >&5
d4341 1
a4341 1
#line 4397 "configure"
d4349 1
a4349 1
if { (eval echo configure:4405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4380 1
a4380 1
echo "configure:4436: checking whether byte ordering is bigendian" >&5
d4387 1
a4387 1
#line 4443 "configure"
d4398 1
a4398 1
if { (eval echo configure:4454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4402 1
a4402 1
#line 4458 "configure"
d4413 1
a4413 1
if { (eval echo configure:4469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4433 1
a4433 1
#line 4489 "configure"
d4446 1
a4446 1
if { (eval echo configure:4502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4498 1
a4498 1
echo "configure:4554: checking for fd_set in sys/types" >&5
d4503 1
a4503 1
#line 4559 "configure"
d4510 1
a4510 1
if { (eval echo configure:4566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4526 1
a4526 1
echo "configure:4582: checking for fd_mask in sys/select" >&5
d4531 1
a4531 1
#line 4587 "configure"
d4571 1
a4571 1
echo "configure:4627: checking for $ac_hdr" >&5
d4576 1
a4576 1
#line 4632 "configure"
d4581 1
a4581 1
{ (eval echo configure:4637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4608 1
a4608 1
echo "configure:4664: checking whether time.h and sys/time.h may both be included" >&5
d4613 1
a4613 1
#line 4669 "configure"
d4622 1
a4622 1
if { (eval echo configure:4678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4652 1
a4652 1
echo "configure:4708: checking for strtod" >&5
d4657 1
a4657 1
#line 4713 "configure"
d4680 1
a4680 1
if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4702 1
a4702 1
echo "configure:4758: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4711 1
a4711 1
#line 4767 "configure"
d4734 1
a4734 1
if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4765 1
a4765 1
echo "configure:4821: checking for ANSI C header files" >&5
d4770 1
a4770 1
#line 4826 "configure"
d4778 1
a4778 1
{ (eval echo configure:4834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4795 1
a4795 1
#line 4851 "configure"
d4813 1
a4813 1
#line 4869 "configure"
d4834 1
a4834 1
#line 4890 "configure"
d4845 1
a4845 1
if { (eval echo configure:4901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4869 1
a4869 1
echo "configure:4925: checking for mode_t" >&5
d4874 1
a4874 1
#line 4930 "configure"
d4902 1
a4902 1
echo "configure:4958: checking for pid_t" >&5
d4907 1
a4907 1
#line 4963 "configure"
d4935 1
a4935 1
echo "configure:4991: checking for size_t" >&5
d4940 1
a4940 1
#line 4996 "configure"
d4968 1
a4968 1
echo "configure:5024: checking for uid_t in sys/types.h" >&5
d4973 1
a4973 1
#line 5029 "configure"
d5007 1
a5007 1
echo "configure:5063: checking pw_gecos in struct pwd" >&5
d5012 1
a5012 1
#line 5068 "configure"
d5019 1
a5019 1
if { (eval echo configure:5075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d5100 1
a5100 1
echo "configure:5156: checking for X" >&5
d5162 1
a5162 1
#line 5218 "configure"
d5167 1
a5167 1
{ (eval echo configure:5223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5236 1
a5236 1
#line 5292 "configure"
d5243 1
a5243 1
if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5333 1
a5333 1
#line 5389 "configure"
d5338 1
a5338 1
{ (eval echo configure:5394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5358 1
a5358 1
echo "configure:5414: checking for X11 header files" >&5
d5361 1
a5361 1
#line 5417 "configure"
d5366 1
a5366 1
{ (eval echo configure:5422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5402 1
a5402 1
echo "configure:5458: checking for X11 libraries" >&5
d5422 1
a5422 1
echo "configure:5478: checking for XCreateWindow in -lXwindow" >&5
d5430 1
a5430 1
#line 5486 "configure"
d5441 1
a5441 1
if { (eval echo configure:5497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5518 1
a5518 1
echo "configure:5574: checking for main in -lXbsd" >&5
d5526 1
a5526 1
#line 5582 "configure"
d5533 1
a5533 1
if { (eval echo configure:5589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5557 1
a5557 1
echo "configure:5613: checking for connect" >&5
d5562 1
a5562 1
#line 5618 "configure"
d5585 1
a5585 1
if { (eval echo configure:5641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5607 1
a5607 1
echo "configure:5663: checking for main in -lsocket" >&5
d5615 1
a5615 1
#line 5671 "configure"
d5622 1
a5622 1
if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5648 1
a5648 1
echo "configure:5704: checking for accept" >&5
d5653 1
a5653 1
#line 5709 "configure"
d5676 1
a5676 1
if { (eval echo configure:5732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5698 1
a5698 1
echo "configure:5754: checking for gethostbyname" >&5
d5703 1
a5703 1
#line 5759 "configure"
d5726 1
a5726 1
if { (eval echo configure:5782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5744 1
a5744 1
echo "configure:5800: checking for main in -lnsl" >&5
d5752 1
a5752 1
#line 5808 "configure"
d5759 1
a5759 1
if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5795 1
a5795 1
echo "configure:5851: checking MIT X libraries" >&5
d5801 1
a5801 1
#line 5857 "configure"
d5812 1
a5812 1
if { (eval echo configure:5868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5836 1
a5836 1
echo "configure:5892: checking whether char is unsigned" >&5
d5843 1
a5843 1
#line 5899 "configure"
d5865 1
a5865 1
#line 5921 "configure"
d5875 1
a5875 1
if { (eval echo configure:5931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5935 1
a5935 1
echo "configure:5991: checking how to package libraries" >&5
@


1.65.2.53
log
@	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
	for weakly importing symbols not available on OSX 10.2 or 10.3, enables
	binaires built on later OSX versions to run on earlier ones.
	* macosx/README: document how to enable weak-linking; cleanup.
	* unix/configure.in: enforce requirement of OSX 10.2 for TkAqua; move
	* unix/tcl.m4:       Darwin specific checks & defines that are only
	relevant to the tcl build out of tcl.m4; restrict framework option to
	Darwin; cleanup quoting.
	* unix/configure: autoconf-2.13

	* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.

	* macosx/tkMacOSXEvent.h:      standardize MAC_OS_X_VERSION_MAX_ALLOWED
	* macosx/tkMacOSXMenu.c:       checks per QA1316, ensure define can be
	* macosx/tkMacOSXMenubutton.c: overriden on command line (from default
	* macosx/tkMacOSXMenus.c:      of current OS version).
	* macosx/tkMacOSXMouseEvent.c:
	* macosx/tkMacOSXWm.c:
@
text
@d3049 150
a3198 2
		else
		    tcl_corefoundation=no
d3201 95
d3300 66
d3653 1
a3653 1
echo "configure:3345: checking for ld accepts -Bexport flag" >&5
d3661 1
a3661 1
#line 3353 "configure"
d3668 1
a3668 1
if { (eval echo configure:3360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3715 1
a3715 1
echo "configure:3407: checking sys/exec.h" >&5
d3721 1
a3721 1
#line 3413 "configure"
d3739 1
a3739 1
if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3759 1
a3759 1
echo "configure:3451: checking a.out.h" >&5
d3765 1
a3765 1
#line 3457 "configure"
d3783 1
a3783 1
if { (eval echo configure:3475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3803 1
a3803 1
echo "configure:3495: checking sys/exec_aout.h" >&5
d3809 1
a3809 1
#line 3501 "configure"
d3827 1
a3827 1
if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3980 1
a3980 1
echo "configure:3672: checking for build with symbols" >&5
d4041 1
a4041 1
echo "configure:3733: checking for required early compiler flags" >&5
d4048 1
a4048 1
#line 3740 "configure"
d4055 1
a4055 1
if { (eval echo configure:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4063 1
a4063 1
#line 3755 "configure"
d4071 1
a4071 1
if { (eval echo configure:3763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4098 1
a4098 1
#line 3790 "configure"
d4105 1
a4105 1
if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4113 1
a4113 1
#line 3805 "configure"
d4121 1
a4121 1
if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4148 1
a4148 1
#line 3840 "configure"
d4155 1
a4155 1
if { (eval echo configure:3847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4163 1
a4163 1
#line 3855 "configure"
d4171 1
a4171 1
if { (eval echo configure:3863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4202 1
a4202 1
echo "configure:3894: checking for 64-bit integer type" >&5
d4210 1
a4210 1
#line 3902 "configure"
d4217 1
a4217 1
if { (eval echo configure:3909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4231 1
a4231 1
#line 3923 "configure"
d4240 1
a4240 1
if { (eval echo configure:3932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4265 1
a4265 1
echo "configure:3957: checking for struct dirent64" >&5
d4271 1
a4271 1
#line 3963 "configure"
d4279 1
a4279 1
if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4300 1
a4300 1
echo "configure:3992: checking for struct stat64" >&5
d4306 1
a4306 1
#line 3998 "configure"
d4314 1
a4314 1
if { (eval echo configure:4006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4337 1
a4337 1
echo "configure:4029: checking for $ac_func" >&5
d4342 1
a4342 1
#line 4034 "configure"
d4365 1
a4365 1
if { (eval echo configure:4057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4390 1
a4390 1
echo "configure:4082: checking for off64_t" >&5
d4396 1
a4396 1
#line 4088 "configure"
d4404 1
a4404 1
if { (eval echo configure:4096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4435 1
a4435 1
echo "configure:4127: checking whether byte ordering is bigendian" >&5
d4442 1
a4442 1
#line 4134 "configure"
d4453 1
a4453 1
if { (eval echo configure:4145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4457 1
a4457 1
#line 4149 "configure"
d4468 1
a4468 1
if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4488 1
a4488 1
#line 4180 "configure"
d4501 1
a4501 1
if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4553 1
a4553 1
echo "configure:4245: checking for fd_set in sys/types" >&5
d4557 2
a4558 3
  
    cat > conftest.$ac_ext <<EOF
#line 4251 "configure"
d4565 1
a4565 1
if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4581 1
a4581 1
echo "configure:4274: checking for fd_mask in sys/select" >&5
d4585 2
a4586 3
  
	cat > conftest.$ac_ext <<EOF
#line 4280 "configure"
d4626 1
a4626 1
echo "configure:4320: checking for $ac_hdr" >&5
d4631 1
a4631 1
#line 4325 "configure"
d4636 1
a4636 1
{ (eval echo configure:4330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4663 1
a4663 1
echo "configure:4357: checking whether time.h and sys/time.h may both be included" >&5
d4668 1
a4668 1
#line 4362 "configure"
d4677 1
a4677 1
if { (eval echo configure:4371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4707 1
a4707 1
echo "configure:4401: checking for strtod" >&5
d4712 1
a4712 1
#line 4406 "configure"
d4735 1
a4735 1
if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4757 1
a4757 1
echo "configure:4451: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4766 1
a4766 1
#line 4460 "configure"
d4789 1
a4789 1
if { (eval echo configure:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4820 1
a4820 1
echo "configure:4514: checking for ANSI C header files" >&5
d4825 1
a4825 1
#line 4519 "configure"
d4833 1
a4833 1
{ (eval echo configure:4527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4850 1
a4850 1
#line 4544 "configure"
d4868 1
a4868 1
#line 4562 "configure"
d4889 1
a4889 1
#line 4583 "configure"
d4900 1
a4900 1
if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4924 1
a4924 1
echo "configure:4618: checking for mode_t" >&5
d4929 1
a4929 1
#line 4623 "configure"
d4957 1
a4957 1
echo "configure:4651: checking for pid_t" >&5
d4962 1
a4962 1
#line 4656 "configure"
d4990 1
a4990 1
echo "configure:4684: checking for size_t" >&5
d4995 1
a4995 1
#line 4689 "configure"
d5023 1
a5023 1
echo "configure:4717: checking for uid_t in sys/types.h" >&5
d5028 1
a5028 1
#line 4722 "configure"
d5062 1
a5062 1
echo "configure:4756: checking pw_gecos in struct pwd" >&5
d5066 2
a5067 3
  
    cat > conftest.$ac_ext <<EOF
#line 4762 "configure"
d5074 1
a5074 1
if { (eval echo configure:4769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5098 2
    echo $ac_n "checking whether to use Aqua""... $ac_c" 1>&6
echo "configure:4795: checking whether to use Aqua" >&5
d5108 7
a5114 12
	if test $tcl_corefoundation = no; then
	    echo "configure: warning: Aqua can only be used when CoreFoundation is available" 1>&2
	    tk_aqua=no
	fi
	if test ! -d /System/Library/Frameworks/Carbon.framework; then
	    echo "configure: warning: Aqua can only be used when Carbon is available" 1>&2
	    tk_aqua=no
	fi
	if test "`uname -r | awk -F. '{print $1}'`" -lt 6; then
	    echo "configure: warning: Aqua requires Mac OS X 10.2 or later" 1>&2
	    tk_aqua=no
	fi
a5115 1
    echo "$ac_t""$tk_aqua" 1>&6
d5155 1
a5155 1
echo "configure:4858: checking for X" >&5
d5217 1
a5217 1
#line 4920 "configure"
d5222 1
a5222 1
{ (eval echo configure:4925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5291 1
a5291 1
#line 4994 "configure"
d5298 1
a5298 1
if { (eval echo configure:5001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5388 1
a5388 1
#line 5091 "configure"
d5393 1
a5393 1
{ (eval echo configure:5096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5413 1
a5413 1
echo "configure:5116: checking for X11 header files" >&5
d5416 1
a5416 1
#line 5119 "configure"
d5421 1
a5421 1
{ (eval echo configure:5124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5457 1
a5457 1
echo "configure:5160: checking for X11 libraries" >&5
d5477 1
a5477 1
echo "configure:5180: checking for XCreateWindow in -lXwindow" >&5
d5485 1
a5485 1
#line 5188 "configure"
d5496 1
a5496 1
if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5573 1
a5573 1
echo "configure:5276: checking for main in -lXbsd" >&5
d5581 1
a5581 1
#line 5284 "configure"
d5588 1
a5588 1
if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5612 1
a5612 1
echo "configure:5315: checking for connect" >&5
d5617 1
a5617 1
#line 5320 "configure"
d5640 1
a5640 1
if { (eval echo configure:5343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5662 1
a5662 1
echo "configure:5365: checking for main in -lsocket" >&5
d5670 1
a5670 1
#line 5373 "configure"
d5677 1
a5677 1
if { (eval echo configure:5380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5703 1
a5703 1
echo "configure:5406: checking for accept" >&5
d5708 1
a5708 1
#line 5411 "configure"
d5731 1
a5731 1
if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5753 1
a5753 1
echo "configure:5456: checking for gethostbyname" >&5
d5758 1
a5758 1
#line 5461 "configure"
d5781 1
a5781 1
if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5799 1
a5799 1
echo "configure:5502: checking for main in -lnsl" >&5
d5807 1
a5807 1
#line 5510 "configure"
d5814 1
a5814 1
if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5850 1
a5850 1
echo "configure:5553: checking MIT X libraries" >&5
d5856 1
a5856 1
#line 5559 "configure"
d5867 1
a5867 1
if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5891 1
a5891 1
echo "configure:5594: checking whether char is unsigned" >&5
d5898 1
a5898 1
#line 5601 "configure"
d5920 1
a5920 1
#line 5623 "configure"
d5930 1
a5930 1
if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5989 3
a5991 4
    if test "`uname -s`" = "Darwin" ; then
	echo $ac_n "checking how to package libraries""... $ac_c" 1>&6
echo "configure:5694: checking how to package libraries" >&5
	# Check whether --enable-framework or --disable-framework was given.
d5994 1
a5994 1
  enable_framework=$enableval
d5996 1
a5996 1
  enable_framework=no
d5999 14
a6012 9
	if test $enable_framework = yes; then
	    if test $SHARED_BUILD = 0; then
		echo "configure: warning: Frameworks can only be built if --enable-shared is yes" 1>&2
		enable_framework=no
	    fi
	    if test $tcl_corefoundation = no; then
		echo "configure: warning: Frameworks can only be used when CoreFoundation is available" 1>&2
		enable_framework=no
	    fi
d6014 2
a6015 9
	if test $enable_framework = yes; then
	    echo "$ac_t""framework" 1>&6
	    FRAMEWORK_BUILD=1
	else
	    if test $SHARED_BUILD = 1; then
		echo "$ac_t""shared library" 1>&6
	    else
		echo "$ac_t""static library" 1>&6
	    fi
d6018 3
@


1.65.2.54
log
@	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
	universal builds including x86_64, for 64-bit CoreFoundation on Leopard
	and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET.
	* unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for
	combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11
	can be built for 64-bit at present.
	* unix/configure: autoconf-2.13

	* macosx/README: updates for x86_64 support in Tcl.

	* macosx/tkMacOSXInit.c (TkpInit): when available, use public
	TransformProcessType() API instead of CPSEnableForegroundOperation() SPI
	to notify the window server that we are a GUI application.

	* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger.

	* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent):
	* macosx/tkMacOSXMenus.c (GenerateEditEvent):
	* macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure
	before use to ensure all fields are initialized. [Bug 1542205]
@
text
@d2912 1
a2912 14
		case `arch` in
		    ppc)
			CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5";;
		    i386)
			CFLAGS="$CFLAGS -arch x86_64";;
		    *)
			echo "configure: warning: Don't know how enable 64-bit on architecture `arch`" 1>&2
			do64bit_ok=no;;
		esac
	    else
		# Check for combined 32-bit and 64-bit fat build
		echo "$CFLAGS " | grep -E -q -- '-arch (ppc64|x86_64) ' && \
		    echo "$CFLAGS " | grep -E -q -- '-arch (ppc|i386) ' && \
		    fat_32_64=yes
d2916 1
a2916 1
echo "configure:2930: checking if ld accepts -single_module flag" >&5
d2924 1
a2924 1
#line 2938 "configure"
d2931 1
a2931 1
if { (eval echo configure:2945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2953 2
a2954 2
	    test "`echo "${MACOSX_DEPLOYMENT_TARGET}" | awk -F '10\\.' '{print int($2)}'`" -lt 4 -a \
		"`echo "${CFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
d2958 1
a2958 1
echo "configure:2972: checking if ld accepts -search_paths_first flag" >&5
d2966 1
a2966 1
#line 2980 "configure"
d2973 1
a2973 1
if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2996 1
a2996 1
echo "configure:3010: checking whether to use CoreFoundation" >&5
d3008 1
a3008 1
echo "configure:3022: checking for CoreFoundation.framework" >&5
d3014 5
a3018 5
		    if test "$fat_32_64" = yes; then
			# On Tiger there is no 64-bit CF, so remove 64-bit archs
			# from CFLAGS while testing for presence of CF.
			# 64-bit CF is disabled in tclUnixPort.h if necessary.
			CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc64 / /g' -e 's/-arch x86_64 / /g'`"
d3022 1
a3022 1
#line 3036 "configure"
d3029 1
a3029 1
if { (eval echo configure:3043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3051 38
		if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
		    echo $ac_n "checking for 64-bit CoreFoundation""... $ac_c" 1>&6
echo "configure:3068: checking for 64-bit CoreFoundation" >&5
if eval "test \"`echo '$''{'tcl_cv_lib_corefoundation_64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
			hold_cflags=$CFLAGS
			CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc / /g' -e 's/-arch i386 / /g'`"
			cat > conftest.$ac_ext <<EOF
#line 3076 "configure"
#include "confdefs.h"
#include <CoreFoundation/CoreFoundation.h>
int main() {
CFBundleRef b = CFBundleGetMainBundle();
; return 0; }
EOF
if { (eval echo configure:3083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_lib_corefoundation_64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_lib_corefoundation_64=no
fi
rm -f conftest*
			CFLAGS=$hold_cflags
fi

echo "$ac_t""$tcl_cv_lib_corefoundation_64" 1>&6
		    if test $tcl_cv_lib_corefoundation_64 = no; then
			cat >> confdefs.h <<\EOF
#define NO_COREFOUNDATION_64 1
EOF

		    fi
		fi
d3344 1
a3344 1
echo "configure:3396: checking for ld accepts -Bexport flag" >&5
d3352 1
a3352 1
#line 3404 "configure"
d3359 1
a3359 1
if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3406 1
a3406 1
echo "configure:3458: checking sys/exec.h" >&5
d3412 1
a3412 1
#line 3464 "configure"
d3430 1
a3430 1
if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3450 1
a3450 1
echo "configure:3502: checking a.out.h" >&5
d3456 1
a3456 1
#line 3508 "configure"
d3474 1
a3474 1
if { (eval echo configure:3526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3494 1
a3494 1
echo "configure:3546: checking sys/exec_aout.h" >&5
d3500 1
a3500 1
#line 3552 "configure"
d3518 1
a3518 1
if { (eval echo configure:3570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3671 1
a3671 1
echo "configure:3723: checking for build with symbols" >&5
d3732 1
a3732 1
echo "configure:3784: checking for required early compiler flags" >&5
d3739 1
a3739 1
#line 3791 "configure"
d3746 1
a3746 1
if { (eval echo configure:3798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3754 1
a3754 1
#line 3806 "configure"
d3762 1
a3762 1
if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3789 1
a3789 1
#line 3841 "configure"
d3796 1
a3796 1
if { (eval echo configure:3848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3804 1
a3804 1
#line 3856 "configure"
d3812 1
a3812 1
if { (eval echo configure:3864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3839 1
a3839 1
#line 3891 "configure"
d3846 1
a3846 1
if { (eval echo configure:3898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3854 1
a3854 1
#line 3906 "configure"
d3862 1
a3862 1
if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3893 1
a3893 1
echo "configure:3945: checking for 64-bit integer type" >&5
d3901 1
a3901 1
#line 3953 "configure"
d3908 1
a3908 1
if { (eval echo configure:3960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3922 1
a3922 1
#line 3974 "configure"
d3931 1
a3931 1
if { (eval echo configure:3983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3956 1
a3956 1
echo "configure:4008: checking for struct dirent64" >&5
d3962 1
a3962 1
#line 4014 "configure"
d3970 1
a3970 1
if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3991 1
a3991 1
echo "configure:4043: checking for struct stat64" >&5
d3997 1
a3997 1
#line 4049 "configure"
d4005 1
a4005 1
if { (eval echo configure:4057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4028 1
a4028 1
echo "configure:4080: checking for $ac_func" >&5
d4033 1
a4033 1
#line 4085 "configure"
d4056 1
a4056 1
if { (eval echo configure:4108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4081 1
a4081 1
echo "configure:4133: checking for off64_t" >&5
d4087 1
a4087 1
#line 4139 "configure"
d4095 1
a4095 1
if { (eval echo configure:4147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4126 1
a4126 1
echo "configure:4178: checking whether byte ordering is bigendian" >&5
d4133 1
a4133 1
#line 4185 "configure"
d4144 1
a4144 1
if { (eval echo configure:4196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4148 1
a4148 1
#line 4200 "configure"
d4159 1
a4159 1
if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4179 1
a4179 1
#line 4231 "configure"
d4192 1
a4192 1
if { (eval echo configure:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4244 1
a4244 1
echo "configure:4296: checking for fd_set in sys/types" >&5
d4250 1
a4250 1
#line 4302 "configure"
d4257 1
a4257 1
if { (eval echo configure:4309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4273 1
a4273 1
echo "configure:4325: checking for fd_mask in sys/select" >&5
d4279 1
a4279 1
#line 4331 "configure"
d4319 1
a4319 1
echo "configure:4371: checking for $ac_hdr" >&5
d4324 1
a4324 1
#line 4376 "configure"
d4329 1
a4329 1
{ (eval echo configure:4381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4356 1
a4356 1
echo "configure:4408: checking whether time.h and sys/time.h may both be included" >&5
d4361 1
a4361 1
#line 4413 "configure"
d4370 1
a4370 1
if { (eval echo configure:4422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4400 1
a4400 1
echo "configure:4452: checking for strtod" >&5
d4405 1
a4405 1
#line 4457 "configure"
d4428 1
a4428 1
if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4450 1
a4450 1
echo "configure:4502: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4459 1
a4459 1
#line 4511 "configure"
d4482 1
a4482 1
if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4513 1
a4513 1
echo "configure:4565: checking for ANSI C header files" >&5
d4518 1
a4518 1
#line 4570 "configure"
d4526 1
a4526 1
{ (eval echo configure:4578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4543 1
a4543 1
#line 4595 "configure"
d4561 1
a4561 1
#line 4613 "configure"
d4582 1
a4582 1
#line 4634 "configure"
d4593 1
a4593 1
if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4617 1
a4617 1
echo "configure:4669: checking for mode_t" >&5
d4622 1
a4622 1
#line 4674 "configure"
d4650 1
a4650 1
echo "configure:4702: checking for pid_t" >&5
d4655 1
a4655 1
#line 4707 "configure"
d4683 1
a4683 1
echo "configure:4735: checking for size_t" >&5
d4688 1
a4688 1
#line 4740 "configure"
d4716 1
a4716 1
echo "configure:4768: checking for uid_t in sys/types.h" >&5
d4721 1
a4721 1
#line 4773 "configure"
d4755 1
a4755 1
echo "configure:4807: checking pw_gecos in struct pwd" >&5
d4761 1
a4761 1
#line 4813 "configure"
d4768 1
a4768 1
if { (eval echo configure:4820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4794 1
a4794 1
echo "configure:4846: checking whether to use Aqua" >&5
d4818 5
a4822 4
    # remove 64-bit arch flags from CFLAGS for combined 32-bit and 64-bit fat
    # builds, as neither TkAqua nor TkX11 can be built for 64-bit at present.
    test "$fat_32_64" = yes && \
	CFLAGS="`echo "$CFLAGS " | sed -e 's/-arch ppc64 / /g' -e 's/-arch x86_64 / /g'`"
d4857 1
a4857 1
echo "configure:4908: checking for X" >&5
d4919 1
a4919 1
#line 4970 "configure"
d4924 1
a4924 1
{ (eval echo configure:4975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4993 1
a4993 1
#line 5044 "configure"
d5000 1
a5000 1
if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5090 1
a5090 1
#line 5141 "configure"
d5095 1
a5095 1
{ (eval echo configure:5146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5115 1
a5115 1
echo "configure:5166: checking for X11 header files" >&5
d5118 1
a5118 1
#line 5169 "configure"
d5123 1
a5123 1
{ (eval echo configure:5174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5159 1
a5159 1
echo "configure:5210: checking for X11 libraries" >&5
d5179 1
a5179 1
echo "configure:5230: checking for XCreateWindow in -lXwindow" >&5
d5187 1
a5187 1
#line 5238 "configure"
d5198 1
a5198 1
if { (eval echo configure:5249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5275 1
a5275 1
echo "configure:5326: checking for main in -lXbsd" >&5
d5283 1
a5283 1
#line 5334 "configure"
d5290 1
a5290 1
if { (eval echo configure:5341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5314 1
a5314 1
echo "configure:5365: checking for connect" >&5
d5319 1
a5319 1
#line 5370 "configure"
d5342 1
a5342 1
if { (eval echo configure:5393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5364 1
a5364 1
echo "configure:5415: checking for main in -lsocket" >&5
d5372 1
a5372 1
#line 5423 "configure"
d5379 1
a5379 1
if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5405 1
a5405 1
echo "configure:5456: checking for accept" >&5
d5410 1
a5410 1
#line 5461 "configure"
d5433 1
a5433 1
if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5455 1
a5455 1
echo "configure:5506: checking for gethostbyname" >&5
d5460 1
a5460 1
#line 5511 "configure"
d5483 1
a5483 1
if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5501 1
a5501 1
echo "configure:5552: checking for main in -lnsl" >&5
d5509 1
a5509 1
#line 5560 "configure"
d5516 1
a5516 1
if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5552 1
a5552 1
echo "configure:5603: checking MIT X libraries" >&5
d5558 1
a5558 1
#line 5609 "configure"
d5569 1
a5569 1
if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5593 1
a5593 1
echo "configure:5644: checking whether char is unsigned" >&5
d5600 1
a5600 1
#line 5651 "configure"
d5622 1
a5622 1
#line 5673 "configure"
d5632 1
a5632 1
if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5693 1
a5693 1
echo "configure:5744: checking how to package libraries" >&5
@


1.65.2.55
log
@
	* generic/tkConsole.c: TIP #268 update regarding registered package
	* generic/tkMain.c:    version, now using full patchlevel instead of
	* generic/tkWindow.c:  major.minor
	* library/tk.tcl:
	* unix/configure:
	* unix/Makefile.in:
	* unix/tcl.m4:
	* win/configure:
	* win/Makefile.in:
	* win/makefile.vc:
	* win/rules.vc:
	* win/tcl.m4:
@
text
@a736 1
    
d749 1
a749 1
echo "configure:751: checking for tclsh" >&5
d782 1
a782 1
echo "configure:784: checking for tclsh in Tcl build directory" >&5
d814 1
a814 1
echo "configure:816: checking whether to use symlinks for manpages" >&5
d826 1
a826 1
echo "configure:828: checking whether to compress the manpages" >&5
d842 1
a842 1
echo "configure:844: checking for compressed file suffix" >&5
d852 1
a852 1
echo "configure:854: checking whether to add a package name suffix for the manpages" >&5
d883 1
a883 1
echo "configure:885: checking for $ac_word" >&5
d913 1
a913 1
echo "configure:915: checking for $ac_word" >&5
d964 1
a964 1
echo "configure:966: checking for $ac_word" >&5
d996 1
a996 1
echo "configure:998: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d1007 1
a1007 1
#line 1009 "configure"
d1012 1
a1012 1
if { (eval echo configure:1014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1038 1
a1038 1
echo "configure:1040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1043 1
a1043 1
echo "configure:1045: checking whether we are using GNU C" >&5
d1052 1
a1052 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1071 1
a1071 1
echo "configure:1073: checking whether ${CC-cc} accepts -g" >&5
d1106 1
a1106 1
echo "configure:1108: checking how to run the C preprocessor" >&5
d1121 1
a1121 1
#line 1123 "configure"
d1127 1
a1127 1
{ (eval echo configure:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1138 1
a1138 1
#line 1140 "configure"
d1144 1
a1144 1
{ (eval echo configure:1146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1155 1
a1155 1
#line 1157 "configure"
d1161 1
a1161 1
{ (eval echo configure:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1187 1
a1187 1
echo "configure:1189: checking for limits.h" >&5
d1192 1
a1192 1
#line 1194 "configure"
d1197 1
a1197 1
{ (eval echo configure:1199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1229 1
a1229 1
echo "configure:1231: checking for $ac_hdr" >&5
d1234 1
a1234 1
#line 1236 "configure"
d1239 1
a1239 1
{ (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1272 1
a1272 1
echo "configure:1274: checking stdlib.h" >&5
d1274 1
a1274 1
#line 1276 "configure"
d1289 1
a1289 1
#line 1291 "configure"
d1303 1
a1303 1
#line 1305 "configure"
d1332 1
a1332 1
echo "configure:1334: checking if the compiler understands -pipe" >&5
d1336 1
a1336 1
#line 1338 "configure"
d1343 1
a1343 1
if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1398 1
a1398 1
echo "configure:1400: checking for pthread_mutex_init in -lpthread" >&5
d1406 1
a1406 1
#line 1408 "configure"
d1417 1
a1417 1
if { (eval echo configure:1419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1445 1
a1445 1
echo "configure:1447: checking for __pthread_mutex_init in -lpthread" >&5
d1453 1
a1453 1
#line 1455 "configure"
d1464 1
a1464 1
if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1492 1
a1492 1
echo "configure:1494: checking for pthread_mutex_init in -lpthreads" >&5
d1500 1
a1500 1
#line 1502 "configure"
d1511 1
a1511 1
if { (eval echo configure:1513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1537 1
a1537 1
echo "configure:1539: checking for pthread_mutex_init in -lc" >&5
d1545 1
a1545 1
#line 1547 "configure"
d1556 1
a1556 1
if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1579 1
a1579 1
echo "configure:1581: checking for pthread_mutex_init in -lc_r" >&5
d1587 1
a1587 1
#line 1589 "configure"
d1598 1
a1598 1
if { (eval echo configure:1600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1638 1
a1638 1
echo "configure:1640: checking for $ac_func" >&5
d1643 1
a1643 1
#line 1645 "configure"
d1666 1
a1666 1
if { (eval echo configure:1668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1693 1
a1693 1
echo "configure:1695: checking for $ac_func" >&5
d1698 1
a1698 1
#line 1700 "configure"
d1721 1
a1721 1
if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1751 1
a1751 1
echo "configure:1753: checking for building with threads" >&5
d1778 1
a1778 1
echo "configure:1780: checking for sin" >&5
d1783 1
a1783 1
#line 1785 "configure"
d1806 1
a1806 1
if { (eval echo configure:1808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1827 1
a1827 1
echo "configure:1829: checking for main in -lieee" >&5
d1835 1
a1835 1
#line 1837 "configure"
d1842 1
a1842 1
if { (eval echo configure:1844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1868 1
a1868 1
echo "configure:1870: checking how to build libraries" >&5
d1907 1
a1907 1
echo "configure:1909: checking for $ac_word" >&5
d1939 1
a1939 1
echo "configure:1941: checking if 64bit support is requested" >&5
d1953 1
a1953 1
echo "configure:1955: checking if 64bit Sparc VIS support is requested" >&5
d1974 1
a1974 1
echo "configure:1976: checking system version" >&5
d2009 1
a2009 1
echo "configure:2011: checking for dlopen in -ldl" >&5
d2017 1
a2017 1
#line 2019 "configure"
d2028 1
a2028 1
if { (eval echo configure:2030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2076 1
a2076 1
echo "configure:2078: checking for $ac_word" >&5
d2191 1
a2191 1
echo "configure:2193: checking for gettimeofday in -lbsd" >&5
d2199 1
a2199 1
#line 2201 "configure"
d2210 1
a2210 1
if { (eval echo configure:2212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2253 1
a2253 1
echo "configure:2255: checking for inet_ntoa in -lbind" >&5
d2261 1
a2261 1
#line 2263 "configure"
d2272 1
a2272 1
if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2338 1
a2338 1
echo "configure:2340: checking for shl_load in -ldld" >&5
d2346 1
a2346 1
#line 2348 "configure"
d2357 1
a2357 1
if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2425 1
a2425 1
echo "configure:2427: checking for shl_load in -ldld" >&5
d2433 1
a2433 1
#line 2435 "configure"
d2444 1
a2444 1
if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2568 1
a2568 1
echo "configure:2570: checking for dld.h" >&5
d2573 1
a2573 1
#line 2575 "configure"
d2578 1
a2578 1
{ (eval echo configure:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2642 1
a2642 1
echo "configure:2644: checking for dld.h" >&5
d2647 1
a2647 1
#line 2649 "configure"
d2652 1
a2652 1
{ (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2720 1
a2720 1
echo "configure:2722: checking for dlfcn.h" >&5
d2725 1
a2725 1
#line 2727 "configure"
d2730 1
a2730 1
{ (eval echo configure:2732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2757 1
a2757 1
echo "configure:2759: checking for ELF" >&5
d2763 1
a2763 1
#line 2765 "configure"
d2842 1
a2842 1
echo "configure:2844: checking for ELF" >&5
d2848 1
a2848 1
#line 2850 "configure"
d2929 1
a2929 1
echo "configure:2931: checking if ld accepts -single_module flag" >&5
d2937 1
a2937 1
#line 2939 "configure"
d2944 1
a2944 1
if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2971 1
a2971 1
echo "configure:2973: checking if ld accepts -search_paths_first flag" >&5
d2979 1
a2979 1
#line 2981 "configure"
d2986 1
a2986 1
if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3009 1
a3009 1
echo "configure:3011: checking whether to use CoreFoundation" >&5
d3021 1
a3021 1
echo "configure:3023: checking for CoreFoundation.framework" >&5
d3035 1
a3035 1
#line 3037 "configure"
d3042 1
a3042 1
if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3067 1
a3067 1
echo "configure:3069: checking for 64-bit CoreFoundation" >&5
d3075 1
a3075 1
#line 3077 "configure"
d3082 1
a3082 1
if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3395 1
a3395 1
echo "configure:3397: checking for ld accepts -Bexport flag" >&5
d3403 1
a3403 1
#line 3405 "configure"
d3410 1
a3410 1
if { (eval echo configure:3412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3457 1
a3457 1
echo "configure:3459: checking sys/exec.h" >&5
d3463 1
a3463 1
#line 3465 "configure"
d3481 1
a3481 1
if { (eval echo configure:3483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3501 1
a3501 1
echo "configure:3503: checking a.out.h" >&5
d3507 1
a3507 1
#line 3509 "configure"
d3525 1
a3525 1
if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3545 1
a3545 1
echo "configure:3547: checking sys/exec_aout.h" >&5
d3551 1
a3551 1
#line 3553 "configure"
d3569 1
a3569 1
if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3722 1
a3722 1
echo "configure:3724: checking for build with symbols" >&5
d3783 1
a3783 1
echo "configure:3785: checking for required early compiler flags" >&5
d3790 1
a3790 1
#line 3792 "configure"
d3797 1
a3797 1
if { (eval echo configure:3799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3805 1
a3805 1
#line 3807 "configure"
d3813 1
a3813 1
if { (eval echo configure:3815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3840 1
a3840 1
#line 3842 "configure"
d3847 1
a3847 1
if { (eval echo configure:3849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3855 1
a3855 1
#line 3857 "configure"
d3863 1
a3863 1
if { (eval echo configure:3865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3890 1
a3890 1
#line 3892 "configure"
d3897 1
a3897 1
if { (eval echo configure:3899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3905 1
a3905 1
#line 3907 "configure"
d3913 1
a3913 1
if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3944 1
a3944 1
echo "configure:3946: checking for 64-bit integer type" >&5
d3952 1
a3952 1
#line 3954 "configure"
d3959 1
a3959 1
if { (eval echo configure:3961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3973 1
a3973 1
#line 3975 "configure"
d3982 1
a3982 1
if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4007 1
a4007 1
echo "configure:4009: checking for struct dirent64" >&5
d4013 1
a4013 1
#line 4015 "configure"
d4021 1
a4021 1
if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4042 1
a4042 1
echo "configure:4044: checking for struct stat64" >&5
d4048 1
a4048 1
#line 4050 "configure"
d4056 1
a4056 1
if { (eval echo configure:4058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4079 1
a4079 1
echo "configure:4081: checking for $ac_func" >&5
d4084 1
a4084 1
#line 4086 "configure"
d4107 1
a4107 1
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4132 1
a4132 1
echo "configure:4134: checking for off64_t" >&5
d4138 1
a4138 1
#line 4140 "configure"
d4146 1
a4146 1
if { (eval echo configure:4148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4177 1
a4177 1
echo "configure:4179: checking whether byte ordering is bigendian" >&5
d4184 1
a4184 1
#line 4186 "configure"
d4195 1
a4195 1
if { (eval echo configure:4197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4199 1
a4199 1
#line 4201 "configure"
d4210 1
a4210 1
if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4230 1
a4230 1
#line 4232 "configure"
d4243 1
a4243 1
if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4295 1
a4295 1
echo "configure:4297: checking for fd_set in sys/types" >&5
d4301 1
a4301 1
#line 4303 "configure"
d4308 1
a4308 1
if { (eval echo configure:4310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4324 1
a4324 1
echo "configure:4326: checking for fd_mask in sys/select" >&5
d4330 1
a4330 1
#line 4332 "configure"
d4370 1
a4370 1
echo "configure:4372: checking for $ac_hdr" >&5
d4375 1
a4375 1
#line 4377 "configure"
d4380 1
a4380 1
{ (eval echo configure:4382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4407 1
a4407 1
echo "configure:4409: checking whether time.h and sys/time.h may both be included" >&5
d4412 1
a4412 1
#line 4414 "configure"
d4421 1
a4421 1
if { (eval echo configure:4423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4451 1
a4451 1
echo "configure:4453: checking for strtod" >&5
d4456 1
a4456 1
#line 4458 "configure"
d4479 1
a4479 1
if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4501 1
a4501 1
echo "configure:4503: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4510 1
a4510 1
#line 4512 "configure"
d4533 1
a4533 1
if { (eval echo configure:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4564 1
a4564 1
echo "configure:4566: checking for ANSI C header files" >&5
d4569 1
a4569 1
#line 4571 "configure"
d4577 1
a4577 1
{ (eval echo configure:4579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4594 1
a4594 1
#line 4596 "configure"
d4612 1
a4612 1
#line 4614 "configure"
d4633 1
a4633 1
#line 4635 "configure"
d4644 1
a4644 1
if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4668 1
a4668 1
echo "configure:4670: checking for mode_t" >&5
d4673 1
a4673 1
#line 4675 "configure"
d4701 1
a4701 1
echo "configure:4703: checking for pid_t" >&5
d4706 1
a4706 1
#line 4708 "configure"
d4734 1
a4734 1
echo "configure:4736: checking for size_t" >&5
d4739 1
a4739 1
#line 4741 "configure"
d4767 1
a4767 1
echo "configure:4769: checking for uid_t in sys/types.h" >&5
d4772 1
a4772 1
#line 4774 "configure"
d4806 1
a4806 1
echo "configure:4808: checking pw_gecos in struct pwd" >&5
d4812 1
a4812 1
#line 4814 "configure"
d4819 1
a4819 1
if { (eval echo configure:4821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4845 1
a4845 1
echo "configure:4847: checking whether to use Aqua" >&5
d4907 1
a4907 1
echo "configure:4909: checking for X" >&5
d4969 1
a4969 1
#line 4971 "configure"
d4974 1
a4974 1
{ (eval echo configure:4976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5043 1
a5043 1
#line 5045 "configure"
d5050 1
a5050 1
if { (eval echo configure:5052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5140 1
a5140 1
#line 5142 "configure"
d5145 1
a5145 1
{ (eval echo configure:5147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5165 1
a5165 1
echo "configure:5167: checking for X11 header files" >&5
d5168 1
a5168 1
#line 5170 "configure"
d5173 1
a5173 1
{ (eval echo configure:5175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5209 1
a5209 1
echo "configure:5211: checking for X11 libraries" >&5
d5229 1
a5229 1
echo "configure:5231: checking for XCreateWindow in -lXwindow" >&5
d5237 1
a5237 1
#line 5239 "configure"
d5248 1
a5248 1
if { (eval echo configure:5250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5325 1
a5325 1
echo "configure:5327: checking for main in -lXbsd" >&5
d5333 1
a5333 1
#line 5335 "configure"
d5340 1
a5340 1
if { (eval echo configure:5342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5364 1
a5364 1
echo "configure:5366: checking for connect" >&5
d5369 1
a5369 1
#line 5371 "configure"
d5392 1
a5392 1
if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5414 1
a5414 1
echo "configure:5416: checking for main in -lsocket" >&5
d5422 1
a5422 1
#line 5424 "configure"
d5429 1
a5429 1
if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5455 1
a5455 1
echo "configure:5457: checking for accept" >&5
d5460 1
a5460 1
#line 5462 "configure"
d5483 1
a5483 1
if { (eval echo configure:5485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5505 1
a5505 1
echo "configure:5507: checking for gethostbyname" >&5
d5510 1
a5510 1
#line 5512 "configure"
d5533 1
a5533 1
if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5551 1
a5551 1
echo "configure:5553: checking for main in -lnsl" >&5
d5559 1
a5559 1
#line 5561 "configure"
d5566 1
a5566 1
if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5602 1
a5602 1
echo "configure:5604: checking MIT X libraries" >&5
d5608 1
a5608 1
#line 5610 "configure"
d5619 1
a5619 1
if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5643 1
a5643 1
echo "configure:5645: checking whether char is unsigned" >&5
d5650 1
a5650 1
#line 5652 "configure"
d5672 1
a5672 1
#line 5674 "configure"
d5682 1
a5682 1
if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5743 1
a5743 1
echo "configure:5745: checking how to package libraries" >&5
a6087 1
s%@@TCL_PATCH_LEVEL@@%$TCL_PATCH_LEVEL%g
@


1.65.2.56
log
@        * README:               Bump version number to 8.4.15
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".15"
@


1.65.2.57
log
@	* tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]
	* configure: autoconf-2.13
@
text
@d2560 1
a2560 1
		SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
a2608 36
	    if test $do64bit = yes; then
		echo $ac_n "checking if compiler accepts -m64 flag""... $ac_c" 1>&6
echo "configure:2612: checking if compiler accepts -m64 flag" >&5
if eval "test \"`echo '$''{'tcl_cv_cc_m64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
		    hold_cflags=$CFLAGS
		    CFLAGS="$CFLAGS -m64"
		    cat > conftest.$ac_ext <<EOF
#line 2620 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_cc_m64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_cc_m64=no
fi
rm -f conftest*
		    CFLAGS=$hold_cflags
fi

echo "$ac_t""$tcl_cv_cc_m64" 1>&6
		if test $tcl_cv_cc_m64 = yes; then
		    CFLAGS="$CFLAGS -m64"
		    do64bit_ok=yes
		fi
	    fi
d2643 1
a2643 1
echo "configure:2680: checking for dld.h" >&5
d2648 1
a2648 1
#line 2685 "configure"
d2653 1
a2653 1
{ (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2721 1
a2721 1
echo "configure:2758: checking for dlfcn.h" >&5
d2726 1
a2726 1
#line 2763 "configure"
d2731 1
a2731 1
{ (eval echo configure:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2758 1
a2758 1
echo "configure:2795: checking for ELF" >&5
d2764 1
a2764 1
#line 2801 "configure"
d2843 1
a2843 1
echo "configure:2880: checking for ELF" >&5
d2849 1
a2849 1
#line 2886 "configure"
d2930 1
a2930 1
echo "configure:2967: checking if ld accepts -single_module flag" >&5
d2938 1
a2938 1
#line 2975 "configure"
d2945 1
a2945 1
if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2972 1
a2972 1
echo "configure:3009: checking if ld accepts -search_paths_first flag" >&5
d2980 1
a2980 1
#line 3017 "configure"
d2987 1
a2987 1
if { (eval echo configure:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3010 1
a3010 1
echo "configure:3047: checking whether to use CoreFoundation" >&5
d3022 1
a3022 1
echo "configure:3059: checking for CoreFoundation.framework" >&5
d3036 1
a3036 1
#line 3073 "configure"
d3043 1
a3043 1
if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3068 1
a3068 1
echo "configure:3105: checking for 64-bit CoreFoundation" >&5
d3076 1
a3076 1
#line 3113 "configure"
d3083 1
a3083 1
if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3396 1
a3396 1
echo "configure:3433: checking for ld accepts -Bexport flag" >&5
d3404 1
a3404 1
#line 3441 "configure"
d3411 1
a3411 1
if { (eval echo configure:3448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3458 1
a3458 1
echo "configure:3495: checking sys/exec.h" >&5
d3464 1
a3464 1
#line 3501 "configure"
d3482 1
a3482 1
if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3502 1
a3502 1
echo "configure:3539: checking a.out.h" >&5
d3508 1
a3508 1
#line 3545 "configure"
d3526 1
a3526 1
if { (eval echo configure:3563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3546 1
a3546 1
echo "configure:3583: checking sys/exec_aout.h" >&5
d3552 1
a3552 1
#line 3589 "configure"
d3570 1
a3570 1
if { (eval echo configure:3607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3723 1
a3723 1
echo "configure:3760: checking for build with symbols" >&5
d3784 1
a3784 1
echo "configure:3821: checking for required early compiler flags" >&5
d3791 1
a3791 1
#line 3828 "configure"
d3798 1
a3798 1
if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3806 1
a3806 1
#line 3843 "configure"
d3814 1
a3814 1
if { (eval echo configure:3851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3841 1
a3841 1
#line 3878 "configure"
d3848 1
a3848 1
if { (eval echo configure:3885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3856 1
a3856 1
#line 3893 "configure"
d3864 1
a3864 1
if { (eval echo configure:3901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3891 1
a3891 1
#line 3928 "configure"
d3898 1
a3898 1
if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3906 1
a3906 1
#line 3943 "configure"
d3914 1
a3914 1
if { (eval echo configure:3951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3945 1
a3945 1
echo "configure:3982: checking for 64-bit integer type" >&5
d3953 1
a3953 1
#line 3990 "configure"
d3960 1
a3960 1
if { (eval echo configure:3997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3974 1
a3974 1
#line 4011 "configure"
d3983 1
a3983 1
if { (eval echo configure:4020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4008 1
a4008 1
echo "configure:4045: checking for struct dirent64" >&5
d4014 1
a4014 1
#line 4051 "configure"
d4022 1
a4022 1
if { (eval echo configure:4059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4043 1
a4043 1
echo "configure:4080: checking for struct stat64" >&5
d4049 1
a4049 1
#line 4086 "configure"
d4057 1
a4057 1
if { (eval echo configure:4094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4080 1
a4080 1
echo "configure:4117: checking for $ac_func" >&5
d4085 1
a4085 1
#line 4122 "configure"
d4108 1
a4108 1
if { (eval echo configure:4145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4133 1
a4133 1
echo "configure:4170: checking for off64_t" >&5
d4139 1
a4139 1
#line 4176 "configure"
d4147 1
a4147 1
if { (eval echo configure:4184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4178 1
a4178 1
echo "configure:4215: checking whether byte ordering is bigendian" >&5
d4185 1
a4185 1
#line 4222 "configure"
d4196 1
a4196 1
if { (eval echo configure:4233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4200 1
a4200 1
#line 4237 "configure"
d4211 1
a4211 1
if { (eval echo configure:4248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4231 1
a4231 1
#line 4268 "configure"
d4244 1
a4244 1
if { (eval echo configure:4281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4296 1
a4296 1
echo "configure:4333: checking for fd_set in sys/types" >&5
d4302 1
a4302 1
#line 4339 "configure"
d4309 1
a4309 1
if { (eval echo configure:4346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4325 1
a4325 1
echo "configure:4362: checking for fd_mask in sys/select" >&5
d4331 1
a4331 1
#line 4368 "configure"
d4371 1
a4371 1
echo "configure:4408: checking for $ac_hdr" >&5
d4376 1
a4376 1
#line 4413 "configure"
d4381 1
a4381 1
{ (eval echo configure:4418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4408 1
a4408 1
echo "configure:4445: checking whether time.h and sys/time.h may both be included" >&5
d4413 1
a4413 1
#line 4450 "configure"
d4422 1
a4422 1
if { (eval echo configure:4459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4452 1
a4452 1
echo "configure:4489: checking for strtod" >&5
d4457 1
a4457 1
#line 4494 "configure"
d4480 1
a4480 1
if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4502 1
a4502 1
echo "configure:4539: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4511 1
a4511 1
#line 4548 "configure"
d4534 1
a4534 1
if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4565 1
a4565 1
echo "configure:4602: checking for ANSI C header files" >&5
d4570 1
a4570 1
#line 4607 "configure"
d4578 1
a4578 1
{ (eval echo configure:4615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4595 1
a4595 1
#line 4632 "configure"
d4613 1
a4613 1
#line 4650 "configure"
d4634 1
a4634 1
#line 4671 "configure"
d4645 1
a4645 1
if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4669 1
a4669 1
echo "configure:4706: checking for mode_t" >&5
d4674 1
a4674 1
#line 4711 "configure"
d4702 1
a4702 1
echo "configure:4739: checking for pid_t" >&5
d4707 1
a4707 1
#line 4744 "configure"
d4735 1
a4735 1
echo "configure:4772: checking for size_t" >&5
d4740 1
a4740 1
#line 4777 "configure"
d4768 1
a4768 1
echo "configure:4805: checking for uid_t in sys/types.h" >&5
d4773 1
a4773 1
#line 4810 "configure"
d4807 1
a4807 1
echo "configure:4844: checking pw_gecos in struct pwd" >&5
d4813 1
a4813 1
#line 4850 "configure"
d4820 1
a4820 1
if { (eval echo configure:4857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4846 1
a4846 1
echo "configure:4883: checking whether to use Aqua" >&5
d4908 1
a4908 1
echo "configure:4945: checking for X" >&5
d4970 1
a4970 1
#line 5007 "configure"
d4975 1
a4975 1
{ (eval echo configure:5012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5044 1
a5044 1
#line 5081 "configure"
d5051 1
a5051 1
if { (eval echo configure:5088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5141 1
a5141 1
#line 5178 "configure"
d5146 1
a5146 1
{ (eval echo configure:5183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5166 1
a5166 1
echo "configure:5203: checking for X11 header files" >&5
d5169 1
a5169 1
#line 5206 "configure"
d5174 1
a5174 1
{ (eval echo configure:5211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5210 1
a5210 1
echo "configure:5247: checking for X11 libraries" >&5
d5230 1
a5230 1
echo "configure:5267: checking for XCreateWindow in -lXwindow" >&5
d5238 1
a5238 1
#line 5275 "configure"
d5249 1
a5249 1
if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5326 1
a5326 1
echo "configure:5363: checking for main in -lXbsd" >&5
d5334 1
a5334 1
#line 5371 "configure"
d5341 1
a5341 1
if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5365 1
a5365 1
echo "configure:5402: checking for connect" >&5
d5370 1
a5370 1
#line 5407 "configure"
d5393 1
a5393 1
if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5415 1
a5415 1
echo "configure:5452: checking for main in -lsocket" >&5
d5423 1
a5423 1
#line 5460 "configure"
d5430 1
a5430 1
if { (eval echo configure:5467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5456 1
a5456 1
echo "configure:5493: checking for accept" >&5
d5461 1
a5461 1
#line 5498 "configure"
d5484 1
a5484 1
if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5506 1
a5506 1
echo "configure:5543: checking for gethostbyname" >&5
d5511 1
a5511 1
#line 5548 "configure"
d5534 1
a5534 1
if { (eval echo configure:5571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5552 1
a5552 1
echo "configure:5589: checking for main in -lnsl" >&5
d5560 1
a5560 1
#line 5597 "configure"
d5567 1
a5567 1
if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5603 1
a5603 1
echo "configure:5640: checking MIT X libraries" >&5
d5609 1
a5609 1
#line 5646 "configure"
d5620 1
a5620 1
if { (eval echo configure:5657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5644 1
a5644 1
echo "configure:5681: checking whether char is unsigned" >&5
d5651 1
a5651 1
#line 5688 "configure"
d5673 1
a5673 1
#line 5710 "configure"
d5683 1
a5683 1
if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5744 1
a5744 1
echo "configure:5781: checking how to package libraries" >&5
@


1.65.2.58
log
@	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
	flag succeeds before enabling 64bit build.
	* unix/configure: autoconf-2.13
@
text
@d2948 1
d2951 1
a2951 34
			echo $ac_n "checking if compiler accepts -arch ppc64 flag""... $ac_c" 1>&6
echo "configure:2952: checking if compiler accepts -arch ppc64 flag" >&5
if eval "test \"`echo '$''{'tcl_cv_cc_arch_ppc64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
			    hold_cflags=$CFLAGS
			    CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
			    cat > conftest.$ac_ext <<EOF
#line 2960 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_cc_arch_ppc64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_cc_arch_ppc64=no
fi
rm -f conftest*
			    CFLAGS=$hold_cflags
fi

echo "$ac_t""$tcl_cv_cc_arch_ppc64" 1>&6
			if test $tcl_cv_cc_arch_ppc64 = yes; then
			    CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
			    do64bit_ok=yes
			fi;;
d2953 1
a2953 34
			echo $ac_n "checking if compiler accepts -arch x86_64 flag""... $ac_c" 1>&6
echo "configure:2987: checking if compiler accepts -arch x86_64 flag" >&5
if eval "test \"`echo '$''{'tcl_cv_cc_arch_x86_64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
			    hold_cflags=$CFLAGS
			    CFLAGS="$CFLAGS -arch x86_64"
			    cat > conftest.$ac_ext <<EOF
#line 2995 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_cc_arch_x86_64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_cc_arch_x86_64=no
fi
rm -f conftest*
			    CFLAGS=$hold_cflags
fi

echo "$ac_t""$tcl_cv_cc_arch_x86_64" 1>&6
			if test $tcl_cv_cc_arch_x86_64 = yes; then
			    CFLAGS="$CFLAGS -arch x86_64"
			    do64bit_ok=yes
			fi;;
d2955 2
a2956 1
			echo "configure: warning: Don't know how enable 64-bit on architecture `arch`" 1>&2;;
d2966 1
a2966 1
echo "configure:3031: checking if ld accepts -single_module flag" >&5
d2974 1
a2974 1
#line 3039 "configure"
d2981 1
a2981 1
if { (eval echo configure:3046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3008 1
a3008 1
echo "configure:3073: checking if ld accepts -search_paths_first flag" >&5
d3016 1
a3016 1
#line 3081 "configure"
d3023 1
a3023 1
if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3046 1
a3046 1
echo "configure:3111: checking whether to use CoreFoundation" >&5
d3058 1
a3058 1
echo "configure:3123: checking for CoreFoundation.framework" >&5
d3072 1
a3072 1
#line 3137 "configure"
d3079 1
a3079 1
if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3104 1
a3104 1
echo "configure:3169: checking for 64-bit CoreFoundation" >&5
d3112 1
a3112 1
#line 3177 "configure"
d3119 1
a3119 1
if { (eval echo configure:3184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3432 1
a3432 1
echo "configure:3497: checking for ld accepts -Bexport flag" >&5
d3440 1
a3440 1
#line 3505 "configure"
d3447 1
a3447 1
if { (eval echo configure:3512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3494 1
a3494 1
echo "configure:3559: checking sys/exec.h" >&5
d3500 1
a3500 1
#line 3565 "configure"
d3518 1
a3518 1
if { (eval echo configure:3583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3538 1
a3538 1
echo "configure:3603: checking a.out.h" >&5
d3544 1
a3544 1
#line 3609 "configure"
d3562 1
a3562 1
if { (eval echo configure:3627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3582 1
a3582 1
echo "configure:3647: checking sys/exec_aout.h" >&5
d3588 1
a3588 1
#line 3653 "configure"
d3606 1
a3606 1
if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3759 1
a3759 1
echo "configure:3824: checking for build with symbols" >&5
d3820 1
a3820 1
echo "configure:3885: checking for required early compiler flags" >&5
d3827 1
a3827 1
#line 3892 "configure"
d3834 1
a3834 1
if { (eval echo configure:3899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3842 1
a3842 1
#line 3907 "configure"
d3850 1
a3850 1
if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3877 1
a3877 1
#line 3942 "configure"
d3884 1
a3884 1
if { (eval echo configure:3949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3892 1
a3892 1
#line 3957 "configure"
d3900 1
a3900 1
if { (eval echo configure:3965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3927 1
a3927 1
#line 3992 "configure"
d3934 1
a3934 1
if { (eval echo configure:3999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3942 1
a3942 1
#line 4007 "configure"
d3950 1
a3950 1
if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3981 1
a3981 1
echo "configure:4046: checking for 64-bit integer type" >&5
d3989 1
a3989 1
#line 4054 "configure"
d3996 1
a3996 1
if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4010 1
a4010 1
#line 4075 "configure"
d4019 1
a4019 1
if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4044 1
a4044 1
echo "configure:4109: checking for struct dirent64" >&5
d4050 1
a4050 1
#line 4115 "configure"
d4058 1
a4058 1
if { (eval echo configure:4123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4079 1
a4079 1
echo "configure:4144: checking for struct stat64" >&5
d4085 1
a4085 1
#line 4150 "configure"
d4093 1
a4093 1
if { (eval echo configure:4158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4116 1
a4116 1
echo "configure:4181: checking for $ac_func" >&5
d4121 1
a4121 1
#line 4186 "configure"
d4144 1
a4144 1
if { (eval echo configure:4209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4169 1
a4169 1
echo "configure:4234: checking for off64_t" >&5
d4175 1
a4175 1
#line 4240 "configure"
d4183 1
a4183 1
if { (eval echo configure:4248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4214 1
a4214 1
echo "configure:4279: checking whether byte ordering is bigendian" >&5
d4221 1
a4221 1
#line 4286 "configure"
d4232 1
a4232 1
if { (eval echo configure:4297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4236 1
a4236 1
#line 4301 "configure"
d4247 1
a4247 1
if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4267 1
a4267 1
#line 4332 "configure"
d4280 1
a4280 1
if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4332 1
a4332 1
echo "configure:4397: checking for fd_set in sys/types" >&5
d4338 1
a4338 1
#line 4403 "configure"
d4345 1
a4345 1
if { (eval echo configure:4410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4361 1
a4361 1
echo "configure:4426: checking for fd_mask in sys/select" >&5
d4367 1
a4367 1
#line 4432 "configure"
d4407 1
a4407 1
echo "configure:4472: checking for $ac_hdr" >&5
d4412 1
a4412 1
#line 4477 "configure"
d4417 1
a4417 1
{ (eval echo configure:4482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4444 1
a4444 1
echo "configure:4509: checking whether time.h and sys/time.h may both be included" >&5
d4449 1
a4449 1
#line 4514 "configure"
d4458 1
a4458 1
if { (eval echo configure:4523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4488 1
a4488 1
echo "configure:4553: checking for strtod" >&5
d4493 1
a4493 1
#line 4558 "configure"
d4516 1
a4516 1
if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4538 1
a4538 1
echo "configure:4603: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4547 1
a4547 1
#line 4612 "configure"
d4570 1
a4570 1
if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4601 1
a4601 1
echo "configure:4666: checking for ANSI C header files" >&5
d4606 1
a4606 1
#line 4671 "configure"
d4614 1
a4614 1
{ (eval echo configure:4679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4631 1
a4631 1
#line 4696 "configure"
d4649 1
a4649 1
#line 4714 "configure"
d4670 1
a4670 1
#line 4735 "configure"
d4681 1
a4681 1
if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4705 1
a4705 1
echo "configure:4770: checking for mode_t" >&5
d4710 1
a4710 1
#line 4775 "configure"
d4738 1
a4738 1
echo "configure:4803: checking for pid_t" >&5
d4743 1
a4743 1
#line 4808 "configure"
d4771 1
a4771 1
echo "configure:4836: checking for size_t" >&5
d4776 1
a4776 1
#line 4841 "configure"
d4804 1
a4804 1
echo "configure:4869: checking for uid_t in sys/types.h" >&5
d4809 1
a4809 1
#line 4874 "configure"
d4843 1
a4843 1
echo "configure:4908: checking pw_gecos in struct pwd" >&5
d4849 1
a4849 1
#line 4914 "configure"
d4856 1
a4856 1
if { (eval echo configure:4921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4882 1
a4882 1
echo "configure:4947: checking whether to use Aqua" >&5
d4944 1
a4944 1
echo "configure:5009: checking for X" >&5
d5006 1
a5006 1
#line 5071 "configure"
d5011 1
a5011 1
{ (eval echo configure:5076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5080 1
a5080 1
#line 5145 "configure"
d5087 1
a5087 1
if { (eval echo configure:5152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5177 1
a5177 1
#line 5242 "configure"
d5182 1
a5182 1
{ (eval echo configure:5247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5202 1
a5202 1
echo "configure:5267: checking for X11 header files" >&5
d5205 1
a5205 1
#line 5270 "configure"
d5210 1
a5210 1
{ (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5246 1
a5246 1
echo "configure:5311: checking for X11 libraries" >&5
d5266 1
a5266 1
echo "configure:5331: checking for XCreateWindow in -lXwindow" >&5
d5274 1
a5274 1
#line 5339 "configure"
d5285 1
a5285 1
if { (eval echo configure:5350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5362 1
a5362 1
echo "configure:5427: checking for main in -lXbsd" >&5
d5370 1
a5370 1
#line 5435 "configure"
d5377 1
a5377 1
if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5401 1
a5401 1
echo "configure:5466: checking for connect" >&5
d5406 1
a5406 1
#line 5471 "configure"
d5429 1
a5429 1
if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5451 1
a5451 1
echo "configure:5516: checking for main in -lsocket" >&5
d5459 1
a5459 1
#line 5524 "configure"
d5466 1
a5466 1
if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5492 1
a5492 1
echo "configure:5557: checking for accept" >&5
d5497 1
a5497 1
#line 5562 "configure"
d5520 1
a5520 1
if { (eval echo configure:5585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5542 1
a5542 1
echo "configure:5607: checking for gethostbyname" >&5
d5547 1
a5547 1
#line 5612 "configure"
d5570 1
a5570 1
if { (eval echo configure:5635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5588 1
a5588 1
echo "configure:5653: checking for main in -lnsl" >&5
d5596 1
a5596 1
#line 5661 "configure"
d5603 1
a5603 1
if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5639 1
a5639 1
echo "configure:5704: checking MIT X libraries" >&5
d5645 1
a5645 1
#line 5710 "configure"
d5656 1
a5656 1
if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5680 1
a5680 1
echo "configure:5745: checking whether char is unsigned" >&5
d5687 1
a5687 1
#line 5752 "configure"
d5709 1
a5709 1
#line 5774 "configure"
d5719 1
a5719 1
if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5780 1
a5780 1
echo "configure:5845: checking how to package libraries" >&5
@


1.65.2.59
log
@	* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
	present in CFLAGS to avoid discrepancies between what headers configure
	sees during preprocessing tests and compiling tests.

	* unix/configure: autoconf-2.13
@
text
@a2063 1
    CFLAGS="${CPPFLAGS} ${CFLAGS}"
d2077 1
a2077 1
echo "configure:2079: checking for $ac_word" >&5
d2192 1
a2192 1
echo "configure:2194: checking for gettimeofday in -lbsd" >&5
d2200 1
a2200 1
#line 2202 "configure"
d2211 1
a2211 1
if { (eval echo configure:2213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2254 1
a2254 1
echo "configure:2256: checking for inet_ntoa in -lbind" >&5
d2262 1
a2262 1
#line 2264 "configure"
d2273 1
a2273 1
if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2339 1
a2339 1
echo "configure:2341: checking for shl_load in -ldld" >&5
d2347 1
a2347 1
#line 2349 "configure"
d2358 1
a2358 1
if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2426 1
a2426 1
echo "configure:2428: checking for shl_load in -ldld" >&5
d2434 1
a2434 1
#line 2436 "configure"
d2445 1
a2445 1
if { (eval echo configure:2447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2569 1
a2569 1
echo "configure:2571: checking for dld.h" >&5
d2574 1
a2574 1
#line 2576 "configure"
d2579 1
a2579 1
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2611 1
a2611 1
echo "configure:2613: checking if compiler accepts -m64 flag" >&5
d2619 1
a2619 1
#line 2621 "configure"
d2626 1
a2626 1
if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2679 1
a2679 1
echo "configure:2681: checking for dld.h" >&5
d2684 1
a2684 1
#line 2686 "configure"
d2689 1
a2689 1
{ (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2757 1
a2757 1
echo "configure:2759: checking for dlfcn.h" >&5
d2762 1
a2762 1
#line 2764 "configure"
d2767 1
a2767 1
{ (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2794 1
a2794 1
echo "configure:2796: checking for ELF" >&5
d2800 1
a2800 1
#line 2802 "configure"
d2879 1
a2879 1
echo "configure:2881: checking for ELF" >&5
d2885 1
a2885 1
#line 2887 "configure"
a2946 6
	    # To avoid discrepancies between what headers configure sees during
	    # preprocessing tests and compiling tests, add any -isysroot and
	    # -mmacosx-version-min flags present in CFLAGS to CPPFLAGS:
	    CPPFLAGS="${CPPFLAGS} `echo " ${CFLAGS}" | \
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=1;i<=NF;i++) \
		if ($i~/^(isysroot|mmacosx-version-min)/) print "-"$i}'`"
d2951 1
a2951 1
echo "configure:2959: checking if compiler accepts -arch ppc64 flag" >&5
d2959 1
a2959 1
#line 2967 "configure"
d2966 1
a2966 1
if { (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2986 1
a2986 1
echo "configure:2994: checking if compiler accepts -arch x86_64 flag" >&5
d2994 1
a2994 1
#line 3002 "configure"
d3001 1
a3001 1
if { (eval echo configure:3009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3030 1
a3030 1
echo "configure:3038: checking if ld accepts -single_module flag" >&5
d3038 1
a3038 1
#line 3046 "configure"
d3045 1
a3045 1
if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3072 1
a3072 1
echo "configure:3080: checking if ld accepts -search_paths_first flag" >&5
d3080 1
a3080 1
#line 3088 "configure"
d3087 1
a3087 1
if { (eval echo configure:3095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3110 1
a3110 1
echo "configure:3118: checking whether to use CoreFoundation" >&5
d3122 1
a3122 1
echo "configure:3130: checking for CoreFoundation.framework" >&5
d3136 1
a3136 1
#line 3144 "configure"
d3143 1
a3143 1
if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3168 1
a3168 1
echo "configure:3176: checking for 64-bit CoreFoundation" >&5
d3176 1
a3176 1
#line 3184 "configure"
d3183 1
a3183 1
if { (eval echo configure:3191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3496 1
a3496 1
echo "configure:3504: checking for ld accepts -Bexport flag" >&5
d3504 1
a3504 1
#line 3512 "configure"
d3511 1
a3511 1
if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3558 1
a3558 1
echo "configure:3566: checking sys/exec.h" >&5
d3564 1
a3564 1
#line 3572 "configure"
d3582 1
a3582 1
if { (eval echo configure:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3602 1
a3602 1
echo "configure:3610: checking a.out.h" >&5
d3608 1
a3608 1
#line 3616 "configure"
d3626 1
a3626 1
if { (eval echo configure:3634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3646 1
a3646 1
echo "configure:3654: checking sys/exec_aout.h" >&5
d3652 1
a3652 1
#line 3660 "configure"
d3670 1
a3670 1
if { (eval echo configure:3678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3823 1
a3823 1
echo "configure:3831: checking for build with symbols" >&5
d3884 1
a3884 1
echo "configure:3892: checking for required early compiler flags" >&5
d3891 1
a3891 1
#line 3899 "configure"
d3898 1
a3898 1
if { (eval echo configure:3906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3906 1
a3906 1
#line 3914 "configure"
d3914 1
a3914 1
if { (eval echo configure:3922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3941 1
a3941 1
#line 3949 "configure"
d3948 1
a3948 1
if { (eval echo configure:3956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3956 1
a3956 1
#line 3964 "configure"
d3964 1
a3964 1
if { (eval echo configure:3972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3991 1
a3991 1
#line 3999 "configure"
d3998 1
a3998 1
if { (eval echo configure:4006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4006 1
a4006 1
#line 4014 "configure"
d4014 1
a4014 1
if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4045 1
a4045 1
echo "configure:4053: checking for 64-bit integer type" >&5
d4053 1
a4053 1
#line 4061 "configure"
d4060 1
a4060 1
if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4074 1
a4074 1
#line 4082 "configure"
d4083 1
a4083 1
if { (eval echo configure:4091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4108 1
a4108 1
echo "configure:4116: checking for struct dirent64" >&5
d4114 1
a4114 1
#line 4122 "configure"
d4122 1
a4122 1
if { (eval echo configure:4130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4143 1
a4143 1
echo "configure:4151: checking for struct stat64" >&5
d4149 1
a4149 1
#line 4157 "configure"
d4157 1
a4157 1
if { (eval echo configure:4165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4180 1
a4180 1
echo "configure:4188: checking for $ac_func" >&5
d4185 1
a4185 1
#line 4193 "configure"
d4208 1
a4208 1
if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4233 1
a4233 1
echo "configure:4241: checking for off64_t" >&5
d4239 1
a4239 1
#line 4247 "configure"
d4247 1
a4247 1
if { (eval echo configure:4255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4278 1
a4278 1
echo "configure:4286: checking whether byte ordering is bigendian" >&5
d4285 1
a4285 1
#line 4293 "configure"
d4296 1
a4296 1
if { (eval echo configure:4304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4300 1
a4300 1
#line 4308 "configure"
d4311 1
a4311 1
if { (eval echo configure:4319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4331 1
a4331 1
#line 4339 "configure"
d4344 1
a4344 1
if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4396 1
a4396 1
echo "configure:4404: checking for fd_set in sys/types" >&5
d4402 1
a4402 1
#line 4410 "configure"
d4409 1
a4409 1
if { (eval echo configure:4417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4425 1
a4425 1
echo "configure:4433: checking for fd_mask in sys/select" >&5
d4431 1
a4431 1
#line 4439 "configure"
d4471 1
a4471 1
echo "configure:4479: checking for $ac_hdr" >&5
d4476 1
a4476 1
#line 4484 "configure"
d4481 1
a4481 1
{ (eval echo configure:4489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4508 1
a4508 1
echo "configure:4516: checking whether time.h and sys/time.h may both be included" >&5
d4513 1
a4513 1
#line 4521 "configure"
d4522 1
a4522 1
if { (eval echo configure:4530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4552 1
a4552 1
echo "configure:4560: checking for strtod" >&5
d4557 1
a4557 1
#line 4565 "configure"
d4580 1
a4580 1
if { (eval echo configure:4588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4602 1
a4602 1
echo "configure:4610: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4611 1
a4611 1
#line 4619 "configure"
d4634 1
a4634 1
if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4665 1
a4665 1
echo "configure:4673: checking for ANSI C header files" >&5
d4670 1
a4670 1
#line 4678 "configure"
d4678 1
a4678 1
{ (eval echo configure:4686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4695 1
a4695 1
#line 4703 "configure"
d4713 1
a4713 1
#line 4721 "configure"
d4734 1
a4734 1
#line 4742 "configure"
d4745 1
a4745 1
if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4769 1
a4769 1
echo "configure:4777: checking for mode_t" >&5
d4774 1
a4774 1
#line 4782 "configure"
d4802 1
a4802 1
echo "configure:4810: checking for pid_t" >&5
d4807 1
a4807 1
#line 4815 "configure"
d4835 1
a4835 1
echo "configure:4843: checking for size_t" >&5
d4840 1
a4840 1
#line 4848 "configure"
d4868 1
a4868 1
echo "configure:4876: checking for uid_t in sys/types.h" >&5
d4873 1
a4873 1
#line 4881 "configure"
d4907 1
a4907 1
echo "configure:4915: checking pw_gecos in struct pwd" >&5
d4913 1
a4913 1
#line 4921 "configure"
d4920 1
a4920 1
if { (eval echo configure:4928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4946 1
a4946 1
echo "configure:4954: checking whether to use Aqua" >&5
d5008 1
a5008 1
echo "configure:5016: checking for X" >&5
d5070 1
a5070 1
#line 5078 "configure"
d5075 1
a5075 1
{ (eval echo configure:5083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5144 1
a5144 1
#line 5152 "configure"
d5151 1
a5151 1
if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5241 1
a5241 1
#line 5249 "configure"
d5246 1
a5246 1
{ (eval echo configure:5254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5266 1
a5266 1
echo "configure:5274: checking for X11 header files" >&5
d5269 1
a5269 1
#line 5277 "configure"
d5274 1
a5274 1
{ (eval echo configure:5282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5310 1
a5310 1
echo "configure:5318: checking for X11 libraries" >&5
d5330 1
a5330 1
echo "configure:5338: checking for XCreateWindow in -lXwindow" >&5
d5338 1
a5338 1
#line 5346 "configure"
d5349 1
a5349 1
if { (eval echo configure:5357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5426 1
a5426 1
echo "configure:5434: checking for main in -lXbsd" >&5
d5434 1
a5434 1
#line 5442 "configure"
d5441 1
a5441 1
if { (eval echo configure:5449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5465 1
a5465 1
echo "configure:5473: checking for connect" >&5
d5470 1
a5470 1
#line 5478 "configure"
d5493 1
a5493 1
if { (eval echo configure:5501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5515 1
a5515 1
echo "configure:5523: checking for main in -lsocket" >&5
d5523 1
a5523 1
#line 5531 "configure"
d5530 1
a5530 1
if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5556 1
a5556 1
echo "configure:5564: checking for accept" >&5
d5561 1
a5561 1
#line 5569 "configure"
d5584 1
a5584 1
if { (eval echo configure:5592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5606 1
a5606 1
echo "configure:5614: checking for gethostbyname" >&5
d5611 1
a5611 1
#line 5619 "configure"
d5634 1
a5634 1
if { (eval echo configure:5642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5652 1
a5652 1
echo "configure:5660: checking for main in -lnsl" >&5
d5660 1
a5660 1
#line 5668 "configure"
d5667 1
a5667 1
if { (eval echo configure:5675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5703 1
a5703 1
echo "configure:5711: checking MIT X libraries" >&5
d5709 1
a5709 1
#line 5717 "configure"
d5720 1
a5720 1
if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5744 1
a5744 1
echo "configure:5752: checking whether char is unsigned" >&5
d5751 1
a5751 1
#line 5759 "configure"
d5773 1
a5773 1
#line 5781 "configure"
d5783 1
a5783 1
if { (eval echo configure:5791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5844 1
a5844 1
echo "configure:5852: checking how to package libraries" >&5
@


1.65.2.60
log
@	* unix/tcl.m4:       integrate CPPFLAGS into CFLAGS as late as possible
	* unix/configure.in: and move (rather than duplicate) -isysroot flags
	from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags
	from some older gcc builds.

	* unix/configure: autoconf-2.13
@
text
@d2952 1
a2952 1
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
a2953 3
	    CFLAGS="`echo " ${CFLAGS}" | \
		awk 'BEGIN {FS=" +-";ORS=" "}; {for (i=2;i<=NF;i++) \
		if (!($i~/^(isysroot|mmacosx-version-min)/)) print "-"$i}'`"
d2958 1
a2958 1
echo "configure:2962: checking if compiler accepts -arch ppc64 flag" >&5
d2966 1
a2966 1
#line 2970 "configure"
d2973 1
a2973 1
if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2993 1
a2993 1
echo "configure:2997: checking if compiler accepts -arch x86_64 flag" >&5
d3001 1
a3001 1
#line 3005 "configure"
d3008 1
a3008 1
if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3037 1
a3037 1
echo "configure:3041: checking if ld accepts -single_module flag" >&5
d3045 1
a3045 1
#line 3049 "configure"
d3052 1
a3052 1
if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3079 1
a3079 1
echo "configure:3083: checking if ld accepts -search_paths_first flag" >&5
d3087 1
a3087 1
#line 3091 "configure"
d3094 1
a3094 1
if { (eval echo configure:3098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3117 1
a3117 1
echo "configure:3121: checking whether to use CoreFoundation" >&5
d3129 1
a3129 1
echo "configure:3133: checking for CoreFoundation.framework" >&5
d3143 1
a3143 1
#line 3147 "configure"
d3150 1
a3150 1
if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3175 1
a3175 1
echo "configure:3179: checking for 64-bit CoreFoundation" >&5
d3183 1
a3183 1
#line 3187 "configure"
d3190 1
a3190 1
if { (eval echo configure:3194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3503 1
a3503 1
echo "configure:3507: checking for ld accepts -Bexport flag" >&5
d3511 1
a3511 1
#line 3515 "configure"
d3518 1
a3518 1
if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a3543 3
    
    

d3565 1
a3565 1
echo "configure:3572: checking sys/exec.h" >&5
d3571 1
a3571 1
#line 3578 "configure"
d3589 1
a3589 1
if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3609 1
a3609 1
echo "configure:3616: checking a.out.h" >&5
d3615 1
a3615 1
#line 3622 "configure"
d3633 1
a3633 1
if { (eval echo configure:3640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3653 1
a3653 1
echo "configure:3660: checking sys/exec_aout.h" >&5
d3659 1
a3659 1
#line 3666 "configure"
d3677 1
a3677 1
if { (eval echo configure:3684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3830 1
a3830 1
echo "configure:3837: checking for build with symbols" >&5
d3891 1
a3891 1
echo "configure:3898: checking for required early compiler flags" >&5
d3898 1
a3898 1
#line 3905 "configure"
d3905 1
a3905 1
if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3913 1
a3913 1
#line 3920 "configure"
d3921 1
a3921 1
if { (eval echo configure:3928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3948 1
a3948 1
#line 3955 "configure"
d3955 1
a3955 1
if { (eval echo configure:3962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3963 1
a3963 1
#line 3970 "configure"
d3971 1
a3971 1
if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3998 1
a3998 1
#line 4005 "configure"
d4005 1
a4005 1
if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4013 1
a4013 1
#line 4020 "configure"
d4021 1
a4021 1
if { (eval echo configure:4028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4052 1
a4052 1
echo "configure:4059: checking for 64-bit integer type" >&5
d4060 1
a4060 1
#line 4067 "configure"
d4067 1
a4067 1
if { (eval echo configure:4074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4081 1
a4081 1
#line 4088 "configure"
d4090 1
a4090 1
if { (eval echo configure:4097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4115 1
a4115 1
echo "configure:4122: checking for struct dirent64" >&5
d4121 1
a4121 1
#line 4128 "configure"
d4129 1
a4129 1
if { (eval echo configure:4136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4150 1
a4150 1
echo "configure:4157: checking for struct stat64" >&5
d4156 1
a4156 1
#line 4163 "configure"
d4164 1
a4164 1
if { (eval echo configure:4171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4187 1
a4187 1
echo "configure:4194: checking for $ac_func" >&5
d4192 1
a4192 1
#line 4199 "configure"
d4215 1
a4215 1
if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4240 1
a4240 1
echo "configure:4247: checking for off64_t" >&5
d4246 1
a4246 1
#line 4253 "configure"
d4254 1
a4254 1
if { (eval echo configure:4261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4285 1
a4285 1
echo "configure:4292: checking whether byte ordering is bigendian" >&5
d4292 1
a4292 1
#line 4299 "configure"
d4303 1
a4303 1
if { (eval echo configure:4310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4307 1
a4307 1
#line 4314 "configure"
d4318 1
a4318 1
if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4338 1
a4338 1
#line 4345 "configure"
d4351 1
a4351 1
if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4403 1
a4403 1
echo "configure:4410: checking for fd_set in sys/types" >&5
d4409 1
a4409 1
#line 4416 "configure"
d4416 1
a4416 1
if { (eval echo configure:4423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4432 1
a4432 1
echo "configure:4439: checking for fd_mask in sys/select" >&5
d4438 1
a4438 1
#line 4445 "configure"
d4478 1
a4478 1
echo "configure:4485: checking for $ac_hdr" >&5
d4483 1
a4483 1
#line 4490 "configure"
d4488 1
a4488 1
{ (eval echo configure:4495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4515 1
a4515 1
echo "configure:4522: checking whether time.h and sys/time.h may both be included" >&5
d4520 1
a4520 1
#line 4527 "configure"
d4529 1
a4529 1
if { (eval echo configure:4536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4559 1
a4559 1
echo "configure:4566: checking for strtod" >&5
d4564 1
a4564 1
#line 4571 "configure"
d4587 1
a4587 1
if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4609 1
a4609 1
echo "configure:4616: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4618 1
a4618 1
#line 4625 "configure"
d4641 1
a4641 1
if { (eval echo configure:4648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4672 1
a4672 1
echo "configure:4679: checking for ANSI C header files" >&5
d4677 1
a4677 1
#line 4684 "configure"
d4685 1
a4685 1
{ (eval echo configure:4692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4702 1
a4702 1
#line 4709 "configure"
d4720 1
a4720 1
#line 4727 "configure"
d4741 1
a4741 1
#line 4748 "configure"
d4752 1
a4752 1
if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4776 1
a4776 1
echo "configure:4783: checking for mode_t" >&5
d4781 1
a4781 1
#line 4788 "configure"
d4809 1
a4809 1
echo "configure:4816: checking for pid_t" >&5
d4814 1
a4814 1
#line 4821 "configure"
d4842 1
a4842 1
echo "configure:4849: checking for size_t" >&5
d4847 1
a4847 1
#line 4854 "configure"
d4875 1
a4875 1
echo "configure:4882: checking for uid_t in sys/types.h" >&5
d4880 1
a4880 1
#line 4887 "configure"
d4914 1
a4914 1
echo "configure:4921: checking pw_gecos in struct pwd" >&5
d4920 1
a4920 1
#line 4927 "configure"
d4927 1
a4927 1
if { (eval echo configure:4934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4953 1
a4953 1
echo "configure:4960: checking whether to use Aqua" >&5
d5015 1
a5015 1
echo "configure:5022: checking for X" >&5
d5077 1
a5077 1
#line 5084 "configure"
d5082 1
a5082 1
{ (eval echo configure:5089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5151 1
a5151 1
#line 5158 "configure"
d5158 1
a5158 1
if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5248 1
a5248 1
#line 5255 "configure"
d5253 1
a5253 1
{ (eval echo configure:5260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5273 1
a5273 1
echo "configure:5280: checking for X11 header files" >&5
d5276 1
a5276 1
#line 5283 "configure"
d5281 1
a5281 1
{ (eval echo configure:5288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5317 1
a5317 1
echo "configure:5324: checking for X11 libraries" >&5
d5337 1
a5337 1
echo "configure:5344: checking for XCreateWindow in -lXwindow" >&5
d5345 1
a5345 1
#line 5352 "configure"
d5356 1
a5356 1
if { (eval echo configure:5363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5433 1
a5433 1
echo "configure:5440: checking for main in -lXbsd" >&5
d5441 1
a5441 1
#line 5448 "configure"
d5448 1
a5448 1
if { (eval echo configure:5455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5472 1
a5472 1
echo "configure:5479: checking for connect" >&5
d5477 1
a5477 1
#line 5484 "configure"
d5500 1
a5500 1
if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5522 1
a5522 1
echo "configure:5529: checking for main in -lsocket" >&5
d5530 1
a5530 1
#line 5537 "configure"
d5537 1
a5537 1
if { (eval echo configure:5544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5563 1
a5563 1
echo "configure:5570: checking for accept" >&5
d5568 1
a5568 1
#line 5575 "configure"
d5591 1
a5591 1
if { (eval echo configure:5598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5613 1
a5613 1
echo "configure:5620: checking for gethostbyname" >&5
d5618 1
a5618 1
#line 5625 "configure"
d5641 1
a5641 1
if { (eval echo configure:5648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5659 1
a5659 1
echo "configure:5666: checking for main in -lnsl" >&5
d5667 1
a5667 1
#line 5674 "configure"
d5674 1
a5674 1
if { (eval echo configure:5681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5710 1
a5710 1
echo "configure:5717: checking MIT X libraries" >&5
d5716 1
a5716 1
#line 5723 "configure"
d5727 1
a5727 1
if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5751 1
a5751 1
echo "configure:5758: checking whether char is unsigned" >&5
d5758 1
a5758 1
#line 5765 "configure"
d5780 1
a5780 1
#line 5787 "configure"
d5790 1
a5790 1
if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5851 1
a5851 1
echo "configure:5858: checking how to package libraries" >&5
a6049 3
CFLAGS="${CFLAGS} ${CPPFLAGS}"; CPPFLAGS=""


@


1.65.2.61
log
@previous commit omitted some changes from the HEAD
@
text
@d2064 1
d2078 1
a2078 1
echo "configure:2078: checking for $ac_word" >&5
d2193 1
a2193 1
echo "configure:2193: checking for gettimeofday in -lbsd" >&5
d2201 1
a2201 1
#line 2201 "configure"
d2212 1
a2212 1
if { (eval echo configure:2212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2255 1
a2255 1
echo "configure:2255: checking for inet_ntoa in -lbind" >&5
d2263 1
a2263 1
#line 2263 "configure"
d2274 1
a2274 1
if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2340 1
a2340 1
echo "configure:2340: checking for shl_load in -ldld" >&5
d2348 1
a2348 1
#line 2348 "configure"
d2359 1
a2359 1
if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2427 1
a2427 1
echo "configure:2427: checking for shl_load in -ldld" >&5
d2435 1
a2435 1
#line 2435 "configure"
d2446 1
a2446 1
if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2570 1
a2570 1
echo "configure:2570: checking for dld.h" >&5
d2575 1
a2575 1
#line 2575 "configure"
d2580 1
a2580 1
{ (eval echo configure:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2612 1
a2612 1
echo "configure:2612: checking if compiler accepts -m64 flag" >&5
d2620 1
a2620 1
#line 2620 "configure"
d2627 1
a2627 1
if { (eval echo configure:2627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2680 1
a2680 1
echo "configure:2680: checking for dld.h" >&5
d2685 1
a2685 1
#line 2685 "configure"
d2690 1
a2690 1
{ (eval echo configure:2690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2758 1
a2758 1
echo "configure:2758: checking for dlfcn.h" >&5
d2763 1
a2763 1
#line 2763 "configure"
d2768 1
a2768 1
{ (eval echo configure:2768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2795 1
a2795 1
echo "configure:2795: checking for ELF" >&5
d2801 1
a2801 1
#line 2801 "configure"
d2880 1
a2880 1
echo "configure:2880: checking for ELF" >&5
d2886 1
a2886 1
#line 2886 "configure"
d2949 2
a2950 2
	    # preprocessing tests and compiling tests, move any -isysroot and
	    # -mmacosx-version-min flags from CFLAGS to CPPFLAGS:
d2961 1
a2961 1
echo "configure:2961: checking if compiler accepts -arch ppc64 flag" >&5
d2969 1
a2969 1
#line 2969 "configure"
d2976 1
a2976 1
if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2996 1
a2996 1
echo "configure:2996: checking if compiler accepts -arch x86_64 flag" >&5
d3004 1
a3004 1
#line 3004 "configure"
d3011 1
a3011 1
if { (eval echo configure:3011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3040 1
a3040 1
echo "configure:3040: checking if ld accepts -single_module flag" >&5
d3048 1
a3048 1
#line 3048 "configure"
d3055 1
a3055 1
if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3082 1
a3082 1
echo "configure:3082: checking if ld accepts -search_paths_first flag" >&5
d3090 1
a3090 1
#line 3090 "configure"
d3097 1
a3097 1
if { (eval echo configure:3097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3120 1
a3120 1
echo "configure:3120: checking whether to use CoreFoundation" >&5
d3132 1
a3132 1
echo "configure:3132: checking for CoreFoundation.framework" >&5
d3146 1
a3146 1
#line 3146 "configure"
d3153 1
a3153 1
if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3178 1
a3178 1
echo "configure:3178: checking for 64-bit CoreFoundation" >&5
d3186 1
a3186 1
#line 3186 "configure"
d3193 1
a3193 1
if { (eval echo configure:3193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3506 1
a3506 1
echo "configure:3506: checking for ld accepts -Bexport flag" >&5
d3514 1
a3514 1
#line 3514 "configure"
d3521 1
a3521 1
if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3571 1
a3571 1
echo "configure:3571: checking sys/exec.h" >&5
d3577 1
a3577 1
#line 3577 "configure"
d3595 1
a3595 1
if { (eval echo configure:3595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3615 1
a3615 1
echo "configure:3615: checking a.out.h" >&5
d3621 1
a3621 1
#line 3621 "configure"
d3639 1
a3639 1
if { (eval echo configure:3639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3659 1
a3659 1
echo "configure:3659: checking sys/exec_aout.h" >&5
d3665 1
a3665 1
#line 3665 "configure"
d3683 1
a3683 1
if { (eval echo configure:3683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3836 1
a3836 1
echo "configure:3836: checking for build with symbols" >&5
d3897 1
a3897 1
echo "configure:3897: checking for required early compiler flags" >&5
d3904 1
a3904 1
#line 3904 "configure"
d3911 1
a3911 1
if { (eval echo configure:3911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3919 1
a3919 1
#line 3919 "configure"
d3927 1
a3927 1
if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3954 1
a3954 1
#line 3954 "configure"
d3961 1
a3961 1
if { (eval echo configure:3961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3969 1
a3969 1
#line 3969 "configure"
d3977 1
a3977 1
if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4004 1
a4004 1
#line 4004 "configure"
d4011 1
a4011 1
if { (eval echo configure:4011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4019 1
a4019 1
#line 4019 "configure"
d4027 1
a4027 1
if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4058 1
a4058 1
echo "configure:4058: checking for 64-bit integer type" >&5
d4066 1
a4066 1
#line 4066 "configure"
d4073 1
a4073 1
if { (eval echo configure:4073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4087 1
a4087 1
#line 4087 "configure"
d4096 1
a4096 1
if { (eval echo configure:4096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4121 1
a4121 1
echo "configure:4121: checking for struct dirent64" >&5
d4127 1
a4127 1
#line 4127 "configure"
d4135 1
a4135 1
if { (eval echo configure:4135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4156 1
a4156 1
echo "configure:4156: checking for struct stat64" >&5
d4162 1
a4162 1
#line 4162 "configure"
d4170 1
a4170 1
if { (eval echo configure:4170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4193 1
a4193 1
echo "configure:4193: checking for $ac_func" >&5
d4198 1
a4198 1
#line 4198 "configure"
d4221 1
a4221 1
if { (eval echo configure:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4246 1
a4246 1
echo "configure:4246: checking for off64_t" >&5
d4252 1
a4252 1
#line 4252 "configure"
d4260 1
a4260 1
if { (eval echo configure:4260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4291 1
a4291 1
echo "configure:4291: checking whether byte ordering is bigendian" >&5
d4298 1
a4298 1
#line 4298 "configure"
d4309 1
a4309 1
if { (eval echo configure:4309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4313 1
a4313 1
#line 4313 "configure"
d4324 1
a4324 1
if { (eval echo configure:4324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4344 1
a4344 1
#line 4344 "configure"
d4357 1
a4357 1
if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4409 1
a4409 1
echo "configure:4409: checking for fd_set in sys/types" >&5
d4415 1
a4415 1
#line 4415 "configure"
d4422 1
a4422 1
if { (eval echo configure:4422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4438 1
a4438 1
echo "configure:4438: checking for fd_mask in sys/select" >&5
d4444 1
a4444 1
#line 4444 "configure"
d4484 1
a4484 1
echo "configure:4484: checking for $ac_hdr" >&5
d4489 1
a4489 1
#line 4489 "configure"
d4494 1
a4494 1
{ (eval echo configure:4494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4521 1
a4521 1
echo "configure:4521: checking whether time.h and sys/time.h may both be included" >&5
d4526 1
a4526 1
#line 4526 "configure"
d4535 1
a4535 1
if { (eval echo configure:4535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4565 1
a4565 1
echo "configure:4565: checking for strtod" >&5
d4570 1
a4570 1
#line 4570 "configure"
d4593 1
a4593 1
if { (eval echo configure:4593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4615 1
a4615 1
echo "configure:4615: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4624 1
a4624 1
#line 4624 "configure"
d4647 1
a4647 1
if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4678 1
a4678 1
echo "configure:4678: checking for ANSI C header files" >&5
d4683 1
a4683 1
#line 4683 "configure"
d4691 1
a4691 1
{ (eval echo configure:4691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4708 1
a4708 1
#line 4708 "configure"
d4726 1
a4726 1
#line 4726 "configure"
d4747 1
a4747 1
#line 4747 "configure"
d4758 1
a4758 1
if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4782 1
a4782 1
echo "configure:4782: checking for mode_t" >&5
d4787 1
a4787 1
#line 4787 "configure"
d4815 1
a4815 1
echo "configure:4815: checking for pid_t" >&5
d4820 1
a4820 1
#line 4820 "configure"
d4848 1
a4848 1
echo "configure:4848: checking for size_t" >&5
d4853 1
a4853 1
#line 4853 "configure"
d4881 1
a4881 1
echo "configure:4881: checking for uid_t in sys/types.h" >&5
d4886 1
a4886 1
#line 4886 "configure"
d4920 1
a4920 1
echo "configure:4920: checking pw_gecos in struct pwd" >&5
d4926 1
a4926 1
#line 4926 "configure"
d4933 1
a4933 1
if { (eval echo configure:4933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4959 1
a4959 1
echo "configure:4959: checking whether to use Aqua" >&5
d5021 1
a5021 1
echo "configure:5021: checking for X" >&5
d5083 1
a5083 1
#line 5083 "configure"
d5088 1
a5088 1
{ (eval echo configure:5088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5157 1
a5157 1
#line 5157 "configure"
d5164 1
a5164 1
if { (eval echo configure:5164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5254 1
a5254 1
#line 5254 "configure"
d5259 1
a5259 1
{ (eval echo configure:5259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5279 1
a5279 1
echo "configure:5279: checking for X11 header files" >&5
d5282 1
a5282 1
#line 5282 "configure"
d5287 1
a5287 1
{ (eval echo configure:5287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5323 1
a5323 1
echo "configure:5323: checking for X11 libraries" >&5
d5343 1
a5343 1
echo "configure:5343: checking for XCreateWindow in -lXwindow" >&5
d5351 1
a5351 1
#line 5351 "configure"
d5362 1
a5362 1
if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5439 1
a5439 1
echo "configure:5439: checking for main in -lXbsd" >&5
d5447 1
a5447 1
#line 5447 "configure"
d5454 1
a5454 1
if { (eval echo configure:5454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5478 1
a5478 1
echo "configure:5478: checking for connect" >&5
d5483 1
a5483 1
#line 5483 "configure"
d5506 1
a5506 1
if { (eval echo configure:5506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5528 1
a5528 1
echo "configure:5528: checking for main in -lsocket" >&5
d5536 1
a5536 1
#line 5536 "configure"
d5543 1
a5543 1
if { (eval echo configure:5543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5569 1
a5569 1
echo "configure:5569: checking for accept" >&5
d5574 1
a5574 1
#line 5574 "configure"
d5597 1
a5597 1
if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5619 1
a5619 1
echo "configure:5619: checking for gethostbyname" >&5
d5624 1
a5624 1
#line 5624 "configure"
d5647 1
a5647 1
if { (eval echo configure:5647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5665 1
a5665 1
echo "configure:5665: checking for main in -lnsl" >&5
d5673 1
a5673 1
#line 5673 "configure"
d5680 1
a5680 1
if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5716 1
a5716 1
echo "configure:5716: checking MIT X libraries" >&5
d5722 1
a5722 1
#line 5722 "configure"
d5733 1
a5733 1
if { (eval echo configure:5733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5757 1
a5757 1
echo "configure:5757: checking whether char is unsigned" >&5
d5764 1
a5764 1
#line 5764 "configure"
d5786 1
a5786 1
#line 5786 "configure"
d5796 1
a5796 1
if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5857 1
a5857 1
echo "configure:5857: checking how to package libraries" >&5
@


1.65.2.62
log
@	* unix/configure.in: add caching to -pipe check.
	* unix/configure: autoconf-2.13
@
text
@d1330 8
a1337 10
if test -z "$no_pipe" && test -n "$GCC"; then
    echo $ac_n "checking if the compiler understands -pipe""... $ac_c" 1>&6
echo "configure:1333: checking if the compiler understands -pipe" >&5
if eval "test \"`echo '$''{'tcl_cv_cc_pipe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -pipe"
	cat > conftest.$ac_ext <<EOF
#line 1340 "configure"
d1344 1
a1344 1
if { (eval echo configure:1347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1346 1
a1346 1
  tcl_cv_cc_pipe=yes
d1351 2
a1352 1
  tcl_cv_cc_pipe=no
d1355 1
a1355 7
	CFLAGS=$hold_cflags
fi

echo "$ac_t""$tcl_cv_cc_pipe" 1>&6
    if test $tcl_cv_cc_pipe = yes; then
	CFLAGS="$CFLAGS -pipe"
    fi
d1399 1
a1399 1
echo "configure:1407: checking for pthread_mutex_init in -lpthread" >&5
d1407 1
a1407 1
#line 1415 "configure"
d1418 1
a1418 1
if { (eval echo configure:1426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1446 1
a1446 1
echo "configure:1454: checking for __pthread_mutex_init in -lpthread" >&5
d1454 1
a1454 1
#line 1462 "configure"
d1465 1
a1465 1
if { (eval echo configure:1473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1493 1
a1493 1
echo "configure:1501: checking for pthread_mutex_init in -lpthreads" >&5
d1501 1
a1501 1
#line 1509 "configure"
d1512 1
a1512 1
if { (eval echo configure:1520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1538 1
a1538 1
echo "configure:1546: checking for pthread_mutex_init in -lc" >&5
d1546 1
a1546 1
#line 1554 "configure"
d1557 1
a1557 1
if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1580 1
a1580 1
echo "configure:1588: checking for pthread_mutex_init in -lc_r" >&5
d1588 1
a1588 1
#line 1596 "configure"
d1599 1
a1599 1
if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1639 1
a1639 1
echo "configure:1647: checking for $ac_func" >&5
d1644 1
a1644 1
#line 1652 "configure"
d1667 1
a1667 1
if { (eval echo configure:1675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1694 1
a1694 1
echo "configure:1702: checking for $ac_func" >&5
d1699 1
a1699 1
#line 1707 "configure"
d1722 1
a1722 1
if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1752 1
a1752 1
echo "configure:1760: checking for building with threads" >&5
d1779 1
a1779 1
echo "configure:1787: checking for sin" >&5
d1784 1
a1784 1
#line 1792 "configure"
d1807 1
a1807 1
if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1828 1
a1828 1
echo "configure:1836: checking for main in -lieee" >&5
d1836 1
a1836 1
#line 1844 "configure"
d1843 1
a1843 1
if { (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1869 1
a1869 1
echo "configure:1877: checking how to build libraries" >&5
d1908 1
a1908 1
echo "configure:1916: checking for $ac_word" >&5
d1940 1
a1940 1
echo "configure:1948: checking if 64bit support is requested" >&5
d1954 1
a1954 1
echo "configure:1962: checking if 64bit Sparc VIS support is requested" >&5
d1975 1
a1975 1
echo "configure:1983: checking system version" >&5
d2010 1
a2010 1
echo "configure:2018: checking for dlopen in -ldl" >&5
d2018 1
a2018 1
#line 2026 "configure"
d2029 1
a2029 1
if { (eval echo configure:2037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2077 1
a2077 1
echo "configure:2085: checking for $ac_word" >&5
d2192 1
a2192 1
echo "configure:2200: checking for gettimeofday in -lbsd" >&5
d2200 1
a2200 1
#line 2208 "configure"
d2211 1
a2211 1
if { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2254 1
a2254 1
echo "configure:2262: checking for inet_ntoa in -lbind" >&5
d2262 1
a2262 1
#line 2270 "configure"
d2273 1
a2273 1
if { (eval echo configure:2281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2339 1
a2339 1
echo "configure:2347: checking for shl_load in -ldld" >&5
d2347 1
a2347 1
#line 2355 "configure"
d2358 1
a2358 1
if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2426 1
a2426 1
echo "configure:2434: checking for shl_load in -ldld" >&5
d2434 1
a2434 1
#line 2442 "configure"
d2445 1
a2445 1
if { (eval echo configure:2453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2569 1
a2569 1
echo "configure:2577: checking for dld.h" >&5
d2574 1
a2574 1
#line 2582 "configure"
d2579 1
a2579 1
{ (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2611 1
a2611 1
echo "configure:2619: checking if compiler accepts -m64 flag" >&5
d2619 1
a2619 1
#line 2627 "configure"
d2626 1
a2626 1
if { (eval echo configure:2634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2679 1
a2679 1
echo "configure:2687: checking for dld.h" >&5
d2684 1
a2684 1
#line 2692 "configure"
d2689 1
a2689 1
{ (eval echo configure:2697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2757 1
a2757 1
echo "configure:2765: checking for dlfcn.h" >&5
d2762 1
a2762 1
#line 2770 "configure"
d2767 1
a2767 1
{ (eval echo configure:2775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2794 1
a2794 1
echo "configure:2802: checking for ELF" >&5
d2800 1
a2800 1
#line 2808 "configure"
d2879 1
a2879 1
echo "configure:2887: checking for ELF" >&5
d2885 1
a2885 1
#line 2893 "configure"
d2960 1
a2960 1
echo "configure:2968: checking if compiler accepts -arch ppc64 flag" >&5
d2968 1
a2968 1
#line 2976 "configure"
d2975 1
a2975 1
if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2995 1
a2995 1
echo "configure:3003: checking if compiler accepts -arch x86_64 flag" >&5
d3003 1
a3003 1
#line 3011 "configure"
d3010 1
a3010 1
if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3039 1
a3039 1
echo "configure:3047: checking if ld accepts -single_module flag" >&5
d3047 1
a3047 1
#line 3055 "configure"
d3054 1
a3054 1
if { (eval echo configure:3062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3081 1
a3081 1
echo "configure:3089: checking if ld accepts -search_paths_first flag" >&5
d3089 1
a3089 1
#line 3097 "configure"
d3096 1
a3096 1
if { (eval echo configure:3104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3119 1
a3119 1
echo "configure:3127: checking whether to use CoreFoundation" >&5
d3131 1
a3131 1
echo "configure:3139: checking for CoreFoundation.framework" >&5
d3145 1
a3145 1
#line 3153 "configure"
d3152 1
a3152 1
if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3177 1
a3177 1
echo "configure:3185: checking for 64-bit CoreFoundation" >&5
d3185 1
a3185 1
#line 3193 "configure"
d3192 1
a3192 1
if { (eval echo configure:3200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3505 1
a3505 1
echo "configure:3513: checking for ld accepts -Bexport flag" >&5
d3513 1
a3513 1
#line 3521 "configure"
d3520 1
a3520 1
if { (eval echo configure:3528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3570 1
a3570 1
echo "configure:3578: checking sys/exec.h" >&5
d3576 1
a3576 1
#line 3584 "configure"
d3594 1
a3594 1
if { (eval echo configure:3602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3614 1
a3614 1
echo "configure:3622: checking a.out.h" >&5
d3620 1
a3620 1
#line 3628 "configure"
d3638 1
a3638 1
if { (eval echo configure:3646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3658 1
a3658 1
echo "configure:3666: checking sys/exec_aout.h" >&5
d3664 1
a3664 1
#line 3672 "configure"
d3682 1
a3682 1
if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3835 1
a3835 1
echo "configure:3843: checking for build with symbols" >&5
d3896 1
a3896 1
echo "configure:3904: checking for required early compiler flags" >&5
d3903 1
a3903 1
#line 3911 "configure"
d3910 1
a3910 1
if { (eval echo configure:3918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3918 1
a3918 1
#line 3926 "configure"
d3926 1
a3926 1
if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3953 1
a3953 1
#line 3961 "configure"
d3960 1
a3960 1
if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3968 1
a3968 1
#line 3976 "configure"
d3976 1
a3976 1
if { (eval echo configure:3984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4003 1
a4003 1
#line 4011 "configure"
d4010 1
a4010 1
if { (eval echo configure:4018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4018 1
a4018 1
#line 4026 "configure"
d4026 1
a4026 1
if { (eval echo configure:4034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4057 1
a4057 1
echo "configure:4065: checking for 64-bit integer type" >&5
d4065 1
a4065 1
#line 4073 "configure"
d4072 1
a4072 1
if { (eval echo configure:4080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4086 1
a4086 1
#line 4094 "configure"
d4095 1
a4095 1
if { (eval echo configure:4103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4120 1
a4120 1
echo "configure:4128: checking for struct dirent64" >&5
d4126 1
a4126 1
#line 4134 "configure"
d4134 1
a4134 1
if { (eval echo configure:4142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4155 1
a4155 1
echo "configure:4163: checking for struct stat64" >&5
d4161 1
a4161 1
#line 4169 "configure"
d4169 1
a4169 1
if { (eval echo configure:4177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4192 1
a4192 1
echo "configure:4200: checking for $ac_func" >&5
d4197 1
a4197 1
#line 4205 "configure"
d4220 1
a4220 1
if { (eval echo configure:4228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4245 1
a4245 1
echo "configure:4253: checking for off64_t" >&5
d4251 1
a4251 1
#line 4259 "configure"
d4259 1
a4259 1
if { (eval echo configure:4267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4290 1
a4290 1
echo "configure:4298: checking whether byte ordering is bigendian" >&5
d4297 1
a4297 1
#line 4305 "configure"
d4308 1
a4308 1
if { (eval echo configure:4316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4312 1
a4312 1
#line 4320 "configure"
d4323 1
a4323 1
if { (eval echo configure:4331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4343 1
a4343 1
#line 4351 "configure"
d4356 1
a4356 1
if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4408 1
a4408 1
echo "configure:4416: checking for fd_set in sys/types" >&5
d4414 1
a4414 1
#line 4422 "configure"
d4421 1
a4421 1
if { (eval echo configure:4429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4437 1
a4437 1
echo "configure:4445: checking for fd_mask in sys/select" >&5
d4443 1
a4443 1
#line 4451 "configure"
d4483 1
a4483 1
echo "configure:4491: checking for $ac_hdr" >&5
d4488 1
a4488 1
#line 4496 "configure"
d4493 1
a4493 1
{ (eval echo configure:4501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4520 1
a4520 1
echo "configure:4528: checking whether time.h and sys/time.h may both be included" >&5
d4525 1
a4525 1
#line 4533 "configure"
d4534 1
a4534 1
if { (eval echo configure:4542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4564 1
a4564 1
echo "configure:4572: checking for strtod" >&5
d4569 1
a4569 1
#line 4577 "configure"
d4592 1
a4592 1
if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4614 1
a4614 1
echo "configure:4622: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4623 1
a4623 1
#line 4631 "configure"
d4646 1
a4646 1
if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4677 1
a4677 1
echo "configure:4685: checking for ANSI C header files" >&5
d4682 1
a4682 1
#line 4690 "configure"
d4690 1
a4690 1
{ (eval echo configure:4698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4707 1
a4707 1
#line 4715 "configure"
d4725 1
a4725 1
#line 4733 "configure"
d4746 1
a4746 1
#line 4754 "configure"
d4757 1
a4757 1
if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4781 1
a4781 1
echo "configure:4789: checking for mode_t" >&5
d4786 1
a4786 1
#line 4794 "configure"
d4814 1
a4814 1
echo "configure:4822: checking for pid_t" >&5
d4819 1
a4819 1
#line 4827 "configure"
d4847 1
a4847 1
echo "configure:4855: checking for size_t" >&5
d4852 1
a4852 1
#line 4860 "configure"
d4880 1
a4880 1
echo "configure:4888: checking for uid_t in sys/types.h" >&5
d4885 1
a4885 1
#line 4893 "configure"
d4919 1
a4919 1
echo "configure:4927: checking pw_gecos in struct pwd" >&5
d4925 1
a4925 1
#line 4933 "configure"
d4932 1
a4932 1
if { (eval echo configure:4940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4958 1
a4958 1
echo "configure:4966: checking whether to use Aqua" >&5
d5020 1
a5020 1
echo "configure:5028: checking for X" >&5
d5082 1
a5082 1
#line 5090 "configure"
d5087 1
a5087 1
{ (eval echo configure:5095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5156 1
a5156 1
#line 5164 "configure"
d5163 1
a5163 1
if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5253 1
a5253 1
#line 5261 "configure"
d5258 1
a5258 1
{ (eval echo configure:5266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5278 1
a5278 1
echo "configure:5286: checking for X11 header files" >&5
d5281 1
a5281 1
#line 5289 "configure"
d5286 1
a5286 1
{ (eval echo configure:5294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5322 1
a5322 1
echo "configure:5330: checking for X11 libraries" >&5
d5342 1
a5342 1
echo "configure:5350: checking for XCreateWindow in -lXwindow" >&5
d5350 1
a5350 1
#line 5358 "configure"
d5361 1
a5361 1
if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5438 1
a5438 1
echo "configure:5446: checking for main in -lXbsd" >&5
d5446 1
a5446 1
#line 5454 "configure"
d5453 1
a5453 1
if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5477 1
a5477 1
echo "configure:5485: checking for connect" >&5
d5482 1
a5482 1
#line 5490 "configure"
d5505 1
a5505 1
if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5527 1
a5527 1
echo "configure:5535: checking for main in -lsocket" >&5
d5535 1
a5535 1
#line 5543 "configure"
d5542 1
a5542 1
if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5568 1
a5568 1
echo "configure:5576: checking for accept" >&5
d5573 1
a5573 1
#line 5581 "configure"
d5596 1
a5596 1
if { (eval echo configure:5604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5618 1
a5618 1
echo "configure:5626: checking for gethostbyname" >&5
d5623 1
a5623 1
#line 5631 "configure"
d5646 1
a5646 1
if { (eval echo configure:5654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5664 1
a5664 1
echo "configure:5672: checking for main in -lnsl" >&5
d5672 1
a5672 1
#line 5680 "configure"
d5679 1
a5679 1
if { (eval echo configure:5687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5715 1
a5715 1
echo "configure:5723: checking MIT X libraries" >&5
d5721 1
a5721 1
#line 5729 "configure"
d5732 1
a5732 1
if { (eval echo configure:5740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5756 1
a5756 1
echo "configure:5764: checking whether char is unsigned" >&5
d5763 1
a5763 1
#line 5771 "configure"
d5785 1
a5785 1
#line 5793 "configure"
d5795 1
a5795 1
if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5856 1
a5856 1
echo "configure:5864: checking how to package libraries" >&5
@


1.65.2.63
log
@	* unix/tcl.m4: use SHLIB_SUFFIX=".so" on HP-UX ia64 arch.
	* unix/configure: autoconf-2.13
@
text
@d2344 1
a2344 5
	    if test "`uname -m`" = "ia64" ; then
		SHLIB_SUFFIX=".so"
	    else
		SHLIB_SUFFIX=".sl"
	    fi
d2346 1
a2346 1
echo "configure:2351: checking for shl_load in -ldld" >&5
d2354 1
a2354 1
#line 2359 "configure"
d2365 1
a2365 1
if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2433 1
a2433 1
echo "configure:2438: checking for shl_load in -ldld" >&5
d2441 1
a2441 1
#line 2446 "configure"
d2452 1
a2452 1
if { (eval echo configure:2457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2576 1
a2576 1
echo "configure:2581: checking for dld.h" >&5
d2581 1
a2581 1
#line 2586 "configure"
d2586 1
a2586 1
{ (eval echo configure:2591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2618 1
a2618 1
echo "configure:2623: checking if compiler accepts -m64 flag" >&5
d2626 1
a2626 1
#line 2631 "configure"
d2633 1
a2633 1
if { (eval echo configure:2638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2686 1
a2686 1
echo "configure:2691: checking for dld.h" >&5
d2691 1
a2691 1
#line 2696 "configure"
d2696 1
a2696 1
{ (eval echo configure:2701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2764 1
a2764 1
echo "configure:2769: checking for dlfcn.h" >&5
d2769 1
a2769 1
#line 2774 "configure"
d2774 1
a2774 1
{ (eval echo configure:2779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2801 1
a2801 1
echo "configure:2806: checking for ELF" >&5
d2807 1
a2807 1
#line 2812 "configure"
d2886 1
a2886 1
echo "configure:2891: checking for ELF" >&5
d2892 1
a2892 1
#line 2897 "configure"
d2967 1
a2967 1
echo "configure:2972: checking if compiler accepts -arch ppc64 flag" >&5
d2975 1
a2975 1
#line 2980 "configure"
d2982 1
a2982 1
if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3002 1
a3002 1
echo "configure:3007: checking if compiler accepts -arch x86_64 flag" >&5
d3010 1
a3010 1
#line 3015 "configure"
d3017 1
a3017 1
if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3046 1
a3046 1
echo "configure:3051: checking if ld accepts -single_module flag" >&5
d3054 1
a3054 1
#line 3059 "configure"
d3061 1
a3061 1
if { (eval echo configure:3066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3088 1
a3088 1
echo "configure:3093: checking if ld accepts -search_paths_first flag" >&5
d3096 1
a3096 1
#line 3101 "configure"
d3103 1
a3103 1
if { (eval echo configure:3108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3126 1
a3126 1
echo "configure:3131: checking whether to use CoreFoundation" >&5
d3138 1
a3138 1
echo "configure:3143: checking for CoreFoundation.framework" >&5
d3152 1
a3152 1
#line 3157 "configure"
d3159 1
a3159 1
if { (eval echo configure:3164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3184 1
a3184 1
echo "configure:3189: checking for 64-bit CoreFoundation" >&5
d3192 1
a3192 1
#line 3197 "configure"
d3199 1
a3199 1
if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3512 1
a3512 1
echo "configure:3517: checking for ld accepts -Bexport flag" >&5
d3520 1
a3520 1
#line 3525 "configure"
d3527 1
a3527 1
if { (eval echo configure:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3577 1
a3577 1
echo "configure:3582: checking sys/exec.h" >&5
d3583 1
a3583 1
#line 3588 "configure"
d3601 1
a3601 1
if { (eval echo configure:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3621 1
a3621 1
echo "configure:3626: checking a.out.h" >&5
d3627 1
a3627 1
#line 3632 "configure"
d3645 1
a3645 1
if { (eval echo configure:3650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3665 1
a3665 1
echo "configure:3670: checking sys/exec_aout.h" >&5
d3671 1
a3671 1
#line 3676 "configure"
d3689 1
a3689 1
if { (eval echo configure:3694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3842 1
a3842 1
echo "configure:3847: checking for build with symbols" >&5
d3903 1
a3903 1
echo "configure:3908: checking for required early compiler flags" >&5
d3910 1
a3910 1
#line 3915 "configure"
d3917 1
a3917 1
if { (eval echo configure:3922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3925 1
a3925 1
#line 3930 "configure"
d3933 1
a3933 1
if { (eval echo configure:3938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3960 1
a3960 1
#line 3965 "configure"
d3967 1
a3967 1
if { (eval echo configure:3972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3975 1
a3975 1
#line 3980 "configure"
d3983 1
a3983 1
if { (eval echo configure:3988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4010 1
a4010 1
#line 4015 "configure"
d4017 1
a4017 1
if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4025 1
a4025 1
#line 4030 "configure"
d4033 1
a4033 1
if { (eval echo configure:4038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4064 1
a4064 1
echo "configure:4069: checking for 64-bit integer type" >&5
d4072 1
a4072 1
#line 4077 "configure"
d4079 1
a4079 1
if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4093 1
a4093 1
#line 4098 "configure"
d4102 1
a4102 1
if { (eval echo configure:4107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4127 1
a4127 1
echo "configure:4132: checking for struct dirent64" >&5
d4133 1
a4133 1
#line 4138 "configure"
d4141 1
a4141 1
if { (eval echo configure:4146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4162 1
a4162 1
echo "configure:4167: checking for struct stat64" >&5
d4168 1
a4168 1
#line 4173 "configure"
d4176 1
a4176 1
if { (eval echo configure:4181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4199 1
a4199 1
echo "configure:4204: checking for $ac_func" >&5
d4204 1
a4204 1
#line 4209 "configure"
d4227 1
a4227 1
if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4252 1
a4252 1
echo "configure:4257: checking for off64_t" >&5
d4258 1
a4258 1
#line 4263 "configure"
d4266 1
a4266 1
if { (eval echo configure:4271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4297 1
a4297 1
echo "configure:4302: checking whether byte ordering is bigendian" >&5
d4304 1
a4304 1
#line 4309 "configure"
d4315 1
a4315 1
if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4319 1
a4319 1
#line 4324 "configure"
d4330 1
a4330 1
if { (eval echo configure:4335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4350 1
a4350 1
#line 4355 "configure"
d4363 1
a4363 1
if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4415 1
a4415 1
echo "configure:4420: checking for fd_set in sys/types" >&5
d4421 1
a4421 1
#line 4426 "configure"
d4428 1
a4428 1
if { (eval echo configure:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4444 1
a4444 1
echo "configure:4449: checking for fd_mask in sys/select" >&5
d4450 1
a4450 1
#line 4455 "configure"
d4490 1
a4490 1
echo "configure:4495: checking for $ac_hdr" >&5
d4495 1
a4495 1
#line 4500 "configure"
d4500 1
a4500 1
{ (eval echo configure:4505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4527 1
a4527 1
echo "configure:4532: checking whether time.h and sys/time.h may both be included" >&5
d4532 1
a4532 1
#line 4537 "configure"
d4541 1
a4541 1
if { (eval echo configure:4546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4571 1
a4571 1
echo "configure:4576: checking for strtod" >&5
d4576 1
a4576 1
#line 4581 "configure"
d4599 1
a4599 1
if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4621 1
a4621 1
echo "configure:4626: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4630 1
a4630 1
#line 4635 "configure"
d4653 1
a4653 1
if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4684 1
a4684 1
echo "configure:4689: checking for ANSI C header files" >&5
d4689 1
a4689 1
#line 4694 "configure"
d4697 1
a4697 1
{ (eval echo configure:4702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4714 1
a4714 1
#line 4719 "configure"
d4732 1
a4732 1
#line 4737 "configure"
d4753 1
a4753 1
#line 4758 "configure"
d4764 1
a4764 1
if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4788 1
a4788 1
echo "configure:4793: checking for mode_t" >&5
d4793 1
a4793 1
#line 4798 "configure"
d4821 1
a4821 1
echo "configure:4826: checking for pid_t" >&5
d4826 1
a4826 1
#line 4831 "configure"
d4854 1
a4854 1
echo "configure:4859: checking for size_t" >&5
d4859 1
a4859 1
#line 4864 "configure"
d4887 1
a4887 1
echo "configure:4892: checking for uid_t in sys/types.h" >&5
d4892 1
a4892 1
#line 4897 "configure"
d4926 1
a4926 1
echo "configure:4931: checking pw_gecos in struct pwd" >&5
d4932 1
a4932 1
#line 4937 "configure"
d4939 1
a4939 1
if { (eval echo configure:4944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4965 1
a4965 1
echo "configure:4970: checking whether to use Aqua" >&5
d5027 1
a5027 1
echo "configure:5032: checking for X" >&5
d5089 1
a5089 1
#line 5094 "configure"
d5094 1
a5094 1
{ (eval echo configure:5099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5163 1
a5163 1
#line 5168 "configure"
d5170 1
a5170 1
if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5260 1
a5260 1
#line 5265 "configure"
d5265 1
a5265 1
{ (eval echo configure:5270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5285 1
a5285 1
echo "configure:5290: checking for X11 header files" >&5
d5288 1
a5288 1
#line 5293 "configure"
d5293 1
a5293 1
{ (eval echo configure:5298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5329 1
a5329 1
echo "configure:5334: checking for X11 libraries" >&5
d5349 1
a5349 1
echo "configure:5354: checking for XCreateWindow in -lXwindow" >&5
d5357 1
a5357 1
#line 5362 "configure"
d5368 1
a5368 1
if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5445 1
a5445 1
echo "configure:5450: checking for main in -lXbsd" >&5
d5453 1
a5453 1
#line 5458 "configure"
d5460 1
a5460 1
if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5484 1
a5484 1
echo "configure:5489: checking for connect" >&5
d5489 1
a5489 1
#line 5494 "configure"
d5512 1
a5512 1
if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5534 1
a5534 1
echo "configure:5539: checking for main in -lsocket" >&5
d5542 1
a5542 1
#line 5547 "configure"
d5549 1
a5549 1
if { (eval echo configure:5554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5575 1
a5575 1
echo "configure:5580: checking for accept" >&5
d5580 1
a5580 1
#line 5585 "configure"
d5603 1
a5603 1
if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5625 1
a5625 1
echo "configure:5630: checking for gethostbyname" >&5
d5630 1
a5630 1
#line 5635 "configure"
d5653 1
a5653 1
if { (eval echo configure:5658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5671 1
a5671 1
echo "configure:5676: checking for main in -lnsl" >&5
d5679 1
a5679 1
#line 5684 "configure"
d5686 1
a5686 1
if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5722 1
a5722 1
echo "configure:5727: checking MIT X libraries" >&5
d5728 1
a5728 1
#line 5733 "configure"
d5739 1
a5739 1
if { (eval echo configure:5744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5763 1
a5763 1
echo "configure:5768: checking whether char is unsigned" >&5
d5770 1
a5770 1
#line 5775 "configure"
d5792 1
a5792 1
#line 5797 "configure"
d5802 1
a5802 1
if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5863 1
a5863 1
echo "configure:5868: checking how to package libraries" >&5
@


1.65.2.64
log
@	* generic/tkMain.c (Tk_MainEx): replicate macosx-specific code from
	TkpInit() that ensures the console window appears when wish is started
	from the OS X Finder (i.e. with stdin == /dev/null), jeffh's 2006-11-24
	change rendered the corresponding code in TkpInit() ineffective in wish
	because Tk_MainEx() sets tcl_interactive before calling TkpInit().

	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol): add fix for
	libraries loaded with a DYLD_IMAGE_SUFFIX.

	* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
	* unix/configure: autoconf-2.13
@
text
@d3088 1
a3088 1
		"`echo "${CPPFLAGS}" | awk -F '-mmacosx-version-min=10\\.' '{print int($2)}'`" -lt 4 && \
@


1.65.2.65
log
@	* unix/Makefile.in (dist): copy license.terms to dist macosx dir.
	* unix/configure.in: install license.terms into Tk.framework; fix tk
	debug build detection.
	* unix/configure: autoconf-2.13
@
text
@d5009 1
a5009 1
    if test -n "${enable_symbols}" -a "${enable_symbols}" != no; then
a5931 1
    EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing license.terms to $(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) "$(TOP_DIR)/license.terms" "$(LIB_INSTALL_DIR)/Resources"'
@


1.65.2.66
log
@        * README:               Bump version number to 8.4.16
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".16"
d6137 9
a6145 28
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
@


1.65.2.67
log
@	* unix/configure.in (Darwin): link the Tk and Wish plists into their
	binaries in all cases; fix 64bit arch removal in fat 32&64bit builds.

	* unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds.
	* unix/configure: autoconf-2.13
@
text
@d3147 2
a3148 2
		    hold_libs=$LIBS
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
d3150 1
a3150 1
			# from CFLAGS et al. while testing for presence of CF.
d3152 2
a3153 2
			eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
		    done; fi
d3173 1
a3173 3
		    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
			eval $v'="$hold_'$v'"'
		    done; fi; LIBS=$hold_libs
d3188 1
a3188 1
echo "configure:3191: checking for 64-bit CoreFoundation" >&5
d3193 2
a3194 3
			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
			done
d3196 1
a3196 1
#line 3200 "configure"
d3203 1
a3203 1
if { (eval echo configure:3207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3213 1
a3213 3
			for v in CFLAGS CPPFLAGS LDFLAGS; do
			    eval $v'="$hold_'$v'"'
			done
d3516 1
a3516 1
echo "configure:3522: checking for ld accepts -Bexport flag" >&5
d3524 1
a3524 1
#line 3530 "configure"
d3531 1
a3531 1
if { (eval echo configure:3537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3581 1
a3581 1
echo "configure:3587: checking sys/exec.h" >&5
d3587 1
a3587 1
#line 3593 "configure"
d3605 1
a3605 1
if { (eval echo configure:3611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3625 1
a3625 1
echo "configure:3631: checking a.out.h" >&5
d3631 1
a3631 1
#line 3637 "configure"
d3649 1
a3649 1
if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3669 1
a3669 1
echo "configure:3675: checking sys/exec_aout.h" >&5
d3675 1
a3675 1
#line 3681 "configure"
d3693 1
a3693 1
if { (eval echo configure:3699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3846 1
a3846 1
echo "configure:3852: checking for build with symbols" >&5
d3907 1
a3907 1
echo "configure:3913: checking for required early compiler flags" >&5
d3914 1
a3914 1
#line 3920 "configure"
d3921 1
a3921 1
if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3929 1
a3929 1
#line 3935 "configure"
d3937 1
a3937 1
if { (eval echo configure:3943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3964 1
a3964 1
#line 3970 "configure"
d3971 1
a3971 1
if { (eval echo configure:3977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3979 1
a3979 1
#line 3985 "configure"
d3987 1
a3987 1
if { (eval echo configure:3993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4014 1
a4014 1
#line 4020 "configure"
d4021 1
a4021 1
if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4029 1
a4029 1
#line 4035 "configure"
d4037 1
a4037 1
if { (eval echo configure:4043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4068 1
a4068 1
echo "configure:4074: checking for 64-bit integer type" >&5
d4076 1
a4076 1
#line 4082 "configure"
d4083 1
a4083 1
if { (eval echo configure:4089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4097 1
a4097 1
#line 4103 "configure"
d4106 1
a4106 1
if { (eval echo configure:4112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4131 1
a4131 1
echo "configure:4137: checking for struct dirent64" >&5
d4137 1
a4137 1
#line 4143 "configure"
d4145 1
a4145 1
if { (eval echo configure:4151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4166 1
a4166 1
echo "configure:4172: checking for struct stat64" >&5
d4172 1
a4172 1
#line 4178 "configure"
d4180 1
a4180 1
if { (eval echo configure:4186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4203 1
a4203 1
echo "configure:4209: checking for $ac_func" >&5
d4208 1
a4208 1
#line 4214 "configure"
d4231 1
a4231 1
if { (eval echo configure:4237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4256 1
a4256 1
echo "configure:4262: checking for off64_t" >&5
d4262 1
a4262 1
#line 4268 "configure"
d4270 1
a4270 1
if { (eval echo configure:4276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4301 1
a4301 1
echo "configure:4307: checking whether byte ordering is bigendian" >&5
d4308 1
a4308 1
#line 4314 "configure"
d4319 1
a4319 1
if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4323 1
a4323 1
#line 4329 "configure"
d4334 1
a4334 1
if { (eval echo configure:4340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4354 1
a4354 1
#line 4360 "configure"
d4367 1
a4367 1
if { (eval echo configure:4373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4419 1
a4419 1
echo "configure:4425: checking for fd_set in sys/types" >&5
d4425 1
a4425 1
#line 4431 "configure"
d4432 1
a4432 1
if { (eval echo configure:4438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4448 1
a4448 1
echo "configure:4454: checking for fd_mask in sys/select" >&5
d4454 1
a4454 1
#line 4460 "configure"
d4494 1
a4494 1
echo "configure:4500: checking for $ac_hdr" >&5
d4499 1
a4499 1
#line 4505 "configure"
d4504 1
a4504 1
{ (eval echo configure:4510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4531 1
a4531 1
echo "configure:4537: checking whether time.h and sys/time.h may both be included" >&5
d4536 1
a4536 1
#line 4542 "configure"
d4545 1
a4545 1
if { (eval echo configure:4551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4575 1
a4575 1
echo "configure:4581: checking for strtod" >&5
d4580 1
a4580 1
#line 4586 "configure"
d4603 1
a4603 1
if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4625 1
a4625 1
echo "configure:4631: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4634 1
a4634 1
#line 4640 "configure"
d4657 1
a4657 1
if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4688 1
a4688 1
echo "configure:4694: checking for ANSI C header files" >&5
d4693 1
a4693 1
#line 4699 "configure"
d4701 1
a4701 1
{ (eval echo configure:4707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4718 1
a4718 1
#line 4724 "configure"
d4736 1
a4736 1
#line 4742 "configure"
d4757 1
a4757 1
#line 4763 "configure"
d4768 1
a4768 1
if { (eval echo configure:4774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4792 1
a4792 1
echo "configure:4798: checking for mode_t" >&5
d4797 1
a4797 1
#line 4803 "configure"
d4825 1
a4825 1
echo "configure:4831: checking for pid_t" >&5
d4830 1
a4830 1
#line 4836 "configure"
d4858 1
a4858 1
echo "configure:4864: checking for size_t" >&5
d4863 1
a4863 1
#line 4869 "configure"
d4891 1
a4891 1
echo "configure:4897: checking for uid_t in sys/types.h" >&5
d4896 1
a4896 1
#line 4902 "configure"
d4930 1
a4930 1
echo "configure:4936: checking pw_gecos in struct pwd" >&5
d4936 1
a4936 1
#line 4942 "configure"
d4943 1
a4943 1
if { (eval echo configure:4949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4969 1
a4969 1
echo "configure:4975: checking whether to use Aqua" >&5
d4993 1
a4993 1
    # remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit fat
d4995 2
a4996 2
    test "$fat_32_64" = yes && for v in CFLAGS CPPFLAGS LDFLAGS; do
	eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'; done
d5031 1
a5031 1
echo "configure:5037: checking for X" >&5
d5093 1
a5093 1
#line 5099 "configure"
d5098 1
a5098 1
{ (eval echo configure:5104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5167 1
a5167 1
#line 5173 "configure"
d5174 1
a5174 1
if { (eval echo configure:5180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5264 1
a5264 1
#line 5270 "configure"
d5269 1
a5269 1
{ (eval echo configure:5275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5289 1
a5289 1
echo "configure:5295: checking for X11 header files" >&5
d5292 1
a5292 1
#line 5298 "configure"
d5297 1
a5297 1
{ (eval echo configure:5303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5333 1
a5333 1
echo "configure:5339: checking for X11 libraries" >&5
d5353 1
a5353 1
echo "configure:5359: checking for XCreateWindow in -lXwindow" >&5
d5361 1
a5361 1
#line 5367 "configure"
d5372 1
a5372 1
if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5449 1
a5449 1
echo "configure:5455: checking for main in -lXbsd" >&5
d5457 1
a5457 1
#line 5463 "configure"
d5464 1
a5464 1
if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5488 1
a5488 1
echo "configure:5494: checking for connect" >&5
d5493 1
a5493 1
#line 5499 "configure"
d5516 1
a5516 1
if { (eval echo configure:5522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5538 1
a5538 1
echo "configure:5544: checking for main in -lsocket" >&5
d5546 1
a5546 1
#line 5552 "configure"
d5553 1
a5553 1
if { (eval echo configure:5559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5579 1
a5579 1
echo "configure:5585: checking for accept" >&5
d5584 1
a5584 1
#line 5590 "configure"
d5607 1
a5607 1
if { (eval echo configure:5613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5629 1
a5629 1
echo "configure:5635: checking for gethostbyname" >&5
d5634 1
a5634 1
#line 5640 "configure"
d5657 1
a5657 1
if { (eval echo configure:5663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5675 1
a5675 1
echo "configure:5681: checking for main in -lnsl" >&5
d5683 1
a5683 1
#line 5689 "configure"
d5690 1
a5690 1
if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5726 1
a5726 1
echo "configure:5732: checking MIT X libraries" >&5
d5732 1
a5732 1
#line 5738 "configure"
d5743 1
a5743 1
if { (eval echo configure:5749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5767 1
a5767 1
echo "configure:5773: checking whether char is unsigned" >&5
d5774 1
a5774 1
#line 5780 "configure"
d5796 1
a5796 1
#line 5802 "configure"
d5806 1
a5806 1
if { (eval echo configure:5812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5867 1
a5867 1
echo "configure:5873: checking how to package libraries" >&5
a5900 3
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -sectcreate __TEXT __info_plist Tk-Info.plist'
    EXTRA_WISH_LIBS='-sectcreate __TEXT __info_plist Wish-Info.plist'
    tk_config_files="${tk_config_files} Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"
d5908 1
d5975 2
d5985 1
a5985 1
    else
d6137 28
a6164 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
@


1.65.2.68
log
@	* unix/Makefile.in:	add support for compile flags specific to
				object files linked directly into executables.

	* unix/configure.in (Darwin): only use -seg1addr flag when prebinding;
	use -mdynamic-no-pic flag for object files linked directly into exes.

	* unix/configure: autoconf-2.13
@
text
@d5905 1
a5905 2
    TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -install_name ${DYLIB_INSTALL_DIR}/${TK_LIB_FILE} -unexported_symbols_list $$(f=$(TCL_STUB_LIB_FILE).E && nm -gjp $(TCL_BIN_DIR)/$(TCL_STUB_LIB_FILE) | grep ^_[^_] > $$f && echo $$f)'
    echo "$LDFLAGS " | grep -q -- '-prebind ' && TK_SHLIB_LD_EXTRAS="${TK_SHLIB_LD_EXTRAS}"' -seg1addr 0xb000000'
a5908 1
    EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
a6071 1

a6293 1
s%@@EXTRA_APP_CC_SWITCHES@@%$EXTRA_APP_CC_SWITCHES%g
@


1.65.2.69
log
@	* unix/configure.in:	backport of TK_INCLUDE_SPEC addition.
	* unix/tkConfig.sh.in:	[Bug 777203]
	* unix/configure: autoconf-2.13
@
text
@a6016 3
# Install time header dir can be set via --includedir
eval "TK_INCLUDE_SPEC=\"-I${includedir}\""

a6074 1

a6276 1
s%@@TK_INCLUDE_SPEC@@%$TK_INCLUDE_SPEC%g
@


1.65.2.70
log
@	* unix/tcl.m4 (SunOS-5.1x):	replace direct use of '/usr/ccs/bin/ld'
					in SHLIB_LD by 'cc' compiler driver.
	* unix/configure: autoconf-2.13
@
text
@d3492 1
a3492 6
		case $system in
		    SunOS-5.[1-9][0-9]*)
			SHLIB_LD='${CC} -G -z text';;
		    *)
			SHLIB_LD="/usr/ccs/bin/ld -G -z text";;
		esac
d3521 1
a3521 1
echo "configure:3527: checking for ld accepts -Bexport flag" >&5
d3529 1
a3529 1
#line 3535 "configure"
d3536 1
a3536 1
if { (eval echo configure:3542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3586 1
a3586 1
echo "configure:3592: checking sys/exec.h" >&5
d3592 1
a3592 1
#line 3598 "configure"
d3610 1
a3610 1
if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3630 1
a3630 1
echo "configure:3636: checking a.out.h" >&5
d3636 1
a3636 1
#line 3642 "configure"
d3654 1
a3654 1
if { (eval echo configure:3660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3674 1
a3674 1
echo "configure:3680: checking sys/exec_aout.h" >&5
d3680 1
a3680 1
#line 3686 "configure"
d3698 1
a3698 1
if { (eval echo configure:3704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3851 1
a3851 1
echo "configure:3857: checking for build with symbols" >&5
d3912 1
a3912 1
echo "configure:3918: checking for required early compiler flags" >&5
d3919 1
a3919 1
#line 3925 "configure"
d3926 1
a3926 1
if { (eval echo configure:3932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3934 1
a3934 1
#line 3940 "configure"
d3942 1
a3942 1
if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3969 1
a3969 1
#line 3975 "configure"
d3976 1
a3976 1
if { (eval echo configure:3982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3984 1
a3984 1
#line 3990 "configure"
d3992 1
a3992 1
if { (eval echo configure:3998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4019 1
a4019 1
#line 4025 "configure"
d4026 1
a4026 1
if { (eval echo configure:4032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4034 1
a4034 1
#line 4040 "configure"
d4042 1
a4042 1
if { (eval echo configure:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4073 1
a4073 1
echo "configure:4079: checking for 64-bit integer type" >&5
d4081 1
a4081 1
#line 4087 "configure"
d4088 1
a4088 1
if { (eval echo configure:4094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4102 1
a4102 1
#line 4108 "configure"
d4111 1
a4111 1
if { (eval echo configure:4117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4136 1
a4136 1
echo "configure:4142: checking for struct dirent64" >&5
d4142 1
a4142 1
#line 4148 "configure"
d4150 1
a4150 1
if { (eval echo configure:4156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4171 1
a4171 1
echo "configure:4177: checking for struct stat64" >&5
d4177 1
a4177 1
#line 4183 "configure"
d4185 1
a4185 1
if { (eval echo configure:4191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4208 1
a4208 1
echo "configure:4214: checking for $ac_func" >&5
d4213 1
a4213 1
#line 4219 "configure"
d4236 1
a4236 1
if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4261 1
a4261 1
echo "configure:4267: checking for off64_t" >&5
d4267 1
a4267 1
#line 4273 "configure"
d4275 1
a4275 1
if { (eval echo configure:4281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4306 1
a4306 1
echo "configure:4312: checking whether byte ordering is bigendian" >&5
d4313 1
a4313 1
#line 4319 "configure"
d4324 1
a4324 1
if { (eval echo configure:4330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4328 1
a4328 1
#line 4334 "configure"
d4339 1
a4339 1
if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4359 1
a4359 1
#line 4365 "configure"
d4372 1
a4372 1
if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4424 1
a4424 1
echo "configure:4430: checking for fd_set in sys/types" >&5
d4430 1
a4430 1
#line 4436 "configure"
d4437 1
a4437 1
if { (eval echo configure:4443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4453 1
a4453 1
echo "configure:4459: checking for fd_mask in sys/select" >&5
d4459 1
a4459 1
#line 4465 "configure"
d4499 1
a4499 1
echo "configure:4505: checking for $ac_hdr" >&5
d4504 1
a4504 1
#line 4510 "configure"
d4509 1
a4509 1
{ (eval echo configure:4515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4536 1
a4536 1
echo "configure:4542: checking whether time.h and sys/time.h may both be included" >&5
d4541 1
a4541 1
#line 4547 "configure"
d4550 1
a4550 1
if { (eval echo configure:4556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4580 1
a4580 1
echo "configure:4586: checking for strtod" >&5
d4585 1
a4585 1
#line 4591 "configure"
d4608 1
a4608 1
if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4630 1
a4630 1
echo "configure:4636: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4639 1
a4639 1
#line 4645 "configure"
d4662 1
a4662 1
if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4693 1
a4693 1
echo "configure:4699: checking for ANSI C header files" >&5
d4698 1
a4698 1
#line 4704 "configure"
d4706 1
a4706 1
{ (eval echo configure:4712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4723 1
a4723 1
#line 4729 "configure"
d4741 1
a4741 1
#line 4747 "configure"
d4762 1
a4762 1
#line 4768 "configure"
d4773 1
a4773 1
if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4797 1
a4797 1
echo "configure:4803: checking for mode_t" >&5
d4802 1
a4802 1
#line 4808 "configure"
d4830 1
a4830 1
echo "configure:4836: checking for pid_t" >&5
d4835 1
a4835 1
#line 4841 "configure"
d4863 1
a4863 1
echo "configure:4869: checking for size_t" >&5
d4868 1
a4868 1
#line 4874 "configure"
d4896 1
a4896 1
echo "configure:4902: checking for uid_t in sys/types.h" >&5
d4901 1
a4901 1
#line 4907 "configure"
d4935 1
a4935 1
echo "configure:4941: checking pw_gecos in struct pwd" >&5
d4941 1
a4941 1
#line 4947 "configure"
d4948 1
a4948 1
if { (eval echo configure:4954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4974 1
a4974 1
echo "configure:4980: checking whether to use Aqua" >&5
d5036 1
a5036 1
echo "configure:5042: checking for X" >&5
d5098 1
a5098 1
#line 5104 "configure"
d5103 1
a5103 1
{ (eval echo configure:5109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5172 1
a5172 1
#line 5178 "configure"
d5179 1
a5179 1
if { (eval echo configure:5185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5269 1
a5269 1
#line 5275 "configure"
d5274 1
a5274 1
{ (eval echo configure:5280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5294 1
a5294 1
echo "configure:5300: checking for X11 header files" >&5
d5297 1
a5297 1
#line 5303 "configure"
d5302 1
a5302 1
{ (eval echo configure:5308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5338 1
a5338 1
echo "configure:5344: checking for X11 libraries" >&5
d5358 1
a5358 1
echo "configure:5364: checking for XCreateWindow in -lXwindow" >&5
d5366 1
a5366 1
#line 5372 "configure"
d5377 1
a5377 1
if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5454 1
a5454 1
echo "configure:5460: checking for main in -lXbsd" >&5
d5462 1
a5462 1
#line 5468 "configure"
d5469 1
a5469 1
if { (eval echo configure:5475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5493 1
a5493 1
echo "configure:5499: checking for connect" >&5
d5498 1
a5498 1
#line 5504 "configure"
d5521 1
a5521 1
if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5543 1
a5543 1
echo "configure:5549: checking for main in -lsocket" >&5
d5551 1
a5551 1
#line 5557 "configure"
d5558 1
a5558 1
if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5584 1
a5584 1
echo "configure:5590: checking for accept" >&5
d5589 1
a5589 1
#line 5595 "configure"
d5612 1
a5612 1
if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5634 1
a5634 1
echo "configure:5640: checking for gethostbyname" >&5
d5639 1
a5639 1
#line 5645 "configure"
d5662 1
a5662 1
if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5680 1
a5680 1
echo "configure:5686: checking for main in -lnsl" >&5
d5688 1
a5688 1
#line 5694 "configure"
d5695 1
a5695 1
if { (eval echo configure:5701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5731 1
a5731 1
echo "configure:5737: checking MIT X libraries" >&5
d5737 1
a5737 1
#line 5743 "configure"
d5748 1
a5748 1
if { (eval echo configure:5754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5772 1
a5772 1
echo "configure:5778: checking whether char is unsigned" >&5
d5779 1
a5779 1
#line 5785 "configure"
d5801 1
a5801 1
#line 5807 "configure"
d5811 1
a5811 1
if { (eval echo configure:5817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5872 1
a5872 1
echo "configure:5878: checking how to package libraries" >&5
@


1.65.2.71
log
@        * README:               Bump version number to 8.4.17
        * generic/tk.h:
        * unix/configure.in:    Removed "es_ES" entry in LOCALES
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".17"
d562 1
a562 1
LOCALES="cs de el en en_gb eo es fr it nl pl pt ru"
d6154 9
a6162 28
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
@


1.65.2.72
log
@	* unix/configure.in (Darwin):	add support for 64-bit X11.
	* unix/configure:		autoconf-2.13
@
text
@d5003 4
a5006 47
    if test "$fat_32_64" = yes; then
	if test $tk_aqua = no; then
	    echo $ac_n "checking for 64-bit X11""... $ac_c" 1>&6
echo "configure:5007: checking for 64-bit X11" >&5
if eval "test \"`echo '$''{'tcl_cv_lib_x11_64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
		done
		CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include"
		LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
		cat > conftest.$ac_ext <<EOF
#line 5018 "configure"
#include "confdefs.h"
#include <X11/Xlib.h>
int main() {
XrmInitialize();
; return 0; }
EOF
if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  tcl_cv_lib_x11_64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_lib_x11_64=no
fi
rm -f conftest*
		for v in CFLAGS CPPFLAGS LDFLAGS; do
		    eval $v'="$hold_'$v'"'
		done
fi

echo "$ac_t""$tcl_cv_lib_x11_64" 1>&6
	fi
	# remove 64-bit arch flags from CFLAGS et al. for combined 32 & 64 bit
	# fat builds if configuration does not support 64-bit.
	if test $tk_aqua = yes -o "$tcl_cv_lib_x11_64" = no; then
	    echo "configure: warning: Removing 64-bit architectures from compiler & linker flags" 1>&2
	    for v in CFLAGS CPPFLAGS LDFLAGS; do
		eval $v'="`echo "$'$v' "|sed -e "s/-arch ppc64 / /g" -e "s/-arch x86_64 / /g"`"'
	    done
	fi
    fi
d5041 1
a5041 1
echo "configure:5085: checking for X" >&5
d5103 1
a5103 1
#line 5147 "configure"
d5108 1
a5108 1
{ (eval echo configure:5152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5177 1
a5177 1
#line 5221 "configure"
d5184 1
a5184 1
if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5274 1
a5274 1
#line 5318 "configure"
d5279 1
a5279 1
{ (eval echo configure:5323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5299 1
a5299 1
echo "configure:5343: checking for X11 header files" >&5
d5302 1
a5302 1
#line 5346 "configure"
d5307 1
a5307 1
{ (eval echo configure:5351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5343 1
a5343 1
echo "configure:5387: checking for X11 libraries" >&5
d5363 1
a5363 1
echo "configure:5407: checking for XCreateWindow in -lXwindow" >&5
d5371 1
a5371 1
#line 5415 "configure"
d5382 1
a5382 1
if { (eval echo configure:5426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5459 1
a5459 1
echo "configure:5503: checking for main in -lXbsd" >&5
d5467 1
a5467 1
#line 5511 "configure"
d5474 1
a5474 1
if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5498 1
a5498 1
echo "configure:5542: checking for connect" >&5
d5503 1
a5503 1
#line 5547 "configure"
d5526 1
a5526 1
if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5548 1
a5548 1
echo "configure:5592: checking for main in -lsocket" >&5
d5556 1
a5556 1
#line 5600 "configure"
d5563 1
a5563 1
if { (eval echo configure:5607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5589 1
a5589 1
echo "configure:5633: checking for accept" >&5
d5594 1
a5594 1
#line 5638 "configure"
d5617 1
a5617 1
if { (eval echo configure:5661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5639 1
a5639 1
echo "configure:5683: checking for gethostbyname" >&5
d5644 1
a5644 1
#line 5688 "configure"
d5667 1
a5667 1
if { (eval echo configure:5711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5685 1
a5685 1
echo "configure:5729: checking for main in -lnsl" >&5
d5693 1
a5693 1
#line 5737 "configure"
d5700 1
a5700 1
if { (eval echo configure:5744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5736 1
a5736 1
echo "configure:5780: checking MIT X libraries" >&5
d5742 1
a5742 1
#line 5786 "configure"
d5753 1
a5753 1
if { (eval echo configure:5797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5777 1
a5777 1
echo "configure:5821: checking whether char is unsigned" >&5
d5784 1
a5784 1
#line 5828 "configure"
d5806 1
a5806 1
#line 5850 "configure"
d5816 1
a5816 1
if { (eval echo configure:5860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5877 1
a5877 1
echo "configure:5921: checking how to package libraries" >&5
d6154 28
a6181 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
@


1.65.2.73
log
@        * changes:              updates for 8.4.17 release.
        * unix/configure.in:    Add "hu" to LOCALES.
        * unix/configure:       autoconf-2.13
@
text
@d562 1
a562 1
LOCALES="cs de el en en_gb eo es fr hu it nl pl pt ru"
d6197 9
a6205 28
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
@


1.65.2.74
log
@	* macosx/Wish-Info.plist.in:	add CFBundleLocalizations key, listing
	* unix/configure.in (Darwin):	all library/msgs locales.

	* unix/configure.in (Darwin):	correct Info.plist year substitution in
					non-framework builds.

	* unix/configure:		autoconf-2.13
@
text
@d5957 1
a5958 3
    tk_config_files="${tk_config_files} Tk-Info.plist:../macosx/Tk-Info.plist.in Wish-Info.plist:../macosx/Wish-Info.plist.in"
    for l in ${LOCALES}; do CFBUNDLELOCALIZATIONS="${CFBUNDLELOCALIZATIONS}<string>$l</string>"; done
    TK_YEAR="`date +%Y`"
d5999 1
a6126 1

d6197 28
a6224 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
a6373 1
s%@@CFBUNDLELOCALIZATIONS@@%$CFBUNDLELOCALIZATIONS%g
@


1.65.2.75
log
@        *** 8.4.18 TAGGED FOR RELEASE ***

        * README:               Bump version number to 8.4.18
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:

        * changes:              updates for 8.4.18 release.
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".18"
d6199 9
a6207 28
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
@


1.65.2.76
log
@	* unix/configure: autoconf-2.13
@
text
@d3494 1
a3494 1
			SHLIB_LD='${CC} -G -z text ${LDFLAGS}';;
d6199 28
a6226 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
@


1.65.2.77
log
@        * README:               Bump version number to 8.4.19
        * generic/tk.h:
        * unix/configure.in:
        * unix/tk.spec:
        * win/configure.in:

        * unix/configure:       autoconf-2.13
        * win/configure:

        * changes:              updates for 8.4.19 release.
@
text
@d560 1
a560 1
TK_PATCH_LEVEL=".19"
d6199 9
a6207 28
#
# If the first sed substitution is executed (which looks for macros that
# take arguments), then we branch to the quote section.  Otherwise,
# look for a macro that doesn't take arguments.
cat >confdef2opt.sed <<\_ACEOF
t clear
: clear
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*([^)]*)\)[ 	]*\(.*\),-D\1=\2,g
t quote
s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\),-D\1=\2,g
t quote
d
: quote
s,[ 	`~#$^&*(){}\\|;'"<>?],\\&,g
s,\[,\\&,g
s,\],\\&,g
s,\$,$$,g
p
_ACEOF
# We use echo to avoid assuming a particular line-breaking character.
# The extra dot is to prevent the shell from consuming trailing
# line-breaks from the sub-command output.  A line-break within
# single-quotes doesn't work because, if this script is created in a
# platform that uses two characters for line-breaks (e.g., DOS), tr
# would break.
ac_LF_and_DOT=`echo; echo .`
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
rm -f confdef2opt.sed
@


1.65.2.78
log
@	* unix/configure: autoconf-2.13
@
text
@d3450 1
a3450 1
				LDFLAGS="$LDFLAGS -xarch=v9a"
d3453 1
a3453 1
				LDFLAGS="$LDFLAGS -xarch=v9"
d3460 1
a3460 8
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				do64bit_ok=yes
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				echo "configure: warning: 64bit mode not supported with GCC on $system" 1>&2;;
			esac
d3463 2
a3464 8
			case $system in
			    SunOS-5.1[1-9]*|SunOS-5.[2-9][0-9]*)
				CFLAGS="$CFLAGS -m64"
				LDFLAGS="$LDFLAGS -m64";;
			    *)
				CFLAGS="$CFLAGS -xarch=amd64"
				LDFLAGS="$LDFLAGS -xarch=amd64";;
			esac
d3470 1
a3470 1

d3483 7
a3489 10
		    if test "$arch" = "sparcv9 sparc" ; then
			# We need to specify -static-libgcc or we need to
			# add the path to the sparv9 libgcc.
			SHLIB_LD="$SHLIB_LD -m64 -mcpu=v9 -static-libgcc"
			# for finding sparcv9 libgcc, get the regular libgcc
			# path, remove so name and append 'sparcv9'
			#v9gcclibdir="`gcc -print-file-name=libgcc_s.so` | ..."
			#CC_SEARCH_FLAGS="${CC_SEARCH_FLAGS},-R,$v9gcclibdir"
		elif test "$arch" = "amd64 i386" ; then
			SHLIB_LD="$SHLIB_LD -m64 -static-libgcc"
d3526 1
a3526 1
echo "configure:3543: checking for ld accepts -Bexport flag" >&5
d3534 1
a3534 1
#line 3551 "configure"
d3541 1
a3541 1
if { (eval echo configure:3558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3591 1
a3591 1
echo "configure:3608: checking sys/exec.h" >&5
d3597 1
a3597 1
#line 3614 "configure"
d3615 1
a3615 1
if { (eval echo configure:3632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3635 1
a3635 1
echo "configure:3652: checking a.out.h" >&5
d3641 1
a3641 1
#line 3658 "configure"
d3659 1
a3659 1
if { (eval echo configure:3676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3679 1
a3679 1
echo "configure:3696: checking sys/exec_aout.h" >&5
d3685 1
a3685 1
#line 3702 "configure"
d3703 1
a3703 1
if { (eval echo configure:3720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3856 1
a3856 1
echo "configure:3873: checking for build with symbols" >&5
d3917 1
a3917 1
echo "configure:3934: checking for required early compiler flags" >&5
d3924 1
a3924 1
#line 3941 "configure"
d3931 1
a3931 1
if { (eval echo configure:3948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3939 1
a3939 1
#line 3956 "configure"
d3947 1
a3947 1
if { (eval echo configure:3964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3974 1
a3974 1
#line 3991 "configure"
d3981 1
a3981 1
if { (eval echo configure:3998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3989 1
a3989 1
#line 4006 "configure"
d3997 1
a3997 1
if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4024 1
a4024 1
#line 4041 "configure"
d4031 1
a4031 1
if { (eval echo configure:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4039 1
a4039 1
#line 4056 "configure"
d4047 1
a4047 1
if { (eval echo configure:4064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4078 1
a4078 1
echo "configure:4095: checking for 64-bit integer type" >&5
d4086 1
a4086 1
#line 4103 "configure"
d4093 1
a4093 1
if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4107 1
a4107 1
#line 4124 "configure"
d4116 1
a4116 1
if { (eval echo configure:4133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4141 1
a4141 1
echo "configure:4158: checking for struct dirent64" >&5
d4147 1
a4147 1
#line 4164 "configure"
d4155 1
a4155 1
if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4176 1
a4176 1
echo "configure:4193: checking for struct stat64" >&5
d4182 1
a4182 1
#line 4199 "configure"
d4190 1
a4190 1
if { (eval echo configure:4207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4213 1
a4213 1
echo "configure:4230: checking for $ac_func" >&5
d4218 1
a4218 1
#line 4235 "configure"
d4241 1
a4241 1
if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4266 1
a4266 1
echo "configure:4283: checking for off64_t" >&5
d4272 1
a4272 1
#line 4289 "configure"
d4280 1
a4280 1
if { (eval echo configure:4297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4311 1
a4311 1
echo "configure:4328: checking whether byte ordering is bigendian" >&5
d4318 1
a4318 1
#line 4335 "configure"
d4329 1
a4329 1
if { (eval echo configure:4346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4333 1
a4333 1
#line 4350 "configure"
d4344 1
a4344 1
if { (eval echo configure:4361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4364 1
a4364 1
#line 4381 "configure"
d4377 1
a4377 1
if { (eval echo configure:4394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4429 1
a4429 1
echo "configure:4446: checking for fd_set in sys/types" >&5
d4435 1
a4435 1
#line 4452 "configure"
d4442 1
a4442 1
if { (eval echo configure:4459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4458 1
a4458 1
echo "configure:4475: checking for fd_mask in sys/select" >&5
d4464 1
a4464 1
#line 4481 "configure"
d4504 1
a4504 1
echo "configure:4521: checking for $ac_hdr" >&5
d4509 1
a4509 1
#line 4526 "configure"
d4514 1
a4514 1
{ (eval echo configure:4531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4541 1
a4541 1
echo "configure:4558: checking whether time.h and sys/time.h may both be included" >&5
d4546 1
a4546 1
#line 4563 "configure"
d4555 1
a4555 1
if { (eval echo configure:4572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4585 1
a4585 1
echo "configure:4602: checking for strtod" >&5
d4590 1
a4590 1
#line 4607 "configure"
d4613 1
a4613 1
if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4635 1
a4635 1
echo "configure:4652: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4644 1
a4644 1
#line 4661 "configure"
d4667 1
a4667 1
if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4698 1
a4698 1
echo "configure:4715: checking for ANSI C header files" >&5
d4703 1
a4703 1
#line 4720 "configure"
d4711 1
a4711 1
{ (eval echo configure:4728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4728 1
a4728 1
#line 4745 "configure"
d4746 1
a4746 1
#line 4763 "configure"
d4767 1
a4767 1
#line 4784 "configure"
d4778 1
a4778 1
if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4802 1
a4802 1
echo "configure:4819: checking for mode_t" >&5
d4807 1
a4807 1
#line 4824 "configure"
d4835 1
a4835 1
echo "configure:4852: checking for pid_t" >&5
d4840 1
a4840 1
#line 4857 "configure"
d4868 1
a4868 1
echo "configure:4885: checking for size_t" >&5
d4873 1
a4873 1
#line 4890 "configure"
d4901 1
a4901 1
echo "configure:4918: checking for uid_t in sys/types.h" >&5
d4906 1
a4906 1
#line 4923 "configure"
d4940 1
a4940 1
echo "configure:4957: checking pw_gecos in struct pwd" >&5
d4946 1
a4946 1
#line 4963 "configure"
d4953 1
a4953 1
if { (eval echo configure:4970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4979 1
a4979 1
echo "configure:4996: checking whether to use Aqua" >&5
d5006 1
a5006 1
echo "configure:5023: checking for 64-bit X11" >&5
d5017 1
a5017 1
#line 5034 "configure"
d5024 1
a5024 1
if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5084 1
a5084 1
echo "configure:5101: checking for X" >&5
d5146 1
a5146 1
#line 5163 "configure"
d5151 1
a5151 1
{ (eval echo configure:5168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5220 1
a5220 1
#line 5237 "configure"
d5227 1
a5227 1
if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5317 1
a5317 1
#line 5334 "configure"
d5322 1
a5322 1
{ (eval echo configure:5339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5342 1
a5342 1
echo "configure:5359: checking for X11 header files" >&5
d5345 1
a5345 1
#line 5362 "configure"
d5350 1
a5350 1
{ (eval echo configure:5367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5386 1
a5386 1
echo "configure:5403: checking for X11 libraries" >&5
d5406 1
a5406 1
echo "configure:5423: checking for XCreateWindow in -lXwindow" >&5
d5414 1
a5414 1
#line 5431 "configure"
d5425 1
a5425 1
if { (eval echo configure:5442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5502 1
a5502 1
echo "configure:5519: checking for main in -lXbsd" >&5
d5510 1
a5510 1
#line 5527 "configure"
d5517 1
a5517 1
if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5541 1
a5541 1
echo "configure:5558: checking for connect" >&5
d5546 1
a5546 1
#line 5563 "configure"
d5569 1
a5569 1
if { (eval echo configure:5586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5591 1
a5591 1
echo "configure:5608: checking for main in -lsocket" >&5
d5599 1
a5599 1
#line 5616 "configure"
d5606 1
a5606 1
if { (eval echo configure:5623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5632 1
a5632 1
echo "configure:5649: checking for accept" >&5
d5637 1
a5637 1
#line 5654 "configure"
d5660 1
a5660 1
if { (eval echo configure:5677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5682 1
a5682 1
echo "configure:5699: checking for gethostbyname" >&5
d5687 1
a5687 1
#line 5704 "configure"
d5710 1
a5710 1
if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5728 1
a5728 1
echo "configure:5745: checking for main in -lnsl" >&5
d5736 1
a5736 1
#line 5753 "configure"
d5743 1
a5743 1
if { (eval echo configure:5760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5779 1
a5779 1
echo "configure:5796: checking MIT X libraries" >&5
d5785 1
a5785 1
#line 5802 "configure"
d5796 1
a5796 1
if { (eval echo configure:5813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5820 1
a5820 1
echo "configure:5837: checking whether char is unsigned" >&5
d5827 1
a5827 1
#line 5844 "configure"
d5849 1
a5849 1
#line 5866 "configure"
d5859 1
a5859 1
if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5920 1
a5920 1
echo "configure:5937: checking how to package libraries" >&5
d6199 28
a6226 9
cat > conftest.defs <<\EOF
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
s%\[%\\&%g
s%\]%\\&%g
s%\$%$$%g
EOF
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
rm -f conftest.defs
@


1.65.2.79
log
@autoconf-2.13
@
text
@d3504 1
a3504 1
		    elif test "$arch" = "amd64 i386" ; then
a3505 1
		    fi
d3542 1
a3542 1
echo "configure:3544: checking for ld accepts -Bexport flag" >&5
d3550 1
a3550 1
#line 3552 "configure"
d3557 1
a3557 1
if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3607 1
a3607 1
echo "configure:3609: checking sys/exec.h" >&5
d3613 1
a3613 1
#line 3615 "configure"
d3631 1
a3631 1
if { (eval echo configure:3633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3651 1
a3651 1
echo "configure:3653: checking a.out.h" >&5
d3657 1
a3657 1
#line 3659 "configure"
d3675 1
a3675 1
if { (eval echo configure:3677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3695 1
a3695 1
echo "configure:3697: checking sys/exec_aout.h" >&5
d3701 1
a3701 1
#line 3703 "configure"
d3719 1
a3719 1
if { (eval echo configure:3721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3872 1
a3872 1
echo "configure:3874: checking for build with symbols" >&5
d3933 1
a3933 1
echo "configure:3935: checking for required early compiler flags" >&5
d3940 1
a3940 1
#line 3942 "configure"
d3947 1
a3947 1
if { (eval echo configure:3949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3955 1
a3955 1
#line 3957 "configure"
d3963 1
a3963 1
if { (eval echo configure:3965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3990 1
a3990 1
#line 3992 "configure"
d3997 1
a3997 1
if { (eval echo configure:3999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4005 1
a4005 1
#line 4007 "configure"
d4013 1
a4013 1
if { (eval echo configure:4015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4040 1
a4040 1
#line 4042 "configure"
d4047 1
a4047 1
if { (eval echo configure:4049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4055 1
a4055 1
#line 4057 "configure"
d4063 1
a4063 1
if { (eval echo configure:4065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4094 1
a4094 1
echo "configure:4096: checking for 64-bit integer type" >&5
d4102 1
a4102 1
#line 4104 "configure"
d4109 1
a4109 1
if { (eval echo configure:4111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4123 1
a4123 1
#line 4125 "configure"
d4132 1
a4132 1
if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4157 1
a4157 1
echo "configure:4159: checking for struct dirent64" >&5
d4163 1
a4163 1
#line 4165 "configure"
d4171 1
a4171 1
if { (eval echo configure:4173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4192 1
a4192 1
echo "configure:4194: checking for struct stat64" >&5
d4198 1
a4198 1
#line 4200 "configure"
d4206 1
a4206 1
if { (eval echo configure:4208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4229 1
a4229 1
echo "configure:4231: checking for $ac_func" >&5
d4234 1
a4234 1
#line 4236 "configure"
d4257 1
a4257 1
if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4282 1
a4282 1
echo "configure:4284: checking for off64_t" >&5
d4288 1
a4288 1
#line 4290 "configure"
d4296 1
a4296 1
if { (eval echo configure:4298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4327 1
a4327 1
echo "configure:4329: checking whether byte ordering is bigendian" >&5
d4334 1
a4334 1
#line 4336 "configure"
d4345 1
a4345 1
if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4349 1
a4349 1
#line 4351 "configure"
d4360 1
a4360 1
if { (eval echo configure:4362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4380 1
a4380 1
#line 4382 "configure"
d4393 1
a4393 1
if { (eval echo configure:4395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4445 1
a4445 1
echo "configure:4447: checking for fd_set in sys/types" >&5
d4451 1
a4451 1
#line 4453 "configure"
d4458 1
a4458 1
if { (eval echo configure:4460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4474 1
a4474 1
echo "configure:4476: checking for fd_mask in sys/select" >&5
d4480 1
a4480 1
#line 4482 "configure"
d4520 1
a4520 1
echo "configure:4522: checking for $ac_hdr" >&5
d4525 1
a4525 1
#line 4527 "configure"
d4530 1
a4530 1
{ (eval echo configure:4532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4557 1
a4557 1
echo "configure:4559: checking whether time.h and sys/time.h may both be included" >&5
d4562 1
a4562 1
#line 4564 "configure"
d4571 1
a4571 1
if { (eval echo configure:4573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4601 1
a4601 1
echo "configure:4603: checking for strtod" >&5
d4606 1
a4606 1
#line 4608 "configure"
d4629 1
a4629 1
if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4651 1
a4651 1
echo "configure:4653: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4660 1
a4660 1
#line 4662 "configure"
d4683 1
a4683 1
if { (eval echo configure:4685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4714 1
a4714 1
echo "configure:4716: checking for ANSI C header files" >&5
d4719 1
a4719 1
#line 4721 "configure"
d4727 1
a4727 1
{ (eval echo configure:4729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4744 1
a4744 1
#line 4746 "configure"
d4762 1
a4762 1
#line 4764 "configure"
d4783 1
a4783 1
#line 4785 "configure"
d4794 1
a4794 1
if { (eval echo configure:4796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4818 1
a4818 1
echo "configure:4820: checking for mode_t" >&5
d4823 1
a4823 1
#line 4825 "configure"
d4851 1
a4851 1
echo "configure:4853: checking for pid_t" >&5
d4856 1
a4856 1
#line 4858 "configure"
d4884 1
a4884 1
echo "configure:4886: checking for size_t" >&5
d4889 1
a4889 1
#line 4891 "configure"
d4917 1
a4917 1
echo "configure:4919: checking for uid_t in sys/types.h" >&5
d4922 1
a4922 1
#line 4924 "configure"
d4956 1
a4956 1
echo "configure:4958: checking pw_gecos in struct pwd" >&5
d4962 1
a4962 1
#line 4964 "configure"
d4969 1
a4969 1
if { (eval echo configure:4971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4995 1
a4995 1
echo "configure:4997: checking whether to use Aqua" >&5
d5022 1
a5022 1
echo "configure:5024: checking for 64-bit X11" >&5
d5033 1
a5033 1
#line 5035 "configure"
d5040 1
a5040 1
if { (eval echo configure:5042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5100 1
a5100 1
echo "configure:5102: checking for X" >&5
d5162 1
a5162 1
#line 5164 "configure"
d5167 1
a5167 1
{ (eval echo configure:5169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5236 1
a5236 1
#line 5238 "configure"
d5243 1
a5243 1
if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5333 1
a5333 1
#line 5335 "configure"
d5338 1
a5338 1
{ (eval echo configure:5340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5358 1
a5358 1
echo "configure:5360: checking for X11 header files" >&5
d5361 1
a5361 1
#line 5363 "configure"
d5366 1
a5366 1
{ (eval echo configure:5368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5402 1
a5402 1
echo "configure:5404: checking for X11 libraries" >&5
d5422 1
a5422 1
echo "configure:5424: checking for XCreateWindow in -lXwindow" >&5
d5430 1
a5430 1
#line 5432 "configure"
d5441 1
a5441 1
if { (eval echo configure:5443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5518 1
a5518 1
echo "configure:5520: checking for main in -lXbsd" >&5
d5526 1
a5526 1
#line 5528 "configure"
d5533 1
a5533 1
if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5557 1
a5557 1
echo "configure:5559: checking for connect" >&5
d5562 1
a5562 1
#line 5564 "configure"
d5585 1
a5585 1
if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5607 1
a5607 1
echo "configure:5609: checking for main in -lsocket" >&5
d5615 1
a5615 1
#line 5617 "configure"
d5622 1
a5622 1
if { (eval echo configure:5624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5648 1
a5648 1
echo "configure:5650: checking for accept" >&5
d5653 1
a5653 1
#line 5655 "configure"
d5676 1
a5676 1
if { (eval echo configure:5678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5698 1
a5698 1
echo "configure:5700: checking for gethostbyname" >&5
d5703 1
a5703 1
#line 5705 "configure"
d5726 1
a5726 1
if { (eval echo configure:5728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5744 1
a5744 1
echo "configure:5746: checking for main in -lnsl" >&5
d5752 1
a5752 1
#line 5754 "configure"
d5759 1
a5759 1
if { (eval echo configure:5761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5795 1
a5795 1
echo "configure:5797: checking MIT X libraries" >&5
d5801 1
a5801 1
#line 5803 "configure"
d5812 1
a5812 1
if { (eval echo configure:5814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5836 1
a5836 1
echo "configure:5838: checking whether char is unsigned" >&5
d5843 1
a5843 1
#line 5845 "configure"
d5865 1
a5865 1
#line 5867 "configure"
d5875 1
a5875 1
if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5936 1
a5936 1
echo "configure:5938: checking how to package libraries" >&5
@


1.65.2.80
log
@autoconf-2.13
@
text
@d5407 1
a5407 1
	    if test -r $i/libX11.a -o -r $i/libX11.so -o -r $i/libX11.sl -o -r $i/libX11.dylib; then
@


1.65.2.81
log
@Regen unix/configure
@
text
@d2074 1
a2074 1
	CFLAGS_WARNING="-Wall -fno-strict-aliasing"
@


1.65.2.82
log
@	* unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the check
	to add _r to CC on AIX with threads.
@
text
@d2122 1
a2122 1
		    *_r|*_r\ *)
d2126 1
a2126 2
			# Make sure only first arg gets _r
		    	CC=`echo "$CC" | sed -e 's/^\([^ ]*\)/\1_r/'`
d2199 1
a2199 1
echo "configure:2201: checking for gettimeofday in -lbsd" >&5
d2207 1
a2207 1
#line 2209 "configure"
d2218 1
a2218 1
if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2261 1
a2261 1
echo "configure:2263: checking for inet_ntoa in -lbind" >&5
d2269 1
a2269 1
#line 2271 "configure"
d2280 1
a2280 1
if { (eval echo configure:2282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2350 1
a2350 1
echo "configure:2352: checking for shl_load in -ldld" >&5
d2358 1
a2358 1
#line 2360 "configure"
d2369 1
a2369 1
if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2437 1
a2437 1
echo "configure:2439: checking for shl_load in -ldld" >&5
d2445 1
a2445 1
#line 2447 "configure"
d2456 1
a2456 1
if { (eval echo configure:2458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2580 1
a2580 1
echo "configure:2582: checking for dld.h" >&5
d2585 1
a2585 1
#line 2587 "configure"
d2590 1
a2590 1
{ (eval echo configure:2592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2622 1
a2622 1
echo "configure:2624: checking if compiler accepts -m64 flag" >&5
d2630 1
a2630 1
#line 2632 "configure"
d2637 1
a2637 1
if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2690 1
a2690 1
echo "configure:2692: checking for dld.h" >&5
d2695 1
a2695 1
#line 2697 "configure"
d2700 1
a2700 1
{ (eval echo configure:2702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2768 1
a2768 1
echo "configure:2770: checking for dlfcn.h" >&5
d2773 1
a2773 1
#line 2775 "configure"
d2778 1
a2778 1
{ (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2805 1
a2805 1
echo "configure:2807: checking for ELF" >&5
d2811 1
a2811 1
#line 2813 "configure"
d2890 1
a2890 1
echo "configure:2892: checking for ELF" >&5
d2896 1
a2896 1
#line 2898 "configure"
d2971 1
a2971 1
echo "configure:2973: checking if compiler accepts -arch ppc64 flag" >&5
d2979 1
a2979 1
#line 2981 "configure"
d2986 1
a2986 1
if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3006 1
a3006 1
echo "configure:3008: checking if compiler accepts -arch x86_64 flag" >&5
d3014 1
a3014 1
#line 3016 "configure"
d3021 1
a3021 1
if { (eval echo configure:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3050 1
a3050 1
echo "configure:3052: checking if ld accepts -single_module flag" >&5
d3058 1
a3058 1
#line 3060 "configure"
d3065 1
a3065 1
if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3092 1
a3092 1
echo "configure:3094: checking if ld accepts -search_paths_first flag" >&5
d3100 1
a3100 1
#line 3102 "configure"
d3107 1
a3107 1
if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3130 1
a3130 1
echo "configure:3132: checking whether to use CoreFoundation" >&5
d3142 1
a3142 1
echo "configure:3144: checking for CoreFoundation.framework" >&5
d3156 1
a3156 1
#line 3158 "configure"
d3163 1
a3163 1
if { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3190 1
a3190 1
echo "configure:3192: checking for 64-bit CoreFoundation" >&5
d3199 1
a3199 1
#line 3201 "configure"
d3206 1
a3206 1
if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3543 1
a3543 1
echo "configure:3545: checking for ld accepts -Bexport flag" >&5
d3551 1
a3551 1
#line 3553 "configure"
d3558 1
a3558 1
if { (eval echo configure:3560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3608 1
a3608 1
echo "configure:3610: checking sys/exec.h" >&5
d3614 1
a3614 1
#line 3616 "configure"
d3632 1
a3632 1
if { (eval echo configure:3634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3652 1
a3652 1
echo "configure:3654: checking a.out.h" >&5
d3658 1
a3658 1
#line 3660 "configure"
d3676 1
a3676 1
if { (eval echo configure:3678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3696 1
a3696 1
echo "configure:3698: checking sys/exec_aout.h" >&5
d3702 1
a3702 1
#line 3704 "configure"
d3720 1
a3720 1
if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3873 1
a3873 1
echo "configure:3875: checking for build with symbols" >&5
d3934 1
a3934 1
echo "configure:3936: checking for required early compiler flags" >&5
d3941 1
a3941 1
#line 3943 "configure"
d3948 1
a3948 1
if { (eval echo configure:3950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3956 1
a3956 1
#line 3958 "configure"
d3964 1
a3964 1
if { (eval echo configure:3966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3991 1
a3991 1
#line 3993 "configure"
d3998 1
a3998 1
if { (eval echo configure:4000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4006 1
a4006 1
#line 4008 "configure"
d4014 1
a4014 1
if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4041 1
a4041 1
#line 4043 "configure"
d4048 1
a4048 1
if { (eval echo configure:4050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4056 1
a4056 1
#line 4058 "configure"
d4064 1
a4064 1
if { (eval echo configure:4066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4095 1
a4095 1
echo "configure:4097: checking for 64-bit integer type" >&5
d4103 1
a4103 1
#line 4105 "configure"
d4110 1
a4110 1
if { (eval echo configure:4112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4124 1
a4124 1
#line 4126 "configure"
d4133 1
a4133 1
if { (eval echo configure:4135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4158 1
a4158 1
echo "configure:4160: checking for struct dirent64" >&5
d4164 1
a4164 1
#line 4166 "configure"
d4172 1
a4172 1
if { (eval echo configure:4174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4193 1
a4193 1
echo "configure:4195: checking for struct stat64" >&5
d4199 1
a4199 1
#line 4201 "configure"
d4207 1
a4207 1
if { (eval echo configure:4209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4230 1
a4230 1
echo "configure:4232: checking for $ac_func" >&5
d4235 1
a4235 1
#line 4237 "configure"
d4258 1
a4258 1
if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4283 1
a4283 1
echo "configure:4285: checking for off64_t" >&5
d4289 1
a4289 1
#line 4291 "configure"
d4297 1
a4297 1
if { (eval echo configure:4299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4328 1
a4328 1
echo "configure:4330: checking whether byte ordering is bigendian" >&5
d4335 1
a4335 1
#line 4337 "configure"
d4346 1
a4346 1
if { (eval echo configure:4348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4350 1
a4350 1
#line 4352 "configure"
d4361 1
a4361 1
if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4381 1
a4381 1
#line 4383 "configure"
d4394 1
a4394 1
if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4446 1
a4446 1
echo "configure:4448: checking for fd_set in sys/types" >&5
d4452 1
a4452 1
#line 4454 "configure"
d4459 1
a4459 1
if { (eval echo configure:4461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4475 1
a4475 1
echo "configure:4477: checking for fd_mask in sys/select" >&5
d4481 1
a4481 1
#line 4483 "configure"
d4521 1
a4521 1
echo "configure:4523: checking for $ac_hdr" >&5
d4526 1
a4526 1
#line 4528 "configure"
d4531 1
a4531 1
{ (eval echo configure:4533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4558 1
a4558 1
echo "configure:4560: checking whether time.h and sys/time.h may both be included" >&5
d4563 1
a4563 1
#line 4565 "configure"
d4572 1
a4572 1
if { (eval echo configure:4574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4602 1
a4602 1
echo "configure:4604: checking for strtod" >&5
d4607 1
a4607 1
#line 4609 "configure"
d4630 1
a4630 1
if { (eval echo configure:4632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4652 1
a4652 1
echo "configure:4654: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4661 1
a4661 1
#line 4663 "configure"
d4684 1
a4684 1
if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4715 1
a4715 1
echo "configure:4717: checking for ANSI C header files" >&5
d4720 1
a4720 1
#line 4722 "configure"
d4728 1
a4728 1
{ (eval echo configure:4730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4745 1
a4745 1
#line 4747 "configure"
d4763 1
a4763 1
#line 4765 "configure"
d4784 1
a4784 1
#line 4786 "configure"
d4795 1
a4795 1
if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4819 1
a4819 1
echo "configure:4821: checking for mode_t" >&5
d4824 1
a4824 1
#line 4826 "configure"
d4852 1
a4852 1
echo "configure:4854: checking for pid_t" >&5
d4857 1
a4857 1
#line 4859 "configure"
d4885 1
a4885 1
echo "configure:4887: checking for size_t" >&5
d4890 1
a4890 1
#line 4892 "configure"
d4918 1
a4918 1
echo "configure:4920: checking for uid_t in sys/types.h" >&5
d4923 1
a4923 1
#line 4925 "configure"
d4957 1
a4957 1
echo "configure:4959: checking pw_gecos in struct pwd" >&5
d4963 1
a4963 1
#line 4965 "configure"
d4970 1
a4970 1
if { (eval echo configure:4972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4996 1
a4996 1
echo "configure:4998: checking whether to use Aqua" >&5
d5023 1
a5023 1
echo "configure:5025: checking for 64-bit X11" >&5
d5034 1
a5034 1
#line 5036 "configure"
d5041 1
a5041 1
if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5101 1
a5101 1
echo "configure:5103: checking for X" >&5
d5163 1
a5163 1
#line 5165 "configure"
d5168 1
a5168 1
{ (eval echo configure:5170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5237 1
a5237 1
#line 5239 "configure"
d5244 1
a5244 1
if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5334 1
a5334 1
#line 5336 "configure"
d5339 1
a5339 1
{ (eval echo configure:5341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5359 1
a5359 1
echo "configure:5361: checking for X11 header files" >&5
d5362 1
a5362 1
#line 5364 "configure"
d5367 1
a5367 1
{ (eval echo configure:5369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d5403 1
a5403 1
echo "configure:5405: checking for X11 libraries" >&5
d5423 1
a5423 1
echo "configure:5425: checking for XCreateWindow in -lXwindow" >&5
d5431 1
a5431 1
#line 5433 "configure"
d5442 1
a5442 1
if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5519 1
a5519 1
echo "configure:5521: checking for main in -lXbsd" >&5
d5527 1
a5527 1
#line 5529 "configure"
d5534 1
a5534 1
if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5558 1
a5558 1
echo "configure:5560: checking for connect" >&5
d5563 1
a5563 1
#line 5565 "configure"
d5586 1
a5586 1
if { (eval echo configure:5588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5608 1
a5608 1
echo "configure:5610: checking for main in -lsocket" >&5
d5616 1
a5616 1
#line 5618 "configure"
d5623 1
a5623 1
if { (eval echo configure:5625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5649 1
a5649 1
echo "configure:5651: checking for accept" >&5
d5654 1
a5654 1
#line 5656 "configure"
d5677 1
a5677 1
if { (eval echo configure:5679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5699 1
a5699 1
echo "configure:5701: checking for gethostbyname" >&5
d5704 1
a5704 1
#line 5706 "configure"
d5727 1
a5727 1
if { (eval echo configure:5729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5745 1
a5745 1
echo "configure:5747: checking for main in -lnsl" >&5
d5753 1
a5753 1
#line 5755 "configure"
d5760 1
a5760 1
if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5796 1
a5796 1
echo "configure:5798: checking MIT X libraries" >&5
d5802 1
a5802 1
#line 5804 "configure"
d5813 1
a5813 1
if { (eval echo configure:5815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d5837 1
a5837 1
echo "configure:5839: checking whether char is unsigned" >&5
d5844 1
a5844 1
#line 5846 "configure"
d5866 1
a5866 1
#line 5868 "configure"
d5876 1
a5876 1
if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5937 1
a5937 1
echo "configure:5939: checking how to package libraries" >&5
@


1.64
log
@
	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl (HP xnet [Bug #651811]).
@
text
@d2765 1
a2765 1
	    EXTRA_CFLAGS="-DMA${HACK}C_OSX_TCL -DHAVE_CFBUNDLE -DTCL_DEFAULT_ENCODING=\\\"utf-8\\\""
@


1.63
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d2251 4
d2257 2
a2258 1

d2262 1
a2262 1
echo "configure:2258: checking for shl_load in -ldld" >&5
d2270 1
a2270 1
#line 2266 "configure"
d2281 1
a2281 1
if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2349 1
a2349 1
echo "configure:2345: checking for shl_load in -ldld" >&5
d2357 1
a2357 1
#line 2353 "configure"
d2368 1
a2368 1
if { (eval echo configure:2364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2495 1
a2495 1
echo "configure:2491: checking for dld.h" >&5
d2500 1
a2500 1
#line 2496 "configure"
d2505 1
a2505 1
{ (eval echo configure:2501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2570 1
a2570 1
echo "configure:2566: checking for dld.h" >&5
d2575 1
a2575 1
#line 2571 "configure"
d2580 1
a2580 1
{ (eval echo configure:2576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2638 1
a2638 1
echo "configure:2634: checking for dlfcn.h" >&5
d2643 1
a2643 1
#line 2639 "configure"
d2648 1
a2648 1
{ (eval echo configure:2644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2676 1
a2676 1
echo "configure:2672: checking for ELF" >&5
d2678 1
a2678 1
#line 2674 "configure"
d3036 1
a3036 1
echo "configure:3032: checking for ld accepts -Bexport flag" >&5
d3039 1
a3039 1
#line 3035 "configure"
d3046 1
a3046 1
if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3093 1
a3093 1
echo "configure:3089: checking sys/exec.h" >&5
d3095 1
a3095 1
#line 3091 "configure"
d3113 1
a3113 1
if { (eval echo configure:3109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3131 1
a3131 1
echo "configure:3127: checking a.out.h" >&5
d3133 1
a3133 1
#line 3129 "configure"
d3151 1
a3151 1
if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3169 1
a3169 1
echo "configure:3165: checking sys/exec_aout.h" >&5
d3171 1
a3171 1
#line 3167 "configure"
d3189 1
a3189 1
if { (eval echo configure:3185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3341 1
a3341 1
echo "configure:3337: checking for build with symbols" >&5
d3415 1
a3415 1
echo "configure:3411: checking for sin" >&5
d3420 1
a3420 1
#line 3416 "configure"
d3443 1
a3443 1
if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3464 1
a3464 1
echo "configure:3460: checking for main in -lieee" >&5
d3472 1
a3472 1
#line 3468 "configure"
d3479 1
a3479 1
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3510 1
a3510 1
echo "configure:3506: checking for gettimeofday in -lbsd" >&5
d3518 1
a3518 1
#line 3514 "configure"
d3529 1
a3529 1
if { (eval echo configure:3525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3560 1
a3560 1
echo "configure:3556: checking stdlib.h" >&5
d3562 1
a3562 1
#line 3558 "configure"
d3577 1
a3577 1
#line 3573 "configure"
d3591 1
a3591 1
#line 3587 "configure"
d3623 1
a3623 1
echo "configure:3619: checking fd_set and sys/select" >&5
d3625 1
a3625 1
#line 3621 "configure"
d3632 1
a3632 1
if { (eval echo configure:3628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3644 1
a3644 1
#line 3640 "configure"
d3676 1
a3676 1
echo "configure:3672: checking for ANSI C header files" >&5
d3681 1
a3681 1
#line 3677 "configure"
d3689 1
a3689 1
{ (eval echo configure:3685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3706 1
a3706 1
#line 3702 "configure"
d3724 1
a3724 1
#line 3720 "configure"
d3745 1
a3745 1
#line 3741 "configure"
d3756 1
a3756 1
if { (eval echo configure:3752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3780 1
a3780 1
echo "configure:3776: checking for mode_t" >&5
d3785 1
a3785 1
#line 3781 "configure"
d3813 1
a3813 1
echo "configure:3809: checking for pid_t" >&5
d3818 1
a3818 1
#line 3814 "configure"
d3846 1
a3846 1
echo "configure:3842: checking for size_t" >&5
d3851 1
a3851 1
#line 3847 "configure"
d3879 1
a3879 1
echo "configure:3875: checking for uid_t in sys/types.h" >&5
d3884 1
a3884 1
#line 3880 "configure"
d3921 1
a3921 1
echo "configure:3917: checking for $ac_hdr" >&5
d3926 1
a3926 1
#line 3922 "configure"
d3931 1
a3931 1
{ (eval echo configure:3927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3958 1
a3958 1
echo "configure:3954: checking whether time.h and sys/time.h may both be included" >&5
d3963 1
a3963 1
#line 3959 "configure"
d3972 1
a3972 1
if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3998 1
a3998 1
echo "configure:3994: checking pw_gecos in struct pwd" >&5
d4000 1
a4000 1
#line 3996 "configure"
d4007 1
a4007 1
if { (eval echo configure:4003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4040 1
a4040 1
echo "configure:4036: checking for X" >&5
d4102 1
a4102 1
#line 4098 "configure"
d4107 1
a4107 1
{ (eval echo configure:4103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4176 1
a4176 1
#line 4172 "configure"
d4183 1
a4183 1
if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4273 1
a4273 1
#line 4269 "configure"
d4278 1
a4278 1
{ (eval echo configure:4274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4298 1
a4298 1
echo "configure:4294: checking for X11 header files" >&5
d4301 1
a4301 1
#line 4297 "configure"
d4306 1
a4306 1
{ (eval echo configure:4302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4342 1
a4342 1
echo "configure:4338: checking for X11 libraries" >&5
d4362 1
a4362 1
echo "configure:4358: checking for XCreateWindow in -lXwindow" >&5
d4370 1
a4370 1
#line 4366 "configure"
d4381 1
a4381 1
if { (eval echo configure:4377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4455 1
a4455 1
echo "configure:4451: checking for main in -lXbsd" >&5
d4463 1
a4463 1
#line 4459 "configure"
d4470 1
a4470 1
if { (eval echo configure:4466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4493 1
a4493 1
echo "configure:4489: checking for connect" >&5
d4498 1
a4498 1
#line 4494 "configure"
d4521 1
a4521 1
if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4543 1
a4543 1
echo "configure:4539: checking for main in -lsocket" >&5
d4551 1
a4551 1
#line 4547 "configure"
d4558 1
a4558 1
if { (eval echo configure:4554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4584 1
a4584 1
echo "configure:4580: checking for accept" >&5
d4589 1
a4589 1
#line 4585 "configure"
d4612 1
a4612 1
if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4634 1
a4634 1
echo "configure:4630: checking for gethostbyname" >&5
d4639 1
a4639 1
#line 4635 "configure"
d4662 1
a4662 1
if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4680 1
a4680 1
echo "configure:4676: checking for main in -lnsl" >&5
d4688 1
a4688 1
#line 4684 "configure"
d4695 1
a4695 1
if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4735 1
a4735 1
echo "configure:4731: checking MIT X libraries" >&5
d4741 1
a4741 1
#line 4737 "configure"
d4752 1
a4752 1
if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4779 1
a4779 1
echo "configure:4775: checking for sin" >&5
d4784 1
a4784 1
#line 4780 "configure"
d4807 1
a4807 1
if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4828 1
a4828 1
echo "configure:4824: checking for main in -lieee" >&5
d4836 1
a4836 1
#line 4832 "configure"
d4843 1
a4843 1
if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4870 1
a4870 1
echo "configure:4866: checking whether char is unsigned" >&5
d4877 1
a4877 1
#line 4873 "configure"
d4899 1
a4899 1
#line 4895 "configure"
d4909 1
a4909 1
if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4942 1
a4942 1
echo "configure:4938: checking for strtod" >&5
d4947 1
a4947 1
#line 4943 "configure"
d4970 1
a4970 1
if { (eval echo configure:4966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4992 1
a4992 1
echo "configure:4988: checking for Solaris2.4/Tru64 strtod bugs" >&5
d5001 1
a5001 1
#line 4997 "configure"
d5024 1
a5024 1
if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.62
log
@	* README:             Bumped to 8.4.2.
	* generic/tk.h:
	* macosx/Wish.pbproj/project.pbxproj:
	* unix/configure:
	* unix/configure.in:
	* unix/tcl.m4:
	* unix/tk.spec:
	* win/configure:
	* win/configure.in:
@
text
@d1234 2
d1239 1
a1239 1
echo "configure:1238: checking for $ac_func" >&5
d1244 1
a1244 1
#line 1243 "configure"
d1267 1
a1267 1
if { (eval echo configure:1266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1291 1
d1295 1
a1295 1
echo "configure:1293: checking for $ac_func" >&5
d1300 1
a1300 1
#line 1298 "configure"
d1323 1
a1323 1
if { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1362 1
a1362 1
echo "configure:1360: checking if the compiler understands -pipe" >&5
d1366 1
a1366 1
#line 1364 "configure"
d1373 1
a1373 1
if { (eval echo configure:1371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1393 1
a1393 1
echo "configure:1391: checking for required early compiler flags" >&5
d1400 1
a1400 1
#line 1398 "configure"
d1407 1
a1407 1
if { (eval echo configure:1405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1415 1
a1415 1
#line 1413 "configure"
d1423 1
a1423 1
if { (eval echo configure:1421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1449 1
a1449 1
#line 1447 "configure"
d1456 1
a1456 1
if { (eval echo configure:1454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1464 1
a1464 1
#line 1462 "configure"
d1472 1
a1472 1
if { (eval echo configure:1470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1501 1
a1501 1
echo "configure:1499: checking for 64-bit integer type" >&5
d1509 1
a1509 1
#line 1507 "configure"
d1516 1
a1516 1
if { (eval echo configure:1514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1533 1
a1533 1
#line 1531 "configure"
d1539 1
a1539 1
if { (eval echo configure:1537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1568 1
a1568 1
echo "configure:1566: checking for struct dirent64" >&5
d1574 1
a1574 1
#line 1572 "configure"
d1582 1
a1582 1
if { (eval echo configure:1580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1603 1
a1603 1
echo "configure:1601: checking for struct stat64" >&5
d1609 1
a1609 1
#line 1607 "configure"
d1617 1
a1617 1
if { (eval echo configure:1615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1638 1
a1638 1
echo "configure:1636: checking for off64_t" >&5
d1644 1
a1644 1
#line 1642 "configure"
d1652 1
a1652 1
if { (eval echo configure:1650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1694 1
a1694 1
echo "configure:1692: checking for Tcl configuration" >&5
d1767 1
a1767 1
echo "configure:1765: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1822 1
a1822 1
echo "configure:1820: checking how to build libraries" >&5
d1855 1
a1855 1
echo "configure:1853: checking for $ac_word" >&5
d1887 1
a1887 1
echo "configure:1885: checking if 64bit support is requested" >&5
d1907 1
a1907 1
echo "configure:1905: checking if 64bit Sparc VIS support is requested" >&5
d1931 1
a1931 1
echo "configure:1929: checking system version (for dynamic loading)" >&5
d1957 1
a1957 1
echo "configure:1955: checking for dlopen in -ldl" >&5
d1965 1
a1965 1
#line 1963 "configure"
d1976 1
a1976 1
if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2024 1
a2024 1
echo "configure:2022: checking for $ac_word" >&5
d2153 1
a2153 1
echo "configure:2151: checking for gettimeofday in -lbsd" >&5
d2161 1
a2161 1
#line 2159 "configure"
d2172 1
a2172 1
if { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2257 1
a2257 1
echo "configure:2255: checking for shl_load in -ldld" >&5
d2265 1
a2265 1
#line 2263 "configure"
d2276 1
a2276 1
if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2344 1
a2344 1
echo "configure:2342: checking for shl_load in -ldld" >&5
d2352 1
a2352 1
#line 2350 "configure"
d2363 1
a2363 1
if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2490 1
a2490 1
echo "configure:2488: checking for dld.h" >&5
d2495 1
a2495 1
#line 2493 "configure"
d2500 1
a2500 1
{ (eval echo configure:2498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2565 1
a2565 1
echo "configure:2563: checking for dld.h" >&5
d2570 1
a2570 1
#line 2568 "configure"
d2575 1
a2575 1
{ (eval echo configure:2573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2633 1
a2633 1
echo "configure:2631: checking for dlfcn.h" >&5
d2638 1
a2638 1
#line 2636 "configure"
d2643 1
a2643 1
{ (eval echo configure:2641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2671 1
a2671 1
echo "configure:2669: checking for ELF" >&5
d2673 1
a2673 1
#line 2671 "configure"
d3031 1
a3031 1
echo "configure:3029: checking for ld accepts -Bexport flag" >&5
d3034 1
a3034 1
#line 3032 "configure"
d3041 1
a3041 1
if { (eval echo configure:3039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3088 1
a3088 1
echo "configure:3086: checking sys/exec.h" >&5
d3090 1
a3090 1
#line 3088 "configure"
d3108 1
a3108 1
if { (eval echo configure:3106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3126 1
a3126 1
echo "configure:3124: checking a.out.h" >&5
d3128 1
a3128 1
#line 3126 "configure"
d3146 1
a3146 1
if { (eval echo configure:3144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3164 1
a3164 1
echo "configure:3162: checking sys/exec_aout.h" >&5
d3166 1
a3166 1
#line 3164 "configure"
d3184 1
a3184 1
if { (eval echo configure:3182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3336 1
a3336 1
echo "configure:3334: checking for build with symbols" >&5
d3410 1
a3410 1
echo "configure:3408: checking for sin" >&5
d3415 1
a3415 1
#line 3413 "configure"
d3438 1
a3438 1
if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3459 1
a3459 1
echo "configure:3457: checking for main in -lieee" >&5
d3467 1
a3467 1
#line 3465 "configure"
d3474 1
a3474 1
if { (eval echo configure:3472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3505 1
a3505 1
echo "configure:3503: checking for gettimeofday in -lbsd" >&5
d3513 1
a3513 1
#line 3511 "configure"
d3524 1
a3524 1
if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3555 1
a3555 1
echo "configure:3553: checking stdlib.h" >&5
d3557 1
a3557 1
#line 3555 "configure"
d3572 1
a3572 1
#line 3570 "configure"
d3586 1
a3586 1
#line 3584 "configure"
d3618 1
a3618 1
echo "configure:3616: checking fd_set and sys/select" >&5
d3620 1
a3620 1
#line 3618 "configure"
d3627 1
a3627 1
if { (eval echo configure:3625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3639 1
a3639 1
#line 3637 "configure"
d3671 1
a3671 1
echo "configure:3669: checking for ANSI C header files" >&5
d3676 1
a3676 1
#line 3674 "configure"
d3684 1
a3684 1
{ (eval echo configure:3682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3701 1
a3701 1
#line 3699 "configure"
d3719 1
a3719 1
#line 3717 "configure"
d3740 1
a3740 1
#line 3738 "configure"
d3751 1
a3751 1
if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3775 1
a3775 1
echo "configure:3773: checking for mode_t" >&5
d3780 1
a3780 1
#line 3778 "configure"
d3808 1
a3808 1
echo "configure:3806: checking for pid_t" >&5
d3813 1
a3813 1
#line 3811 "configure"
d3841 1
a3841 1
echo "configure:3839: checking for size_t" >&5
d3846 1
a3846 1
#line 3844 "configure"
d3874 1
a3874 1
echo "configure:3872: checking for uid_t in sys/types.h" >&5
d3879 1
a3879 1
#line 3877 "configure"
d3916 1
a3916 1
echo "configure:3914: checking for $ac_hdr" >&5
d3921 1
a3921 1
#line 3919 "configure"
d3926 1
a3926 1
{ (eval echo configure:3924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3953 1
a3953 1
echo "configure:3951: checking whether time.h and sys/time.h may both be included" >&5
d3958 1
a3958 1
#line 3956 "configure"
d3967 1
a3967 1
if { (eval echo configure:3965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3993 1
a3993 1
echo "configure:3991: checking pw_gecos in struct pwd" >&5
d3995 1
a3995 1
#line 3993 "configure"
d4002 1
a4002 1
if { (eval echo configure:4000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4035 1
a4035 1
echo "configure:4033: checking for X" >&5
d4097 1
a4097 1
#line 4095 "configure"
d4102 1
a4102 1
{ (eval echo configure:4100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4171 1
a4171 1
#line 4169 "configure"
d4178 1
a4178 1
if { (eval echo configure:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4268 1
a4268 1
#line 4266 "configure"
d4273 1
a4273 1
{ (eval echo configure:4271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4293 1
a4293 1
echo "configure:4291: checking for X11 header files" >&5
d4296 1
a4296 1
#line 4294 "configure"
d4301 1
a4301 1
{ (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4337 1
a4337 1
echo "configure:4335: checking for X11 libraries" >&5
d4357 1
a4357 1
echo "configure:4355: checking for XCreateWindow in -lXwindow" >&5
d4365 1
a4365 1
#line 4363 "configure"
d4376 1
a4376 1
if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4450 1
a4450 1
echo "configure:4448: checking for main in -lXbsd" >&5
d4458 1
a4458 1
#line 4456 "configure"
d4465 1
a4465 1
if { (eval echo configure:4463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4488 1
a4488 1
echo "configure:4486: checking for connect" >&5
d4493 1
a4493 1
#line 4491 "configure"
d4516 1
a4516 1
if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4538 1
a4538 1
echo "configure:4536: checking for main in -lsocket" >&5
d4546 1
a4546 1
#line 4544 "configure"
d4553 1
a4553 1
if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4579 1
a4579 1
echo "configure:4577: checking for accept" >&5
d4584 1
a4584 1
#line 4582 "configure"
d4607 1
a4607 1
if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4629 1
a4629 1
echo "configure:4627: checking for gethostbyname" >&5
d4634 1
a4634 1
#line 4632 "configure"
d4657 1
a4657 1
if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4675 1
a4675 1
echo "configure:4673: checking for main in -lnsl" >&5
d4683 1
a4683 1
#line 4681 "configure"
d4690 1
a4690 1
if { (eval echo configure:4688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4730 1
a4730 1
echo "configure:4728: checking MIT X libraries" >&5
d4736 1
a4736 1
#line 4734 "configure"
d4747 1
a4747 1
if { (eval echo configure:4745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4774 1
a4774 1
echo "configure:4772: checking for sin" >&5
d4779 1
a4779 1
#line 4777 "configure"
d4802 1
a4802 1
if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4823 1
a4823 1
echo "configure:4821: checking for main in -lieee" >&5
d4831 1
a4831 1
#line 4829 "configure"
d4838 1
a4838 1
if { (eval echo configure:4836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4865 1
a4865 1
echo "configure:4863: checking whether char is unsigned" >&5
d4872 1
a4872 1
#line 4870 "configure"
d4894 1
a4894 1
#line 4892 "configure"
d4904 1
a4904 1
if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4937 1
a4937 1
echo "configure:4935: checking for strtod" >&5
d4942 1
a4942 1
#line 4940 "configure"
d4965 1
a4965 1
if { (eval echo configure:4963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4987 1
a4987 1
echo "configure:4985: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4996 1
a4996 1
#line 4994 "configure"
d5019 1
a5019 1
if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.61
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen.
	* win/configure.in: Check that AR, RANLIB, and RC
	are found on the path when building with gcc.
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".1"
d2328 7
a2334 2
		    EXTRA_CFLAGS="+DA2.0W"
		    LDFLAGS="+DA2.0W $LDFLAGS"
d2341 1
a2341 1
echo "configure:2337: checking for shl_load in -ldld" >&5
d2349 1
a2349 1
#line 2345 "configure"
d2360 1
a2360 1
if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2487 1
a2487 1
echo "configure:2483: checking for dld.h" >&5
d2492 1
a2492 1
#line 2488 "configure"
d2497 1
a2497 1
{ (eval echo configure:2493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2562 1
a2562 1
echo "configure:2558: checking for dld.h" >&5
d2567 1
a2567 1
#line 2563 "configure"
d2572 1
a2572 1
{ (eval echo configure:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2630 1
a2630 1
echo "configure:2626: checking for dlfcn.h" >&5
d2635 1
a2635 1
#line 2631 "configure"
d2640 1
a2640 1
{ (eval echo configure:2636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2668 1
a2668 1
echo "configure:2664: checking for ELF" >&5
d2670 1
a2670 1
#line 2666 "configure"
d3028 1
a3028 1
echo "configure:3024: checking for ld accepts -Bexport flag" >&5
d3031 1
a3031 1
#line 3027 "configure"
d3038 1
a3038 1
if { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3085 1
a3085 1
echo "configure:3081: checking sys/exec.h" >&5
d3087 1
a3087 1
#line 3083 "configure"
d3105 1
a3105 1
if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3123 1
a3123 1
echo "configure:3119: checking a.out.h" >&5
d3125 1
a3125 1
#line 3121 "configure"
d3143 1
a3143 1
if { (eval echo configure:3139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3161 1
a3161 1
echo "configure:3157: checking sys/exec_aout.h" >&5
d3163 1
a3163 1
#line 3159 "configure"
d3181 1
a3181 1
if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3333 1
a3333 1
echo "configure:3329: checking for build with symbols" >&5
d3407 1
a3407 1
echo "configure:3403: checking for sin" >&5
d3412 1
a3412 1
#line 3408 "configure"
d3435 1
a3435 1
if { (eval echo configure:3431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3456 1
a3456 1
echo "configure:3452: checking for main in -lieee" >&5
d3464 1
a3464 1
#line 3460 "configure"
d3471 1
a3471 1
if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3502 1
a3502 1
echo "configure:3498: checking for gettimeofday in -lbsd" >&5
d3510 1
a3510 1
#line 3506 "configure"
d3521 1
a3521 1
if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3552 1
a3552 1
echo "configure:3548: checking stdlib.h" >&5
d3554 1
a3554 1
#line 3550 "configure"
d3569 1
a3569 1
#line 3565 "configure"
d3583 1
a3583 1
#line 3579 "configure"
d3615 1
a3615 1
echo "configure:3611: checking fd_set and sys/select" >&5
d3617 1
a3617 1
#line 3613 "configure"
d3624 1
a3624 1
if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3636 1
a3636 1
#line 3632 "configure"
d3668 1
a3668 1
echo "configure:3664: checking for ANSI C header files" >&5
d3673 1
a3673 1
#line 3669 "configure"
d3681 1
a3681 1
{ (eval echo configure:3677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3698 1
a3698 1
#line 3694 "configure"
d3716 1
a3716 1
#line 3712 "configure"
d3737 1
a3737 1
#line 3733 "configure"
d3748 1
a3748 1
if { (eval echo configure:3744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3772 1
a3772 1
echo "configure:3768: checking for mode_t" >&5
d3777 1
a3777 1
#line 3773 "configure"
d3805 1
a3805 1
echo "configure:3801: checking for pid_t" >&5
d3810 1
a3810 1
#line 3806 "configure"
d3838 1
a3838 1
echo "configure:3834: checking for size_t" >&5
d3843 1
a3843 1
#line 3839 "configure"
d3871 1
a3871 1
echo "configure:3867: checking for uid_t in sys/types.h" >&5
d3876 1
a3876 1
#line 3872 "configure"
d3913 1
a3913 1
echo "configure:3909: checking for $ac_hdr" >&5
d3918 1
a3918 1
#line 3914 "configure"
d3923 1
a3923 1
{ (eval echo configure:3919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3950 1
a3950 1
echo "configure:3946: checking whether time.h and sys/time.h may both be included" >&5
d3955 1
a3955 1
#line 3951 "configure"
d3964 1
a3964 1
if { (eval echo configure:3960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3990 1
a3990 1
echo "configure:3986: checking pw_gecos in struct pwd" >&5
d3992 1
a3992 1
#line 3988 "configure"
d3999 1
a3999 1
if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4032 1
a4032 1
echo "configure:4028: checking for X" >&5
d4094 1
a4094 1
#line 4090 "configure"
d4099 1
a4099 1
{ (eval echo configure:4095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4168 1
a4168 1
#line 4164 "configure"
d4175 1
a4175 1
if { (eval echo configure:4171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4265 1
a4265 1
#line 4261 "configure"
d4270 1
a4270 1
{ (eval echo configure:4266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4290 1
a4290 1
echo "configure:4286: checking for X11 header files" >&5
d4293 1
a4293 1
#line 4289 "configure"
d4298 1
a4298 1
{ (eval echo configure:4294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4334 1
a4334 1
echo "configure:4330: checking for X11 libraries" >&5
d4354 1
a4354 1
echo "configure:4350: checking for XCreateWindow in -lXwindow" >&5
d4362 1
a4362 1
#line 4358 "configure"
d4373 1
a4373 1
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4447 1
a4447 1
echo "configure:4443: checking for main in -lXbsd" >&5
d4455 1
a4455 1
#line 4451 "configure"
d4462 1
a4462 1
if { (eval echo configure:4458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4485 1
a4485 1
echo "configure:4481: checking for connect" >&5
d4490 1
a4490 1
#line 4486 "configure"
d4513 1
a4513 1
if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4535 1
a4535 1
echo "configure:4531: checking for main in -lsocket" >&5
d4543 1
a4543 1
#line 4539 "configure"
d4550 1
a4550 1
if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4576 1
a4576 1
echo "configure:4572: checking for accept" >&5
d4581 1
a4581 1
#line 4577 "configure"
d4604 1
a4604 1
if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4626 1
a4626 1
echo "configure:4622: checking for gethostbyname" >&5
d4631 1
a4631 1
#line 4627 "configure"
d4654 1
a4654 1
if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4672 1
a4672 1
echo "configure:4668: checking for main in -lnsl" >&5
d4680 1
a4680 1
#line 4676 "configure"
d4687 1
a4687 1
if { (eval echo configure:4683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4727 1
a4727 1
echo "configure:4723: checking MIT X libraries" >&5
d4733 1
a4733 1
#line 4729 "configure"
d4744 1
a4744 1
if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4771 1
a4771 1
echo "configure:4767: checking for sin" >&5
d4776 1
a4776 1
#line 4772 "configure"
d4799 1
a4799 1
if { (eval echo configure:4795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4820 1
a4820 1
echo "configure:4816: checking for main in -lieee" >&5
d4828 1
a4828 1
#line 4824 "configure"
d4835 1
a4835 1
if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4862 1
a4862 1
echo "configure:4858: checking whether char is unsigned" >&5
d4869 1
a4869 1
#line 4865 "configure"
d4891 1
a4891 1
#line 4887 "configure"
d4901 1
a4901 1
if { (eval echo configure:4897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4934 1
a4934 1
echo "configure:4930: checking for strtod" >&5
d4939 1
a4939 1
#line 4935 "configure"
d4962 1
a4962 1
if { (eval echo configure:4958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4984 1
a4984 1
echo "configure:4980: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4993 1
a4993 1
#line 4989 "configure"
d5016 1
a5016 1
if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.60
log
@	* unix/configure:
	* unix/tcl.m4: add AIX-5 ppc build support. Remove unused
	SC_ENABLE_MEMDEBUG.
@
text
@d2047 3
d2150 1
a2150 1
echo "configure:2148: checking for gettimeofday in -lbsd" >&5
d2158 1
a2158 1
#line 2156 "configure"
d2169 1
a2169 1
if { (eval echo configure:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2254 1
a2254 1
echo "configure:2252: checking for shl_load in -ldld" >&5
d2262 1
a2262 1
#line 2260 "configure"
d2273 1
a2273 1
if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2312 1
a2312 1
		    hpux_arch='`gcc -dumpmachine`'
d2320 1
d2336 1
a2336 1
echo "configure:2333: checking for shl_load in -ldld" >&5
d2344 1
a2344 1
#line 2341 "configure"
d2355 1
a2355 1
if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2482 1
a2482 1
echo "configure:2479: checking for dld.h" >&5
d2487 1
a2487 1
#line 2484 "configure"
d2492 1
a2492 1
{ (eval echo configure:2489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2557 1
a2557 1
echo "configure:2554: checking for dld.h" >&5
d2562 1
a2562 1
#line 2559 "configure"
d2567 1
a2567 1
{ (eval echo configure:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2625 1
a2625 1
echo "configure:2622: checking for dlfcn.h" >&5
d2630 1
a2630 1
#line 2627 "configure"
d2635 1
a2635 1
{ (eval echo configure:2632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2663 1
a2663 1
echo "configure:2660: checking for ELF" >&5
d2665 1
a2665 1
#line 2662 "configure"
d3023 1
a3023 1
echo "configure:3020: checking for ld accepts -Bexport flag" >&5
d3026 1
a3026 1
#line 3023 "configure"
d3033 1
a3033 1
if { (eval echo configure:3030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3080 1
a3080 1
echo "configure:3077: checking sys/exec.h" >&5
d3082 1
a3082 1
#line 3079 "configure"
d3100 1
a3100 1
if { (eval echo configure:3097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3118 1
a3118 1
echo "configure:3115: checking a.out.h" >&5
d3120 1
a3120 1
#line 3117 "configure"
d3138 1
a3138 1
if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3156 1
a3156 1
echo "configure:3153: checking sys/exec_aout.h" >&5
d3158 1
a3158 1
#line 3155 "configure"
d3176 1
a3176 1
if { (eval echo configure:3173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3328 1
a3328 1
echo "configure:3325: checking for build with symbols" >&5
d3361 11
d3374 1
a3374 1
	    echo "$ac_t""enabled symbols mem debugging" 1>&6
d3402 1
a3402 1
echo "configure:3388: checking for sin" >&5
d3407 1
a3407 1
#line 3393 "configure"
d3430 1
a3430 1
if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3451 1
a3451 1
echo "configure:3437: checking for main in -lieee" >&5
d3459 1
a3459 1
#line 3445 "configure"
d3466 1
a3466 1
if { (eval echo configure:3452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3497 1
a3497 1
echo "configure:3483: checking for gettimeofday in -lbsd" >&5
d3505 1
a3505 1
#line 3491 "configure"
d3516 1
a3516 1
if { (eval echo configure:3502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3547 1
a3547 1
echo "configure:3533: checking stdlib.h" >&5
d3549 1
a3549 1
#line 3535 "configure"
d3564 1
a3564 1
#line 3550 "configure"
d3578 1
a3578 1
#line 3564 "configure"
d3610 1
a3610 1
echo "configure:3596: checking fd_set and sys/select" >&5
d3612 1
a3612 1
#line 3598 "configure"
d3619 1
a3619 1
if { (eval echo configure:3605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3631 1
a3631 1
#line 3617 "configure"
d3663 1
a3663 1
echo "configure:3649: checking for ANSI C header files" >&5
d3668 1
a3668 1
#line 3654 "configure"
d3676 1
a3676 1
{ (eval echo configure:3662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3693 1
a3693 1
#line 3679 "configure"
d3711 1
a3711 1
#line 3697 "configure"
d3732 1
a3732 1
#line 3718 "configure"
d3743 1
a3743 1
if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3767 1
a3767 1
echo "configure:3753: checking for mode_t" >&5
d3772 1
a3772 1
#line 3758 "configure"
d3800 1
a3800 1
echo "configure:3786: checking for pid_t" >&5
d3805 1
a3805 1
#line 3791 "configure"
d3833 1
a3833 1
echo "configure:3819: checking for size_t" >&5
d3838 1
a3838 1
#line 3824 "configure"
d3866 1
a3866 1
echo "configure:3852: checking for uid_t in sys/types.h" >&5
d3871 1
a3871 1
#line 3857 "configure"
d3908 1
a3908 1
echo "configure:3894: checking for $ac_hdr" >&5
d3913 1
a3913 1
#line 3899 "configure"
d3918 1
a3918 1
{ (eval echo configure:3904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3945 1
a3945 1
echo "configure:3931: checking whether time.h and sys/time.h may both be included" >&5
d3950 1
a3950 1
#line 3936 "configure"
d3959 1
a3959 1
if { (eval echo configure:3945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3985 1
a3985 1
echo "configure:3971: checking pw_gecos in struct pwd" >&5
d3987 1
a3987 1
#line 3973 "configure"
d3994 1
a3994 1
if { (eval echo configure:3980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4027 1
a4027 1
echo "configure:4013: checking for X" >&5
d4089 1
a4089 1
#line 4075 "configure"
d4094 1
a4094 1
{ (eval echo configure:4080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4163 1
a4163 1
#line 4149 "configure"
d4170 1
a4170 1
if { (eval echo configure:4156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4260 1
a4260 1
#line 4246 "configure"
d4265 1
a4265 1
{ (eval echo configure:4251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4285 1
a4285 1
echo "configure:4271: checking for X11 header files" >&5
d4288 1
a4288 1
#line 4274 "configure"
d4293 1
a4293 1
{ (eval echo configure:4279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4329 1
a4329 1
echo "configure:4315: checking for X11 libraries" >&5
d4349 1
a4349 1
echo "configure:4335: checking for XCreateWindow in -lXwindow" >&5
d4357 1
a4357 1
#line 4343 "configure"
d4368 1
a4368 1
if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4442 1
a4442 1
echo "configure:4428: checking for main in -lXbsd" >&5
d4450 1
a4450 1
#line 4436 "configure"
d4457 1
a4457 1
if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4480 1
a4480 1
echo "configure:4466: checking for connect" >&5
d4485 1
a4485 1
#line 4471 "configure"
d4508 1
a4508 1
if { (eval echo configure:4494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4530 1
a4530 1
echo "configure:4516: checking for main in -lsocket" >&5
d4538 1
a4538 1
#line 4524 "configure"
d4545 1
a4545 1
if { (eval echo configure:4531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4571 1
a4571 1
echo "configure:4557: checking for accept" >&5
d4576 1
a4576 1
#line 4562 "configure"
d4599 1
a4599 1
if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4621 1
a4621 1
echo "configure:4607: checking for gethostbyname" >&5
d4626 1
a4626 1
#line 4612 "configure"
d4649 1
a4649 1
if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4667 1
a4667 1
echo "configure:4653: checking for main in -lnsl" >&5
d4675 1
a4675 1
#line 4661 "configure"
d4682 1
a4682 1
if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4722 1
a4722 1
echo "configure:4708: checking MIT X libraries" >&5
d4728 1
a4728 1
#line 4714 "configure"
d4739 1
a4739 1
if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4766 1
a4766 1
echo "configure:4752: checking for sin" >&5
d4771 1
a4771 1
#line 4757 "configure"
d4794 1
a4794 1
if { (eval echo configure:4780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4815 1
a4815 1
echo "configure:4801: checking for main in -lieee" >&5
d4823 1
a4823 1
#line 4809 "configure"
d4830 1
a4830 1
if { (eval echo configure:4816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4857 1
a4857 1
echo "configure:4843: checking whether char is unsigned" >&5
d4864 1
a4864 1
#line 4850 "configure"
d4886 1
a4886 1
#line 4872 "configure"
d4896 1
a4896 1
if { (eval echo configure:4882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4929 1
a4929 1
echo "configure:4915: checking for strtod" >&5
d4934 1
a4934 1
#line 4920 "configure"
d4957 1
a4957 1
if { (eval echo configure:4943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4979 1
a4979 1
echo "configure:4965: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4988 1
a4988 1
#line 4974 "configure"
d5011 1
a5011 1
if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.59
log
@	* unix/README: doc'ed --enable-symbols options.
	* unix/Makefile.in: comment docs
	* unix/configure: regen
	* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
	SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
@
text
@d2062 21
a2082 1
	    SHLIB_LD="/usr/ccs/bin/ld -G -z text"
a2086 2
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
a2087 2
	    # AIX-5 has dl* in libc.so
	    DL_LIBS=""
a2089 6
	    if test "$GCC" = "yes" ; then
	        CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
	    else
	        CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    fi
	    LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
d2147 1
a2147 1
echo "configure:2138: checking for gettimeofday in -lbsd" >&5
d2155 1
a2155 1
#line 2146 "configure"
d2166 1
a2166 1
if { (eval echo configure:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2251 1
a2251 1
echo "configure:2242: checking for shl_load in -ldld" >&5
d2259 1
a2259 1
#line 2250 "configure"
d2270 1
a2270 1
if { (eval echo configure:2261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2332 1
a2332 1
echo "configure:2323: checking for shl_load in -ldld" >&5
d2340 1
a2340 1
#line 2331 "configure"
d2351 1
a2351 1
if { (eval echo configure:2342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2455 1

d2478 1
a2478 1
echo "configure:2470: checking for dld.h" >&5
d2483 1
a2483 1
#line 2475 "configure"
d2488 1
a2488 1
{ (eval echo configure:2480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2553 1
a2553 1
echo "configure:2545: checking for dld.h" >&5
d2558 1
a2558 1
#line 2550 "configure"
d2563 1
a2563 1
{ (eval echo configure:2555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2621 1
a2621 1
echo "configure:2613: checking for dlfcn.h" >&5
d2626 1
a2626 1
#line 2618 "configure"
d2631 1
a2631 1
{ (eval echo configure:2623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2659 1
a2659 1
echo "configure:2651: checking for ELF" >&5
d2661 1
a2661 1
#line 2653 "configure"
d3019 1
a3019 1
echo "configure:3011: checking for ld accepts -Bexport flag" >&5
d3022 1
a3022 1
#line 3014 "configure"
d3029 1
a3029 1
if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3076 1
a3076 1
echo "configure:3068: checking sys/exec.h" >&5
d3078 1
a3078 1
#line 3070 "configure"
d3096 1
a3096 1
if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3114 1
a3114 1
echo "configure:3106: checking a.out.h" >&5
d3116 1
a3116 1
#line 3108 "configure"
d3134 1
a3134 1
if { (eval echo configure:3126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3152 1
a3152 1
echo "configure:3144: checking sys/exec_aout.h" >&5
d3154 1
a3154 1
#line 3146 "configure"
d3172 1
a3172 1
if { (eval echo configure:3164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3324 1
a3324 1
echo "configure:3316: checking for build with symbols" >&5
d3387 1
a3387 1
echo "configure:3379: checking for sin" >&5
d3392 1
a3392 1
#line 3384 "configure"
d3415 1
a3415 1
if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3436 1
a3436 1
echo "configure:3428: checking for main in -lieee" >&5
d3444 1
a3444 1
#line 3436 "configure"
d3451 1
a3451 1
if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3482 1
a3482 1
echo "configure:3474: checking for gettimeofday in -lbsd" >&5
d3490 1
a3490 1
#line 3482 "configure"
d3501 1
a3501 1
if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3532 1
a3532 1
echo "configure:3524: checking stdlib.h" >&5
d3534 1
a3534 1
#line 3526 "configure"
d3549 1
a3549 1
#line 3541 "configure"
d3563 1
a3563 1
#line 3555 "configure"
d3595 1
a3595 1
echo "configure:3587: checking fd_set and sys/select" >&5
d3597 1
a3597 1
#line 3589 "configure"
d3604 1
a3604 1
if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3616 1
a3616 1
#line 3608 "configure"
d3648 1
a3648 1
echo "configure:3640: checking for ANSI C header files" >&5
d3653 1
a3653 1
#line 3645 "configure"
d3661 1
a3661 1
{ (eval echo configure:3653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3678 1
a3678 1
#line 3670 "configure"
d3696 1
a3696 1
#line 3688 "configure"
d3717 1
a3717 1
#line 3709 "configure"
d3728 1
a3728 1
if { (eval echo configure:3720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3752 1
a3752 1
echo "configure:3744: checking for mode_t" >&5
d3757 1
a3757 1
#line 3749 "configure"
d3785 1
a3785 1
echo "configure:3777: checking for pid_t" >&5
d3790 1
a3790 1
#line 3782 "configure"
d3818 1
a3818 1
echo "configure:3810: checking for size_t" >&5
d3823 1
a3823 1
#line 3815 "configure"
d3851 1
a3851 1
echo "configure:3843: checking for uid_t in sys/types.h" >&5
d3856 1
a3856 1
#line 3848 "configure"
d3893 1
a3893 1
echo "configure:3885: checking for $ac_hdr" >&5
d3898 1
a3898 1
#line 3890 "configure"
d3903 1
a3903 1
{ (eval echo configure:3895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3930 1
a3930 1
echo "configure:3922: checking whether time.h and sys/time.h may both be included" >&5
d3935 1
a3935 1
#line 3927 "configure"
d3944 1
a3944 1
if { (eval echo configure:3936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3970 1
a3970 1
echo "configure:3962: checking pw_gecos in struct pwd" >&5
d3972 1
a3972 1
#line 3964 "configure"
d3979 1
a3979 1
if { (eval echo configure:3971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4012 1
a4012 1
echo "configure:4004: checking for X" >&5
d4074 1
a4074 1
#line 4066 "configure"
d4079 1
a4079 1
{ (eval echo configure:4071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4148 1
a4148 1
#line 4140 "configure"
d4155 1
a4155 1
if { (eval echo configure:4147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4245 1
a4245 1
#line 4237 "configure"
d4250 1
a4250 1
{ (eval echo configure:4242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4270 1
a4270 1
echo "configure:4262: checking for X11 header files" >&5
d4273 1
a4273 1
#line 4265 "configure"
d4278 1
a4278 1
{ (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4314 1
a4314 1
echo "configure:4306: checking for X11 libraries" >&5
d4334 1
a4334 1
echo "configure:4326: checking for XCreateWindow in -lXwindow" >&5
d4342 1
a4342 1
#line 4334 "configure"
d4353 1
a4353 1
if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4427 1
a4427 1
echo "configure:4419: checking for main in -lXbsd" >&5
d4435 1
a4435 1
#line 4427 "configure"
d4442 1
a4442 1
if { (eval echo configure:4434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4465 1
a4465 1
echo "configure:4457: checking for connect" >&5
d4470 1
a4470 1
#line 4462 "configure"
d4493 1
a4493 1
if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4515 1
a4515 1
echo "configure:4507: checking for main in -lsocket" >&5
d4523 1
a4523 1
#line 4515 "configure"
d4530 1
a4530 1
if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4556 1
a4556 1
echo "configure:4548: checking for accept" >&5
d4561 1
a4561 1
#line 4553 "configure"
d4584 1
a4584 1
if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4606 1
a4606 1
echo "configure:4598: checking for gethostbyname" >&5
d4611 1
a4611 1
#line 4603 "configure"
d4634 1
a4634 1
if { (eval echo configure:4626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4652 1
a4652 1
echo "configure:4644: checking for main in -lnsl" >&5
d4660 1
a4660 1
#line 4652 "configure"
d4667 1
a4667 1
if { (eval echo configure:4659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4707 1
a4707 1
echo "configure:4699: checking MIT X libraries" >&5
d4713 1
a4713 1
#line 4705 "configure"
d4724 1
a4724 1
if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4751 1
a4751 1
echo "configure:4743: checking for sin" >&5
d4756 1
a4756 1
#line 4748 "configure"
d4779 1
a4779 1
if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4800 1
a4800 1
echo "configure:4792: checking for main in -lieee" >&5
d4808 1
a4808 1
#line 4800 "configure"
d4815 1
a4815 1
if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4842 1
a4842 1
echo "configure:4834: checking whether char is unsigned" >&5
d4849 1
a4849 1
#line 4841 "configure"
d4871 1
a4871 1
#line 4863 "configure"
d4881 1
a4881 1
if { (eval echo configure:4873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4914 1
a4914 1
echo "configure:4906: checking for strtod" >&5
d4919 1
a4919 1
#line 4911 "configure"
d4942 1
a4942 1
if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4964 1
a4964 1
echo "configure:4956: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4973 1
a4973 1
#line 4965 "configure"
d4996 1
a4996 1
if { (eval echo configure:4988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.58
log
@        * README:               Bumped to version 8.4.1 to avoid confusion
        * generic/tk.h:         of CVS snapshots with release 8.4.0.
        * unix/README:
        * unix/configure.in:
        * unix/tk.spec
        * win/configure.in:

        * unix/configure:       autoconf
        * win/configure:
@
text
@d3325 1
a3325 6
    if test "$tcl_ok" = "yes"; then
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
	DBGX=g
	echo "$ac_t""yes" 1>&6
    else
d3330 7
d3341 15
d3378 1
a3378 1
echo "configure:3362: checking for sin" >&5
d3383 1
a3383 1
#line 3367 "configure"
d3406 1
a3406 1
if { (eval echo configure:3390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3427 1
a3427 1
echo "configure:3411: checking for main in -lieee" >&5
d3435 1
a3435 1
#line 3419 "configure"
d3442 1
a3442 1
if { (eval echo configure:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3473 1
a3473 1
echo "configure:3457: checking for gettimeofday in -lbsd" >&5
d3481 1
a3481 1
#line 3465 "configure"
d3492 1
a3492 1
if { (eval echo configure:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3523 1
a3523 1
echo "configure:3507: checking stdlib.h" >&5
d3525 1
a3525 1
#line 3509 "configure"
d3540 1
a3540 1
#line 3524 "configure"
d3554 1
a3554 1
#line 3538 "configure"
d3586 1
a3586 1
echo "configure:3570: checking fd_set and sys/select" >&5
d3588 1
a3588 1
#line 3572 "configure"
d3595 1
a3595 1
if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3607 1
a3607 1
#line 3591 "configure"
d3639 1
a3639 1
echo "configure:3623: checking for ANSI C header files" >&5
d3644 1
a3644 1
#line 3628 "configure"
d3652 1
a3652 1
{ (eval echo configure:3636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3669 1
a3669 1
#line 3653 "configure"
d3687 1
a3687 1
#line 3671 "configure"
d3708 1
a3708 1
#line 3692 "configure"
d3719 1
a3719 1
if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3743 1
a3743 1
echo "configure:3727: checking for mode_t" >&5
d3748 1
a3748 1
#line 3732 "configure"
d3776 1
a3776 1
echo "configure:3760: checking for pid_t" >&5
d3781 1
a3781 1
#line 3765 "configure"
d3809 1
a3809 1
echo "configure:3793: checking for size_t" >&5
d3814 1
a3814 1
#line 3798 "configure"
d3842 1
a3842 1
echo "configure:3826: checking for uid_t in sys/types.h" >&5
d3847 1
a3847 1
#line 3831 "configure"
d3884 1
a3884 1
echo "configure:3868: checking for $ac_hdr" >&5
d3889 1
a3889 1
#line 3873 "configure"
d3894 1
a3894 1
{ (eval echo configure:3878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3921 1
a3921 1
echo "configure:3905: checking whether time.h and sys/time.h may both be included" >&5
d3926 1
a3926 1
#line 3910 "configure"
d3935 1
a3935 1
if { (eval echo configure:3919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3961 1
a3961 1
echo "configure:3945: checking pw_gecos in struct pwd" >&5
d3963 1
a3963 1
#line 3947 "configure"
d3970 1
a3970 1
if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d4003 1
a4003 1
echo "configure:3987: checking for X" >&5
d4065 1
a4065 1
#line 4049 "configure"
d4070 1
a4070 1
{ (eval echo configure:4054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4139 1
a4139 1
#line 4123 "configure"
d4146 1
a4146 1
if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4236 1
a4236 1
#line 4220 "configure"
d4241 1
a4241 1
{ (eval echo configure:4225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4261 1
a4261 1
echo "configure:4245: checking for X11 header files" >&5
d4264 1
a4264 1
#line 4248 "configure"
d4269 1
a4269 1
{ (eval echo configure:4253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4305 1
a4305 1
echo "configure:4289: checking for X11 libraries" >&5
d4325 1
a4325 1
echo "configure:4309: checking for XCreateWindow in -lXwindow" >&5
d4333 1
a4333 1
#line 4317 "configure"
d4344 1
a4344 1
if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4418 1
a4418 1
echo "configure:4402: checking for main in -lXbsd" >&5
d4426 1
a4426 1
#line 4410 "configure"
d4433 1
a4433 1
if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4456 1
a4456 1
echo "configure:4440: checking for connect" >&5
d4461 1
a4461 1
#line 4445 "configure"
d4484 1
a4484 1
if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4506 1
a4506 1
echo "configure:4490: checking for main in -lsocket" >&5
d4514 1
a4514 1
#line 4498 "configure"
d4521 1
a4521 1
if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4547 1
a4547 1
echo "configure:4531: checking for accept" >&5
d4552 1
a4552 1
#line 4536 "configure"
d4575 1
a4575 1
if { (eval echo configure:4559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4597 1
a4597 1
echo "configure:4581: checking for gethostbyname" >&5
d4602 1
a4602 1
#line 4586 "configure"
d4625 1
a4625 1
if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4643 1
a4643 1
echo "configure:4627: checking for main in -lnsl" >&5
d4651 1
a4651 1
#line 4635 "configure"
d4658 1
a4658 1
if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4698 1
a4698 1
echo "configure:4682: checking MIT X libraries" >&5
d4704 1
a4704 1
#line 4688 "configure"
d4715 1
a4715 1
if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4742 1
a4742 1
echo "configure:4726: checking for sin" >&5
d4747 1
a4747 1
#line 4731 "configure"
d4770 1
a4770 1
if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4791 1
a4791 1
echo "configure:4775: checking for main in -lieee" >&5
d4799 1
a4799 1
#line 4783 "configure"
d4806 1
a4806 1
if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4833 1
a4833 1
echo "configure:4817: checking whether char is unsigned" >&5
d4840 1
a4840 1
#line 4824 "configure"
d4862 1
a4862 1
#line 4846 "configure"
d4872 1
a4872 1
if { (eval echo configure:4856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4905 1
a4905 1
echo "configure:4889: checking for strtod" >&5
d4910 1
a4910 1
#line 4894 "configure"
d4933 1
a4933 1
if { (eval echo configure:4917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4955 1
a4955 1
echo "configure:4939: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4964 1
a4964 1
#line 4948 "configure"
d4987 1
a4987 1
if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.57
log
@	* unix/configure: regen.
	* unix/tcl.m4: improve AIX-4/5 64bit compilation support.
@
text
@d550 1
a550 1
TK_PATCH_LEVEL=".0"
@


1.56
log
@Regen from Tcl
@
text
@d1995 4
d2021 1
a2021 1
echo "configure:2018: checking for $ac_word" >&5
d2090 3
d2137 1
a2137 1
echo "configure:2131: checking for gettimeofday in -lbsd" >&5
d2145 1
a2145 1
#line 2139 "configure"
d2156 1
a2156 1
if { (eval echo configure:2150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2193 3
d2241 1
a2241 1
echo "configure:2232: checking for shl_load in -ldld" >&5
d2249 1
a2249 1
#line 2240 "configure"
d2260 1
a2260 1
if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2322 1
a2322 1
echo "configure:2313: checking for shl_load in -ldld" >&5
d2330 1
a2330 1
#line 2321 "configure"
d2341 1
a2341 1
if { (eval echo configure:2332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2469 1
a2469 1
echo "configure:2460: checking for dld.h" >&5
d2474 1
a2474 1
#line 2465 "configure"
d2479 1
a2479 1
{ (eval echo configure:2470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2544 1
a2544 1
echo "configure:2535: checking for dld.h" >&5
d2549 1
a2549 1
#line 2540 "configure"
d2554 1
a2554 1
{ (eval echo configure:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2612 1
a2612 1
echo "configure:2603: checking for dlfcn.h" >&5
d2617 1
a2617 1
#line 2608 "configure"
d2622 1
a2622 1
{ (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2650 1
a2650 1
echo "configure:2641: checking for ELF" >&5
d2652 1
a2652 1
#line 2643 "configure"
d3010 1
a3010 1
echo "configure:3001: checking for ld accepts -Bexport flag" >&5
d3013 1
a3013 1
#line 3004 "configure"
d3020 1
a3020 1
if { (eval echo configure:3011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3067 1
a3067 1
echo "configure:3058: checking sys/exec.h" >&5
d3069 1
a3069 1
#line 3060 "configure"
d3087 1
a3087 1
if { (eval echo configure:3078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3105 1
a3105 1
echo "configure:3096: checking a.out.h" >&5
d3107 1
a3107 1
#line 3098 "configure"
d3125 1
a3125 1
if { (eval echo configure:3116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3143 1
a3143 1
echo "configure:3134: checking sys/exec_aout.h" >&5
d3145 1
a3145 1
#line 3136 "configure"
d3163 1
a3163 1
if { (eval echo configure:3154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3252 2
    

d3315 1
a3315 1
echo "configure:3308: checking for build with symbols" >&5
d3361 1
a3361 1
echo "configure:3354: checking for sin" >&5
d3366 1
a3366 1
#line 3359 "configure"
d3389 1
a3389 1
if { (eval echo configure:3382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3410 1
a3410 1
echo "configure:3403: checking for main in -lieee" >&5
d3418 1
a3418 1
#line 3411 "configure"
d3425 1
a3425 1
if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3456 1
a3456 1
echo "configure:3449: checking for gettimeofday in -lbsd" >&5
d3464 1
a3464 1
#line 3457 "configure"
d3475 1
a3475 1
if { (eval echo configure:3468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3506 1
a3506 1
echo "configure:3499: checking stdlib.h" >&5
d3508 1
a3508 1
#line 3501 "configure"
d3523 1
a3523 1
#line 3516 "configure"
d3537 1
a3537 1
#line 3530 "configure"
d3569 1
a3569 1
echo "configure:3562: checking fd_set and sys/select" >&5
d3571 1
a3571 1
#line 3564 "configure"
d3578 1
a3578 1
if { (eval echo configure:3571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3590 1
a3590 1
#line 3583 "configure"
d3622 1
a3622 1
echo "configure:3615: checking for ANSI C header files" >&5
d3627 1
a3627 1
#line 3620 "configure"
d3635 1
a3635 1
{ (eval echo configure:3628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3652 1
a3652 1
#line 3645 "configure"
d3670 1
a3670 1
#line 3663 "configure"
d3691 1
a3691 1
#line 3684 "configure"
d3702 1
a3702 1
if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3726 1
a3726 1
echo "configure:3719: checking for mode_t" >&5
d3731 1
a3731 1
#line 3724 "configure"
d3759 1
a3759 1
echo "configure:3752: checking for pid_t" >&5
d3764 1
a3764 1
#line 3757 "configure"
d3792 1
a3792 1
echo "configure:3785: checking for size_t" >&5
d3797 1
a3797 1
#line 3790 "configure"
d3825 1
a3825 1
echo "configure:3818: checking for uid_t in sys/types.h" >&5
d3830 1
a3830 1
#line 3823 "configure"
d3867 1
a3867 1
echo "configure:3860: checking for $ac_hdr" >&5
d3872 1
a3872 1
#line 3865 "configure"
d3877 1
a3877 1
{ (eval echo configure:3870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3904 1
a3904 1
echo "configure:3897: checking whether time.h and sys/time.h may both be included" >&5
d3909 1
a3909 1
#line 3902 "configure"
d3918 1
a3918 1
if { (eval echo configure:3911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3944 1
a3944 1
echo "configure:3937: checking pw_gecos in struct pwd" >&5
d3946 1
a3946 1
#line 3939 "configure"
d3953 1
a3953 1
if { (eval echo configure:3946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3986 1
a3986 1
echo "configure:3979: checking for X" >&5
d4048 1
a4048 1
#line 4041 "configure"
d4053 1
a4053 1
{ (eval echo configure:4046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4122 1
a4122 1
#line 4115 "configure"
d4129 1
a4129 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4219 1
a4219 1
#line 4212 "configure"
d4224 1
a4224 1
{ (eval echo configure:4217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4244 1
a4244 1
echo "configure:4237: checking for X11 header files" >&5
d4247 1
a4247 1
#line 4240 "configure"
d4252 1
a4252 1
{ (eval echo configure:4245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4288 1
a4288 1
echo "configure:4281: checking for X11 libraries" >&5
d4308 1
a4308 1
echo "configure:4301: checking for XCreateWindow in -lXwindow" >&5
d4316 1
a4316 1
#line 4309 "configure"
d4327 1
a4327 1
if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4401 1
a4401 1
echo "configure:4394: checking for main in -lXbsd" >&5
d4409 1
a4409 1
#line 4402 "configure"
d4416 1
a4416 1
if { (eval echo configure:4409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4439 1
a4439 1
echo "configure:4432: checking for connect" >&5
d4444 1
a4444 1
#line 4437 "configure"
d4467 1
a4467 1
if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4489 1
a4489 1
echo "configure:4482: checking for main in -lsocket" >&5
d4497 1
a4497 1
#line 4490 "configure"
d4504 1
a4504 1
if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4530 1
a4530 1
echo "configure:4523: checking for accept" >&5
d4535 1
a4535 1
#line 4528 "configure"
d4558 1
a4558 1
if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4580 1
a4580 1
echo "configure:4573: checking for gethostbyname" >&5
d4585 1
a4585 1
#line 4578 "configure"
d4608 1
a4608 1
if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4626 1
a4626 1
echo "configure:4619: checking for main in -lnsl" >&5
d4634 1
a4634 1
#line 4627 "configure"
d4641 1
a4641 1
if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4681 1
a4681 1
echo "configure:4674: checking MIT X libraries" >&5
d4687 1
a4687 1
#line 4680 "configure"
d4698 1
a4698 1
if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4725 1
a4725 1
echo "configure:4718: checking for sin" >&5
d4730 1
a4730 1
#line 4723 "configure"
d4753 1
a4753 1
if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4774 1
a4774 1
echo "configure:4767: checking for main in -lieee" >&5
d4782 1
a4782 1
#line 4775 "configure"
d4789 1
a4789 1
if { (eval echo configure:4782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4816 1
a4816 1
echo "configure:4809: checking whether char is unsigned" >&5
d4823 1
a4823 1
#line 4816 "configure"
d4845 1
a4845 1
#line 4838 "configure"
d4855 1
a4855 1
if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4888 1
a4888 1
echo "configure:4881: checking for strtod" >&5
d4893 1
a4893 1
#line 4886 "configure"
d4916 1
a4916 1
if { (eval echo configure:4909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4938 1
a4938 1
echo "configure:4931: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4947 1
a4947 1
#line 4940 "configure"
d4970 1
a4970 1
if { (eval echo configure:4963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5258 1
a5259 1
s%@@RANLIB@@%$RANLIB%g
@


1.55
log
@Regen from Tcl
@
text
@d1503 2
d1506 1
a1506 1
#line 1505 "configure"
d1513 1
a1513 1
if { (eval echo configure:1512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1515 1
a1515 1
  tcl_cv_type_64bit=__int64
d1520 8
a1527 3
  tcl_cv_type_64bit=none
           if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
d1530 1
a1530 1
#line 1524 "configure"
d1533 2
a1534 2
		int main() {exit(!(sizeof(long long) > sizeof(long)));}
		
d1536 1
a1536 1
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1538 1
a1538 1
  tcl_cv_type_64bit="long long"
d1542 2
a1548 2
rm -f conftest*
fi
d1565 1
a1565 1
echo "configure:1559: checking for struct dirent64" >&5
d1571 1
a1571 1
#line 1565 "configure"
d1579 1
a1579 1
if { (eval echo configure:1573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1600 1
a1600 1
echo "configure:1594: checking for struct stat64" >&5
d1606 1
a1606 1
#line 1600 "configure"
d1614 1
a1614 1
if { (eval echo configure:1608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1635 1
a1635 1
echo "configure:1629: checking for off64_t" >&5
d1641 1
a1641 1
#line 1635 "configure"
d1649 1
a1649 1
if { (eval echo configure:1643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1691 1
a1691 1
echo "configure:1685: checking for Tcl configuration" >&5
d1764 1
a1764 1
echo "configure:1758: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1819 1
a1819 1
echo "configure:1813: checking how to build libraries" >&5
d1852 1
a1852 1
echo "configure:1846: checking for $ac_word" >&5
d1884 1
a1884 1
echo "configure:1878: checking if 64bit support is requested" >&5
d1904 1
a1904 1
echo "configure:1898: checking if 64bit Sparc VIS support is requested" >&5
d1928 1
a1928 1
echo "configure:1922: checking system version (for dynamic loading)" >&5
d1954 1
a1954 1
echo "configure:1948: checking for dlopen in -ldl" >&5
d1962 1
a1962 1
#line 1956 "configure"
d1973 1
a1973 1
if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2017 1
a2017 1
echo "configure:2011: checking for $ac_word" >&5
d2130 1
a2130 1
echo "configure:2124: checking for gettimeofday in -lbsd" >&5
d2138 1
a2138 1
#line 2132 "configure"
d2149 1
a2149 1
if { (eval echo configure:2143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2231 1
a2231 1
echo "configure:2225: checking for shl_load in -ldld" >&5
d2239 1
a2239 1
#line 2233 "configure"
d2250 1
a2250 1
if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2312 1
a2312 1
echo "configure:2306: checking for shl_load in -ldld" >&5
d2320 1
a2320 1
#line 2314 "configure"
d2331 1
a2331 1
if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2459 1
a2459 1
echo "configure:2453: checking for dld.h" >&5
d2464 1
a2464 1
#line 2458 "configure"
d2469 1
a2469 1
{ (eval echo configure:2463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2534 1
a2534 1
echo "configure:2528: checking for dld.h" >&5
d2539 1
a2539 1
#line 2533 "configure"
d2544 1
a2544 1
{ (eval echo configure:2538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2602 1
a2602 1
echo "configure:2596: checking for dlfcn.h" >&5
d2607 1
a2607 1
#line 2601 "configure"
d2612 1
a2612 1
{ (eval echo configure:2606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2640 1
a2640 1
echo "configure:2634: checking for ELF" >&5
d2642 1
a2642 1
#line 2636 "configure"
d3000 1
a3000 1
echo "configure:2994: checking for ld accepts -Bexport flag" >&5
d3003 1
a3003 1
#line 2997 "configure"
d3010 1
a3010 1
if { (eval echo configure:3004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3057 1
a3057 1
echo "configure:3051: checking sys/exec.h" >&5
d3059 1
a3059 1
#line 3053 "configure"
d3077 1
a3077 1
if { (eval echo configure:3071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3095 1
a3095 1
echo "configure:3089: checking a.out.h" >&5
d3097 1
a3097 1
#line 3091 "configure"
d3115 1
a3115 1
if { (eval echo configure:3109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3133 1
a3133 1
echo "configure:3127: checking sys/exec_aout.h" >&5
d3135 1
a3135 1
#line 3129 "configure"
d3153 1
a3153 1
if { (eval echo configure:3147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3307 1
a3307 1
echo "configure:3301: checking for build with symbols" >&5
d3353 1
a3353 1
echo "configure:3347: checking for sin" >&5
d3358 1
a3358 1
#line 3352 "configure"
d3381 1
a3381 1
if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3402 1
a3402 1
echo "configure:3396: checking for main in -lieee" >&5
d3410 1
a3410 1
#line 3404 "configure"
d3417 1
a3417 1
if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3448 1
a3448 1
echo "configure:3442: checking for gettimeofday in -lbsd" >&5
d3456 1
a3456 1
#line 3450 "configure"
d3467 1
a3467 1
if { (eval echo configure:3461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3498 1
a3498 1
echo "configure:3492: checking stdlib.h" >&5
d3500 1
a3500 1
#line 3494 "configure"
d3515 1
a3515 1
#line 3509 "configure"
d3529 1
a3529 1
#line 3523 "configure"
d3561 1
a3561 1
echo "configure:3555: checking fd_set and sys/select" >&5
d3563 1
a3563 1
#line 3557 "configure"
d3570 1
a3570 1
if { (eval echo configure:3564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3582 1
a3582 1
#line 3576 "configure"
d3614 1
a3614 1
echo "configure:3608: checking for ANSI C header files" >&5
d3619 1
a3619 1
#line 3613 "configure"
d3627 1
a3627 1
{ (eval echo configure:3621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3644 1
a3644 1
#line 3638 "configure"
d3662 1
a3662 1
#line 3656 "configure"
d3683 1
a3683 1
#line 3677 "configure"
d3694 1
a3694 1
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3718 1
a3718 1
echo "configure:3712: checking for mode_t" >&5
d3723 1
a3723 1
#line 3717 "configure"
d3751 1
a3751 1
echo "configure:3745: checking for pid_t" >&5
d3756 1
a3756 1
#line 3750 "configure"
d3784 1
a3784 1
echo "configure:3778: checking for size_t" >&5
d3789 1
a3789 1
#line 3783 "configure"
d3817 1
a3817 1
echo "configure:3811: checking for uid_t in sys/types.h" >&5
d3822 1
a3822 1
#line 3816 "configure"
d3859 1
a3859 1
echo "configure:3853: checking for $ac_hdr" >&5
d3864 1
a3864 1
#line 3858 "configure"
d3869 1
a3869 1
{ (eval echo configure:3863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3896 1
a3896 1
echo "configure:3890: checking whether time.h and sys/time.h may both be included" >&5
d3901 1
a3901 1
#line 3895 "configure"
d3910 1
a3910 1
if { (eval echo configure:3904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3936 1
a3936 1
echo "configure:3930: checking pw_gecos in struct pwd" >&5
d3938 1
a3938 1
#line 3932 "configure"
d3945 1
a3945 1
if { (eval echo configure:3939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3978 1
a3978 1
echo "configure:3972: checking for X" >&5
d4040 1
a4040 1
#line 4034 "configure"
d4045 1
a4045 1
{ (eval echo configure:4039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4114 1
a4114 1
#line 4108 "configure"
d4121 1
a4121 1
if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4211 1
a4211 1
#line 4205 "configure"
d4216 1
a4216 1
{ (eval echo configure:4210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4236 1
a4236 1
echo "configure:4230: checking for X11 header files" >&5
d4239 1
a4239 1
#line 4233 "configure"
d4244 1
a4244 1
{ (eval echo configure:4238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4280 1
a4280 1
echo "configure:4274: checking for X11 libraries" >&5
d4300 1
a4300 1
echo "configure:4294: checking for XCreateWindow in -lXwindow" >&5
d4308 1
a4308 1
#line 4302 "configure"
d4319 1
a4319 1
if { (eval echo configure:4313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4393 1
a4393 1
echo "configure:4387: checking for main in -lXbsd" >&5
d4401 1
a4401 1
#line 4395 "configure"
d4408 1
a4408 1
if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4431 1
a4431 1
echo "configure:4425: checking for connect" >&5
d4436 1
a4436 1
#line 4430 "configure"
d4459 1
a4459 1
if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4481 1
a4481 1
echo "configure:4475: checking for main in -lsocket" >&5
d4489 1
a4489 1
#line 4483 "configure"
d4496 1
a4496 1
if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4522 1
a4522 1
echo "configure:4516: checking for accept" >&5
d4527 1
a4527 1
#line 4521 "configure"
d4550 1
a4550 1
if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4572 1
a4572 1
echo "configure:4566: checking for gethostbyname" >&5
d4577 1
a4577 1
#line 4571 "configure"
d4600 1
a4600 1
if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4618 1
a4618 1
echo "configure:4612: checking for main in -lnsl" >&5
d4626 1
a4626 1
#line 4620 "configure"
d4633 1
a4633 1
if { (eval echo configure:4627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4673 1
a4673 1
echo "configure:4667: checking MIT X libraries" >&5
d4679 1
a4679 1
#line 4673 "configure"
d4690 1
a4690 1
if { (eval echo configure:4684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4717 1
a4717 1
echo "configure:4711: checking for sin" >&5
d4722 1
a4722 1
#line 4716 "configure"
d4745 1
a4745 1
if { (eval echo configure:4739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4766 1
a4766 1
echo "configure:4760: checking for main in -lieee" >&5
d4774 1
a4774 1
#line 4768 "configure"
d4781 1
a4781 1
if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4808 1
a4808 1
echo "configure:4802: checking whether char is unsigned" >&5
d4815 1
a4815 1
#line 4809 "configure"
d4837 1
a4837 1
#line 4831 "configure"
d4847 1
a4847 1
if { (eval echo configure:4841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4880 1
a4880 1
echo "configure:4874: checking for strtod" >&5
d4885 1
a4885 1
#line 4879 "configure"
d4908 1
a4908 1
if { (eval echo configure:4902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4930 1
a4930 1
echo "configure:4924: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4939 1
a4939 1
#line 4933 "configure"
d4962 1
a4962 1
if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.54
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
	* unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
	to examine the input context queue before invoking
	XCloseIM. Generate an assert if there is an input
	context that has not been freed.
	[Patch 570902]
@
text
@d1544 4
d1558 1
a1558 1
echo "configure:1555: checking for struct dirent64" >&5
d1564 1
a1564 1
#line 1561 "configure"
d1572 1
a1572 1
if { (eval echo configure:1569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1593 1
a1593 1
echo "configure:1590: checking for struct stat64" >&5
d1599 1
a1599 1
#line 1596 "configure"
d1607 1
a1607 1
if { (eval echo configure:1604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1628 1
a1628 1
echo "configure:1625: checking for off64_t" >&5
d1634 1
a1634 1
#line 1631 "configure"
d1642 1
a1642 1
if { (eval echo configure:1639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1684 1
a1684 1
echo "configure:1681: checking for Tcl configuration" >&5
d1757 1
a1757 1
echo "configure:1754: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1812 1
a1812 1
echo "configure:1809: checking how to build libraries" >&5
d1845 1
a1845 1
echo "configure:1842: checking for $ac_word" >&5
d1877 1
a1877 1
echo "configure:1874: checking if 64bit support is requested" >&5
d1897 1
a1897 1
echo "configure:1894: checking if 64bit Sparc VIS support is requested" >&5
d1921 1
a1921 1
echo "configure:1918: checking system version (for dynamic loading)" >&5
d1947 1
a1947 1
echo "configure:1944: checking for dlopen in -ldl" >&5
d1955 1
a1955 1
#line 1952 "configure"
d1966 1
a1966 1
if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2010 1
a2010 1
echo "configure:2007: checking for $ac_word" >&5
d2123 1
a2123 1
echo "configure:2120: checking for gettimeofday in -lbsd" >&5
d2131 1
a2131 1
#line 2128 "configure"
d2142 1
a2142 1
if { (eval echo configure:2139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2224 1
a2224 1
echo "configure:2221: checking for shl_load in -ldld" >&5
d2232 1
a2232 1
#line 2229 "configure"
d2243 1
a2243 1
if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2305 1
a2305 1
echo "configure:2302: checking for shl_load in -ldld" >&5
d2313 1
a2313 1
#line 2310 "configure"
d2324 1
a2324 1
if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2452 1
a2452 1
echo "configure:2449: checking for dld.h" >&5
d2457 1
a2457 1
#line 2454 "configure"
d2462 1
a2462 1
{ (eval echo configure:2459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2527 1
a2527 1
echo "configure:2524: checking for dld.h" >&5
d2532 1
a2532 1
#line 2529 "configure"
d2537 1
a2537 1
{ (eval echo configure:2534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2595 1
a2595 1
echo "configure:2592: checking for dlfcn.h" >&5
d2600 1
a2600 1
#line 2597 "configure"
d2605 1
a2605 1
{ (eval echo configure:2602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2633 1
a2633 1
echo "configure:2630: checking for ELF" >&5
d2635 1
a2635 1
#line 2632 "configure"
d2993 1
a2993 1
echo "configure:2990: checking for ld accepts -Bexport flag" >&5
d2996 1
a2996 1
#line 2993 "configure"
d3003 1
a3003 1
if { (eval echo configure:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3050 1
a3050 1
echo "configure:3047: checking sys/exec.h" >&5
d3052 1
a3052 1
#line 3049 "configure"
d3070 1
a3070 1
if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3088 1
a3088 1
echo "configure:3085: checking a.out.h" >&5
d3090 1
a3090 1
#line 3087 "configure"
d3108 1
a3108 1
if { (eval echo configure:3105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3126 1
a3126 1
echo "configure:3123: checking sys/exec_aout.h" >&5
d3128 1
a3128 1
#line 3125 "configure"
d3146 1
a3146 1
if { (eval echo configure:3143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3300 1
a3300 1
echo "configure:3297: checking for build with symbols" >&5
d3346 1
a3346 1
echo "configure:3343: checking for sin" >&5
d3351 1
a3351 1
#line 3348 "configure"
d3374 1
a3374 1
if { (eval echo configure:3371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3395 1
a3395 1
echo "configure:3392: checking for main in -lieee" >&5
d3403 1
a3403 1
#line 3400 "configure"
d3410 1
a3410 1
if { (eval echo configure:3407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3441 1
a3441 1
echo "configure:3438: checking for gettimeofday in -lbsd" >&5
d3449 1
a3449 1
#line 3446 "configure"
d3460 1
a3460 1
if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3491 1
a3491 1
echo "configure:3488: checking stdlib.h" >&5
d3493 1
a3493 1
#line 3490 "configure"
d3508 1
a3508 1
#line 3505 "configure"
d3522 1
a3522 1
#line 3519 "configure"
d3554 1
a3554 1
echo "configure:3551: checking fd_set and sys/select" >&5
d3556 1
a3556 1
#line 3553 "configure"
d3563 1
a3563 1
if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3575 1
a3575 1
#line 3572 "configure"
d3607 1
a3607 1
echo "configure:3604: checking for ANSI C header files" >&5
d3612 1
a3612 1
#line 3609 "configure"
d3620 1
a3620 1
{ (eval echo configure:3617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3637 1
a3637 1
#line 3634 "configure"
d3655 1
a3655 1
#line 3652 "configure"
d3676 1
a3676 1
#line 3673 "configure"
d3687 1
a3687 1
if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3711 1
a3711 1
echo "configure:3708: checking for mode_t" >&5
d3716 1
a3716 1
#line 3713 "configure"
d3744 1
a3744 1
echo "configure:3741: checking for pid_t" >&5
d3749 1
a3749 1
#line 3746 "configure"
d3777 1
a3777 1
echo "configure:3774: checking for size_t" >&5
d3782 1
a3782 1
#line 3779 "configure"
d3810 1
a3810 1
echo "configure:3807: checking for uid_t in sys/types.h" >&5
d3815 1
a3815 1
#line 3812 "configure"
d3852 1
a3852 1
echo "configure:3849: checking for $ac_hdr" >&5
d3857 1
a3857 1
#line 3854 "configure"
d3862 1
a3862 1
{ (eval echo configure:3859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3889 1
a3889 1
echo "configure:3886: checking whether time.h and sys/time.h may both be included" >&5
d3894 1
a3894 1
#line 3891 "configure"
d3903 1
a3903 1
if { (eval echo configure:3900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3929 1
a3929 1
echo "configure:3926: checking pw_gecos in struct pwd" >&5
d3931 1
a3931 1
#line 3928 "configure"
d3938 1
a3938 1
if { (eval echo configure:3935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3971 1
a3971 1
echo "configure:3968: checking for X" >&5
d4033 1
a4033 1
#line 4030 "configure"
d4038 1
a4038 1
{ (eval echo configure:4035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4107 1
a4107 1
#line 4104 "configure"
d4114 1
a4114 1
if { (eval echo configure:4111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4204 1
a4204 1
#line 4201 "configure"
d4209 1
a4209 1
{ (eval echo configure:4206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4229 1
a4229 1
echo "configure:4226: checking for X11 header files" >&5
d4232 1
a4232 1
#line 4229 "configure"
d4237 1
a4237 1
{ (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4273 1
a4273 1
echo "configure:4270: checking for X11 libraries" >&5
d4293 1
a4293 1
echo "configure:4290: checking for XCreateWindow in -lXwindow" >&5
d4301 1
a4301 1
#line 4298 "configure"
d4312 1
a4312 1
if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4386 1
a4386 1
echo "configure:4383: checking for main in -lXbsd" >&5
d4394 1
a4394 1
#line 4391 "configure"
d4401 1
a4401 1
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4424 1
a4424 1
echo "configure:4421: checking for connect" >&5
d4429 1
a4429 1
#line 4426 "configure"
d4452 1
a4452 1
if { (eval echo configure:4449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4474 1
a4474 1
echo "configure:4471: checking for main in -lsocket" >&5
d4482 1
a4482 1
#line 4479 "configure"
d4489 1
a4489 1
if { (eval echo configure:4486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4515 1
a4515 1
echo "configure:4512: checking for accept" >&5
d4520 1
a4520 1
#line 4517 "configure"
d4543 1
a4543 1
if { (eval echo configure:4540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4565 1
a4565 1
echo "configure:4562: checking for gethostbyname" >&5
d4570 1
a4570 1
#line 4567 "configure"
d4593 1
a4593 1
if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4611 1
a4611 1
echo "configure:4608: checking for main in -lnsl" >&5
d4619 1
a4619 1
#line 4616 "configure"
d4626 1
a4626 1
if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4666 1
a4666 1
echo "configure:4663: checking MIT X libraries" >&5
d4672 1
a4672 1
#line 4669 "configure"
d4683 1
a4683 1
if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4710 1
a4710 1
echo "configure:4707: checking for sin" >&5
d4715 1
a4715 1
#line 4712 "configure"
d4738 1
a4738 1
if { (eval echo configure:4735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4759 1
a4759 1
echo "configure:4756: checking for main in -lieee" >&5
d4767 1
a4767 1
#line 4764 "configure"
d4774 1
a4774 1
if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4801 1
a4801 1
echo "configure:4798: checking whether char is unsigned" >&5
d4808 1
a4808 1
#line 4805 "configure"
d4830 1
a4830 1
#line 4827 "configure"
d4840 1
a4840 1
if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4873 1
a4873 1
echo "configure:4870: checking for strtod" >&5
d4878 1
a4878 1
#line 4875 "configure"
d4901 1
a4901 1
if { (eval echo configure:4898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4923 1
a4923 1
echo "configure:4920: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4932 1
a4932 1
#line 4929 "configure"
d4955 1
a4955 1
if { (eval echo configure:4952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.53
log
@	* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin
	and set it to default value ${LIB_RUNTIME_DIR}
	* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
	LIB_RUNTIME_DIR in the -install_name argument to ld.
	* unix/configure: regen.

	* macosx/Wish.pbproj/project.pbxproj:
	* macosx/Makefile: added support for building Tcl as an embedded
	framework, i.e. using an dyld install_name containing
	@@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
	unix/Makefile variable.
@
text
@d2501 6
d2523 1
a2523 1
echo "configure:2518: checking for dld.h" >&5
d2528 1
a2528 1
#line 2523 "configure"
d2533 1
a2533 1
{ (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2591 1
a2591 1
echo "configure:2586: checking for dlfcn.h" >&5
d2596 1
a2596 1
#line 2591 "configure"
d2601 1
a2601 1
{ (eval echo configure:2596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2629 1
a2629 1
echo "configure:2624: checking for ELF" >&5
d2631 1
a2631 1
#line 2626 "configure"
d2989 1
a2989 1
echo "configure:2984: checking for ld accepts -Bexport flag" >&5
d2992 1
a2992 1
#line 2987 "configure"
d2999 1
a2999 1
if { (eval echo configure:2994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3046 1
a3046 1
echo "configure:3041: checking sys/exec.h" >&5
d3048 1
a3048 1
#line 3043 "configure"
d3066 1
a3066 1
if { (eval echo configure:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3084 1
a3084 1
echo "configure:3079: checking a.out.h" >&5
d3086 1
a3086 1
#line 3081 "configure"
d3104 1
a3104 1
if { (eval echo configure:3099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3122 1
a3122 1
echo "configure:3117: checking sys/exec_aout.h" >&5
d3124 1
a3124 1
#line 3119 "configure"
d3142 1
a3142 1
if { (eval echo configure:3137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3296 1
a3296 1
echo "configure:3291: checking for build with symbols" >&5
d3342 1
a3342 1
echo "configure:3337: checking for sin" >&5
d3347 1
a3347 1
#line 3342 "configure"
d3370 1
a3370 1
if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3391 1
a3391 1
echo "configure:3386: checking for main in -lieee" >&5
d3399 1
a3399 1
#line 3394 "configure"
d3406 1
a3406 1
if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3437 1
a3437 1
echo "configure:3432: checking for gettimeofday in -lbsd" >&5
d3445 1
a3445 1
#line 3440 "configure"
d3456 1
a3456 1
if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3487 1
a3487 1
echo "configure:3482: checking stdlib.h" >&5
d3489 1
a3489 1
#line 3484 "configure"
d3504 1
a3504 1
#line 3499 "configure"
d3518 1
a3518 1
#line 3513 "configure"
d3550 1
a3550 1
echo "configure:3545: checking fd_set and sys/select" >&5
d3552 1
a3552 1
#line 3547 "configure"
d3559 1
a3559 1
if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3571 1
a3571 1
#line 3566 "configure"
d3603 1
a3603 1
echo "configure:3598: checking for ANSI C header files" >&5
d3608 1
a3608 1
#line 3603 "configure"
d3616 1
a3616 1
{ (eval echo configure:3611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3633 1
a3633 1
#line 3628 "configure"
d3651 1
a3651 1
#line 3646 "configure"
d3672 1
a3672 1
#line 3667 "configure"
d3683 1
a3683 1
if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3707 1
a3707 1
echo "configure:3702: checking for mode_t" >&5
d3712 1
a3712 1
#line 3707 "configure"
d3740 1
a3740 1
echo "configure:3735: checking for pid_t" >&5
d3745 1
a3745 1
#line 3740 "configure"
d3773 1
a3773 1
echo "configure:3768: checking for size_t" >&5
d3778 1
a3778 1
#line 3773 "configure"
d3806 1
a3806 1
echo "configure:3801: checking for uid_t in sys/types.h" >&5
d3811 1
a3811 1
#line 3806 "configure"
d3848 1
a3848 1
echo "configure:3843: checking for $ac_hdr" >&5
d3853 1
a3853 1
#line 3848 "configure"
d3858 1
a3858 1
{ (eval echo configure:3853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3885 1
a3885 1
echo "configure:3880: checking whether time.h and sys/time.h may both be included" >&5
d3890 1
a3890 1
#line 3885 "configure"
d3899 1
a3899 1
if { (eval echo configure:3894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3925 1
a3925 1
echo "configure:3920: checking pw_gecos in struct pwd" >&5
d3927 1
a3927 1
#line 3922 "configure"
d3934 1
a3934 1
if { (eval echo configure:3929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3967 1
a3967 1
echo "configure:3962: checking for X" >&5
d4029 1
a4029 1
#line 4024 "configure"
d4034 1
a4034 1
{ (eval echo configure:4029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4103 1
a4103 1
#line 4098 "configure"
d4110 1
a4110 1
if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4200 1
a4200 1
#line 4195 "configure"
d4205 1
a4205 1
{ (eval echo configure:4200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4225 1
a4225 1
echo "configure:4220: checking for X11 header files" >&5
d4228 1
a4228 1
#line 4223 "configure"
d4233 1
a4233 1
{ (eval echo configure:4228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4269 1
a4269 1
echo "configure:4264: checking for X11 libraries" >&5
d4289 1
a4289 1
echo "configure:4284: checking for XCreateWindow in -lXwindow" >&5
d4297 1
a4297 1
#line 4292 "configure"
d4308 1
a4308 1
if { (eval echo configure:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4382 1
a4382 1
echo "configure:4377: checking for main in -lXbsd" >&5
d4390 1
a4390 1
#line 4385 "configure"
d4397 1
a4397 1
if { (eval echo configure:4392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4420 1
a4420 1
echo "configure:4415: checking for connect" >&5
d4425 1
a4425 1
#line 4420 "configure"
d4448 1
a4448 1
if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4470 1
a4470 1
echo "configure:4465: checking for main in -lsocket" >&5
d4478 1
a4478 1
#line 4473 "configure"
d4485 1
a4485 1
if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4511 1
a4511 1
echo "configure:4506: checking for accept" >&5
d4516 1
a4516 1
#line 4511 "configure"
d4539 1
a4539 1
if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4561 1
a4561 1
echo "configure:4556: checking for gethostbyname" >&5
d4566 1
a4566 1
#line 4561 "configure"
d4589 1
a4589 1
if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4607 1
a4607 1
echo "configure:4602: checking for main in -lnsl" >&5
d4615 1
a4615 1
#line 4610 "configure"
d4622 1
a4622 1
if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4662 1
a4662 1
echo "configure:4657: checking MIT X libraries" >&5
d4668 1
a4668 1
#line 4663 "configure"
d4679 1
a4679 1
if { (eval echo configure:4674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4706 1
a4706 1
echo "configure:4701: checking for sin" >&5
d4711 1
a4711 1
#line 4706 "configure"
d4734 1
a4734 1
if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4755 1
a4755 1
echo "configure:4750: checking for main in -lieee" >&5
d4763 1
a4763 1
#line 4758 "configure"
d4770 1
a4770 1
if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4797 1
a4797 1
echo "configure:4792: checking whether char is unsigned" >&5
d4804 1
a4804 1
#line 4799 "configure"
d4826 1
a4826 1
#line 4821 "configure"
d4836 1
a4836 1
if { (eval echo configure:4831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4869 1
a4869 1
echo "configure:4864: checking for strtod" >&5
d4874 1
a4874 1
#line 4869 "configure"
d4897 1
a4897 1
if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4919 1
a4919 1
echo "configure:4914: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4928 1
a4928 1
#line 4923 "configure"
d4951 1
a4951 1
if { (eval echo configure:4946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.52
log
@make sure to substitute LD_LIBRARY_PATH_VAR
@
text
@d2681 2
d2698 2
a2699 2
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr 0xa000000"
	    TK_SHLIB_LD_EXTRAS="-compatibility_version ${TK_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TK_LIB_FILE} -prebind -seg1addr 0xb000000"
d2983 1
a2983 1
echo "configure:2982: checking for ld accepts -Bexport flag" >&5
d2986 1
a2986 1
#line 2985 "configure"
d2993 1
a2993 1
if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3040 1
a3040 1
echo "configure:3039: checking sys/exec.h" >&5
d3042 1
a3042 1
#line 3041 "configure"
d3060 1
a3060 1
if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3078 1
a3078 1
echo "configure:3077: checking a.out.h" >&5
d3080 1
a3080 1
#line 3079 "configure"
d3098 1
a3098 1
if { (eval echo configure:3097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3116 1
a3116 1
echo "configure:3115: checking sys/exec_aout.h" >&5
d3118 1
a3118 1
#line 3117 "configure"
d3136 1
a3136 1
if { (eval echo configure:3135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3290 1
a3290 1
echo "configure:3289: checking for build with symbols" >&5
d3336 1
a3336 1
echo "configure:3335: checking for sin" >&5
d3341 1
a3341 1
#line 3340 "configure"
d3364 1
a3364 1
if { (eval echo configure:3363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3385 1
a3385 1
echo "configure:3384: checking for main in -lieee" >&5
d3393 1
a3393 1
#line 3392 "configure"
d3400 1
a3400 1
if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3431 1
a3431 1
echo "configure:3430: checking for gettimeofday in -lbsd" >&5
d3439 1
a3439 1
#line 3438 "configure"
d3450 1
a3450 1
if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3481 1
a3481 1
echo "configure:3480: checking stdlib.h" >&5
d3483 1
a3483 1
#line 3482 "configure"
d3498 1
a3498 1
#line 3497 "configure"
d3512 1
a3512 1
#line 3511 "configure"
d3544 1
a3544 1
echo "configure:3543: checking fd_set and sys/select" >&5
d3546 1
a3546 1
#line 3545 "configure"
d3553 1
a3553 1
if { (eval echo configure:3552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3565 1
a3565 1
#line 3564 "configure"
d3597 1
a3597 1
echo "configure:3596: checking for ANSI C header files" >&5
d3602 1
a3602 1
#line 3601 "configure"
d3610 1
a3610 1
{ (eval echo configure:3609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3627 1
a3627 1
#line 3626 "configure"
d3645 1
a3645 1
#line 3644 "configure"
d3666 1
a3666 1
#line 3665 "configure"
d3677 1
a3677 1
if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3701 1
a3701 1
echo "configure:3700: checking for mode_t" >&5
d3706 1
a3706 1
#line 3705 "configure"
d3734 1
a3734 1
echo "configure:3733: checking for pid_t" >&5
d3739 1
a3739 1
#line 3738 "configure"
d3767 1
a3767 1
echo "configure:3766: checking for size_t" >&5
d3772 1
a3772 1
#line 3771 "configure"
d3800 1
a3800 1
echo "configure:3799: checking for uid_t in sys/types.h" >&5
d3805 1
a3805 1
#line 3804 "configure"
d3842 1
a3842 1
echo "configure:3841: checking for $ac_hdr" >&5
d3847 1
a3847 1
#line 3846 "configure"
d3852 1
a3852 1
{ (eval echo configure:3851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3879 1
a3879 1
echo "configure:3878: checking whether time.h and sys/time.h may both be included" >&5
d3884 1
a3884 1
#line 3883 "configure"
d3893 1
a3893 1
if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3919 1
a3919 1
echo "configure:3918: checking pw_gecos in struct pwd" >&5
d3921 1
a3921 1
#line 3920 "configure"
d3928 1
a3928 1
if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3961 1
a3961 1
echo "configure:3960: checking for X" >&5
d4023 1
a4023 1
#line 4022 "configure"
d4028 1
a4028 1
{ (eval echo configure:4027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4097 1
a4097 1
#line 4096 "configure"
d4104 1
a4104 1
if { (eval echo configure:4103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4194 1
a4194 1
#line 4193 "configure"
d4199 1
a4199 1
{ (eval echo configure:4198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4219 1
a4219 1
echo "configure:4218: checking for X11 header files" >&5
d4222 1
a4222 1
#line 4221 "configure"
d4227 1
a4227 1
{ (eval echo configure:4226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4263 1
a4263 1
echo "configure:4262: checking for X11 libraries" >&5
d4283 1
a4283 1
echo "configure:4282: checking for XCreateWindow in -lXwindow" >&5
d4291 1
a4291 1
#line 4290 "configure"
d4302 1
a4302 1
if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4376 1
a4376 1
echo "configure:4375: checking for main in -lXbsd" >&5
d4384 1
a4384 1
#line 4383 "configure"
d4391 1
a4391 1
if { (eval echo configure:4390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4414 1
a4414 1
echo "configure:4413: checking for connect" >&5
d4419 1
a4419 1
#line 4418 "configure"
d4442 1
a4442 1
if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4464 1
a4464 1
echo "configure:4463: checking for main in -lsocket" >&5
d4472 1
a4472 1
#line 4471 "configure"
d4479 1
a4479 1
if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4505 1
a4505 1
echo "configure:4504: checking for accept" >&5
d4510 1
a4510 1
#line 4509 "configure"
d4533 1
a4533 1
if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4555 1
a4555 1
echo "configure:4554: checking for gethostbyname" >&5
d4560 1
a4560 1
#line 4559 "configure"
d4583 1
a4583 1
if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4601 1
a4601 1
echo "configure:4600: checking for main in -lnsl" >&5
d4609 1
a4609 1
#line 4608 "configure"
d4616 1
a4616 1
if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4656 1
a4656 1
echo "configure:4655: checking MIT X libraries" >&5
d4662 1
a4662 1
#line 4661 "configure"
d4673 1
a4673 1
if { (eval echo configure:4672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4700 1
a4700 1
echo "configure:4699: checking for sin" >&5
d4705 1
a4705 1
#line 4704 "configure"
d4728 1
a4728 1
if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4749 1
a4749 1
echo "configure:4748: checking for main in -lieee" >&5
d4757 1
a4757 1
#line 4756 "configure"
d4764 1
a4764 1
if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4791 1
a4791 1
echo "configure:4790: checking whether char is unsigned" >&5
d4798 1
a4798 1
#line 4797 "configure"
d4820 1
a4820 1
#line 4819 "configure"
d4830 1
a4830 1
if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4863 1
a4863 1
echo "configure:4862: checking for strtod" >&5
d4868 1
a4868 1
#line 4867 "configure"
d4891 1
a4891 1
if { (eval echo configure:4890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4913 1
a4913 1
echo "configure:4912: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4922 1
a4922 1
#line 4921 "configure"
d4945 1
a4945 1
if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.51
log
@Bumped version number to 8.4.0
@
text
@d2272 3
d2278 14
a2291 2
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
d2301 1
a2301 1
echo "configure:2287: checking for shl_load in -ldld" >&5
d2309 1
a2309 1
#line 2295 "configure"
d2320 1
a2320 1
if { (eval echo configure:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2448 1
a2448 1
echo "configure:2434: checking for dld.h" >&5
d2453 1
a2453 1
#line 2439 "configure"
d2458 1
a2458 1
{ (eval echo configure:2444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2517 1
a2517 1
echo "configure:2503: checking for dld.h" >&5
d2522 1
a2522 1
#line 2508 "configure"
d2527 1
a2527 1
{ (eval echo configure:2513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2585 1
a2585 1
echo "configure:2571: checking for dlfcn.h" >&5
d2590 1
a2590 1
#line 2576 "configure"
d2595 1
a2595 1
{ (eval echo configure:2581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2623 1
a2623 1
echo "configure:2609: checking for ELF" >&5
d2625 1
a2625 1
#line 2611 "configure"
d2981 1
a2981 1
echo "configure:2967: checking for ld accepts -Bexport flag" >&5
d2984 1
a2984 1
#line 2970 "configure"
d2991 1
a2991 1
if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3038 1
a3038 1
echo "configure:3024: checking sys/exec.h" >&5
d3040 1
a3040 1
#line 3026 "configure"
d3058 1
a3058 1
if { (eval echo configure:3044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3076 1
a3076 1
echo "configure:3062: checking a.out.h" >&5
d3078 1
a3078 1
#line 3064 "configure"
d3096 1
a3096 1
if { (eval echo configure:3082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3114 1
a3114 1
echo "configure:3100: checking sys/exec_aout.h" >&5
d3116 1
a3116 1
#line 3102 "configure"
d3134 1
a3134 1
if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3288 1
a3288 1
echo "configure:3274: checking for build with symbols" >&5
d3334 1
a3334 1
echo "configure:3320: checking for sin" >&5
d3339 1
a3339 1
#line 3325 "configure"
d3362 1
a3362 1
if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3383 1
a3383 1
echo "configure:3369: checking for main in -lieee" >&5
d3391 1
a3391 1
#line 3377 "configure"
d3398 1
a3398 1
if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3429 1
a3429 1
echo "configure:3415: checking for gettimeofday in -lbsd" >&5
d3437 1
a3437 1
#line 3423 "configure"
d3448 1
a3448 1
if { (eval echo configure:3434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3479 1
a3479 1
echo "configure:3465: checking stdlib.h" >&5
d3481 1
a3481 1
#line 3467 "configure"
d3496 1
a3496 1
#line 3482 "configure"
d3510 1
a3510 1
#line 3496 "configure"
d3542 1
a3542 1
echo "configure:3528: checking fd_set and sys/select" >&5
d3544 1
a3544 1
#line 3530 "configure"
d3551 1
a3551 1
if { (eval echo configure:3537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3563 1
a3563 1
#line 3549 "configure"
d3595 1
a3595 1
echo "configure:3581: checking for ANSI C header files" >&5
d3600 1
a3600 1
#line 3586 "configure"
d3608 1
a3608 1
{ (eval echo configure:3594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3625 1
a3625 1
#line 3611 "configure"
d3643 1
a3643 1
#line 3629 "configure"
d3664 1
a3664 1
#line 3650 "configure"
d3675 1
a3675 1
if { (eval echo configure:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3699 1
a3699 1
echo "configure:3685: checking for mode_t" >&5
d3704 1
a3704 1
#line 3690 "configure"
d3732 1
a3732 1
echo "configure:3718: checking for pid_t" >&5
d3737 1
a3737 1
#line 3723 "configure"
d3765 1
a3765 1
echo "configure:3751: checking for size_t" >&5
d3770 1
a3770 1
#line 3756 "configure"
d3798 1
a3798 1
echo "configure:3784: checking for uid_t in sys/types.h" >&5
d3803 1
a3803 1
#line 3789 "configure"
d3840 1
a3840 1
echo "configure:3826: checking for $ac_hdr" >&5
d3845 1
a3845 1
#line 3831 "configure"
d3850 1
a3850 1
{ (eval echo configure:3836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3877 1
a3877 1
echo "configure:3863: checking whether time.h and sys/time.h may both be included" >&5
d3882 1
a3882 1
#line 3868 "configure"
d3891 1
a3891 1
if { (eval echo configure:3877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3917 1
a3917 1
echo "configure:3903: checking pw_gecos in struct pwd" >&5
d3919 1
a3919 1
#line 3905 "configure"
d3926 1
a3926 1
if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3959 1
a3959 1
echo "configure:3945: checking for X" >&5
d4021 1
a4021 1
#line 4007 "configure"
d4026 1
a4026 1
{ (eval echo configure:4012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4095 1
a4095 1
#line 4081 "configure"
d4102 1
a4102 1
if { (eval echo configure:4088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4192 1
a4192 1
#line 4178 "configure"
d4197 1
a4197 1
{ (eval echo configure:4183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4217 1
a4217 1
echo "configure:4203: checking for X11 header files" >&5
d4220 1
a4220 1
#line 4206 "configure"
d4225 1
a4225 1
{ (eval echo configure:4211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4261 1
a4261 1
echo "configure:4247: checking for X11 libraries" >&5
d4281 1
a4281 1
echo "configure:4267: checking for XCreateWindow in -lXwindow" >&5
d4289 1
a4289 1
#line 4275 "configure"
d4300 1
a4300 1
if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4374 1
a4374 1
echo "configure:4360: checking for main in -lXbsd" >&5
d4382 1
a4382 1
#line 4368 "configure"
d4389 1
a4389 1
if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4412 1
a4412 1
echo "configure:4398: checking for connect" >&5
d4417 1
a4417 1
#line 4403 "configure"
d4440 1
a4440 1
if { (eval echo configure:4426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4462 1
a4462 1
echo "configure:4448: checking for main in -lsocket" >&5
d4470 1
a4470 1
#line 4456 "configure"
d4477 1
a4477 1
if { (eval echo configure:4463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4503 1
a4503 1
echo "configure:4489: checking for accept" >&5
d4508 1
a4508 1
#line 4494 "configure"
d4531 1
a4531 1
if { (eval echo configure:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4553 1
a4553 1
echo "configure:4539: checking for gethostbyname" >&5
d4558 1
a4558 1
#line 4544 "configure"
d4581 1
a4581 1
if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4599 1
a4599 1
echo "configure:4585: checking for main in -lnsl" >&5
d4607 1
a4607 1
#line 4593 "configure"
d4614 1
a4614 1
if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4654 1
a4654 1
echo "configure:4640: checking MIT X libraries" >&5
d4660 1
a4660 1
#line 4646 "configure"
d4671 1
a4671 1
if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4698 1
a4698 1
echo "configure:4684: checking for sin" >&5
d4703 1
a4703 1
#line 4689 "configure"
d4726 1
a4726 1
if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4747 1
a4747 1
echo "configure:4733: checking for main in -lieee" >&5
d4755 1
a4755 1
#line 4741 "configure"
d4762 1
a4762 1
if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4789 1
a4789 1
echo "configure:4775: checking whether char is unsigned" >&5
d4796 1
a4796 1
#line 4782 "configure"
d4818 1
a4818 1
#line 4804 "configure"
d4828 1
a4828 1
if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4861 1
a4861 1
echo "configure:4847: checking for strtod" >&5
d4866 1
a4866 1
#line 4852 "configure"
d4889 1
a4889 1
if { (eval echo configure:4875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4911 1
a4911 1
echo "configure:4897: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4920 1
a4920 1
#line 4906 "configure"
d4943 1
a4943 1
if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5072 2
d5273 1
@


1.50
log
@	* unix/tcl.m4: update from Tcl

	* unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library
	specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.

	* unix/configure: regen
@
text
@d550 1
a550 1
TK_PATCH_LEVEL="b3"
@


1.49
log
@        * README:               Bumped version number to 8.4b3 to distinguish
        * generic/tk.h:         HEAD from the 8.4b2 release.
        * unix/configure.in:
        * win/configure.in:
        * unix/tk.spec:

        * unix/configure:       autoconf
        * win/configure:

        * generic/tk.h: Added compile-time check that the tcl.h header file
        #included by Tk 8.4 is one from Tcl 8.4.  This is needed to be sure
        that new #defines like CONST84 are available. [Bug 597432].
@
text
@d2033 2
d2065 1
d2096 1
d2119 1
a2119 1
echo "configure:2116: checking for gettimeofday in -lbsd" >&5
d2127 1
a2127 1
#line 2124 "configure"
d2138 1
a2138 1
if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2220 1
a2220 1
echo "configure:2217: checking for shl_load in -ldld" >&5
d2228 1
a2228 1
#line 2225 "configure"
d2239 1
a2239 1
if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2269 1
d2286 1
a2286 1
echo "configure:2282: checking for shl_load in -ldld" >&5
d2294 1
a2294 1
#line 2290 "configure"
d2305 1
a2305 1
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2335 1
d2433 1
a2433 1
echo "configure:2428: checking for dld.h" >&5
d2438 1
a2438 1
#line 2433 "configure"
d2443 1
a2443 1
{ (eval echo configure:2438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2502 1
a2502 1
echo "configure:2497: checking for dld.h" >&5
d2507 1
a2507 1
#line 2502 "configure"
d2512 1
a2512 1
{ (eval echo configure:2507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2570 1
a2570 1
echo "configure:2565: checking for dlfcn.h" >&5
d2575 1
a2575 1
#line 2570 "configure"
d2580 1
a2580 1
{ (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2608 1
a2608 1
echo "configure:2603: checking for ELF" >&5
d2610 1
a2610 1
#line 2605 "configure"
d2681 2
a2682 1
	    SHLIB_LD_FLAGS="-compatibility_version \${MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${LIB_FILE} -prebind -seg1addr a000000"
d2686 1
d2691 6
a2696 2
	    CFLAGS_OPTIMIZE="-O2"
	    EXTRA_CFLAGS='-DTCL_DEFAULT_ENCODING=\"utf-8\"'
d2966 1
a2966 1
echo "configure:2955: checking for ld accepts -Bexport flag" >&5
d2969 1
a2969 1
#line 2958 "configure"
d2976 1
a2976 1
if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3023 1
a3023 1
echo "configure:3012: checking sys/exec.h" >&5
d3025 1
a3025 1
#line 3014 "configure"
d3043 1
a3043 1
if { (eval echo configure:3032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3061 1
a3061 1
echo "configure:3050: checking a.out.h" >&5
d3063 1
a3063 1
#line 3052 "configure"
d3081 1
a3081 1
if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3099 1
a3099 1
echo "configure:3088: checking sys/exec_aout.h" >&5
d3101 1
a3101 1
#line 3090 "configure"
d3119 1
a3119 1
if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3213 1
a3213 1
        MAKE_LIB='${SHLIB_LD} -o $@@ ${SHLIB_LD_FLAGS} ${OBJS} ${SHLIB_LD_LIBS} ${LD_SEARCH_FLAGS}'
d3246 2
d3261 2
d3273 1
a3273 1
echo "configure:3258: checking for build with symbols" >&5
d3319 1
a3319 1
echo "configure:3304: checking for sin" >&5
d3324 1
a3324 1
#line 3309 "configure"
d3347 1
a3347 1
if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3368 1
a3368 1
echo "configure:3353: checking for main in -lieee" >&5
d3376 1
a3376 1
#line 3361 "configure"
d3383 1
a3383 1
if { (eval echo configure:3368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3414 1
a3414 1
echo "configure:3399: checking for gettimeofday in -lbsd" >&5
d3422 1
a3422 1
#line 3407 "configure"
d3433 1
a3433 1
if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3464 1
a3464 1
echo "configure:3449: checking stdlib.h" >&5
d3466 1
a3466 1
#line 3451 "configure"
d3481 1
a3481 1
#line 3466 "configure"
d3495 1
a3495 1
#line 3480 "configure"
d3527 1
a3527 1
echo "configure:3512: checking fd_set and sys/select" >&5
d3529 1
a3529 1
#line 3514 "configure"
d3536 1
a3536 1
if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3548 1
a3548 1
#line 3533 "configure"
d3580 1
a3580 1
echo "configure:3565: checking for ANSI C header files" >&5
d3585 1
a3585 1
#line 3570 "configure"
d3593 1
a3593 1
{ (eval echo configure:3578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3610 1
a3610 1
#line 3595 "configure"
d3628 1
a3628 1
#line 3613 "configure"
d3649 1
a3649 1
#line 3634 "configure"
d3660 1
a3660 1
if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3684 1
a3684 1
echo "configure:3669: checking for mode_t" >&5
d3689 1
a3689 1
#line 3674 "configure"
d3717 1
a3717 1
echo "configure:3702: checking for pid_t" >&5
d3722 1
a3722 1
#line 3707 "configure"
d3750 1
a3750 1
echo "configure:3735: checking for size_t" >&5
d3755 1
a3755 1
#line 3740 "configure"
d3783 1
a3783 1
echo "configure:3768: checking for uid_t in sys/types.h" >&5
d3788 1
a3788 1
#line 3773 "configure"
d3825 1
a3825 1
echo "configure:3810: checking for $ac_hdr" >&5
d3830 1
a3830 1
#line 3815 "configure"
d3835 1
a3835 1
{ (eval echo configure:3820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3862 1
a3862 1
echo "configure:3847: checking whether time.h and sys/time.h may both be included" >&5
d3867 1
a3867 1
#line 3852 "configure"
d3876 1
a3876 1
if { (eval echo configure:3861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3902 1
a3902 1
echo "configure:3887: checking pw_gecos in struct pwd" >&5
d3904 1
a3904 1
#line 3889 "configure"
d3911 1
a3911 1
if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3944 1
a3944 1
echo "configure:3929: checking for X" >&5
d4006 1
a4006 1
#line 3991 "configure"
d4011 1
a4011 1
{ (eval echo configure:3996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4080 1
a4080 1
#line 4065 "configure"
d4087 1
a4087 1
if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4177 1
a4177 1
#line 4162 "configure"
d4182 1
a4182 1
{ (eval echo configure:4167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4202 1
a4202 1
echo "configure:4187: checking for X11 header files" >&5
d4205 1
a4205 1
#line 4190 "configure"
d4210 1
a4210 1
{ (eval echo configure:4195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4246 1
a4246 1
echo "configure:4231: checking for X11 libraries" >&5
d4266 1
a4266 1
echo "configure:4251: checking for XCreateWindow in -lXwindow" >&5
d4274 1
a4274 1
#line 4259 "configure"
d4285 1
a4285 1
if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4359 1
a4359 1
echo "configure:4344: checking for main in -lXbsd" >&5
d4367 1
a4367 1
#line 4352 "configure"
d4374 1
a4374 1
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4397 1
a4397 1
echo "configure:4382: checking for connect" >&5
d4402 1
a4402 1
#line 4387 "configure"
d4425 1
a4425 1
if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4447 1
a4447 1
echo "configure:4432: checking for main in -lsocket" >&5
d4455 1
a4455 1
#line 4440 "configure"
d4462 1
a4462 1
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4488 1
a4488 1
echo "configure:4473: checking for accept" >&5
d4493 1
a4493 1
#line 4478 "configure"
d4516 1
a4516 1
if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4538 1
a4538 1
echo "configure:4523: checking for gethostbyname" >&5
d4543 1
a4543 1
#line 4528 "configure"
d4566 1
a4566 1
if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4584 1
a4584 1
echo "configure:4569: checking for main in -lnsl" >&5
d4592 1
a4592 1
#line 4577 "configure"
d4599 1
a4599 1
if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4639 1
a4639 1
echo "configure:4624: checking MIT X libraries" >&5
d4645 1
a4645 1
#line 4630 "configure"
d4656 1
a4656 1
if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4683 1
a4683 1
echo "configure:4668: checking for sin" >&5
d4688 1
a4688 1
#line 4673 "configure"
d4711 1
a4711 1
if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4732 1
a4732 1
echo "configure:4717: checking for main in -lieee" >&5
d4740 1
a4740 1
#line 4725 "configure"
d4747 1
a4747 1
if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4774 1
a4774 1
echo "configure:4759: checking whether char is unsigned" >&5
d4781 1
a4781 1
#line 4766 "configure"
d4803 1
a4803 1
#line 4788 "configure"
d4813 1
a4813 1
if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4846 1
a4846 1
echo "configure:4831: checking for strtod" >&5
d4851 1
a4851 1
#line 4836 "configure"
d4874 1
a4874 1
if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4896 1
a4896 1
echo "configure:4881: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4905 1
a4905 1
#line 4890 "configure"
d4928 1
a4928 1
if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5217 2
d5229 2
@


1.48
log
@Resynch with Tcl
@
text
@d550 1
a550 1
TK_PATCH_LEVEL="b2"
@


1.47
log
@	* unix/configure: Regen.
	* unix/configure.in: Remove code that was setting
	CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to
	account for cc vs ld linking. Tcl now handles this.
	* unix/tcl.m4: Update from Tcl.
@
text
@d4881 6
a4886 2
	if test "$cross_compiling" = yes; then
  tcl_ok=0
d4889 1
a4889 1
#line 4886 "configure"
d4892 18
a4909 13
	    extern double strtod();
	    int main()
	    {
		char *string = "NaN", *spaceString = " ";
		char *term;
		double value;
		value = strtod(string, &term);
		if ((term != string) && (term[-1] == 0)) {
		    exit(1);
		}
		value = strtod(spaceString, &term);
		if (term == (spaceString+1)) {
		    exit(1);
a4910 2
		exit(0);
	    }
d4912 1
a4912 1
if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4914 1
a4914 1
  tcl_ok=1
d4919 1
a4919 1
  tcl_ok=0
d4924 3
a4926 1
	if test "$tcl_ok" = 1; then
@


1.46
log
@	* unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,
	PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE
	to support changes in tcl.m4 related to library builds.
	Use MAKE_LIB macro to avoid dealing with RANLIB issues.
	Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and
	rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS.
	Use new INSTALL_LIB and INSTALL_STUB_LIB substs to
	deal with ranlib issues when install libraries.
	* unix/configure: Regen.
	* unix/configure.in: Remove AC_PROG_RANLIB since
	this is done by tcl.m4 now. Define CC_SEARCH_FLAGS
	instead of TK_CC_SEARCH_FLAGS and so on.
	Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4.
	Remove AC_SUBST calls that are no done in tcl.m4.
	* unix/tcl.m4: Update from Tcl.
	* unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and
	LD_SEARCH_FLAGS.
@
text
@d2056 1
d2058 1
a2058 1
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d2060 1
a2060 1
		LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
d2062 1
d2091 2
a2092 1
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
d2115 1
a2115 1
echo "configure:2113: checking for gettimeofday in -lbsd" >&5
d2123 1
a2123 1
#line 2121 "configure"
d2134 1
a2134 1
if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2182 1
d2193 1
d2204 1
d2216 1
a2216 1
echo "configure:2211: checking for shl_load in -ldld" >&5
d2224 1
a2224 1
#line 2219 "configure"
d2235 1
a2235 1
if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2263 2
a2264 1
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
d2281 1
a2281 1
echo "configure:2275: checking for shl_load in -ldld" >&5
d2289 1
a2289 1
#line 2283 "configure"
d2300 1
a2300 1
if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2328 2
a2329 1
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
d2340 2
a2341 1
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
d2351 2
a2352 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2363 2
a2364 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2389 2
a2390 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2422 2
a2423 1
		LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2427 1
a2427 1
echo "configure:2415: checking for dld.h" >&5
d2432 1
a2432 1
#line 2420 "configure"
d2437 1
a2437 1
{ (eval echo configure:2425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2458 1
d2491 1
d2496 1
a2496 1
echo "configure:2482: checking for dld.h" >&5
d2501 1
a2501 1
#line 2487 "configure"
d2506 1
a2506 1
{ (eval echo configure:2492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2527 1
d2546 1
d2557 1
d2564 1
a2564 1
echo "configure:2547: checking for dlfcn.h" >&5
d2569 1
a2569 1
#line 2552 "configure"
d2574 1
a2574 1
{ (eval echo configure:2557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2599 2
a2600 1
		LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2602 1
a2602 1
echo "configure:2584: checking for ELF" >&5
d2604 1
a2604 1
#line 2586 "configure"
d2636 2
a2637 1
		LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
d2657 2
a2658 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2681 1
d2694 1
d2714 1
d2730 1
d2746 2
a2747 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2776 1
d2787 2
a2788 1
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
d2806 1
d2817 1
d2828 2
a2829 1
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
a2864 1
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d2866 2
a2868 1
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
d2870 2
a2919 1
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d2921 2
d2924 2
a2926 1
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d2937 2
a2938 1
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
d2954 1
a2954 1
echo "configure:2919: checking for ld accepts -Bexport flag" >&5
d2957 1
a2957 1
#line 2922 "configure"
d2964 1
a2964 1
if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2981 1
d3011 1
a3011 1
echo "configure:2975: checking sys/exec.h" >&5
d3013 1
a3013 1
#line 2977 "configure"
d3031 1
a3031 1
if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3049 1
a3049 1
echo "configure:3013: checking a.out.h" >&5
d3051 1
a3051 1
#line 3015 "configure"
d3069 1
a3069 1
if { (eval echo configure:3033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3087 1
a3087 1
echo "configure:3051: checking sys/exec_aout.h" >&5
d3089 1
a3089 1
#line 3053 "configure"
d3107 1
a3107 1
if { (eval echo configure:3071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3155 1
d3238 2
d3257 1
a3257 1
echo "configure:3218: checking for build with symbols" >&5
d3303 1
a3303 1
echo "configure:3264: checking for sin" >&5
d3308 1
a3308 1
#line 3269 "configure"
d3331 1
a3331 1
if { (eval echo configure:3292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3352 1
a3352 1
echo "configure:3313: checking for main in -lieee" >&5
d3360 1
a3360 1
#line 3321 "configure"
d3367 1
a3367 1
if { (eval echo configure:3328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3398 1
a3398 1
echo "configure:3359: checking for gettimeofday in -lbsd" >&5
d3406 1
a3406 1
#line 3367 "configure"
d3417 1
a3417 1
if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3448 1
a3448 1
echo "configure:3409: checking stdlib.h" >&5
d3450 1
a3450 1
#line 3411 "configure"
d3465 1
a3465 1
#line 3426 "configure"
d3479 1
a3479 1
#line 3440 "configure"
d3511 1
a3511 1
echo "configure:3472: checking fd_set and sys/select" >&5
d3513 1
a3513 1
#line 3474 "configure"
d3520 1
a3520 1
if { (eval echo configure:3481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3532 1
a3532 1
#line 3493 "configure"
d3564 1
a3564 1
echo "configure:3525: checking for ANSI C header files" >&5
d3569 1
a3569 1
#line 3530 "configure"
d3577 1
a3577 1
{ (eval echo configure:3538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3594 1
a3594 1
#line 3555 "configure"
d3612 1
a3612 1
#line 3573 "configure"
d3633 1
a3633 1
#line 3594 "configure"
d3644 1
a3644 1
if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3668 1
a3668 1
echo "configure:3629: checking for mode_t" >&5
d3673 1
a3673 1
#line 3634 "configure"
d3701 1
a3701 1
echo "configure:3662: checking for pid_t" >&5
d3706 1
a3706 1
#line 3667 "configure"
d3734 1
a3734 1
echo "configure:3695: checking for size_t" >&5
d3739 1
a3739 1
#line 3700 "configure"
d3767 1
a3767 1
echo "configure:3728: checking for uid_t in sys/types.h" >&5
d3772 1
a3772 1
#line 3733 "configure"
d3809 1
a3809 1
echo "configure:3770: checking for $ac_hdr" >&5
d3814 1
a3814 1
#line 3775 "configure"
d3819 1
a3819 1
{ (eval echo configure:3780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3846 1
a3846 1
echo "configure:3807: checking whether time.h and sys/time.h may both be included" >&5
d3851 1
a3851 1
#line 3812 "configure"
d3860 1
a3860 1
if { (eval echo configure:3821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3886 1
a3886 1
echo "configure:3847: checking pw_gecos in struct pwd" >&5
d3888 1
a3888 1
#line 3849 "configure"
d3895 1
a3895 1
if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3928 1
a3928 1
echo "configure:3889: checking for X" >&5
d3990 1
a3990 1
#line 3951 "configure"
d3995 1
a3995 1
{ (eval echo configure:3956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4064 1
a4064 1
#line 4025 "configure"
d4071 1
a4071 1
if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4161 1
a4161 1
#line 4122 "configure"
d4166 1
a4166 1
{ (eval echo configure:4127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4186 1
a4186 1
echo "configure:4147: checking for X11 header files" >&5
d4189 1
a4189 1
#line 4150 "configure"
d4194 1
a4194 1
{ (eval echo configure:4155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4230 1
a4230 1
echo "configure:4191: checking for X11 libraries" >&5
d4250 1
a4250 1
echo "configure:4211: checking for XCreateWindow in -lXwindow" >&5
d4258 1
a4258 1
#line 4219 "configure"
d4269 1
a4269 1
if { (eval echo configure:4230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4318 2
a4319 2
# string in TCL_LD_SEARCH_FLAGS, which causes a substitution of the
# variable LIB_RUNTIME_DIR.
d4321 2
a4322 13
eval "CC_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""

# The following case handles the differences between linking with "ld"
# and the compiler

case $SHLIB_LD in
    *ld*)
      LD_SEARCH_FLAGS=`echo ${CC_SEARCH_FLAGS} |sed -e "s|-Wl,||g" -e "s|,| |g"`
      ;;
    *)
      LD_SEARCH_FLAGS="${CC_SEARCH_FLAGS}"
      ;;
esac
d4343 1
a4343 1
echo "configure:4315: checking for main in -lXbsd" >&5
d4351 1
a4351 1
#line 4323 "configure"
d4358 1
a4358 1
if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4381 1
a4381 1
echo "configure:4353: checking for connect" >&5
d4386 1
a4386 1
#line 4358 "configure"
d4409 1
a4409 1
if { (eval echo configure:4381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4431 1
a4431 1
echo "configure:4403: checking for main in -lsocket" >&5
d4439 1
a4439 1
#line 4411 "configure"
d4446 1
a4446 1
if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4472 1
a4472 1
echo "configure:4444: checking for accept" >&5
d4477 1
a4477 1
#line 4449 "configure"
d4500 1
a4500 1
if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4522 1
a4522 1
echo "configure:4494: checking for gethostbyname" >&5
d4527 1
a4527 1
#line 4499 "configure"
d4550 1
a4550 1
if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4568 1
a4568 1
echo "configure:4540: checking for main in -lnsl" >&5
d4576 1
a4576 1
#line 4548 "configure"
d4583 1
a4583 1
if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4623 1
a4623 1
echo "configure:4595: checking MIT X libraries" >&5
d4629 1
a4629 1
#line 4601 "configure"
d4640 1
a4640 1
if { (eval echo configure:4612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4667 1
a4667 1
echo "configure:4639: checking for sin" >&5
d4672 1
a4672 1
#line 4644 "configure"
d4695 1
a4695 1
if { (eval echo configure:4667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4716 1
a4716 1
echo "configure:4688: checking for main in -lieee" >&5
d4724 1
a4724 1
#line 4696 "configure"
d4731 1
a4731 1
if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4758 1
a4758 1
echo "configure:4730: checking whether char is unsigned" >&5
d4765 1
a4765 1
#line 4737 "configure"
d4787 1
a4787 1
#line 4759 "configure"
d4797 1
a4797 1
if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4830 1
a4830 1
echo "configure:4802: checking for strtod" >&5
d4835 1
a4835 1
#line 4807 "configure"
d4858 1
a4858 1
if { (eval echo configure:4830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4880 1
a4880 1
echo "configure:4852: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4885 1
a4885 1
#line 4857 "configure"
d4905 1
a4905 1
if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
a5031 2


d5198 2
a5227 2
s%@@CC_SEARCH_FLAGS@@%$CC_SEARCH_FLAGS%g
s%@@LD_SEARCH_FLAGS@@%$LD_SEARCH_FLAGS%g
@


1.45
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@a834 30
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:839: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

d841 1
a841 1
echo "configure:872: checking how to run the C preprocessor" >&5
d856 1
a856 1
#line 887 "configure"
d862 1
a862 1
{ (eval echo configure:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d873 1
a873 1
#line 904 "configure"
d879 1
a879 1
{ (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d890 1
a890 1
#line 921 "configure"
d896 1
a896 1
{ (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d924 1
a924 1
echo "configure:955: checking for $ac_hdr" >&5
d929 1
a929 1
#line 960 "configure"
d934 1
a934 1
{ (eval echo configure:965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d967 1
a967 1
echo "configure:998: checking for building with threads" >&5
d999 1
a999 1
echo "configure:1030: checking for pthread_mutex_init in -lpthread" >&5
d1007 1
a1007 1
#line 1038 "configure"
d1018 1
a1018 1
if { (eval echo configure:1049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1046 1
a1046 1
echo "configure:1077: checking for __pthread_mutex_init in -lpthread" >&5
d1054 1
a1054 1
#line 1085 "configure"
d1065 1
a1065 1
if { (eval echo configure:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1093 1
a1093 1
echo "configure:1124: checking for pthread_mutex_init in -lpthreads" >&5
d1101 1
a1101 1
#line 1132 "configure"
d1112 1
a1112 1
if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1138 1
a1138 1
echo "configure:1169: checking for pthread_mutex_init in -lc" >&5
d1146 1
a1146 1
#line 1177 "configure"
d1157 1
a1157 1
if { (eval echo configure:1188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1180 1
a1180 1
echo "configure:1211: checking for pthread_mutex_init in -lc_r" >&5
d1188 1
a1188 1
#line 1219 "configure"
d1199 1
a1199 1
if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1237 1
a1237 1
echo "configure:1268: checking for $ac_func" >&5
d1242 1
a1242 1
#line 1273 "configure"
d1265 1
a1265 1
if { (eval echo configure:1296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1292 1
a1292 1
echo "configure:1323: checking for $ac_func" >&5
d1297 1
a1297 1
#line 1328 "configure"
d1320 1
a1320 1
if { (eval echo configure:1351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1359 1
a1359 1
echo "configure:1390: checking if the compiler understands -pipe" >&5
d1363 1
a1363 1
#line 1394 "configure"
d1370 1
a1370 1
if { (eval echo configure:1401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1390 1
a1390 1
echo "configure:1421: checking for required early compiler flags" >&5
d1397 1
a1397 1
#line 1428 "configure"
d1404 1
a1404 1
if { (eval echo configure:1435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1412 1
a1412 1
#line 1443 "configure"
d1420 1
a1420 1
if { (eval echo configure:1451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1446 1
a1446 1
#line 1477 "configure"
d1453 1
a1453 1
if { (eval echo configure:1484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1461 1
a1461 1
#line 1492 "configure"
d1469 1
a1469 1
if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1498 1
a1498 1
echo "configure:1529: checking for 64-bit integer type" >&5
d1504 1
a1504 1
#line 1535 "configure"
d1511 1
a1511 1
if { (eval echo configure:1542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1523 1
a1523 1
#line 1554 "configure"
d1529 1
a1529 1
if { (eval echo configure:1560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1554 1
a1554 1
echo "configure:1585: checking for struct dirent64" >&5
d1560 1
a1560 1
#line 1591 "configure"
d1568 1
a1568 1
if { (eval echo configure:1599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1589 1
a1589 1
echo "configure:1620: checking for struct stat64" >&5
d1595 1
a1595 1
#line 1626 "configure"
d1603 1
a1603 1
if { (eval echo configure:1634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1624 1
a1624 1
echo "configure:1655: checking for off64_t" >&5
d1630 1
a1630 1
#line 1661 "configure"
d1638 1
a1638 1
if { (eval echo configure:1669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1680 1
a1680 1
echo "configure:1711: checking for Tcl configuration" >&5
d1753 1
a1753 1
echo "configure:1784: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1808 1
a1808 1
echo "configure:1839: checking how to build libraries" >&5
d1838 30
d2654 1
a2654 1
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000"
d3160 50
d3217 1
a3217 1
echo "configure:3168: checking for build with symbols" >&5
d3238 2
d3263 1
a3263 1
echo "configure:3212: checking for sin" >&5
d3268 1
a3268 1
#line 3217 "configure"
d3291 1
a3291 1
if { (eval echo configure:3240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3312 1
a3312 1
echo "configure:3261: checking for main in -lieee" >&5
d3320 1
a3320 1
#line 3269 "configure"
d3327 1
a3327 1
if { (eval echo configure:3276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3358 1
a3358 1
echo "configure:3307: checking for gettimeofday in -lbsd" >&5
d3366 1
a3366 1
#line 3315 "configure"
d3377 1
a3377 1
if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3408 1
a3408 1
echo "configure:3357: checking stdlib.h" >&5
d3410 1
a3410 1
#line 3359 "configure"
d3425 1
a3425 1
#line 3374 "configure"
d3439 1
a3439 1
#line 3388 "configure"
d3471 1
a3471 1
echo "configure:3420: checking fd_set and sys/select" >&5
d3473 1
a3473 1
#line 3422 "configure"
d3480 1
a3480 1
if { (eval echo configure:3429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3492 1
a3492 1
#line 3441 "configure"
d3524 1
a3524 1
echo "configure:3473: checking for ANSI C header files" >&5
d3529 1
a3529 1
#line 3478 "configure"
d3537 1
a3537 1
{ (eval echo configure:3486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3554 1
a3554 1
#line 3503 "configure"
d3572 1
a3572 1
#line 3521 "configure"
d3593 1
a3593 1
#line 3542 "configure"
d3604 1
a3604 1
if { (eval echo configure:3553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3628 1
a3628 1
echo "configure:3577: checking for mode_t" >&5
d3633 1
a3633 1
#line 3582 "configure"
d3661 1
a3661 1
echo "configure:3610: checking for pid_t" >&5
d3666 1
a3666 1
#line 3615 "configure"
d3694 1
a3694 1
echo "configure:3643: checking for size_t" >&5
d3699 1
a3699 1
#line 3648 "configure"
d3727 1
a3727 1
echo "configure:3676: checking for uid_t in sys/types.h" >&5
d3732 1
a3732 1
#line 3681 "configure"
d3769 1
a3769 1
echo "configure:3718: checking for $ac_hdr" >&5
d3774 1
a3774 1
#line 3723 "configure"
d3779 1
a3779 1
{ (eval echo configure:3728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3806 1
a3806 1
echo "configure:3755: checking whether time.h and sys/time.h may both be included" >&5
d3811 1
a3811 1
#line 3760 "configure"
d3820 1
a3820 1
if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3846 1
a3846 1
echo "configure:3795: checking pw_gecos in struct pwd" >&5
d3848 1
a3848 1
#line 3797 "configure"
d3855 1
a3855 1
if { (eval echo configure:3804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3888 1
a3888 1
echo "configure:3837: checking for X" >&5
d3950 1
a3950 1
#line 3899 "configure"
d3955 1
a3955 1
{ (eval echo configure:3904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4024 1
a4024 1
#line 3973 "configure"
d4031 1
a4031 1
if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4121 1
a4121 1
#line 4070 "configure"
d4126 1
a4126 1
{ (eval echo configure:4075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4146 1
a4146 1
echo "configure:4095: checking for X11 header files" >&5
d4149 1
a4149 1
#line 4098 "configure"
d4154 1
a4154 1
{ (eval echo configure:4103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4190 1
a4190 1
echo "configure:4139: checking for X11 libraries" >&5
d4210 1
a4210 1
echo "configure:4159: checking for XCreateWindow in -lXwindow" >&5
d4218 1
a4218 1
#line 4167 "configure"
d4229 1
a4229 1
if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4281 1
a4281 1
eval "TK_CC_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""
d4288 1
a4288 1
      TK_LD_SEARCH_FLAGS=`echo ${TK_CC_SEARCH_FLAGS} |sed -e "s|-Wl,||g" -e "s|,| |g"`
d4291 1
a4291 1
      TK_LD_SEARCH_FLAGS="${TK_CC_SEARCH_FLAGS}"
d4314 1
a4314 1
echo "configure:4263: checking for main in -lXbsd" >&5
d4322 1
a4322 1
#line 4271 "configure"
d4329 1
a4329 1
if { (eval echo configure:4278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4352 1
a4352 1
echo "configure:4301: checking for connect" >&5
d4357 1
a4357 1
#line 4306 "configure"
d4380 1
a4380 1
if { (eval echo configure:4329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4402 1
a4402 1
echo "configure:4351: checking for main in -lsocket" >&5
d4410 1
a4410 1
#line 4359 "configure"
d4417 1
a4417 1
if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4443 1
a4443 1
echo "configure:4392: checking for accept" >&5
d4448 1
a4448 1
#line 4397 "configure"
d4471 1
a4471 1
if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4493 1
a4493 1
echo "configure:4442: checking for gethostbyname" >&5
d4498 1
a4498 1
#line 4447 "configure"
d4521 1
a4521 1
if { (eval echo configure:4470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4539 1
a4539 1
echo "configure:4488: checking for main in -lnsl" >&5
d4547 1
a4547 1
#line 4496 "configure"
d4554 1
a4554 1
if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4594 1
a4594 1
echo "configure:4543: checking MIT X libraries" >&5
d4600 1
a4600 1
#line 4549 "configure"
d4611 1
a4611 1
if { (eval echo configure:4560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4638 1
a4638 1
echo "configure:4587: checking for sin" >&5
d4643 1
a4643 1
#line 4592 "configure"
d4666 1
a4666 1
if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4687 1
a4687 1
echo "configure:4636: checking for main in -lieee" >&5
d4695 1
a4695 1
#line 4644 "configure"
d4702 1
a4702 1
if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4729 1
a4729 1
echo "configure:4678: checking whether char is unsigned" >&5
d4736 1
a4736 1
#line 4685 "configure"
d4758 1
a4758 1
#line 4707 "configure"
d4768 1
a4768 1
if { (eval echo configure:4717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4801 1
a4801 1
echo "configure:4750: checking for strtod" >&5
d4806 1
a4806 1
#line 4755 "configure"
d4829 1
a4829 1
if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4851 1
a4851 1
echo "configure:4800: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4856 1
a4856 1
#line 4805 "configure"
d4876 1
a4876 1
if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4910 1
a4910 5
    TK_SHLIB_CFLAGS="${SHLIB_CFLAGS}"
    TK_LIB_FILE=libtk${TK_SHARED_LIB_SUFFIX}
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) \${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
    RANLIB=":"

a4912 4
    TK_SHLIB_CFLAGS=""
    TK_LIB_FILE=libtk${TK_UNSHARED_LIB_SUFFIX}
    MAKE_LIB="\${STLIB_LD} \$@@ \${OBJS}"

d4915 1
a4915 1

a4958 3
# FIXME: Should we add MAKE_STUB_LIB to tclConfig.sh ?
MAKE_STUB_LIB="\${STLIB_LD} \$@@ \${STUB_LIB_OBJS}"

a5004 19



















a5150 1
s%@@RANLIB@@%$RANLIB%g
d5163 1
d5168 15
a5193 1
s%@@MAKE_STUB_LIB@@%$MAKE_STUB_LIB%g
a5197 5
s%@@CFLAGS_DEFAULT@@%$CFLAGS_DEFAULT%g
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
s%@@EXTRA_CFLAGS@@%$EXTRA_CFLAGS%g
d5199 2
a5200 8
s%@@MAKE_LIB@@%$MAKE_LIB%g
s%@@SHLIB_CFLAGS@@%$SHLIB_CFLAGS%g
s%@@TK_SHLIB_CFLAGS@@%$TK_SHLIB_CFLAGS%g
s%@@STLIB_LD@@%$STLIB_LD%g
s%@@SHLIB_LD@@%$SHLIB_LD%g
s%@@SHLIB_LD_LIBS@@%$SHLIB_LD_LIBS%g
s%@@SHLIB_SUFFIX@@%$SHLIB_SUFFIX%g
s%@@SHLIB_VERSION@@%$SHLIB_VERSION%g
a5201 2
s%@@TK_CC_SEARCH_FLAGS@@%$TK_CC_SEARCH_FLAGS%g
s%@@TK_LD_SEARCH_FLAGS@@%$TK_LD_SEARCH_FLAGS%g
@


1.44
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d2379 14
d2414 1
a2414 1
echo "configure:2401: checking for dld.h" >&5
d2419 1
a2419 1
#line 2406 "configure"
d2424 1
a2424 1
{ (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2481 1
a2481 1
echo "configure:2468: checking for dld.h" >&5
d2486 1
a2486 1
#line 2473 "configure"
d2491 1
a2491 1
{ (eval echo configure:2478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2546 1
a2546 1
echo "configure:2533: checking for dlfcn.h" >&5
d2551 1
a2551 1
#line 2538 "configure"
d2556 1
a2556 1
{ (eval echo configure:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2583 1
a2583 1
echo "configure:2570: checking for ELF" >&5
d2585 1
a2585 1
#line 2572 "configure"
d2918 1
a2918 1
echo "configure:2905: checking for ld accepts -Bexport flag" >&5
d2921 1
a2921 1
#line 2908 "configure"
d2928 1
a2928 1
if { (eval echo configure:2915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2974 1
a2974 1
echo "configure:2961: checking sys/exec.h" >&5
d2976 1
a2976 1
#line 2963 "configure"
d2994 1
a2994 1
if { (eval echo configure:2981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3012 1
a3012 1
echo "configure:2999: checking a.out.h" >&5
d3014 1
a3014 1
#line 3001 "configure"
d3032 1
a3032 1
if { (eval echo configure:3019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3050 1
a3050 1
echo "configure:3037: checking sys/exec_aout.h" >&5
d3052 1
a3052 1
#line 3039 "configure"
d3070 1
a3070 1
if { (eval echo configure:3057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3167 1
a3167 1
echo "configure:3154: checking for build with symbols" >&5
d3211 1
a3211 1
echo "configure:3198: checking for sin" >&5
d3216 1
a3216 1
#line 3203 "configure"
d3239 1
a3239 1
if { (eval echo configure:3226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3260 1
a3260 1
echo "configure:3247: checking for main in -lieee" >&5
d3268 1
a3268 1
#line 3255 "configure"
d3275 1
a3275 1
if { (eval echo configure:3262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3306 1
a3306 1
echo "configure:3293: checking for gettimeofday in -lbsd" >&5
d3314 1
a3314 1
#line 3301 "configure"
d3325 1
a3325 1
if { (eval echo configure:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3356 1
a3356 1
echo "configure:3343: checking stdlib.h" >&5
d3358 1
a3358 1
#line 3345 "configure"
d3373 1
a3373 1
#line 3360 "configure"
d3387 1
a3387 1
#line 3374 "configure"
d3419 1
a3419 1
echo "configure:3406: checking fd_set and sys/select" >&5
d3421 1
a3421 1
#line 3408 "configure"
d3428 1
a3428 1
if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3440 1
a3440 1
#line 3427 "configure"
d3472 1
a3472 1
echo "configure:3459: checking for ANSI C header files" >&5
d3477 1
a3477 1
#line 3464 "configure"
d3485 1
a3485 1
{ (eval echo configure:3472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3502 1
a3502 1
#line 3489 "configure"
d3520 1
a3520 1
#line 3507 "configure"
d3541 1
a3541 1
#line 3528 "configure"
d3552 1
a3552 1
if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3576 1
a3576 1
echo "configure:3563: checking for mode_t" >&5
d3581 1
a3581 1
#line 3568 "configure"
d3609 1
a3609 1
echo "configure:3596: checking for pid_t" >&5
d3614 1
a3614 1
#line 3601 "configure"
d3642 1
a3642 1
echo "configure:3629: checking for size_t" >&5
d3647 1
a3647 1
#line 3634 "configure"
d3675 1
a3675 1
echo "configure:3662: checking for uid_t in sys/types.h" >&5
d3680 1
a3680 1
#line 3667 "configure"
d3717 1
a3717 1
echo "configure:3704: checking for $ac_hdr" >&5
d3722 1
a3722 1
#line 3709 "configure"
d3727 1
a3727 1
{ (eval echo configure:3714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3754 1
a3754 1
echo "configure:3741: checking whether time.h and sys/time.h may both be included" >&5
d3759 1
a3759 1
#line 3746 "configure"
d3768 1
a3768 1
if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3794 1
a3794 1
echo "configure:3781: checking pw_gecos in struct pwd" >&5
d3796 1
a3796 1
#line 3783 "configure"
d3803 1
a3803 1
if { (eval echo configure:3790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3836 1
a3836 1
echo "configure:3823: checking for X" >&5
d3898 1
a3898 1
#line 3885 "configure"
d3903 1
a3903 1
{ (eval echo configure:3890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3972 1
a3972 1
#line 3959 "configure"
d3979 1
a3979 1
if { (eval echo configure:3966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4069 1
a4069 1
#line 4056 "configure"
d4074 1
a4074 1
{ (eval echo configure:4061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4094 1
a4094 1
echo "configure:4081: checking for X11 header files" >&5
d4097 1
a4097 1
#line 4084 "configure"
d4102 1
a4102 1
{ (eval echo configure:4089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4138 1
a4138 1
echo "configure:4125: checking for X11 libraries" >&5
d4158 1
a4158 1
echo "configure:4145: checking for XCreateWindow in -lXwindow" >&5
d4166 1
a4166 1
#line 4153 "configure"
d4177 1
a4177 1
if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4262 1
a4262 1
echo "configure:4249: checking for main in -lXbsd" >&5
d4270 1
a4270 1
#line 4257 "configure"
d4277 1
a4277 1
if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4300 1
a4300 1
echo "configure:4287: checking for connect" >&5
d4305 1
a4305 1
#line 4292 "configure"
d4328 1
a4328 1
if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4350 1
a4350 1
echo "configure:4337: checking for main in -lsocket" >&5
d4358 1
a4358 1
#line 4345 "configure"
d4365 1
a4365 1
if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4391 1
a4391 1
echo "configure:4378: checking for accept" >&5
d4396 1
a4396 1
#line 4383 "configure"
d4419 1
a4419 1
if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4441 1
a4441 1
echo "configure:4428: checking for gethostbyname" >&5
d4446 1
a4446 1
#line 4433 "configure"
d4469 1
a4469 1
if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4487 1
a4487 1
echo "configure:4474: checking for main in -lnsl" >&5
d4495 1
a4495 1
#line 4482 "configure"
d4502 1
a4502 1
if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4542 1
a4542 1
echo "configure:4529: checking MIT X libraries" >&5
d4548 1
a4548 1
#line 4535 "configure"
d4559 1
a4559 1
if { (eval echo configure:4546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4586 1
a4586 1
echo "configure:4573: checking for sin" >&5
d4591 1
a4591 1
#line 4578 "configure"
d4614 1
a4614 1
if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4635 1
a4635 1
echo "configure:4622: checking for main in -lieee" >&5
d4643 1
a4643 1
#line 4630 "configure"
d4650 1
a4650 1
if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4677 1
a4677 1
echo "configure:4664: checking whether char is unsigned" >&5
d4684 1
a4684 1
#line 4671 "configure"
d4706 1
a4706 1
#line 4693 "configure"
d4716 1
a4716 1
if { (eval echo configure:4703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4749 1
a4749 1
echo "configure:4736: checking for strtod" >&5
d4754 1
a4754 1
#line 4741 "configure"
d4777 1
a4777 1
if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4799 1
a4799 1
echo "configure:4786: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4804 1
a4804 1
#line 4791 "configure"
d4824 1
a4824 1
if { (eval echo configure:4811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.43
log
@	* unix/configure:
	* unix/configure.in:
	* win/configure:
	* win/configure.in: Add AC_PREREQ(2.13) in an attempt
	to make it more clear that the configure scripts
	must be generated with autoconf version 2.13.
	[Tcl Bug 583573]
@
text
@d4081 1
a4081 1
	XINCLUDES="# no special path needed"
d4091 2
a4092 1
  :
d4098 1
a4098 1
  XINCLUDES="nope"
d4101 1
a4101 1
	if test "$XINCLUDES" = nope; then
d4107 1
d4114 2
a4115 3
	    XINCLUDES=-I$x_includes
	else
	    XINCLUDES="# no special path needed"
d4118 1
a4118 1
    if test "$XINCLUDES" = nope; then
a4119 1
	XINCLUDES="# no include files found"
@


1.42
log
@        * Bumped HEAD to version 8.4b2 in order to distinguish it from
	  the 8.4b1 release.  Also extended LOCALES to cover all message
          catalogs.
@
text
@d546 1
d576 1
a576 1
echo "configure:576: checking whether to use symlinks for manpages" >&5
d588 1
a588 1
echo "configure:588: checking compression for manpages" >&5
d616 1
a616 1
echo "configure:616: checking for $ac_word" >&5
d646 1
a646 1
echo "configure:646: checking for $ac_word" >&5
d697 1
a697 1
echo "configure:697: checking for $ac_word" >&5
d729 1
a729 1
echo "configure:729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d740 1
a740 1
#line 740 "configure"
d745 1
a745 1
if { (eval echo configure:745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d771 1
a771 1
echo "configure:771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d776 1
a776 1
echo "configure:776: checking whether we are using GNU C" >&5
d785 1
a785 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d804 1
a804 1
echo "configure:804: checking whether ${CC-cc} accepts -g" >&5
d838 1
a838 1
echo "configure:838: checking for $ac_word" >&5
d871 1
a871 1
echo "configure:871: checking how to run the C preprocessor" >&5
d886 1
a886 1
#line 886 "configure"
d892 1
a892 1
{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d903 1
a903 1
#line 903 "configure"
d909 1
a909 1
{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d920 1
a920 1
#line 920 "configure"
d926 1
a926 1
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d954 1
a954 1
echo "configure:954: checking for $ac_hdr" >&5
d959 1
a959 1
#line 959 "configure"
d964 1
a964 1
{ (eval echo configure:964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d997 1
a997 1
echo "configure:997: checking for building with threads" >&5
d1029 1
a1029 1
echo "configure:1029: checking for pthread_mutex_init in -lpthread" >&5
d1037 1
a1037 1
#line 1037 "configure"
d1048 1
a1048 1
if { (eval echo configure:1048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1076 1
a1076 1
echo "configure:1076: checking for __pthread_mutex_init in -lpthread" >&5
d1084 1
a1084 1
#line 1084 "configure"
d1095 1
a1095 1
if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1123 1
a1123 1
echo "configure:1123: checking for pthread_mutex_init in -lpthreads" >&5
d1131 1
a1131 1
#line 1131 "configure"
d1142 1
a1142 1
if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1168 1
a1168 1
echo "configure:1168: checking for pthread_mutex_init in -lc" >&5
d1176 1
a1176 1
#line 1176 "configure"
d1187 1
a1187 1
if { (eval echo configure:1187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1210 1
a1210 1
echo "configure:1210: checking for pthread_mutex_init in -lc_r" >&5
d1218 1
a1218 1
#line 1218 "configure"
d1229 1
a1229 1
if { (eval echo configure:1229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1267 1
a1267 1
echo "configure:1267: checking for $ac_func" >&5
d1272 1
a1272 1
#line 1272 "configure"
d1295 1
a1295 1
if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1322 1
a1322 1
echo "configure:1322: checking for $ac_func" >&5
d1327 1
a1327 1
#line 1327 "configure"
d1350 1
a1350 1
if { (eval echo configure:1350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1389 1
a1389 1
echo "configure:1389: checking if the compiler understands -pipe" >&5
d1393 1
a1393 1
#line 1393 "configure"
d1400 1
a1400 1
if { (eval echo configure:1400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1420 1
a1420 1
echo "configure:1420: checking for required early compiler flags" >&5
d1427 1
a1427 1
#line 1427 "configure"
d1434 1
a1434 1
if { (eval echo configure:1434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1442 1
a1442 1
#line 1442 "configure"
d1450 1
a1450 1
if { (eval echo configure:1450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1476 1
a1476 1
#line 1476 "configure"
d1483 1
a1483 1
if { (eval echo configure:1483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1491 1
a1491 1
#line 1491 "configure"
d1499 1
a1499 1
if { (eval echo configure:1499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1528 1
a1528 1
echo "configure:1528: checking for 64-bit integer type" >&5
d1534 1
a1534 1
#line 1534 "configure"
d1541 1
a1541 1
if { (eval echo configure:1541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1553 1
a1553 1
#line 1553 "configure"
d1559 1
a1559 1
if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1584 1
a1584 1
echo "configure:1584: checking for struct dirent64" >&5
d1590 1
a1590 1
#line 1590 "configure"
d1598 1
a1598 1
if { (eval echo configure:1598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1619 1
a1619 1
echo "configure:1619: checking for struct stat64" >&5
d1625 1
a1625 1
#line 1625 "configure"
d1633 1
a1633 1
if { (eval echo configure:1633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1654 1
a1654 1
echo "configure:1654: checking for off64_t" >&5
d1660 1
a1660 1
#line 1660 "configure"
d1668 1
a1668 1
if { (eval echo configure:1668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1710 1
a1710 1
echo "configure:1710: checking for Tcl configuration" >&5
d1783 1
a1783 1
echo "configure:1783: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1838 1
a1838 1
echo "configure:1838: checking how to build libraries" >&5
d1873 1
a1873 1
echo "configure:1873: checking if 64bit support is requested" >&5
d1893 1
a1893 1
echo "configure:1893: checking if 64bit Sparc VIS support is requested" >&5
d1917 1
a1917 1
echo "configure:1917: checking system version (for dynamic loading)" >&5
d1943 1
a1943 1
echo "configure:1943: checking for dlopen in -ldl" >&5
d1951 1
a1951 1
#line 1951 "configure"
d1962 1
a1962 1
if { (eval echo configure:1962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2006 1
a2006 1
echo "configure:2006: checking for $ac_word" >&5
d2112 1
a2112 1
echo "configure:2112: checking for gettimeofday in -lbsd" >&5
d2120 1
a2120 1
#line 2120 "configure"
d2131 1
a2131 1
if { (eval echo configure:2131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2210 1
a2210 1
echo "configure:2210: checking for shl_load in -ldld" >&5
d2218 1
a2218 1
#line 2218 "configure"
d2229 1
a2229 1
if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2274 1
a2274 1
echo "configure:2274: checking for shl_load in -ldld" >&5
d2282 1
a2282 1
#line 2282 "configure"
d2293 1
a2293 1
if { (eval echo configure:2293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2400 1
a2400 1
echo "configure:2400: checking for dld.h" >&5
d2405 1
a2405 1
#line 2405 "configure"
d2410 1
a2410 1
{ (eval echo configure:2410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2467 1
a2467 1
echo "configure:2467: checking for dld.h" >&5
d2472 1
a2472 1
#line 2472 "configure"
d2477 1
a2477 1
{ (eval echo configure:2477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2532 1
a2532 1
echo "configure:2532: checking for dlfcn.h" >&5
d2537 1
a2537 1
#line 2537 "configure"
d2542 1
a2542 1
{ (eval echo configure:2542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2569 1
a2569 1
echo "configure:2569: checking for ELF" >&5
d2571 1
a2571 1
#line 2571 "configure"
d2904 1
a2904 1
echo "configure:2904: checking for ld accepts -Bexport flag" >&5
d2907 1
a2907 1
#line 2907 "configure"
d2914 1
a2914 1
if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2960 1
a2960 1
echo "configure:2960: checking sys/exec.h" >&5
d2962 1
a2962 1
#line 2962 "configure"
d2980 1
a2980 1
if { (eval echo configure:2980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2998 1
a2998 1
echo "configure:2998: checking a.out.h" >&5
d3000 1
a3000 1
#line 3000 "configure"
d3018 1
a3018 1
if { (eval echo configure:3018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3036 1
a3036 1
echo "configure:3036: checking sys/exec_aout.h" >&5
d3038 1
a3038 1
#line 3038 "configure"
d3056 1
a3056 1
if { (eval echo configure:3056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3153 1
a3153 1
echo "configure:3153: checking for build with symbols" >&5
d3197 1
a3197 1
echo "configure:3197: checking for sin" >&5
d3202 1
a3202 1
#line 3202 "configure"
d3225 1
a3225 1
if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3246 1
a3246 1
echo "configure:3246: checking for main in -lieee" >&5
d3254 1
a3254 1
#line 3254 "configure"
d3261 1
a3261 1
if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3292 1
a3292 1
echo "configure:3292: checking for gettimeofday in -lbsd" >&5
d3300 1
a3300 1
#line 3300 "configure"
d3311 1
a3311 1
if { (eval echo configure:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3342 1
a3342 1
echo "configure:3342: checking stdlib.h" >&5
d3344 1
a3344 1
#line 3344 "configure"
d3359 1
a3359 1
#line 3359 "configure"
d3373 1
a3373 1
#line 3373 "configure"
d3405 1
a3405 1
echo "configure:3405: checking fd_set and sys/select" >&5
d3407 1
a3407 1
#line 3407 "configure"
d3414 1
a3414 1
if { (eval echo configure:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3426 1
a3426 1
#line 3426 "configure"
d3458 1
a3458 1
echo "configure:3458: checking for ANSI C header files" >&5
d3463 1
a3463 1
#line 3463 "configure"
d3471 1
a3471 1
{ (eval echo configure:3471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3488 1
a3488 1
#line 3488 "configure"
d3506 1
a3506 1
#line 3506 "configure"
d3527 1
a3527 1
#line 3527 "configure"
d3538 1
a3538 1
if { (eval echo configure:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3562 1
a3562 1
echo "configure:3562: checking for mode_t" >&5
d3567 1
a3567 1
#line 3567 "configure"
d3595 1
a3595 1
echo "configure:3595: checking for pid_t" >&5
d3600 1
a3600 1
#line 3600 "configure"
d3628 1
a3628 1
echo "configure:3628: checking for size_t" >&5
d3633 1
a3633 1
#line 3633 "configure"
d3661 1
a3661 1
echo "configure:3661: checking for uid_t in sys/types.h" >&5
d3666 1
a3666 1
#line 3666 "configure"
d3703 1
a3703 1
echo "configure:3703: checking for $ac_hdr" >&5
d3708 1
a3708 1
#line 3708 "configure"
d3713 1
a3713 1
{ (eval echo configure:3713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3740 1
a3740 1
echo "configure:3740: checking whether time.h and sys/time.h may both be included" >&5
d3745 1
a3745 1
#line 3745 "configure"
d3754 1
a3754 1
if { (eval echo configure:3754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3780 1
a3780 1
echo "configure:3780: checking pw_gecos in struct pwd" >&5
d3782 1
a3782 1
#line 3782 "configure"
d3789 1
a3789 1
if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3822 1
a3822 1
echo "configure:3822: checking for X" >&5
d3884 1
a3884 1
#line 3884 "configure"
d3889 1
a3889 1
{ (eval echo configure:3889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3958 1
a3958 1
#line 3958 "configure"
d3965 1
a3965 1
if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4055 1
a4055 1
#line 4055 "configure"
d4060 1
a4060 1
{ (eval echo configure:4060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4080 1
a4080 1
echo "configure:4080: checking for X11 header files" >&5
d4083 1
a4083 1
#line 4083 "configure"
d4088 1
a4088 1
{ (eval echo configure:4088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4124 1
a4124 1
echo "configure:4124: checking for X11 libraries" >&5
d4144 1
a4144 1
echo "configure:4144: checking for XCreateWindow in -lXwindow" >&5
d4152 1
a4152 1
#line 4152 "configure"
d4163 1
a4163 1
if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4248 1
a4248 1
echo "configure:4248: checking for main in -lXbsd" >&5
d4256 1
a4256 1
#line 4256 "configure"
d4263 1
a4263 1
if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4286 1
a4286 1
echo "configure:4286: checking for connect" >&5
d4291 1
a4291 1
#line 4291 "configure"
d4314 1
a4314 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4336 1
a4336 1
echo "configure:4336: checking for main in -lsocket" >&5
d4344 1
a4344 1
#line 4344 "configure"
d4351 1
a4351 1
if { (eval echo configure:4351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4377 1
a4377 1
echo "configure:4377: checking for accept" >&5
d4382 1
a4382 1
#line 4382 "configure"
d4405 1
a4405 1
if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4427 1
a4427 1
echo "configure:4427: checking for gethostbyname" >&5
d4432 1
a4432 1
#line 4432 "configure"
d4455 1
a4455 1
if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4473 1
a4473 1
echo "configure:4473: checking for main in -lnsl" >&5
d4481 1
a4481 1
#line 4481 "configure"
d4488 1
a4488 1
if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4528 1
a4528 1
echo "configure:4528: checking MIT X libraries" >&5
d4534 1
a4534 1
#line 4534 "configure"
d4545 1
a4545 1
if { (eval echo configure:4545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4572 1
a4572 1
echo "configure:4572: checking for sin" >&5
d4577 1
a4577 1
#line 4577 "configure"
d4600 1
a4600 1
if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4621 1
a4621 1
echo "configure:4621: checking for main in -lieee" >&5
d4629 1
a4629 1
#line 4629 "configure"
d4636 1
a4636 1
if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4663 1
a4663 1
echo "configure:4663: checking whether char is unsigned" >&5
d4670 1
a4670 1
#line 4670 "configure"
d4692 1
a4692 1
#line 4692 "configure"
d4702 1
a4702 1
if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4735 1
a4735 1
echo "configure:4735: checking for strtod" >&5
d4740 1
a4740 1
#line 4740 "configure"
d4763 1
a4763 1
if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4785 1
a4785 1
echo "configure:4785: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4790 1
a4790 1
#line 4790 "configure"
d4810 1
a4810 1
if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.41
log
@Updated to latest tcl.m4 from Tcl.
@
text
@d549 1
a549 1
TK_PATCH_LEVEL="b1"
d551 1
a551 1
LOCALES="de en es fr"
@


1.40
log
@	* unix/tcl.m4:       New macro SC_CONFIG_MANPAGES.
	* unix/configure.in: Added support for symlinks and compression
	* unix/Makefile.in:  when installing the manpages. [Patch 518052]
	                     Default is still hardlinks and no compression.

	* unix/mkLinks:      generated
	* unix/configure:

	* unix/README:       Added documentation for the new features.
@
text
@d1318 55
d1388 1
a1388 1
echo "configure:1334: checking if the compiler understands -pipe" >&5
d1392 1
a1392 1
#line 1338 "configure"
d1399 1
a1399 1
if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1419 1
a1419 1
echo "configure:1365: checking for required early compiler flags" >&5
d1426 1
a1426 1
#line 1372 "configure"
d1433 1
a1433 1
if { (eval echo configure:1379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1441 1
a1441 1
#line 1387 "configure"
d1449 1
a1449 1
if { (eval echo configure:1395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1475 1
a1475 1
#line 1421 "configure"
d1482 1
a1482 1
if { (eval echo configure:1428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1490 1
a1490 1
#line 1436 "configure"
d1498 1
a1498 1
if { (eval echo configure:1444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1527 1
a1527 1
echo "configure:1473: checking for 64-bit integer type" >&5
d1533 1
a1533 1
#line 1479 "configure"
d1540 1
a1540 1
if { (eval echo configure:1486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1552 1
a1552 1
#line 1498 "configure"
d1558 1
a1558 1
if { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1583 1
a1583 1
echo "configure:1529: checking for struct dirent64" >&5
d1589 1
a1589 1
#line 1535 "configure"
d1597 1
a1597 1
if { (eval echo configure:1543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1618 1
a1618 1
echo "configure:1564: checking for struct stat64" >&5
d1624 1
a1624 1
#line 1570 "configure"
d1632 1
a1632 1
if { (eval echo configure:1578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1653 1
a1653 1
echo "configure:1599: checking for off64_t" >&5
d1659 1
a1659 1
#line 1605 "configure"
d1667 1
a1667 1
if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1709 1
a1709 1
echo "configure:1655: checking for Tcl configuration" >&5
d1782 1
a1782 1
echo "configure:1728: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1837 1
a1837 1
echo "configure:1783: checking how to build libraries" >&5
d1872 1
a1872 1
echo "configure:1818: checking if 64bit support is requested" >&5
d1892 1
a1892 1
echo "configure:1838: checking if 64bit Sparc VIS support is requested" >&5
d1916 1
a1916 1
echo "configure:1862: checking system version (for dynamic loading)" >&5
d1942 1
a1942 1
echo "configure:1888: checking for dlopen in -ldl" >&5
d1950 1
a1950 1
#line 1896 "configure"
d1961 1
a1961 1
if { (eval echo configure:1907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2005 1
a2005 1
echo "configure:1951: checking for $ac_word" >&5
d2111 1
a2111 1
echo "configure:2057: checking for gettimeofday in -lbsd" >&5
d2119 1
a2119 1
#line 2065 "configure"
d2130 1
a2130 1
if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2209 1
a2209 1
echo "configure:2155: checking for shl_load in -ldld" >&5
d2217 1
a2217 1
#line 2163 "configure"
d2228 1
a2228 1
if { (eval echo configure:2174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2273 1
a2273 1
echo "configure:2219: checking for shl_load in -ldld" >&5
d2281 1
a2281 1
#line 2227 "configure"
d2292 1
a2292 1
if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2399 1
a2399 1
echo "configure:2345: checking for dld.h" >&5
d2404 1
a2404 1
#line 2350 "configure"
d2409 1
a2409 1
{ (eval echo configure:2355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2466 1
a2466 1
echo "configure:2412: checking for dld.h" >&5
d2471 1
a2471 1
#line 2417 "configure"
d2476 1
a2476 1
{ (eval echo configure:2422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2531 1
a2531 1
echo "configure:2477: checking for dlfcn.h" >&5
d2536 1
a2536 1
#line 2482 "configure"
d2541 1
a2541 1
{ (eval echo configure:2487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2568 1
a2568 1
echo "configure:2514: checking for ELF" >&5
d2570 1
a2570 1
#line 2516 "configure"
d2646 2
a2647 2
	    CFLAGS_OPTIMIZE="-O3"
	    EXTRA_CFLAGS="-arch ppc -pipe"
a2808 1
	    SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d2820 1
d2823 1
a2840 1
	    SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d2873 1
d2876 1
d2903 1
a2903 1
echo "configure:2847: checking for ld accepts -Bexport flag" >&5
d2906 1
a2906 1
#line 2850 "configure"
d2913 1
a2913 1
if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2959 1
a2959 1
echo "configure:2903: checking sys/exec.h" >&5
d2961 1
a2961 1
#line 2905 "configure"
d2979 1
a2979 1
if { (eval echo configure:2923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2997 1
a2997 1
echo "configure:2941: checking a.out.h" >&5
d2999 1
a2999 1
#line 2943 "configure"
d3017 1
a3017 1
if { (eval echo configure:2961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3035 1
a3035 1
echo "configure:2979: checking sys/exec_aout.h" >&5
d3037 1
a3037 1
#line 2981 "configure"
d3055 1
a3055 1
if { (eval echo configure:2999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3152 1
a3152 1
echo "configure:3096: checking for build with symbols" >&5
d3196 1
a3196 1
echo "configure:3140: checking for sin" >&5
d3201 1
a3201 1
#line 3145 "configure"
d3224 1
a3224 1
if { (eval echo configure:3168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3245 1
a3245 1
echo "configure:3189: checking for main in -lieee" >&5
d3253 1
a3253 1
#line 3197 "configure"
d3260 1
a3260 1
if { (eval echo configure:3204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3291 1
a3291 1
echo "configure:3235: checking for gettimeofday in -lbsd" >&5
d3299 1
a3299 1
#line 3243 "configure"
d3310 1
a3310 1
if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3341 1
a3341 1
echo "configure:3285: checking stdlib.h" >&5
d3343 1
a3343 1
#line 3287 "configure"
d3358 1
a3358 1
#line 3302 "configure"
d3372 1
a3372 1
#line 3316 "configure"
d3404 1
a3404 1
echo "configure:3348: checking fd_set and sys/select" >&5
d3406 1
a3406 1
#line 3350 "configure"
d3413 1
a3413 1
if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3425 1
a3425 1
#line 3369 "configure"
d3457 1
a3457 1
echo "configure:3401: checking for ANSI C header files" >&5
d3462 1
a3462 1
#line 3406 "configure"
d3470 1
a3470 1
{ (eval echo configure:3414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3487 1
a3487 1
#line 3431 "configure"
d3505 1
a3505 1
#line 3449 "configure"
d3526 1
a3526 1
#line 3470 "configure"
d3537 1
a3537 1
if { (eval echo configure:3481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3561 1
a3561 1
echo "configure:3505: checking for mode_t" >&5
d3566 1
a3566 1
#line 3510 "configure"
d3594 1
a3594 1
echo "configure:3538: checking for pid_t" >&5
d3599 1
a3599 1
#line 3543 "configure"
d3627 1
a3627 1
echo "configure:3571: checking for size_t" >&5
d3632 1
a3632 1
#line 3576 "configure"
d3660 1
a3660 1
echo "configure:3604: checking for uid_t in sys/types.h" >&5
d3665 1
a3665 1
#line 3609 "configure"
d3702 1
a3702 1
echo "configure:3646: checking for $ac_hdr" >&5
d3707 1
a3707 1
#line 3651 "configure"
d3712 1
a3712 1
{ (eval echo configure:3656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3739 1
a3739 1
echo "configure:3683: checking whether time.h and sys/time.h may both be included" >&5
d3744 1
a3744 1
#line 3688 "configure"
d3753 1
a3753 1
if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3779 1
a3779 1
echo "configure:3723: checking pw_gecos in struct pwd" >&5
d3781 1
a3781 1
#line 3725 "configure"
d3788 1
a3788 1
if { (eval echo configure:3732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3821 1
a3821 1
echo "configure:3765: checking for X" >&5
d3883 1
a3883 1
#line 3827 "configure"
d3888 1
a3888 1
{ (eval echo configure:3832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3957 1
a3957 1
#line 3901 "configure"
d3964 1
a3964 1
if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4054 1
a4054 1
#line 3998 "configure"
d4059 1
a4059 1
{ (eval echo configure:4003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4079 1
a4079 1
echo "configure:4023: checking for X11 header files" >&5
d4082 1
a4082 1
#line 4026 "configure"
d4087 1
a4087 1
{ (eval echo configure:4031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4123 1
a4123 1
echo "configure:4067: checking for X11 libraries" >&5
d4143 1
a4143 1
echo "configure:4087: checking for XCreateWindow in -lXwindow" >&5
d4151 1
a4151 1
#line 4095 "configure"
d4162 1
a4162 1
if { (eval echo configure:4106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4247 1
a4247 1
echo "configure:4191: checking for main in -lXbsd" >&5
d4255 1
a4255 1
#line 4199 "configure"
d4262 1
a4262 1
if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4285 1
a4285 1
echo "configure:4229: checking for connect" >&5
d4290 1
a4290 1
#line 4234 "configure"
d4313 1
a4313 1
if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4335 1
a4335 1
echo "configure:4279: checking for main in -lsocket" >&5
d4343 1
a4343 1
#line 4287 "configure"
d4350 1
a4350 1
if { (eval echo configure:4294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4376 1
a4376 1
echo "configure:4320: checking for accept" >&5
d4381 1
a4381 1
#line 4325 "configure"
d4404 1
a4404 1
if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4426 1
a4426 1
echo "configure:4370: checking for gethostbyname" >&5
d4431 1
a4431 1
#line 4375 "configure"
d4454 1
a4454 1
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4472 1
a4472 1
echo "configure:4416: checking for main in -lnsl" >&5
d4480 1
a4480 1
#line 4424 "configure"
d4487 1
a4487 1
if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4527 1
a4527 1
echo "configure:4471: checking MIT X libraries" >&5
d4533 1
a4533 1
#line 4477 "configure"
d4544 1
a4544 1
if { (eval echo configure:4488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4571 1
a4571 1
echo "configure:4515: checking for sin" >&5
d4576 1
a4576 1
#line 4520 "configure"
d4599 1
a4599 1
if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4620 1
a4620 1
echo "configure:4564: checking for main in -lieee" >&5
d4628 1
a4628 1
#line 4572 "configure"
d4635 1
a4635 1
if { (eval echo configure:4579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4662 1
a4662 1
echo "configure:4606: checking whether char is unsigned" >&5
d4669 1
a4669 1
#line 4613 "configure"
d4691 1
a4691 1
#line 4635 "configure"
d4701 1
a4701 1
if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4734 1
a4734 1
echo "configure:4678: checking for strtod" >&5
d4739 1
a4739 1
#line 4683 "configure"
d4762 1
a4762 1
if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4784 1
a4784 1
echo "configure:4728: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4789 1
a4789 1
#line 4733 "configure"
d4809 1
a4809 1
if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
@


1.39
log
@	* unix/configure:                  Replaced ${exec_prefix}/lib
	* unix/tcl.m4 (SC_PATH_TCLCONFIG): by ${libdir}.
@
text
@d15 5
d570 33
d615 1
a615 1
echo "configure:578: checking for $ac_word" >&5
d645 1
a645 1
echo "configure:608: checking for $ac_word" >&5
d696 1
a696 1
echo "configure:659: checking for $ac_word" >&5
d728 1
a728 1
echo "configure:691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d739 1
a739 1
#line 702 "configure"
d744 1
a744 1
if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d770 1
a770 1
echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d775 1
a775 1
echo "configure:738: checking whether we are using GNU C" >&5
d784 1
a784 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d803 1
a803 1
echo "configure:766: checking whether ${CC-cc} accepts -g" >&5
d837 1
a837 1
echo "configure:800: checking for $ac_word" >&5
d870 1
a870 1
echo "configure:833: checking how to run the C preprocessor" >&5
d885 1
a885 1
#line 848 "configure"
d891 1
a891 1
{ (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d902 1
a902 1
#line 865 "configure"
d908 1
a908 1
{ (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d919 1
a919 1
#line 882 "configure"
d925 1
a925 1
{ (eval echo configure:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d953 1
a953 1
echo "configure:916: checking for $ac_hdr" >&5
d958 1
a958 1
#line 921 "configure"
d963 1
a963 1
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d996 1
a996 1
echo "configure:959: checking for building with threads" >&5
d1028 1
a1028 1
echo "configure:991: checking for pthread_mutex_init in -lpthread" >&5
d1036 1
a1036 1
#line 999 "configure"
d1047 1
a1047 1
if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1075 1
a1075 1
echo "configure:1038: checking for __pthread_mutex_init in -lpthread" >&5
d1083 1
a1083 1
#line 1046 "configure"
d1094 1
a1094 1
if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1122 1
a1122 1
echo "configure:1085: checking for pthread_mutex_init in -lpthreads" >&5
d1130 1
a1130 1
#line 1093 "configure"
d1141 1
a1141 1
if { (eval echo configure:1104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1167 1
a1167 1
echo "configure:1130: checking for pthread_mutex_init in -lc" >&5
d1175 1
a1175 1
#line 1138 "configure"
d1186 1
a1186 1
if { (eval echo configure:1149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1209 1
a1209 1
echo "configure:1172: checking for pthread_mutex_init in -lc_r" >&5
d1217 1
a1217 1
#line 1180 "configure"
d1228 1
a1228 1
if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1266 1
a1266 1
echo "configure:1229: checking for $ac_func" >&5
d1271 1
a1271 1
#line 1234 "configure"
d1294 1
a1294 1
if { (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1333 1
a1333 1
echo "configure:1296: checking if the compiler understands -pipe" >&5
d1337 1
a1337 1
#line 1300 "configure"
d1344 1
a1344 1
if { (eval echo configure:1307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1364 1
a1364 1
echo "configure:1327: checking for required early compiler flags" >&5
d1371 1
a1371 1
#line 1334 "configure"
d1378 1
a1378 1
if { (eval echo configure:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1386 1
a1386 1
#line 1349 "configure"
d1394 1
a1394 1
if { (eval echo configure:1357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1420 1
a1420 1
#line 1383 "configure"
d1427 1
a1427 1
if { (eval echo configure:1390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1435 1
a1435 1
#line 1398 "configure"
d1443 1
a1443 1
if { (eval echo configure:1406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1472 1
a1472 1
echo "configure:1435: checking for 64-bit integer type" >&5
d1478 1
a1478 1
#line 1441 "configure"
d1485 1
a1485 1
if { (eval echo configure:1448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1497 1
a1497 1
#line 1460 "configure"
d1503 1
a1503 1
if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1528 1
a1528 1
echo "configure:1491: checking for struct dirent64" >&5
d1534 1
a1534 1
#line 1497 "configure"
d1542 1
a1542 1
if { (eval echo configure:1505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1563 1
a1563 1
echo "configure:1526: checking for struct stat64" >&5
d1569 1
a1569 1
#line 1532 "configure"
d1577 1
a1577 1
if { (eval echo configure:1540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1598 1
a1598 1
echo "configure:1561: checking for off64_t" >&5
d1604 1
a1604 1
#line 1567 "configure"
d1612 1
a1612 1
if { (eval echo configure:1575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1654 1
a1654 1
echo "configure:1617: checking for Tcl configuration" >&5
d1727 1
a1727 1
echo "configure:1690: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1782 1
a1782 1
echo "configure:1745: checking how to build libraries" >&5
d1817 1
a1817 1
echo "configure:1780: checking if 64bit support is requested" >&5
d1837 1
a1837 1
echo "configure:1800: checking if 64bit Sparc VIS support is requested" >&5
d1861 1
a1861 1
echo "configure:1824: checking system version (for dynamic loading)" >&5
d1887 1
a1887 1
echo "configure:1850: checking for dlopen in -ldl" >&5
d1895 1
a1895 1
#line 1858 "configure"
d1906 1
a1906 1
if { (eval echo configure:1869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1950 1
a1950 1
echo "configure:1913: checking for $ac_word" >&5
d2056 1
a2056 1
echo "configure:2019: checking for gettimeofday in -lbsd" >&5
d2064 1
a2064 1
#line 2027 "configure"
d2075 1
a2075 1
if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2154 1
a2154 1
echo "configure:2117: checking for shl_load in -ldld" >&5
d2162 1
a2162 1
#line 2125 "configure"
d2173 1
a2173 1
if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2218 1
a2218 1
echo "configure:2181: checking for shl_load in -ldld" >&5
d2226 1
a2226 1
#line 2189 "configure"
d2237 1
a2237 1
if { (eval echo configure:2200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2344 1
a2344 1
echo "configure:2307: checking for dld.h" >&5
d2349 1
a2349 1
#line 2312 "configure"
d2354 1
a2354 1
{ (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2411 1
a2411 1
echo "configure:2374: checking for dld.h" >&5
d2416 1
a2416 1
#line 2379 "configure"
d2421 1
a2421 1
{ (eval echo configure:2384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2476 1
a2476 1
echo "configure:2439: checking for dlfcn.h" >&5
d2481 1
a2481 1
#line 2444 "configure"
d2486 1
a2486 1
{ (eval echo configure:2449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2513 1
a2513 1
echo "configure:2476: checking for ELF" >&5
d2515 1
a2515 1
#line 2478 "configure"
d2846 1
a2846 1
echo "configure:2809: checking for ld accepts -Bexport flag" >&5
d2849 1
a2849 1
#line 2812 "configure"
d2856 1
a2856 1
if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2902 1
a2902 1
echo "configure:2865: checking sys/exec.h" >&5
d2904 1
a2904 1
#line 2867 "configure"
d2922 1
a2922 1
if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2940 1
a2940 1
echo "configure:2903: checking a.out.h" >&5
d2942 1
a2942 1
#line 2905 "configure"
d2960 1
a2960 1
if { (eval echo configure:2923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2978 1
a2978 1
echo "configure:2941: checking sys/exec_aout.h" >&5
d2980 1
a2980 1
#line 2943 "configure"
d2998 1
a2998 1
if { (eval echo configure:2961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3095 1
a3095 1
echo "configure:3058: checking for build with symbols" >&5
d3139 1
a3139 1
echo "configure:3102: checking for sin" >&5
d3144 1
a3144 1
#line 3107 "configure"
d3167 1
a3167 1
if { (eval echo configure:3130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3188 1
a3188 1
echo "configure:3151: checking for main in -lieee" >&5
d3196 1
a3196 1
#line 3159 "configure"
d3203 1
a3203 1
if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3234 1
a3234 1
echo "configure:3197: checking for gettimeofday in -lbsd" >&5
d3242 1
a3242 1
#line 3205 "configure"
d3253 1
a3253 1
if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3284 1
a3284 1
echo "configure:3247: checking stdlib.h" >&5
d3286 1
a3286 1
#line 3249 "configure"
d3301 1
a3301 1
#line 3264 "configure"
d3315 1
a3315 1
#line 3278 "configure"
d3347 1
a3347 1
echo "configure:3310: checking fd_set and sys/select" >&5
d3349 1
a3349 1
#line 3312 "configure"
d3356 1
a3356 1
if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3368 1
a3368 1
#line 3331 "configure"
d3400 1
a3400 1
echo "configure:3363: checking for ANSI C header files" >&5
d3405 1
a3405 1
#line 3368 "configure"
d3413 1
a3413 1
{ (eval echo configure:3376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3430 1
a3430 1
#line 3393 "configure"
d3448 1
a3448 1
#line 3411 "configure"
d3469 1
a3469 1
#line 3432 "configure"
d3480 1
a3480 1
if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3504 1
a3504 1
echo "configure:3467: checking for mode_t" >&5
d3509 1
a3509 1
#line 3472 "configure"
d3537 1
a3537 1
echo "configure:3500: checking for pid_t" >&5
d3542 1
a3542 1
#line 3505 "configure"
d3570 1
a3570 1
echo "configure:3533: checking for size_t" >&5
d3575 1
a3575 1
#line 3538 "configure"
d3603 1
a3603 1
echo "configure:3566: checking for uid_t in sys/types.h" >&5
d3608 1
a3608 1
#line 3571 "configure"
d3645 1
a3645 1
echo "configure:3608: checking for $ac_hdr" >&5
d3650 1
a3650 1
#line 3613 "configure"
d3655 1
a3655 1
{ (eval echo configure:3618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3682 1
a3682 1
echo "configure:3645: checking whether time.h and sys/time.h may both be included" >&5
d3687 1
a3687 1
#line 3650 "configure"
d3696 1
a3696 1
if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3722 1
a3722 1
echo "configure:3685: checking pw_gecos in struct pwd" >&5
d3724 1
a3724 1
#line 3687 "configure"
d3731 1
a3731 1
if { (eval echo configure:3694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3764 1
a3764 1
echo "configure:3727: checking for X" >&5
d3826 1
a3826 1
#line 3789 "configure"
d3831 1
a3831 1
{ (eval echo configure:3794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3900 1
a3900 1
#line 3863 "configure"
d3907 1
a3907 1
if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3997 1
a3997 1
#line 3960 "configure"
d4002 1
a4002 1
{ (eval echo configure:3965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4022 1
a4022 1
echo "configure:3985: checking for X11 header files" >&5
d4025 1
a4025 1
#line 3988 "configure"
d4030 1
a4030 1
{ (eval echo configure:3993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4066 1
a4066 1
echo "configure:4029: checking for X11 libraries" >&5
d4086 1
a4086 1
echo "configure:4049: checking for XCreateWindow in -lXwindow" >&5
d4094 1
a4094 1
#line 4057 "configure"
d4105 1
a4105 1
if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4190 1
a4190 1
echo "configure:4153: checking for main in -lXbsd" >&5
d4198 1
a4198 1
#line 4161 "configure"
d4205 1
a4205 1
if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4228 1
a4228 1
echo "configure:4191: checking for connect" >&5
d4233 1
a4233 1
#line 4196 "configure"
d4256 1
a4256 1
if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4278 1
a4278 1
echo "configure:4241: checking for main in -lsocket" >&5
d4286 1
a4286 1
#line 4249 "configure"
d4293 1
a4293 1
if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4319 1
a4319 1
echo "configure:4282: checking for accept" >&5
d4324 1
a4324 1
#line 4287 "configure"
d4347 1
a4347 1
if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4369 1
a4369 1
echo "configure:4332: checking for gethostbyname" >&5
d4374 1
a4374 1
#line 4337 "configure"
d4397 1
a4397 1
if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4415 1
a4415 1
echo "configure:4378: checking for main in -lnsl" >&5
d4423 1
a4423 1
#line 4386 "configure"
d4430 1
a4430 1
if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4470 1
a4470 1
echo "configure:4433: checking MIT X libraries" >&5
d4476 1
a4476 1
#line 4439 "configure"
d4487 1
a4487 1
if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4514 1
a4514 1
echo "configure:4477: checking for sin" >&5
d4519 1
a4519 1
#line 4482 "configure"
d4542 1
a4542 1
if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4563 1
a4563 1
echo "configure:4526: checking for main in -lieee" >&5
d4571 1
a4571 1
#line 4534 "configure"
d4578 1
a4578 1
if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4605 1
a4605 1
echo "configure:4568: checking whether char is unsigned" >&5
d4612 1
a4612 1
#line 4575 "configure"
d4634 1
a4634 1
#line 4597 "configure"
d4644 1
a4644 1
if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4677 1
a4677 1
echo "configure:4640: checking for strtod" >&5
d4682 1
a4682 1
#line 4645 "configure"
d4705 1
a4705 1
if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4727 1
a4727 1
echo "configure:4690: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4732 1
a4732 1
#line 4695 "configure"
d4752 1
a4752 1
if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d5055 1
@


1.38
log
@Regen.
@
text
@d1649 1
a1649 1
		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
@


1.37
log
@	* unix/configure: Regen.
	* unix/configure.in: Invoke SC_ENABLE_SHARED before
	calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
	variable can be checked inside SC_CONFIG_CFLAGS.
	* unix/tcl.m4: Update from Tcl.
@
text
@d544 1
a544 1
TK_PATCH_LEVEL="a5"
@


1.36
log
@	* unix/configure:
	* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
	that the .sl knows its dependent libs.
@
text
@d19 2
a29 2
ac_help="$ac_help
  --enable-shared         build and link with shared libraries [--enable-shared]"
d975 6
d990 1
a990 1
echo "configure:985: checking for pthread_mutex_init in -lpthread" >&5
d998 1
a998 1
#line 993 "configure"
d1009 1
a1009 1
if { (eval echo configure:1004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1037 1
a1037 1
echo "configure:1032: checking for __pthread_mutex_init in -lpthread" >&5
d1045 1
a1045 1
#line 1040 "configure"
d1056 1
a1056 1
if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1084 1
a1084 1
echo "configure:1079: checking for pthread_mutex_init in -lpthreads" >&5
d1092 1
a1092 1
#line 1087 "configure"
d1103 1
a1103 1
if { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1129 1
a1129 1
echo "configure:1124: checking for pthread_mutex_init in -lc" >&5
d1137 1
a1137 1
#line 1132 "configure"
d1148 1
a1148 1
if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1171 1
a1171 1
echo "configure:1166: checking for pthread_mutex_init in -lc_r" >&5
d1179 1
a1179 1
#line 1174 "configure"
d1190 1
a1190 1
if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1228 1
a1228 1
echo "configure:1223: checking for $ac_func" >&5
d1233 1
a1233 1
#line 1228 "configure"
d1256 1
a1256 1
if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1295 1
a1295 1
echo "configure:1290: checking if the compiler understands -pipe" >&5
d1299 1
a1299 1
#line 1294 "configure"
d1306 1
a1306 1
if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1326 1
a1326 1
echo "configure:1321: checking for required early compiler flags" >&5
d1333 1
a1333 1
#line 1328 "configure"
d1340 1
a1340 1
if { (eval echo configure:1335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1348 1
a1348 1
#line 1343 "configure"
d1356 1
a1356 1
if { (eval echo configure:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1382 1
a1382 1
#line 1377 "configure"
d1389 1
a1389 1
if { (eval echo configure:1384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1397 1
a1397 1
#line 1392 "configure"
d1405 1
a1405 1
if { (eval echo configure:1400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1434 1
a1434 1
echo "configure:1429: checking for 64-bit integer type" >&5
d1440 1
a1440 1
#line 1435 "configure"
d1447 1
a1447 1
if { (eval echo configure:1442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1459 1
a1459 1
#line 1454 "configure"
d1465 1
a1465 1
if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1490 1
a1490 1
echo "configure:1485: checking for struct dirent64" >&5
d1496 1
a1496 1
#line 1491 "configure"
d1504 1
a1504 1
if { (eval echo configure:1499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1525 1
a1525 1
echo "configure:1520: checking for struct stat64" >&5
d1531 1
a1531 1
#line 1526 "configure"
d1539 1
a1539 1
if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1560 1
a1560 1
echo "configure:1555: checking for off64_t" >&5
d1566 1
a1566 1
#line 1561 "configure"
d1574 1
a1574 1
if { (eval echo configure:1569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1616 1
a1616 1
echo "configure:1611: checking for Tcl configuration" >&5
d1689 1
a1689 1
echo "configure:1684: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1743 32
d1779 1
a1779 1
echo "configure:1742: checking if 64bit support is requested" >&5
d1799 1
a1799 1
echo "configure:1762: checking if 64bit Sparc VIS support is requested" >&5
d1823 1
a1823 1
echo "configure:1786: checking system version (for dynamic loading)" >&5
d1849 1
a1849 1
echo "configure:1812: checking for dlopen in -ldl" >&5
d1857 1
a1857 1
#line 1820 "configure"
d1868 1
a1868 1
if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1912 1
a1912 1
echo "configure:1875: checking for $ac_word" >&5
d2018 1
a2018 1
echo "configure:1981: checking for gettimeofday in -lbsd" >&5
d2026 1
a2026 1
#line 1989 "configure"
d2037 1
a2037 1
if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2116 1
a2116 1
echo "configure:2079: checking for shl_load in -ldld" >&5
d2124 1
a2124 1
#line 2087 "configure"
d2135 1
a2135 1
if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2180 1
a2180 1
echo "configure:2143: checking for shl_load in -ldld" >&5
d2188 1
a2188 1
#line 2151 "configure"
d2199 1
a2199 1
if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2306 1
a2306 1
echo "configure:2269: checking for dld.h" >&5
d2311 1
a2311 1
#line 2274 "configure"
d2316 1
a2316 1
{ (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2373 1
a2373 1
echo "configure:2336: checking for dld.h" >&5
d2378 1
a2378 1
#line 2341 "configure"
d2383 1
a2383 1
{ (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2438 1
a2438 1
echo "configure:2401: checking for dlfcn.h" >&5
d2443 1
a2443 1
#line 2406 "configure"
d2448 1
a2448 1
{ (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2475 1
a2475 1
echo "configure:2438: checking for ELF" >&5
d2477 1
a2477 1
#line 2440 "configure"
d2588 5
a2592 1
	    SHLIB_LD="ld -shared"
d2603 5
a2607 1
	    SHLIB_LD='ld -shared -expect_unresolved "*"'
d2808 1
a2808 1
echo "configure:2763: checking for ld accepts -Bexport flag" >&5
d2811 1
a2811 1
#line 2766 "configure"
d2818 1
a2818 1
if { (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2864 1
a2864 1
echo "configure:2819: checking sys/exec.h" >&5
d2866 1
a2866 1
#line 2821 "configure"
d2884 1
a2884 1
if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2902 1
a2902 1
echo "configure:2857: checking a.out.h" >&5
d2904 1
a2904 1
#line 2859 "configure"
d2922 1
a2922 1
if { (eval echo configure:2877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2940 1
a2940 1
echo "configure:2895: checking sys/exec_aout.h" >&5
d2942 1
a2942 1
#line 2897 "configure"
d2960 1
a2960 1
if { (eval echo configure:2915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3057 1
a3057 1
echo "configure:3012: checking for build with symbols" >&5
d3101 1
a3101 1
echo "configure:3056: checking for sin" >&5
d3106 1
a3106 1
#line 3061 "configure"
d3129 1
a3129 1
if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3150 1
a3150 1
echo "configure:3105: checking for main in -lieee" >&5
d3158 1
a3158 1
#line 3113 "configure"
d3165 1
a3165 1
if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3196 1
a3196 1
echo "configure:3151: checking for gettimeofday in -lbsd" >&5
d3204 1
a3204 1
#line 3159 "configure"
d3215 1
a3215 1
if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3246 1
a3246 1
echo "configure:3201: checking stdlib.h" >&5
d3248 1
a3248 1
#line 3203 "configure"
d3263 1
a3263 1
#line 3218 "configure"
d3277 1
a3277 1
#line 3232 "configure"
d3309 1
a3309 1
echo "configure:3264: checking fd_set and sys/select" >&5
d3311 1
a3311 1
#line 3266 "configure"
d3318 1
a3318 1
if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3330 1
a3330 1
#line 3285 "configure"
d3362 1
a3362 1
echo "configure:3317: checking for ANSI C header files" >&5
d3367 1
a3367 1
#line 3322 "configure"
d3375 1
a3375 1
{ (eval echo configure:3330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3392 1
a3392 1
#line 3347 "configure"
d3410 1
a3410 1
#line 3365 "configure"
d3431 1
a3431 1
#line 3386 "configure"
d3442 1
a3442 1
if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3466 1
a3466 1
echo "configure:3421: checking for mode_t" >&5
d3471 1
a3471 1
#line 3426 "configure"
d3499 1
a3499 1
echo "configure:3454: checking for pid_t" >&5
d3504 1
a3504 1
#line 3459 "configure"
d3532 1
a3532 1
echo "configure:3487: checking for size_t" >&5
d3537 1
a3537 1
#line 3492 "configure"
d3565 1
a3565 1
echo "configure:3520: checking for uid_t in sys/types.h" >&5
d3570 1
a3570 1
#line 3525 "configure"
d3607 1
a3607 1
echo "configure:3562: checking for $ac_hdr" >&5
d3612 1
a3612 1
#line 3567 "configure"
d3617 1
a3617 1
{ (eval echo configure:3572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3644 1
a3644 1
echo "configure:3599: checking whether time.h and sys/time.h may both be included" >&5
d3649 1
a3649 1
#line 3604 "configure"
d3658 1
a3658 1
if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3684 1
a3684 1
echo "configure:3639: checking pw_gecos in struct pwd" >&5
d3686 1
a3686 1
#line 3641 "configure"
d3693 1
a3693 1
if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3726 1
a3726 1
echo "configure:3681: checking for X" >&5
d3788 1
a3788 1
#line 3743 "configure"
d3793 1
a3793 1
{ (eval echo configure:3748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3862 1
a3862 1
#line 3817 "configure"
d3869 1
a3869 1
if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3959 1
a3959 1
#line 3914 "configure"
d3964 1
a3964 1
{ (eval echo configure:3919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3984 1
a3984 1
echo "configure:3939: checking for X11 header files" >&5
d3987 1
a3987 1
#line 3942 "configure"
d3992 1
a3992 1
{ (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4028 1
a4028 1
echo "configure:3983: checking for X11 libraries" >&5
d4048 1
a4048 1
echo "configure:4003: checking for XCreateWindow in -lXwindow" >&5
d4056 1
a4056 1
#line 4011 "configure"
d4067 1
a4067 1
if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4152 1
a4152 1
echo "configure:4107: checking for main in -lXbsd" >&5
d4160 1
a4160 1
#line 4115 "configure"
d4167 1
a4167 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4190 1
a4190 1
echo "configure:4145: checking for connect" >&5
d4195 1
a4195 1
#line 4150 "configure"
d4218 1
a4218 1
if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4240 1
a4240 1
echo "configure:4195: checking for main in -lsocket" >&5
d4248 1
a4248 1
#line 4203 "configure"
d4255 1
a4255 1
if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4281 1
a4281 1
echo "configure:4236: checking for accept" >&5
d4286 1
a4286 1
#line 4241 "configure"
d4309 1
a4309 1
if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4331 1
a4331 1
echo "configure:4286: checking for gethostbyname" >&5
d4336 1
a4336 1
#line 4291 "configure"
d4359 1
a4359 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4377 1
a4377 1
echo "configure:4332: checking for main in -lnsl" >&5
d4385 1
a4385 1
#line 4340 "configure"
d4392 1
a4392 1
if { (eval echo configure:4347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4432 1
a4432 1
echo "configure:4387: checking MIT X libraries" >&5
d4438 1
a4438 1
#line 4393 "configure"
d4449 1
a4449 1
if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4476 1
a4476 1
echo "configure:4431: checking for sin" >&5
d4481 1
a4481 1
#line 4436 "configure"
d4504 1
a4504 1
if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4525 1
a4525 1
echo "configure:4480: checking for main in -lieee" >&5
d4533 1
a4533 1
#line 4488 "configure"
d4540 1
a4540 1
if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4567 1
a4567 1
echo "configure:4522: checking whether char is unsigned" >&5
d4574 1
a4574 1
#line 4529 "configure"
d4596 1
a4596 1
#line 4551 "configure"
d4606 1
a4606 1
if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4639 1
a4639 1
echo "configure:4594: checking for strtod" >&5
d4644 1
a4644 1
#line 4599 "configure"
d4667 1
a4667 1
if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4689 1
a4689 1
echo "configure:4644: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4694 1
a4694 1
#line 4649 "configure"
d4714 1
a4714 1
if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
a4742 32


    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
echo "configure:4701: checking how to build libraries" >&5
    # Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  tcl_ok=$enableval
else
  tcl_ok=yes
fi


    if test "${enable_shared+set}" = set; then
	enableval="$enable_shared"
	tcl_ok=$enableval
    else
	tcl_ok=yes
    fi

    if test "$tcl_ok" = "yes" ; then
	echo "$ac_t""shared" 1>&6
	SHARED_BUILD=1
    else
	echo "$ac_t""static" 1>&6
	SHARED_BUILD=0
	cat >> confdefs.h <<\EOF
#define STATIC_BUILD 1
EOF

    fi

@


1.35
log
@	* Ran 'autoconf' - forgotten when bump to 8.4a5.
@
text
@d2121 1
a2121 1
		SHLIB_LD_LIBS=""
d2491 1
a2491 1
	    LD_SEARCH_FLAGS=""
@


1.34
log
@updated from Tcl
@
text
@d544 1
a544 1
TK_PATCH_LEVEL="a4"
@


1.33
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d2070 6
d2078 1
a2078 1
echo "configure:2073: checking for shl_load in -ldld" >&5
d2086 1
a2086 1
#line 2081 "configure"
d2097 1
a2097 1
if { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2142 1
a2142 1
echo "configure:2137: checking for shl_load in -ldld" >&5
d2150 1
a2150 1
#line 2145 "configure"
d2161 1
a2161 1
if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2268 1
a2268 1
echo "configure:2263: checking for dld.h" >&5
d2273 1
a2273 1
#line 2268 "configure"
d2278 1
a2278 1
{ (eval echo configure:2273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2335 1
a2335 1
echo "configure:2330: checking for dld.h" >&5
d2340 1
a2340 1
#line 2335 "configure"
d2345 1
a2345 1
{ (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2400 1
a2400 1
echo "configure:2395: checking for dlfcn.h" >&5
d2405 1
a2405 1
#line 2400 "configure"
d2410 1
a2410 1
{ (eval echo configure:2405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2437 1
a2437 1
echo "configure:2432: checking for ELF" >&5
d2439 1
a2439 1
#line 2434 "configure"
d2762 1
a2762 1
echo "configure:2757: checking for ld accepts -Bexport flag" >&5
d2765 1
a2765 1
#line 2760 "configure"
d2772 1
a2772 1
if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2818 1
a2818 1
echo "configure:2813: checking sys/exec.h" >&5
d2820 1
a2820 1
#line 2815 "configure"
d2838 1
a2838 1
if { (eval echo configure:2833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2856 1
a2856 1
echo "configure:2851: checking a.out.h" >&5
d2858 1
a2858 1
#line 2853 "configure"
d2876 1
a2876 1
if { (eval echo configure:2871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2894 1
a2894 1
echo "configure:2889: checking sys/exec_aout.h" >&5
d2896 1
a2896 1
#line 2891 "configure"
d2914 1
a2914 1
if { (eval echo configure:2909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3011 1
a3011 1
echo "configure:3006: checking for build with symbols" >&5
d3055 1
a3055 1
echo "configure:3050: checking for sin" >&5
d3060 1
a3060 1
#line 3055 "configure"
d3083 1
a3083 1
if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3104 1
a3104 1
echo "configure:3099: checking for main in -lieee" >&5
d3112 1
a3112 1
#line 3107 "configure"
d3119 1
a3119 1
if { (eval echo configure:3114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3150 1
a3150 1
echo "configure:3145: checking for gettimeofday in -lbsd" >&5
d3158 1
a3158 1
#line 3153 "configure"
d3169 1
a3169 1
if { (eval echo configure:3164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3200 1
a3200 1
echo "configure:3195: checking stdlib.h" >&5
d3202 1
a3202 1
#line 3197 "configure"
d3217 1
a3217 1
#line 3212 "configure"
d3231 1
a3231 1
#line 3226 "configure"
d3263 1
a3263 1
echo "configure:3258: checking fd_set and sys/select" >&5
d3265 1
a3265 1
#line 3260 "configure"
d3272 1
a3272 1
if { (eval echo configure:3267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3284 1
a3284 1
#line 3279 "configure"
d3316 1
a3316 1
echo "configure:3311: checking for ANSI C header files" >&5
d3321 1
a3321 1
#line 3316 "configure"
d3329 1
a3329 1
{ (eval echo configure:3324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3346 1
a3346 1
#line 3341 "configure"
d3364 1
a3364 1
#line 3359 "configure"
d3385 1
a3385 1
#line 3380 "configure"
d3396 1
a3396 1
if { (eval echo configure:3391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3420 1
a3420 1
echo "configure:3415: checking for mode_t" >&5
d3425 1
a3425 1
#line 3420 "configure"
d3453 1
a3453 1
echo "configure:3448: checking for pid_t" >&5
d3458 1
a3458 1
#line 3453 "configure"
d3486 1
a3486 1
echo "configure:3481: checking for size_t" >&5
d3491 1
a3491 1
#line 3486 "configure"
d3519 1
a3519 1
echo "configure:3514: checking for uid_t in sys/types.h" >&5
d3524 1
a3524 1
#line 3519 "configure"
d3561 1
a3561 1
echo "configure:3556: checking for $ac_hdr" >&5
d3566 1
a3566 1
#line 3561 "configure"
d3571 1
a3571 1
{ (eval echo configure:3566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3598 1
a3598 1
echo "configure:3593: checking whether time.h and sys/time.h may both be included" >&5
d3603 1
a3603 1
#line 3598 "configure"
d3612 1
a3612 1
if { (eval echo configure:3607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3638 1
a3638 1
echo "configure:3633: checking pw_gecos in struct pwd" >&5
d3640 1
a3640 1
#line 3635 "configure"
d3647 1
a3647 1
if { (eval echo configure:3642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3680 1
a3680 1
echo "configure:3675: checking for X" >&5
d3742 1
a3742 1
#line 3737 "configure"
d3747 1
a3747 1
{ (eval echo configure:3742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3816 1
a3816 1
#line 3811 "configure"
d3823 1
a3823 1
if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3913 1
a3913 1
#line 3908 "configure"
d3918 1
a3918 1
{ (eval echo configure:3913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3938 1
a3938 1
echo "configure:3933: checking for X11 header files" >&5
d3941 1
a3941 1
#line 3936 "configure"
d3946 1
a3946 1
{ (eval echo configure:3941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3982 1
a3982 1
echo "configure:3977: checking for X11 libraries" >&5
d4002 1
a4002 1
echo "configure:3997: checking for XCreateWindow in -lXwindow" >&5
d4010 1
a4010 1
#line 4005 "configure"
d4021 1
a4021 1
if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4106 1
a4106 1
echo "configure:4101: checking for main in -lXbsd" >&5
d4114 1
a4114 1
#line 4109 "configure"
d4121 1
a4121 1
if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4144 1
a4144 1
echo "configure:4139: checking for connect" >&5
d4149 1
a4149 1
#line 4144 "configure"
d4172 1
a4172 1
if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4194 1
a4194 1
echo "configure:4189: checking for main in -lsocket" >&5
d4202 1
a4202 1
#line 4197 "configure"
d4209 1
a4209 1
if { (eval echo configure:4204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4235 1
a4235 1
echo "configure:4230: checking for accept" >&5
d4240 1
a4240 1
#line 4235 "configure"
d4263 1
a4263 1
if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4285 1
a4285 1
echo "configure:4280: checking for gethostbyname" >&5
d4290 1
a4290 1
#line 4285 "configure"
d4313 1
a4313 1
if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4331 1
a4331 1
echo "configure:4326: checking for main in -lnsl" >&5
d4339 1
a4339 1
#line 4334 "configure"
d4346 1
a4346 1
if { (eval echo configure:4341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4386 1
a4386 1
echo "configure:4381: checking MIT X libraries" >&5
d4392 1
a4392 1
#line 4387 "configure"
d4403 1
a4403 1
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4430 1
a4430 1
echo "configure:4425: checking for sin" >&5
d4435 1
a4435 1
#line 4430 "configure"
d4458 1
a4458 1
if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4479 1
a4479 1
echo "configure:4474: checking for main in -lieee" >&5
d4487 1
a4487 1
#line 4482 "configure"
d4494 1
a4494 1
if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4521 1
a4521 1
echo "configure:4516: checking whether char is unsigned" >&5
d4528 1
a4528 1
#line 4523 "configure"
d4550 1
a4550 1
#line 4545 "configure"
d4560 1
a4560 1
if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4593 1
a4593 1
echo "configure:4588: checking for strtod" >&5
d4598 1
a4598 1
#line 4593 "configure"
d4621 1
a4621 1
if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4643 1
a4643 1
echo "configure:4638: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4648 1
a4648 1
#line 4643 "configure"
d4668 1
a4668 1
if { (eval echo configure:4663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4700 1
a4700 1
echo "configure:4695: checking how to build libraries" >&5
@


1.32
log
@	* unix/configure: regenerated
	* unix/tcl.m4: updated to sync with Tcl's tcl.m4
@
text
@d2234 1
a2234 1
	    SHLIB_LD="ld -32 -shared -rdata_shared"
@


1.31
log
@	* unix/configure: regen'd
	* unix/tcl.m4:
	* unix/configure.in: added macros and calls to SC_TCL_EARLY_FLAGS
	and SC_TCL_64BIT_FLAGS, part of TIP #72.
@
text
@d1930 1
d1980 1
a1980 1
echo "configure:1980: checking for gettimeofday in -lbsd" >&5
d1988 1
a1988 1
#line 1988 "configure"
d1999 1
a1999 1
if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2027 11
d2072 1
a2072 1
echo "configure:2061: checking for shl_load in -ldld" >&5
d2080 1
a2080 1
#line 2069 "configure"
d2091 1
a2091 1
if { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2121 2
d2136 1
a2136 1
echo "configure:2123: checking for shl_load in -ldld" >&5
d2144 1
a2144 1
#line 2131 "configure"
d2155 1
a2155 1
if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2262 1
a2262 1
echo "configure:2249: checking for dld.h" >&5
d2267 1
a2267 1
#line 2254 "configure"
d2272 1
a2272 1
{ (eval echo configure:2259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2329 1
a2329 1
echo "configure:2316: checking for dld.h" >&5
d2334 1
a2334 1
#line 2321 "configure"
d2339 1
a2339 1
{ (eval echo configure:2326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2394 1
a2394 1
echo "configure:2381: checking for dlfcn.h" >&5
d2399 1
a2399 1
#line 2386 "configure"
d2404 1
a2404 1
{ (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2431 1
a2431 1
echo "configure:2418: checking for ELF" >&5
d2433 1
a2433 1
#line 2420 "configure"
d2486 12
a2497 6

	    # FreeBSD doesn't handle version numbers with dots.

	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
	    TCL_LIB_VERSIONS_OK=nodots
d2658 4
d2689 4
d2698 1
d2756 1
a2756 1
echo "configure:2728: checking for ld accepts -Bexport flag" >&5
d2759 1
a2759 1
#line 2731 "configure"
d2766 1
a2766 1
if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2812 1
a2812 1
echo "configure:2784: checking sys/exec.h" >&5
d2814 1
a2814 1
#line 2786 "configure"
d2832 1
a2832 1
if { (eval echo configure:2804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2850 1
a2850 1
echo "configure:2822: checking a.out.h" >&5
d2852 1
a2852 1
#line 2824 "configure"
d2870 1
a2870 1
if { (eval echo configure:2842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2888 1
a2888 1
echo "configure:2860: checking sys/exec_aout.h" >&5
d2890 1
a2890 1
#line 2862 "configure"
d2908 1
a2908 1
if { (eval echo configure:2880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3005 1
a3005 1
echo "configure:2977: checking for build with symbols" >&5
d3049 1
a3049 1
echo "configure:3021: checking for sin" >&5
d3054 1
a3054 1
#line 3026 "configure"
d3077 1
a3077 1
if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3098 1
a3098 1
echo "configure:3070: checking for main in -lieee" >&5
d3106 1
a3106 1
#line 3078 "configure"
d3113 1
a3113 1
if { (eval echo configure:3085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3144 1
a3144 1
echo "configure:3116: checking for gettimeofday in -lbsd" >&5
d3152 1
a3152 1
#line 3124 "configure"
d3163 1
a3163 1
if { (eval echo configure:3135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3194 1
a3194 1
echo "configure:3166: checking stdlib.h" >&5
d3196 1
a3196 1
#line 3168 "configure"
d3211 1
a3211 1
#line 3183 "configure"
d3225 1
a3225 1
#line 3197 "configure"
d3257 1
a3257 1
echo "configure:3229: checking fd_set and sys/select" >&5
d3259 1
a3259 1
#line 3231 "configure"
d3266 1
a3266 1
if { (eval echo configure:3238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3278 1
a3278 1
#line 3250 "configure"
d3310 1
a3310 1
echo "configure:3282: checking for ANSI C header files" >&5
d3315 1
a3315 1
#line 3287 "configure"
d3323 1
a3323 1
{ (eval echo configure:3295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3340 1
a3340 1
#line 3312 "configure"
d3358 1
a3358 1
#line 3330 "configure"
d3379 1
a3379 1
#line 3351 "configure"
d3390 1
a3390 1
if { (eval echo configure:3362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3414 1
a3414 1
echo "configure:3386: checking for mode_t" >&5
d3419 1
a3419 1
#line 3391 "configure"
d3447 1
a3447 1
echo "configure:3419: checking for pid_t" >&5
d3452 1
a3452 1
#line 3424 "configure"
d3480 1
a3480 1
echo "configure:3452: checking for size_t" >&5
d3485 1
a3485 1
#line 3457 "configure"
d3513 1
a3513 1
echo "configure:3485: checking for uid_t in sys/types.h" >&5
d3518 1
a3518 1
#line 3490 "configure"
d3555 1
a3555 1
echo "configure:3527: checking for $ac_hdr" >&5
d3560 1
a3560 1
#line 3532 "configure"
d3565 1
a3565 1
{ (eval echo configure:3537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3592 1
a3592 1
echo "configure:3564: checking whether time.h and sys/time.h may both be included" >&5
d3597 1
a3597 1
#line 3569 "configure"
d3606 1
a3606 1
if { (eval echo configure:3578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3632 1
a3632 1
echo "configure:3604: checking pw_gecos in struct pwd" >&5
d3634 1
a3634 1
#line 3606 "configure"
d3641 1
a3641 1
if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3674 1
a3674 1
echo "configure:3646: checking for X" >&5
d3736 1
a3736 1
#line 3708 "configure"
d3741 1
a3741 1
{ (eval echo configure:3713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3810 1
a3810 1
#line 3782 "configure"
d3817 1
a3817 1
if { (eval echo configure:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3907 1
a3907 1
#line 3879 "configure"
d3912 1
a3912 1
{ (eval echo configure:3884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3932 1
a3932 1
echo "configure:3904: checking for X11 header files" >&5
d3935 1
a3935 1
#line 3907 "configure"
d3940 1
a3940 1
{ (eval echo configure:3912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3976 1
a3976 1
echo "configure:3948: checking for X11 libraries" >&5
d3996 1
a3996 1
echo "configure:3968: checking for XCreateWindow in -lXwindow" >&5
d4004 1
a4004 1
#line 3976 "configure"
d4015 1
a4015 1
if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4100 1
a4100 1
echo "configure:4072: checking for main in -lXbsd" >&5
d4108 1
a4108 1
#line 4080 "configure"
d4115 1
a4115 1
if { (eval echo configure:4087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4138 1
a4138 1
echo "configure:4110: checking for connect" >&5
d4143 1
a4143 1
#line 4115 "configure"
d4166 1
a4166 1
if { (eval echo configure:4138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4188 1
a4188 1
echo "configure:4160: checking for main in -lsocket" >&5
d4196 1
a4196 1
#line 4168 "configure"
d4203 1
a4203 1
if { (eval echo configure:4175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4229 1
a4229 1
echo "configure:4201: checking for accept" >&5
d4234 1
a4234 1
#line 4206 "configure"
d4257 1
a4257 1
if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4279 1
a4279 1
echo "configure:4251: checking for gethostbyname" >&5
d4284 1
a4284 1
#line 4256 "configure"
d4307 1
a4307 1
if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4325 1
a4325 1
echo "configure:4297: checking for main in -lnsl" >&5
d4333 1
a4333 1
#line 4305 "configure"
d4340 1
a4340 1
if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4380 1
a4380 1
echo "configure:4352: checking MIT X libraries" >&5
d4386 1
a4386 1
#line 4358 "configure"
d4397 1
a4397 1
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4424 1
a4424 1
echo "configure:4396: checking for sin" >&5
d4429 1
a4429 1
#line 4401 "configure"
d4452 1
a4452 1
if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4473 1
a4473 1
echo "configure:4445: checking for main in -lieee" >&5
d4481 1
a4481 1
#line 4453 "configure"
d4488 1
a4488 1
if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4515 1
a4515 1
echo "configure:4487: checking whether char is unsigned" >&5
d4522 1
a4522 1
#line 4494 "configure"
d4544 1
a4544 1
#line 4516 "configure"
d4554 1
a4554 1
if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4587 1
a4587 1
echo "configure:4559: checking for strtod" >&5
d4592 1
a4592 1
#line 4564 "configure"
d4615 1
a4615 1
if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4637 1
a4637 1
echo "configure:4609: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4642 1
a4642 1
#line 4614 "configure"
d4662 1
a4662 1
if { (eval echo configure:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4694 1
a4694 1
echo "configure:4666: checking how to build libraries" >&5
@


1.30
log
@	* unix/configure.in: Don't set TCL_LIB_SPEC and
	TCL_STUB_LIB_SPEC variables since this breaks
	the AIX build. This was used in the past to
	support linking with Tcl from the build dir
	or the install dir, but it is no longer needed.
@
text
@d1315 275
d1610 1
a1610 1
echo "configure:1336: checking for Tcl configuration" >&5
d1683 1
a1683 1
echo "configure:1409: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1741 1
a1741 1
echo "configure:1467: checking if 64bit support is requested" >&5
d1761 1
a1761 1
echo "configure:1487: checking if 64bit Sparc VIS support is requested" >&5
d1785 1
a1785 1
echo "configure:1511: checking system version (for dynamic loading)" >&5
d1811 1
a1811 1
echo "configure:1537: checking for dlopen in -ldl" >&5
d1819 1
a1819 1
#line 1545 "configure"
d1830 1
a1830 1
if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1874 1
a1874 1
echo "configure:1600: checking for $ac_word" >&5
d1979 1
a1979 1
echo "configure:1705: checking for gettimeofday in -lbsd" >&5
d1987 1
a1987 1
#line 1713 "configure"
d1998 1
a1998 1
if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2060 1
a2060 1
echo "configure:1786: checking for shl_load in -ldld" >&5
d2068 1
a2068 1
#line 1794 "configure"
d2079 1
a2079 1
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2122 1
a2122 1
echo "configure:1848: checking for shl_load in -ldld" >&5
d2130 1
a2130 1
#line 1856 "configure"
d2141 1
a2141 1
if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2248 1
a2248 1
echo "configure:1974: checking for dld.h" >&5
d2253 1
a2253 1
#line 1979 "configure"
d2258 1
a2258 1
{ (eval echo configure:1984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2315 1
a2315 1
echo "configure:2041: checking for dld.h" >&5
d2320 1
a2320 1
#line 2046 "configure"
d2325 1
a2325 1
{ (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2380 1
a2380 1
echo "configure:2106: checking for dlfcn.h" >&5
d2385 1
a2385 1
#line 2111 "configure"
d2390 1
a2390 1
{ (eval echo configure:2116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2417 1
a2417 1
echo "configure:2143: checking for ELF" >&5
d2419 1
a2419 1
#line 2145 "configure"
d2727 1
a2727 1
echo "configure:2453: checking for ld accepts -Bexport flag" >&5
d2730 1
a2730 1
#line 2456 "configure"
d2737 1
a2737 1
if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2783 1
a2783 1
echo "configure:2509: checking sys/exec.h" >&5
d2785 1
a2785 1
#line 2511 "configure"
d2803 1
a2803 1
if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2821 1
a2821 1
echo "configure:2547: checking a.out.h" >&5
d2823 1
a2823 1
#line 2549 "configure"
d2841 1
a2841 1
if { (eval echo configure:2567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2859 1
a2859 1
echo "configure:2585: checking sys/exec_aout.h" >&5
d2861 1
a2861 1
#line 2587 "configure"
d2879 1
a2879 1
if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2976 1
a2976 1
echo "configure:2702: checking for build with symbols" >&5
d3020 1
a3020 1
echo "configure:2746: checking for sin" >&5
d3025 1
a3025 1
#line 2751 "configure"
d3048 1
a3048 1
if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3069 1
a3069 1
echo "configure:2795: checking for main in -lieee" >&5
d3077 1
a3077 1
#line 2803 "configure"
d3084 1
a3084 1
if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3115 1
a3115 1
echo "configure:2841: checking for gettimeofday in -lbsd" >&5
d3123 1
a3123 1
#line 2849 "configure"
d3134 1
a3134 1
if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3165 1
a3165 1
echo "configure:2891: checking stdlib.h" >&5
d3167 1
a3167 1
#line 2893 "configure"
d3182 1
a3182 1
#line 2908 "configure"
d3196 1
a3196 1
#line 2922 "configure"
d3228 1
a3228 1
echo "configure:2954: checking fd_set and sys/select" >&5
d3230 1
a3230 1
#line 2956 "configure"
d3237 1
a3237 1
if { (eval echo configure:2963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3249 1
a3249 1
#line 2975 "configure"
d3281 1
a3281 1
echo "configure:3007: checking for ANSI C header files" >&5
d3286 1
a3286 1
#line 3012 "configure"
d3294 1
a3294 1
{ (eval echo configure:3020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3311 1
a3311 1
#line 3037 "configure"
d3329 1
a3329 1
#line 3055 "configure"
d3350 1
a3350 1
#line 3076 "configure"
d3361 1
a3361 1
if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3385 1
a3385 1
echo "configure:3111: checking for mode_t" >&5
d3390 1
a3390 1
#line 3116 "configure"
d3418 1
a3418 1
echo "configure:3144: checking for pid_t" >&5
d3423 1
a3423 1
#line 3149 "configure"
d3451 1
a3451 1
echo "configure:3177: checking for size_t" >&5
d3456 1
a3456 1
#line 3182 "configure"
d3484 1
a3484 1
echo "configure:3210: checking for uid_t in sys/types.h" >&5
d3489 1
a3489 1
#line 3215 "configure"
d3526 1
a3526 1
echo "configure:3252: checking for $ac_hdr" >&5
d3531 1
a3531 1
#line 3257 "configure"
d3536 1
a3536 1
{ (eval echo configure:3262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3563 1
a3563 1
echo "configure:3289: checking whether time.h and sys/time.h may both be included" >&5
d3568 1
a3568 1
#line 3294 "configure"
d3577 1
a3577 1
if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3603 1
a3603 1
echo "configure:3329: checking pw_gecos in struct pwd" >&5
d3605 1
a3605 1
#line 3331 "configure"
d3612 1
a3612 1
if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3645 1
a3645 1
echo "configure:3371: checking for X" >&5
d3707 1
a3707 1
#line 3433 "configure"
d3712 1
a3712 1
{ (eval echo configure:3438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3781 1
a3781 1
#line 3507 "configure"
d3788 1
a3788 1
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3878 1
a3878 1
#line 3604 "configure"
d3883 1
a3883 1
{ (eval echo configure:3609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3903 1
a3903 1
echo "configure:3629: checking for X11 header files" >&5
d3906 1
a3906 1
#line 3632 "configure"
d3911 1
a3911 1
{ (eval echo configure:3637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3947 1
a3947 1
echo "configure:3673: checking for X11 libraries" >&5
d3967 1
a3967 1
echo "configure:3693: checking for XCreateWindow in -lXwindow" >&5
d3975 1
a3975 1
#line 3701 "configure"
d3986 1
a3986 1
if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4071 1
a4071 1
echo "configure:3797: checking for main in -lXbsd" >&5
d4079 1
a4079 1
#line 3805 "configure"
d4086 1
a4086 1
if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4109 1
a4109 1
echo "configure:3835: checking for connect" >&5
d4114 1
a4114 1
#line 3840 "configure"
d4137 1
a4137 1
if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4159 1
a4159 1
echo "configure:3885: checking for main in -lsocket" >&5
d4167 1
a4167 1
#line 3893 "configure"
d4174 1
a4174 1
if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4200 1
a4200 1
echo "configure:3926: checking for accept" >&5
d4205 1
a4205 1
#line 3931 "configure"
d4228 1
a4228 1
if { (eval echo configure:3954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4250 1
a4250 1
echo "configure:3976: checking for gethostbyname" >&5
d4255 1
a4255 1
#line 3981 "configure"
d4278 1
a4278 1
if { (eval echo configure:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4296 1
a4296 1
echo "configure:4022: checking for main in -lnsl" >&5
d4304 1
a4304 1
#line 4030 "configure"
d4311 1
a4311 1
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4351 1
a4351 1
echo "configure:4077: checking MIT X libraries" >&5
d4357 1
a4357 1
#line 4083 "configure"
d4368 1
a4368 1
if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4395 1
a4395 1
echo "configure:4121: checking for sin" >&5
d4400 1
a4400 1
#line 4126 "configure"
d4423 1
a4423 1
if { (eval echo configure:4149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4444 1
a4444 1
echo "configure:4170: checking for main in -lieee" >&5
d4452 1
a4452 1
#line 4178 "configure"
d4459 1
a4459 1
if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4486 1
a4486 1
echo "configure:4212: checking whether char is unsigned" >&5
d4493 1
a4493 1
#line 4219 "configure"
d4515 1
a4515 1
#line 4241 "configure"
d4525 1
a4525 1
if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4558 1
a4558 1
echo "configure:4284: checking for strtod" >&5
d4563 1
a4563 1
#line 4289 "configure"
d4586 1
a4586 1
if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4608 1
a4608 1
echo "configure:4334: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4613 1
a4613 1
#line 4339 "configure"
d4633 1
a4633 1
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4665 1
a4665 1
echo "configure:4391: checking how to build libraries" >&5
@


1.29
log
@	* unix/Makefile.in: Remove commented out vars.
	* unix/configure: Regen.
	* unix/configure.in: Don't subst vars that are already
	taken care of in SC_LOAD_TCLCONFIG.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen.
	* win/tcl.m4: Update from Tcl.
@
text
@a4422 3
TCL_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_LIB_FLAG)'
TCL_STUB_LIB_SPEC='-L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG)'

@


1.28
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen.
	* win/tcl.m4: Update from Tcl.
@
text
@d1418 15
d1436 15
a1450 4
    eval TCL_LIB_FILE=${TCL_LIB_FILE}
    eval TCL_LIB_FLAG=${TCL_LIB_FLAG}
    eval TCL_STUB_LIB_FILE=${TCL_STUB_LIB_FILE}
    eval TCL_STUB_LIB_FLAG=${TCL_STUB_LIB_FLAG}
d1466 1
a1466 1
echo "configure:1441: checking if 64bit support is requested" >&5
d1486 1
a1486 1
echo "configure:1461: checking if 64bit Sparc VIS support is requested" >&5
d1510 1
a1510 1
echo "configure:1485: checking system version (for dynamic loading)" >&5
d1536 1
a1536 1
echo "configure:1511: checking for dlopen in -ldl" >&5
d1544 1
a1544 1
#line 1519 "configure"
d1555 1
a1555 1
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1599 1
a1599 1
echo "configure:1574: checking for $ac_word" >&5
d1704 1
a1704 1
echo "configure:1679: checking for gettimeofday in -lbsd" >&5
d1712 1
a1712 1
#line 1687 "configure"
d1723 1
a1723 1
if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1785 1
a1785 1
echo "configure:1760: checking for shl_load in -ldld" >&5
d1793 1
a1793 1
#line 1768 "configure"
d1804 1
a1804 1
if { (eval echo configure:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1847 1
a1847 1
echo "configure:1822: checking for shl_load in -ldld" >&5
d1855 1
a1855 1
#line 1830 "configure"
d1866 1
a1866 1
if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1973 1
a1973 1
echo "configure:1948: checking for dld.h" >&5
d1978 1
a1978 1
#line 1953 "configure"
d1983 1
a1983 1
{ (eval echo configure:1958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2040 1
a2040 1
echo "configure:2015: checking for dld.h" >&5
d2045 1
a2045 1
#line 2020 "configure"
d2050 1
a2050 1
{ (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2105 1
a2105 1
echo "configure:2080: checking for dlfcn.h" >&5
d2110 1
a2110 1
#line 2085 "configure"
d2115 1
a2115 1
{ (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2142 1
a2142 1
echo "configure:2117: checking for ELF" >&5
d2144 1
a2144 1
#line 2119 "configure"
d2452 1
a2452 1
echo "configure:2427: checking for ld accepts -Bexport flag" >&5
d2455 1
a2455 1
#line 2430 "configure"
d2462 1
a2462 1
if { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2508 1
a2508 1
echo "configure:2483: checking sys/exec.h" >&5
d2510 1
a2510 1
#line 2485 "configure"
d2528 1
a2528 1
if { (eval echo configure:2503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2546 1
a2546 1
echo "configure:2521: checking a.out.h" >&5
d2548 1
a2548 1
#line 2523 "configure"
d2566 1
a2566 1
if { (eval echo configure:2541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2584 1
a2584 1
echo "configure:2559: checking sys/exec_aout.h" >&5
d2586 1
a2586 1
#line 2561 "configure"
d2604 1
a2604 1
if { (eval echo configure:2579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2701 1
a2701 1
echo "configure:2676: checking for build with symbols" >&5
d2745 1
a2745 1
echo "configure:2720: checking for sin" >&5
d2750 1
a2750 1
#line 2725 "configure"
d2773 1
a2773 1
if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2794 1
a2794 1
echo "configure:2769: checking for main in -lieee" >&5
d2802 1
a2802 1
#line 2777 "configure"
d2809 1
a2809 1
if { (eval echo configure:2784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2840 1
a2840 1
echo "configure:2815: checking for gettimeofday in -lbsd" >&5
d2848 1
a2848 1
#line 2823 "configure"
d2859 1
a2859 1
if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2890 1
a2890 1
echo "configure:2865: checking stdlib.h" >&5
d2892 1
a2892 1
#line 2867 "configure"
d2907 1
a2907 1
#line 2882 "configure"
d2921 1
a2921 1
#line 2896 "configure"
d2953 1
a2953 1
echo "configure:2928: checking fd_set and sys/select" >&5
d2955 1
a2955 1
#line 2930 "configure"
d2962 1
a2962 1
if { (eval echo configure:2937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2974 1
a2974 1
#line 2949 "configure"
d3006 1
a3006 1
echo "configure:2981: checking for ANSI C header files" >&5
d3011 1
a3011 1
#line 2986 "configure"
d3019 1
a3019 1
{ (eval echo configure:2994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3036 1
a3036 1
#line 3011 "configure"
d3054 1
a3054 1
#line 3029 "configure"
d3075 1
a3075 1
#line 3050 "configure"
d3086 1
a3086 1
if { (eval echo configure:3061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3110 1
a3110 1
echo "configure:3085: checking for mode_t" >&5
d3115 1
a3115 1
#line 3090 "configure"
d3143 1
a3143 1
echo "configure:3118: checking for pid_t" >&5
d3148 1
a3148 1
#line 3123 "configure"
d3176 1
a3176 1
echo "configure:3151: checking for size_t" >&5
d3181 1
a3181 1
#line 3156 "configure"
d3209 1
a3209 1
echo "configure:3184: checking for uid_t in sys/types.h" >&5
d3214 1
a3214 1
#line 3189 "configure"
d3251 1
a3251 1
echo "configure:3226: checking for $ac_hdr" >&5
d3256 1
a3256 1
#line 3231 "configure"
d3261 1
a3261 1
{ (eval echo configure:3236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3288 1
a3288 1
echo "configure:3263: checking whether time.h and sys/time.h may both be included" >&5
d3293 1
a3293 1
#line 3268 "configure"
d3302 1
a3302 1
if { (eval echo configure:3277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3328 1
a3328 1
echo "configure:3303: checking pw_gecos in struct pwd" >&5
d3330 1
a3330 1
#line 3305 "configure"
d3337 1
a3337 1
if { (eval echo configure:3312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3370 1
a3370 1
echo "configure:3345: checking for X" >&5
d3432 1
a3432 1
#line 3407 "configure"
d3437 1
a3437 1
{ (eval echo configure:3412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3506 1
a3506 1
#line 3481 "configure"
d3513 1
a3513 1
if { (eval echo configure:3488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3603 1
a3603 1
#line 3578 "configure"
d3608 1
a3608 1
{ (eval echo configure:3583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3628 1
a3628 1
echo "configure:3603: checking for X11 header files" >&5
d3631 1
a3631 1
#line 3606 "configure"
d3636 1
a3636 1
{ (eval echo configure:3611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3672 1
a3672 1
echo "configure:3647: checking for X11 libraries" >&5
d3692 1
a3692 1
echo "configure:3667: checking for XCreateWindow in -lXwindow" >&5
d3700 1
a3700 1
#line 3675 "configure"
d3711 1
a3711 1
if { (eval echo configure:3686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3796 1
a3796 1
echo "configure:3771: checking for main in -lXbsd" >&5
d3804 1
a3804 1
#line 3779 "configure"
d3811 1
a3811 1
if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3834 1
a3834 1
echo "configure:3809: checking for connect" >&5
d3839 1
a3839 1
#line 3814 "configure"
d3862 1
a3862 1
if { (eval echo configure:3837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3884 1
a3884 1
echo "configure:3859: checking for main in -lsocket" >&5
d3892 1
a3892 1
#line 3867 "configure"
d3899 1
a3899 1
if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3925 1
a3925 1
echo "configure:3900: checking for accept" >&5
d3930 1
a3930 1
#line 3905 "configure"
d3953 1
a3953 1
if { (eval echo configure:3928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3975 1
a3975 1
echo "configure:3950: checking for gethostbyname" >&5
d3980 1
a3980 1
#line 3955 "configure"
d4003 1
a4003 1
if { (eval echo configure:3978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4021 1
a4021 1
echo "configure:3996: checking for main in -lnsl" >&5
d4029 1
a4029 1
#line 4004 "configure"
d4036 1
a4036 1
if { (eval echo configure:4011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4076 1
a4076 1
echo "configure:4051: checking MIT X libraries" >&5
d4082 1
a4082 1
#line 4057 "configure"
d4093 1
a4093 1
if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4120 1
a4120 1
echo "configure:4095: checking for sin" >&5
d4125 1
a4125 1
#line 4100 "configure"
d4148 1
a4148 1
if { (eval echo configure:4123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4169 1
a4169 1
echo "configure:4144: checking for main in -lieee" >&5
d4177 1
a4177 1
#line 4152 "configure"
d4184 1
a4184 1
if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4211 1
a4211 1
echo "configure:4186: checking whether char is unsigned" >&5
d4218 1
a4218 1
#line 4193 "configure"
d4240 1
a4240 1
#line 4215 "configure"
d4250 1
a4250 1
if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4283 1
a4283 1
echo "configure:4258: checking for strtod" >&5
d4288 1
a4288 1
#line 4263 "configure"
d4311 1
a4311 1
if { (eval echo configure:4286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4333 1
a4333 1
echo "configure:4308: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4338 1
a4338 1
#line 4313 "configure"
d4358 1
a4358 1
if { (eval echo configure:4333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4390 1
a4390 1
echo "configure:4365: checking how to build libraries" >&5
a4544 11
#AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
#AC_SUBST(TCL_BUILD_LIB_SPEC)









d4700 1
d4704 5
a4743 6
s%@@TCL_LIB_SPEC@@%$TCL_LIB_SPEC%g
s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
s%@@TCL_LIB_FLAG@@%$TCL_LIB_FLAG%g
s%@@TCL_STUB_LIB_FLAG@@%$TCL_STUB_LIB_FLAG%g
s%@@TCL_DBGX@@%$TCL_DBGX%g
s%@@TCL_VERSION@@%$TCL_VERSION%g
@


1.27
log
@	Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]

	* unix/configure: Regen.
	* unix/configure.in: Define and use libdir.
	* win/configure: Regen.
	* win/configure.in: Define libdir.
@
text
@d1418 1
a1418 2
    # The eval is required to do the TCL_DBGX substitution in the
    # TCL_LIB_FILE variable
d1423 2
d1440 1
a1440 1
echo "configure:1440: checking if 64bit support is requested" >&5
d1460 1
a1460 1
echo "configure:1460: checking if 64bit Sparc VIS support is requested" >&5
d1484 1
a1484 1
echo "configure:1484: checking system version (for dynamic loading)" >&5
d1510 1
a1510 1
echo "configure:1510: checking for dlopen in -ldl" >&5
d1518 1
a1518 1
#line 1518 "configure"
d1529 1
a1529 1
if { (eval echo configure:1529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1573 1
a1573 1
echo "configure:1573: checking for $ac_word" >&5
d1678 1
a1678 1
echo "configure:1678: checking for gettimeofday in -lbsd" >&5
d1686 1
a1686 1
#line 1686 "configure"
d1697 1
a1697 1
if { (eval echo configure:1697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1759 1
a1759 1
echo "configure:1759: checking for shl_load in -ldld" >&5
d1767 1
a1767 1
#line 1767 "configure"
d1778 1
a1778 1
if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1821 1
a1821 1
echo "configure:1821: checking for shl_load in -ldld" >&5
d1829 1
a1829 1
#line 1829 "configure"
d1840 1
a1840 1
if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1947 1
a1947 1
echo "configure:1947: checking for dld.h" >&5
d1952 1
a1952 1
#line 1952 "configure"
d1957 1
a1957 1
{ (eval echo configure:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2014 1
a2014 1
echo "configure:2014: checking for dld.h" >&5
d2019 1
a2019 1
#line 2019 "configure"
d2024 1
a2024 1
{ (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2079 1
a2079 1
echo "configure:2079: checking for dlfcn.h" >&5
d2084 1
a2084 1
#line 2084 "configure"
d2089 1
a2089 1
{ (eval echo configure:2089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2116 1
a2116 1
echo "configure:2116: checking for ELF" >&5
d2118 1
a2118 1
#line 2118 "configure"
d2426 1
a2426 1
echo "configure:2426: checking for ld accepts -Bexport flag" >&5
d2429 1
a2429 1
#line 2429 "configure"
d2436 1
a2436 1
if { (eval echo configure:2436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2482 1
a2482 1
echo "configure:2482: checking sys/exec.h" >&5
d2484 1
a2484 1
#line 2484 "configure"
d2502 1
a2502 1
if { (eval echo configure:2502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2520 1
a2520 1
echo "configure:2520: checking a.out.h" >&5
d2522 1
a2522 1
#line 2522 "configure"
d2540 1
a2540 1
if { (eval echo configure:2540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2558 1
a2558 1
echo "configure:2558: checking sys/exec_aout.h" >&5
d2560 1
a2560 1
#line 2560 "configure"
d2578 1
a2578 1
if { (eval echo configure:2578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2675 1
a2675 1
echo "configure:2675: checking for build with symbols" >&5
d2719 1
a2719 1
echo "configure:2719: checking for sin" >&5
d2724 1
a2724 1
#line 2724 "configure"
d2747 1
a2747 1
if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2768 1
a2768 1
echo "configure:2768: checking for main in -lieee" >&5
d2776 1
a2776 1
#line 2776 "configure"
d2783 1
a2783 1
if { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2814 1
a2814 1
echo "configure:2814: checking for gettimeofday in -lbsd" >&5
d2822 1
a2822 1
#line 2822 "configure"
d2833 1
a2833 1
if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2864 1
a2864 1
echo "configure:2864: checking stdlib.h" >&5
d2866 1
a2866 1
#line 2866 "configure"
d2881 1
a2881 1
#line 2881 "configure"
d2895 1
a2895 1
#line 2895 "configure"
d2927 1
a2927 1
echo "configure:2927: checking fd_set and sys/select" >&5
d2929 1
a2929 1
#line 2929 "configure"
d2936 1
a2936 1
if { (eval echo configure:2936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2948 1
a2948 1
#line 2948 "configure"
d2980 1
a2980 1
echo "configure:2980: checking for ANSI C header files" >&5
d2985 1
a2985 1
#line 2985 "configure"
d2993 1
a2993 1
{ (eval echo configure:2993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3010 1
a3010 1
#line 3010 "configure"
d3028 1
a3028 1
#line 3028 "configure"
d3049 1
a3049 1
#line 3049 "configure"
d3060 1
a3060 1
if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3084 1
a3084 1
echo "configure:3084: checking for mode_t" >&5
d3089 1
a3089 1
#line 3089 "configure"
d3117 1
a3117 1
echo "configure:3117: checking for pid_t" >&5
d3122 1
a3122 1
#line 3122 "configure"
d3150 1
a3150 1
echo "configure:3150: checking for size_t" >&5
d3155 1
a3155 1
#line 3155 "configure"
d3183 1
a3183 1
echo "configure:3183: checking for uid_t in sys/types.h" >&5
d3188 1
a3188 1
#line 3188 "configure"
d3225 1
a3225 1
echo "configure:3225: checking for $ac_hdr" >&5
d3230 1
a3230 1
#line 3230 "configure"
d3235 1
a3235 1
{ (eval echo configure:3235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3262 1
a3262 1
echo "configure:3262: checking whether time.h and sys/time.h may both be included" >&5
d3267 1
a3267 1
#line 3267 "configure"
d3276 1
a3276 1
if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3302 1
a3302 1
echo "configure:3302: checking pw_gecos in struct pwd" >&5
d3304 1
a3304 1
#line 3304 "configure"
d3311 1
a3311 1
if { (eval echo configure:3311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3344 1
a3344 1
echo "configure:3344: checking for X" >&5
d3406 1
a3406 1
#line 3406 "configure"
d3411 1
a3411 1
{ (eval echo configure:3411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3480 1
a3480 1
#line 3480 "configure"
d3487 1
a3487 1
if { (eval echo configure:3487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3577 1
a3577 1
#line 3577 "configure"
d3582 1
a3582 1
{ (eval echo configure:3582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3602 1
a3602 1
echo "configure:3602: checking for X11 header files" >&5
d3605 1
a3605 1
#line 3605 "configure"
d3610 1
a3610 1
{ (eval echo configure:3610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3646 1
a3646 1
echo "configure:3646: checking for X11 libraries" >&5
d3666 1
a3666 1
echo "configure:3666: checking for XCreateWindow in -lXwindow" >&5
d3674 1
a3674 1
#line 3674 "configure"
d3685 1
a3685 1
if { (eval echo configure:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3770 1
a3770 1
echo "configure:3770: checking for main in -lXbsd" >&5
d3778 1
a3778 1
#line 3778 "configure"
d3785 1
a3785 1
if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3808 1
a3808 1
echo "configure:3808: checking for connect" >&5
d3813 1
a3813 1
#line 3813 "configure"
d3836 1
a3836 1
if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3858 1
a3858 1
echo "configure:3858: checking for main in -lsocket" >&5
d3866 1
a3866 1
#line 3866 "configure"
d3873 1
a3873 1
if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3899 1
a3899 1
echo "configure:3899: checking for accept" >&5
d3904 1
a3904 1
#line 3904 "configure"
d3927 1
a3927 1
if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3949 1
a3949 1
echo "configure:3949: checking for gethostbyname" >&5
d3954 1
a3954 1
#line 3954 "configure"
d3977 1
a3977 1
if { (eval echo configure:3977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3995 1
a3995 1
echo "configure:3995: checking for main in -lnsl" >&5
d4003 1
a4003 1
#line 4003 "configure"
d4010 1
a4010 1
if { (eval echo configure:4010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4050 1
a4050 1
echo "configure:4050: checking MIT X libraries" >&5
d4056 1
a4056 1
#line 4056 "configure"
d4067 1
a4067 1
if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4094 1
a4094 1
echo "configure:4094: checking for sin" >&5
d4099 1
a4099 1
#line 4099 "configure"
d4122 1
a4122 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4143 1
a4143 1
echo "configure:4143: checking for main in -lieee" >&5
d4151 1
a4151 1
#line 4151 "configure"
d4158 1
a4158 1
if { (eval echo configure:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4185 1
a4185 1
echo "configure:4185: checking whether char is unsigned" >&5
d4192 1
a4192 1
#line 4192 "configure"
d4214 1
a4214 1
#line 4214 "configure"
d4224 1
a4224 1
if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4257 1
a4257 1
echo "configure:4257: checking for strtod" >&5
d4262 1
a4262 1
#line 4262 "configure"
d4285 1
a4285 1
if { (eval echo configure:4285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4307 1
a4307 1
echo "configure:4307: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4312 1
a4312 1
#line 4312 "configure"
d4332 1
a4332 1
if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4364 1
a4364 1
echo "configure:4364: checking how to build libraries" >&5
@


1.26
log
@	Enable use of Tcl stubs when building Tk as
	a shared library. This should fix the build
	under AIX. [Bugs 220858, 220955, 220921]

	* unix/Makefile.in: Add TCL_STUB_LIB_SPEC and
	TCL_STUB_LIB_FLAG variables.
	* unix/configure: Regen.
	* unix/configure.in: Pass TCL_STUB_LIB_SPEC into
	Makefile and use it when linking the tk shared library.
	Define USE_TCL_STUBS when building shared. Subst
	TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG.
@
text
@d558 2
d577 1
a577 1
echo "configure:576: checking for $ac_word" >&5
d607 1
a607 1
echo "configure:606: checking for $ac_word" >&5
d658 1
a658 1
echo "configure:657: checking for $ac_word" >&5
d690 1
a690 1
echo "configure:689: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d701 1
a701 1
#line 700 "configure"
d706 1
a706 1
if { (eval echo configure:705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d732 1
a732 1
echo "configure:731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d737 1
a737 1
echo "configure:736: checking whether we are using GNU C" >&5
d746 1
a746 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d765 1
a765 1
echo "configure:764: checking whether ${CC-cc} accepts -g" >&5
d799 1
a799 1
echo "configure:798: checking for $ac_word" >&5
d832 1
a832 1
echo "configure:831: checking how to run the C preprocessor" >&5
d847 1
a847 1
#line 846 "configure"
d853 1
a853 1
{ (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d864 1
a864 1
#line 863 "configure"
d870 1
a870 1
{ (eval echo configure:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d881 1
a881 1
#line 880 "configure"
d887 1
a887 1
{ (eval echo configure:886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d915 1
a915 1
echo "configure:914: checking for $ac_hdr" >&5
d920 1
a920 1
#line 919 "configure"
d925 1
a925 1
{ (eval echo configure:924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d958 1
a958 1
echo "configure:957: checking for building with threads" >&5
d984 1
a984 1
echo "configure:983: checking for pthread_mutex_init in -lpthread" >&5
d992 1
a992 1
#line 991 "configure"
d1003 1
a1003 1
if { (eval echo configure:1002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1031 1
a1031 1
echo "configure:1030: checking for __pthread_mutex_init in -lpthread" >&5
d1039 1
a1039 1
#line 1038 "configure"
d1050 1
a1050 1
if { (eval echo configure:1049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1078 1
a1078 1
echo "configure:1077: checking for pthread_mutex_init in -lpthreads" >&5
d1086 1
a1086 1
#line 1085 "configure"
d1097 1
a1097 1
if { (eval echo configure:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1123 1
a1123 1
echo "configure:1122: checking for pthread_mutex_init in -lc" >&5
d1131 1
a1131 1
#line 1130 "configure"
d1142 1
a1142 1
if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1165 1
a1165 1
echo "configure:1164: checking for pthread_mutex_init in -lc_r" >&5
d1173 1
a1173 1
#line 1172 "configure"
d1184 1
a1184 1
if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1222 1
a1222 1
echo "configure:1221: checking for $ac_func" >&5
d1227 1
a1227 1
#line 1226 "configure"
d1250 1
a1250 1
if { (eval echo configure:1249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1289 1
a1289 1
echo "configure:1288: checking if the compiler understands -pipe" >&5
d1293 1
a1293 1
#line 1292 "configure"
d1300 1
a1300 1
if { (eval echo configure:1299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1335 1
a1335 1
echo "configure:1334: checking for Tcl configuration" >&5
d1408 1
a1408 1
echo "configure:1407: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1439 1
a1439 1
echo "configure:1438: checking if 64bit support is requested" >&5
d1459 1
a1459 1
echo "configure:1458: checking if 64bit Sparc VIS support is requested" >&5
d1483 1
a1483 1
echo "configure:1482: checking system version (for dynamic loading)" >&5
d1509 1
a1509 1
echo "configure:1508: checking for dlopen in -ldl" >&5
d1517 1
a1517 1
#line 1516 "configure"
d1528 1
a1528 1
if { (eval echo configure:1527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1572 1
a1572 1
echo "configure:1571: checking for $ac_word" >&5
d1677 1
a1677 1
echo "configure:1676: checking for gettimeofday in -lbsd" >&5
d1685 1
a1685 1
#line 1684 "configure"
d1696 1
a1696 1
if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1758 1
a1758 1
echo "configure:1757: checking for shl_load in -ldld" >&5
d1766 1
a1766 1
#line 1765 "configure"
d1777 1
a1777 1
if { (eval echo configure:1776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1820 1
a1820 1
echo "configure:1819: checking for shl_load in -ldld" >&5
d1828 1
a1828 1
#line 1827 "configure"
d1839 1
a1839 1
if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1946 1
a1946 1
echo "configure:1945: checking for dld.h" >&5
d1951 1
a1951 1
#line 1950 "configure"
d1956 1
a1956 1
{ (eval echo configure:1955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2013 1
a2013 1
echo "configure:2012: checking for dld.h" >&5
d2018 1
a2018 1
#line 2017 "configure"
d2023 1
a2023 1
{ (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2078 1
a2078 1
echo "configure:2077: checking for dlfcn.h" >&5
d2083 1
a2083 1
#line 2082 "configure"
d2088 1
a2088 1
{ (eval echo configure:2087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2115 1
a2115 1
echo "configure:2114: checking for ELF" >&5
d2117 1
a2117 1
#line 2116 "configure"
d2425 1
a2425 1
echo "configure:2424: checking for ld accepts -Bexport flag" >&5
d2428 1
a2428 1
#line 2427 "configure"
d2435 1
a2435 1
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2481 1
a2481 1
echo "configure:2480: checking sys/exec.h" >&5
d2483 1
a2483 1
#line 2482 "configure"
d2501 1
a2501 1
if { (eval echo configure:2500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2519 1
a2519 1
echo "configure:2518: checking a.out.h" >&5
d2521 1
a2521 1
#line 2520 "configure"
d2539 1
a2539 1
if { (eval echo configure:2538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2557 1
a2557 1
echo "configure:2556: checking sys/exec_aout.h" >&5
d2559 1
a2559 1
#line 2558 "configure"
d2577 1
a2577 1
if { (eval echo configure:2576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2674 1
a2674 1
echo "configure:2673: checking for build with symbols" >&5
d2718 1
a2718 1
echo "configure:2717: checking for sin" >&5
d2723 1
a2723 1
#line 2722 "configure"
d2746 1
a2746 1
if { (eval echo configure:2745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2767 1
a2767 1
echo "configure:2766: checking for main in -lieee" >&5
d2775 1
a2775 1
#line 2774 "configure"
d2782 1
a2782 1
if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2813 1
a2813 1
echo "configure:2812: checking for gettimeofday in -lbsd" >&5
d2821 1
a2821 1
#line 2820 "configure"
d2832 1
a2832 1
if { (eval echo configure:2831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2863 1
a2863 1
echo "configure:2862: checking stdlib.h" >&5
d2865 1
a2865 1
#line 2864 "configure"
d2880 1
a2880 1
#line 2879 "configure"
d2894 1
a2894 1
#line 2893 "configure"
d2926 1
a2926 1
echo "configure:2925: checking fd_set and sys/select" >&5
d2928 1
a2928 1
#line 2927 "configure"
d2935 1
a2935 1
if { (eval echo configure:2934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2947 1
a2947 1
#line 2946 "configure"
d2979 1
a2979 1
echo "configure:2978: checking for ANSI C header files" >&5
d2984 1
a2984 1
#line 2983 "configure"
d2992 1
a2992 1
{ (eval echo configure:2991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3009 1
a3009 1
#line 3008 "configure"
d3027 1
a3027 1
#line 3026 "configure"
d3048 1
a3048 1
#line 3047 "configure"
d3059 1
a3059 1
if { (eval echo configure:3058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3083 1
a3083 1
echo "configure:3082: checking for mode_t" >&5
d3088 1
a3088 1
#line 3087 "configure"
d3116 1
a3116 1
echo "configure:3115: checking for pid_t" >&5
d3121 1
a3121 1
#line 3120 "configure"
d3149 1
a3149 1
echo "configure:3148: checking for size_t" >&5
d3154 1
a3154 1
#line 3153 "configure"
d3182 1
a3182 1
echo "configure:3181: checking for uid_t in sys/types.h" >&5
d3187 1
a3187 1
#line 3186 "configure"
d3224 1
a3224 1
echo "configure:3223: checking for $ac_hdr" >&5
d3229 1
a3229 1
#line 3228 "configure"
d3234 1
a3234 1
{ (eval echo configure:3233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3261 1
a3261 1
echo "configure:3260: checking whether time.h and sys/time.h may both be included" >&5
d3266 1
a3266 1
#line 3265 "configure"
d3275 1
a3275 1
if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3301 1
a3301 1
echo "configure:3300: checking pw_gecos in struct pwd" >&5
d3303 1
a3303 1
#line 3302 "configure"
d3310 1
a3310 1
if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3343 1
a3343 1
echo "configure:3342: checking for X" >&5
d3405 1
a3405 1
#line 3404 "configure"
d3410 1
a3410 1
{ (eval echo configure:3409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3479 1
a3479 1
#line 3478 "configure"
d3486 1
a3486 1
if { (eval echo configure:3485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3576 1
a3576 1
#line 3575 "configure"
d3581 1
a3581 1
{ (eval echo configure:3580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3601 1
a3601 1
echo "configure:3600: checking for X11 header files" >&5
d3604 1
a3604 1
#line 3603 "configure"
d3609 1
a3609 1
{ (eval echo configure:3608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3645 1
a3645 1
echo "configure:3644: checking for X11 libraries" >&5
d3665 1
a3665 1
echo "configure:3664: checking for XCreateWindow in -lXwindow" >&5
d3673 1
a3673 1
#line 3672 "configure"
d3684 1
a3684 1
if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3769 1
a3769 1
echo "configure:3768: checking for main in -lXbsd" >&5
d3777 1
a3777 1
#line 3776 "configure"
d3784 1
a3784 1
if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3807 1
a3807 1
echo "configure:3806: checking for connect" >&5
d3812 1
a3812 1
#line 3811 "configure"
d3835 1
a3835 1
if { (eval echo configure:3834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3857 1
a3857 1
echo "configure:3856: checking for main in -lsocket" >&5
d3865 1
a3865 1
#line 3864 "configure"
d3872 1
a3872 1
if { (eval echo configure:3871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3898 1
a3898 1
echo "configure:3897: checking for accept" >&5
d3903 1
a3903 1
#line 3902 "configure"
d3926 1
a3926 1
if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3948 1
a3948 1
echo "configure:3947: checking for gethostbyname" >&5
d3953 1
a3953 1
#line 3952 "configure"
d3976 1
a3976 1
if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3994 1
a3994 1
echo "configure:3993: checking for main in -lnsl" >&5
d4002 1
a4002 1
#line 4001 "configure"
d4009 1
a4009 1
if { (eval echo configure:4008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4049 1
a4049 1
echo "configure:4048: checking MIT X libraries" >&5
d4055 1
a4055 1
#line 4054 "configure"
d4066 1
a4066 1
if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4093 1
a4093 1
echo "configure:4092: checking for sin" >&5
d4098 1
a4098 1
#line 4097 "configure"
d4121 1
a4121 1
if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4142 1
a4142 1
echo "configure:4141: checking for main in -lieee" >&5
d4150 1
a4150 1
#line 4149 "configure"
d4157 1
a4157 1
if { (eval echo configure:4156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4184 1
a4184 1
echo "configure:4183: checking whether char is unsigned" >&5
d4191 1
a4191 1
#line 4190 "configure"
d4213 1
a4213 1
#line 4212 "configure"
d4223 1
a4223 1
if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4256 1
a4256 1
echo "configure:4255: checking for strtod" >&5
d4261 1
a4261 1
#line 4260 "configure"
d4284 1
a4284 1
if { (eval echo configure:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4306 1
a4306 1
echo "configure:4305: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4311 1
a4311 1
#line 4310 "configure"
d4331 1
a4331 1
if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4363 1
a4363 1
echo "configure:4362: checking how to build libraries" >&5
d4428 1
a4428 1
    TK_LIB_SPEC="-L${exec_prefix}/lib ${TK_LIB_FLAG}"
d4437 1
a4437 1
	TK_LIB_SPEC="-Wl,-bI:${exec_prefix}/lib/${TK_EXP_FILE} -L`pwd`"    
d4440 1
a4440 1
	TK_LIB_SPEC="-bI:${exec_prefix}/lib/${TK_EXP_FILE}"    
d4467 1
a4467 1
TK_STUB_LIB_SPEC="-L${exec_prefix}/lib ${TK_STUB_LIB_FLAG}"
d4469 1
a4469 1
TK_STUB_LIB_PATH="${exec_prefix}/lib/${TK_STUB_LIB_FILE}"
@


1.25
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d4400 1
a4400 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4403 1
a4403 2
#    TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
    TCL_STUB_FLAGS=""
d4514 2
d4721 1
d4723 1
@


1.24
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d1366 1
a1366 1
		for i in `ls -d ${prefix}/lib 2>/dev/null` \
d2179 1
a2179 1
	    SHLIB_LD_LIBS="${LIBS}"
@


1.23
log
@	* unix/configure: Regen.
	* unix/configure.in: Move EXP file changes over from
	Tcl configure script to fix AIX build with gcc. [Bug 220955]
@
text
@d2162 1
a2162 1
	    SHLIB_LD_LIBS=""
d2346 5
a2350 1
	    LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d2423 1
a2423 1
echo "configure:2420: checking for ld accepts -Bexport flag" >&5
d2426 1
a2426 1
#line 2423 "configure"
d2433 1
a2433 1
if { (eval echo configure:2430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2479 1
a2479 1
echo "configure:2476: checking sys/exec.h" >&5
d2481 1
a2481 1
#line 2478 "configure"
d2499 1
a2499 1
if { (eval echo configure:2496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2517 1
a2517 1
echo "configure:2514: checking a.out.h" >&5
d2519 1
a2519 1
#line 2516 "configure"
d2537 1
a2537 1
if { (eval echo configure:2534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2555 1
a2555 1
echo "configure:2552: checking sys/exec_aout.h" >&5
d2557 1
a2557 1
#line 2554 "configure"
d2575 1
a2575 1
if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2672 1
a2672 1
echo "configure:2669: checking for build with symbols" >&5
d2716 1
a2716 1
echo "configure:2713: checking for sin" >&5
d2721 1
a2721 1
#line 2718 "configure"
d2744 1
a2744 1
if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2765 1
a2765 1
echo "configure:2762: checking for main in -lieee" >&5
d2773 1
a2773 1
#line 2770 "configure"
d2780 1
a2780 1
if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2811 1
a2811 1
echo "configure:2808: checking for gettimeofday in -lbsd" >&5
d2819 1
a2819 1
#line 2816 "configure"
d2830 1
a2830 1
if { (eval echo configure:2827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2861 1
a2861 1
echo "configure:2858: checking stdlib.h" >&5
d2863 1
a2863 1
#line 2860 "configure"
d2878 1
a2878 1
#line 2875 "configure"
d2892 1
a2892 1
#line 2889 "configure"
d2924 1
a2924 1
echo "configure:2921: checking fd_set and sys/select" >&5
d2926 1
a2926 1
#line 2923 "configure"
d2933 1
a2933 1
if { (eval echo configure:2930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2945 1
a2945 1
#line 2942 "configure"
d2977 1
a2977 1
echo "configure:2974: checking for ANSI C header files" >&5
d2982 1
a2982 1
#line 2979 "configure"
d2990 1
a2990 1
{ (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3007 1
a3007 1
#line 3004 "configure"
d3025 1
a3025 1
#line 3022 "configure"
d3046 1
a3046 1
#line 3043 "configure"
d3057 1
a3057 1
if { (eval echo configure:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3081 1
a3081 1
echo "configure:3078: checking for mode_t" >&5
d3086 1
a3086 1
#line 3083 "configure"
d3114 1
a3114 1
echo "configure:3111: checking for pid_t" >&5
d3119 1
a3119 1
#line 3116 "configure"
d3147 1
a3147 1
echo "configure:3144: checking for size_t" >&5
d3152 1
a3152 1
#line 3149 "configure"
d3180 1
a3180 1
echo "configure:3177: checking for uid_t in sys/types.h" >&5
d3185 1
a3185 1
#line 3182 "configure"
d3222 1
a3222 1
echo "configure:3219: checking for $ac_hdr" >&5
d3227 1
a3227 1
#line 3224 "configure"
d3232 1
a3232 1
{ (eval echo configure:3229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3259 1
a3259 1
echo "configure:3256: checking whether time.h and sys/time.h may both be included" >&5
d3264 1
a3264 1
#line 3261 "configure"
d3273 1
a3273 1
if { (eval echo configure:3270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3299 1
a3299 1
echo "configure:3296: checking pw_gecos in struct pwd" >&5
d3301 1
a3301 1
#line 3298 "configure"
d3308 1
a3308 1
if { (eval echo configure:3305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3341 1
a3341 1
echo "configure:3338: checking for X" >&5
d3403 1
a3403 1
#line 3400 "configure"
d3408 1
a3408 1
{ (eval echo configure:3405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3477 1
a3477 1
#line 3474 "configure"
d3484 1
a3484 1
if { (eval echo configure:3481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3574 1
a3574 1
#line 3571 "configure"
d3579 1
a3579 1
{ (eval echo configure:3576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3599 1
a3599 1
echo "configure:3596: checking for X11 header files" >&5
d3602 1
a3602 1
#line 3599 "configure"
d3607 1
a3607 1
{ (eval echo configure:3604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3643 1
a3643 1
echo "configure:3640: checking for X11 libraries" >&5
d3663 1
a3663 1
echo "configure:3660: checking for XCreateWindow in -lXwindow" >&5
d3671 1
a3671 1
#line 3668 "configure"
d3682 1
a3682 1
if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3767 1
a3767 1
echo "configure:3764: checking for main in -lXbsd" >&5
d3775 1
a3775 1
#line 3772 "configure"
d3782 1
a3782 1
if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3805 1
a3805 1
echo "configure:3802: checking for connect" >&5
d3810 1
a3810 1
#line 3807 "configure"
d3833 1
a3833 1
if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3855 1
a3855 1
echo "configure:3852: checking for main in -lsocket" >&5
d3863 1
a3863 1
#line 3860 "configure"
d3870 1
a3870 1
if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3896 1
a3896 1
echo "configure:3893: checking for accept" >&5
d3901 1
a3901 1
#line 3898 "configure"
d3924 1
a3924 1
if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3946 1
a3946 1
echo "configure:3943: checking for gethostbyname" >&5
d3951 1
a3951 1
#line 3948 "configure"
d3974 1
a3974 1
if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3992 1
a3992 1
echo "configure:3989: checking for main in -lnsl" >&5
d4000 1
a4000 1
#line 3997 "configure"
d4007 1
a4007 1
if { (eval echo configure:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4047 1
a4047 1
echo "configure:4044: checking MIT X libraries" >&5
d4053 1
a4053 1
#line 4050 "configure"
d4064 1
a4064 1
if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4091 1
a4091 1
echo "configure:4088: checking for sin" >&5
d4096 1
a4096 1
#line 4093 "configure"
d4119 1
a4119 1
if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4140 1
a4140 1
echo "configure:4137: checking for main in -lieee" >&5
d4148 1
a4148 1
#line 4145 "configure"
d4155 1
a4155 1
if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4182 1
a4182 1
echo "configure:4179: checking whether char is unsigned" >&5
d4189 1
a4189 1
#line 4186 "configure"
d4211 1
a4211 1
#line 4208 "configure"
d4221 1
a4221 1
if { (eval echo configure:4218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4254 1
a4254 1
echo "configure:4251: checking for strtod" >&5
d4259 1
a4259 1
#line 4256 "configure"
d4282 1
a4282 1
if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4304 1
a4304 1
echo "configure:4301: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4309 1
a4309 1
#line 4306 "configure"
d4329 1
a4329 1
if { (eval echo configure:4326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4361 1
a4361 1
echo "configure:4358: checking how to build libraries" >&5
@


1.22
log
@added -lc to AIX libs, fixed path to ldAix
@
text
@d4429 8
a4436 3
    
    TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
    TK_LIB_SPEC="-bI:${exec_prefix}/lib/${TK_EXP_FILE}"
@


1.21
log
@	* unix/configure:
	* unix/tcl.m4: Update from Tcl.
@
text
@a1550 1
    fullSrcDir=`cd $srcdir; pwd`
d1570 1
a1570 1
echo "configure:1572: checking for $ac_word" >&5
d1606 1
d1644 1
d1646 1
a1646 1
	    SHLIB_LD="$fullSrcDir/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d1675 1
a1675 1
echo "configure:1675: checking for gettimeofday in -lbsd" >&5
d1683 1
a1683 1
#line 1683 "configure"
d1694 1
a1694 1
if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1756 1
a1756 1
echo "configure:1756: checking for shl_load in -ldld" >&5
d1764 1
a1764 1
#line 1764 "configure"
d1775 1
a1775 1
if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1818 1
a1818 1
echo "configure:1818: checking for shl_load in -ldld" >&5
d1826 1
a1826 1
#line 1826 "configure"
d1837 1
a1837 1
if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1944 1
a1944 1
echo "configure:1944: checking for dld.h" >&5
d1949 1
a1949 1
#line 1949 "configure"
d1954 1
a1954 1
{ (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2011 1
a2011 1
echo "configure:2011: checking for dld.h" >&5
d2016 1
a2016 1
#line 2016 "configure"
d2021 1
a2021 1
{ (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2076 1
a2076 1
echo "configure:2076: checking for dlfcn.h" >&5
d2081 1
a2081 1
#line 2081 "configure"
d2086 1
a2086 1
{ (eval echo configure:2086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2113 1
a2113 1
echo "configure:2113: checking for ELF" >&5
d2115 1
a2115 1
#line 2115 "configure"
d2175 13
d2419 1
a2419 1
echo "configure:2406: checking for ld accepts -Bexport flag" >&5
d2422 1
a2422 1
#line 2409 "configure"
d2429 1
a2429 1
if { (eval echo configure:2416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2475 1
a2475 1
echo "configure:2462: checking sys/exec.h" >&5
d2477 1
a2477 1
#line 2464 "configure"
d2495 1
a2495 1
if { (eval echo configure:2482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2513 1
a2513 1
echo "configure:2500: checking a.out.h" >&5
d2515 1
a2515 1
#line 2502 "configure"
d2533 1
a2533 1
if { (eval echo configure:2520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2551 1
a2551 1
echo "configure:2538: checking sys/exec_aout.h" >&5
d2553 1
a2553 1
#line 2540 "configure"
d2571 1
a2571 1
if { (eval echo configure:2558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2638 2
d2668 1
a2668 1
echo "configure:2653: checking for build with symbols" >&5
d2712 1
a2712 1
echo "configure:2697: checking for sin" >&5
d2717 1
a2717 1
#line 2702 "configure"
d2740 1
a2740 1
if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2761 1
a2761 1
echo "configure:2746: checking for main in -lieee" >&5
d2769 1
a2769 1
#line 2754 "configure"
d2776 1
a2776 1
if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2807 1
a2807 1
echo "configure:2792: checking for gettimeofday in -lbsd" >&5
d2815 1
a2815 1
#line 2800 "configure"
d2826 1
a2826 1
if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2857 1
a2857 1
echo "configure:2842: checking stdlib.h" >&5
d2859 1
a2859 1
#line 2844 "configure"
d2874 1
a2874 1
#line 2859 "configure"
d2888 1
a2888 1
#line 2873 "configure"
d2920 1
a2920 1
echo "configure:2905: checking fd_set and sys/select" >&5
d2922 1
a2922 1
#line 2907 "configure"
d2929 1
a2929 1
if { (eval echo configure:2914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2941 1
a2941 1
#line 2926 "configure"
d2973 1
a2973 1
echo "configure:2958: checking for ANSI C header files" >&5
d2978 1
a2978 1
#line 2963 "configure"
d2986 1
a2986 1
{ (eval echo configure:2971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3003 1
a3003 1
#line 2988 "configure"
d3021 1
a3021 1
#line 3006 "configure"
d3042 1
a3042 1
#line 3027 "configure"
d3053 1
a3053 1
if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3077 1
a3077 1
echo "configure:3062: checking for mode_t" >&5
d3082 1
a3082 1
#line 3067 "configure"
d3110 1
a3110 1
echo "configure:3095: checking for pid_t" >&5
d3115 1
a3115 1
#line 3100 "configure"
d3143 1
a3143 1
echo "configure:3128: checking for size_t" >&5
d3148 1
a3148 1
#line 3133 "configure"
d3176 1
a3176 1
echo "configure:3161: checking for uid_t in sys/types.h" >&5
d3181 1
a3181 1
#line 3166 "configure"
d3218 1
a3218 1
echo "configure:3203: checking for $ac_hdr" >&5
d3223 1
a3223 1
#line 3208 "configure"
d3228 1
a3228 1
{ (eval echo configure:3213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3255 1
a3255 1
echo "configure:3240: checking whether time.h and sys/time.h may both be included" >&5
d3260 1
a3260 1
#line 3245 "configure"
d3269 1
a3269 1
if { (eval echo configure:3254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3295 1
a3295 1
echo "configure:3280: checking pw_gecos in struct pwd" >&5
d3297 1
a3297 1
#line 3282 "configure"
d3304 1
a3304 1
if { (eval echo configure:3289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3337 1
a3337 1
echo "configure:3322: checking for X" >&5
d3399 1
a3399 1
#line 3384 "configure"
d3404 1
a3404 1
{ (eval echo configure:3389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3473 1
a3473 1
#line 3458 "configure"
d3480 1
a3480 1
if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3570 1
a3570 1
#line 3555 "configure"
d3575 1
a3575 1
{ (eval echo configure:3560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3595 1
a3595 1
echo "configure:3580: checking for X11 header files" >&5
d3598 1
a3598 1
#line 3583 "configure"
d3603 1
a3603 1
{ (eval echo configure:3588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3639 1
a3639 1
echo "configure:3624: checking for X11 libraries" >&5
d3659 1
a3659 1
echo "configure:3644: checking for XCreateWindow in -lXwindow" >&5
d3667 1
a3667 1
#line 3652 "configure"
d3678 1
a3678 1
if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3763 1
a3763 1
echo "configure:3748: checking for main in -lXbsd" >&5
d3771 1
a3771 1
#line 3756 "configure"
d3778 1
a3778 1
if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3801 1
a3801 1
echo "configure:3786: checking for connect" >&5
d3806 1
a3806 1
#line 3791 "configure"
d3829 1
a3829 1
if { (eval echo configure:3814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3851 1
a3851 1
echo "configure:3836: checking for main in -lsocket" >&5
d3859 1
a3859 1
#line 3844 "configure"
d3866 1
a3866 1
if { (eval echo configure:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3892 1
a3892 1
echo "configure:3877: checking for accept" >&5
d3897 1
a3897 1
#line 3882 "configure"
d3920 1
a3920 1
if { (eval echo configure:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3942 1
a3942 1
echo "configure:3927: checking for gethostbyname" >&5
d3947 1
a3947 1
#line 3932 "configure"
d3970 1
a3970 1
if { (eval echo configure:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3988 1
a3988 1
echo "configure:3973: checking for main in -lnsl" >&5
d3996 1
a3996 1
#line 3981 "configure"
d4003 1
a4003 1
if { (eval echo configure:3988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4043 1
a4043 1
echo "configure:4028: checking MIT X libraries" >&5
d4049 1
a4049 1
#line 4034 "configure"
d4060 1
a4060 1
if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4087 1
a4087 1
echo "configure:4072: checking for sin" >&5
d4092 1
a4092 1
#line 4077 "configure"
d4115 1
a4115 1
if { (eval echo configure:4100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4136 1
a4136 1
echo "configure:4121: checking for main in -lieee" >&5
d4144 1
a4144 1
#line 4129 "configure"
d4151 1
a4151 1
if { (eval echo configure:4136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4178 1
a4178 1
echo "configure:4163: checking whether char is unsigned" >&5
d4185 1
a4185 1
#line 4170 "configure"
d4207 1
a4207 1
#line 4192 "configure"
d4217 1
a4217 1
if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4250 1
a4250 1
echo "configure:4235: checking for strtod" >&5
d4255 1
a4255 1
#line 4240 "configure"
d4278 1
a4278 1
if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4300 1
a4300 1
echo "configure:4285: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4305 1
a4305 1
#line 4290 "configure"
d4325 1
a4325 1
if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4357 1
a4357 1
echo "configure:4342: checking how to build libraries" >&5
@


1.20
log
@	* unix/configure:
	* unix/tcl.m4: Update from Tcl.
@
text
@d2229 1
d2231 1
a2232 1
		    LIBS=`echo $LIBS | sed s/-lpthreads//`
d2405 1
a2405 1
echo "configure:2405: checking for ld accepts -Bexport flag" >&5
d2408 1
a2408 1
#line 2408 "configure"
d2415 1
a2415 1
if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2461 1
a2461 1
echo "configure:2461: checking sys/exec.h" >&5
d2463 1
a2463 1
#line 2463 "configure"
d2481 1
a2481 1
if { (eval echo configure:2481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2499 1
a2499 1
echo "configure:2499: checking a.out.h" >&5
d2501 1
a2501 1
#line 2501 "configure"
d2519 1
a2519 1
if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2537 1
a2537 1
echo "configure:2537: checking sys/exec_aout.h" >&5
d2539 1
a2539 1
#line 2539 "configure"
d2557 1
a2557 1
if { (eval echo configure:2557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2652 1
a2652 1
echo "configure:2652: checking for build with symbols" >&5
d2696 1
a2696 1
echo "configure:2696: checking for sin" >&5
d2701 1
a2701 1
#line 2701 "configure"
d2724 1
a2724 1
if { (eval echo configure:2724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2745 1
a2745 1
echo "configure:2745: checking for main in -lieee" >&5
d2753 1
a2753 1
#line 2753 "configure"
d2760 1
a2760 1
if { (eval echo configure:2760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2791 1
a2791 1
echo "configure:2791: checking for gettimeofday in -lbsd" >&5
d2799 1
a2799 1
#line 2799 "configure"
d2810 1
a2810 1
if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2841 1
a2841 1
echo "configure:2841: checking stdlib.h" >&5
d2843 1
a2843 1
#line 2843 "configure"
d2858 1
a2858 1
#line 2858 "configure"
d2872 1
a2872 1
#line 2872 "configure"
d2904 1
a2904 1
echo "configure:2904: checking fd_set and sys/select" >&5
d2906 1
a2906 1
#line 2906 "configure"
d2913 1
a2913 1
if { (eval echo configure:2913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2925 1
a2925 1
#line 2925 "configure"
d2957 1
a2957 1
echo "configure:2957: checking for ANSI C header files" >&5
d2962 1
a2962 1
#line 2962 "configure"
d2970 1
a2970 1
{ (eval echo configure:2970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2987 1
a2987 1
#line 2987 "configure"
d3005 1
a3005 1
#line 3005 "configure"
d3026 1
a3026 1
#line 3026 "configure"
d3037 1
a3037 1
if { (eval echo configure:3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3061 1
a3061 1
echo "configure:3061: checking for mode_t" >&5
d3066 1
a3066 1
#line 3066 "configure"
d3094 1
a3094 1
echo "configure:3094: checking for pid_t" >&5
d3099 1
a3099 1
#line 3099 "configure"
d3127 1
a3127 1
echo "configure:3127: checking for size_t" >&5
d3132 1
a3132 1
#line 3132 "configure"
d3160 1
a3160 1
echo "configure:3160: checking for uid_t in sys/types.h" >&5
d3165 1
a3165 1
#line 3165 "configure"
d3202 1
a3202 1
echo "configure:3202: checking for $ac_hdr" >&5
d3207 1
a3207 1
#line 3207 "configure"
d3212 1
a3212 1
{ (eval echo configure:3212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3239 1
a3239 1
echo "configure:3239: checking whether time.h and sys/time.h may both be included" >&5
d3244 1
a3244 1
#line 3244 "configure"
d3253 1
a3253 1
if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3279 1
a3279 1
echo "configure:3279: checking pw_gecos in struct pwd" >&5
d3281 1
a3281 1
#line 3281 "configure"
d3288 1
a3288 1
if { (eval echo configure:3288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3321 1
a3321 1
echo "configure:3321: checking for X" >&5
d3383 1
a3383 1
#line 3383 "configure"
d3388 1
a3388 1
{ (eval echo configure:3388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3457 1
a3457 1
#line 3457 "configure"
d3464 1
a3464 1
if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3554 1
a3554 1
#line 3554 "configure"
d3559 1
a3559 1
{ (eval echo configure:3559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3579 1
a3579 1
echo "configure:3579: checking for X11 header files" >&5
d3582 1
a3582 1
#line 3582 "configure"
d3587 1
a3587 1
{ (eval echo configure:3587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3623 1
a3623 1
echo "configure:3623: checking for X11 libraries" >&5
d3643 1
a3643 1
echo "configure:3643: checking for XCreateWindow in -lXwindow" >&5
d3651 1
a3651 1
#line 3651 "configure"
d3662 1
a3662 1
if { (eval echo configure:3662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3747 1
a3747 1
echo "configure:3747: checking for main in -lXbsd" >&5
d3755 1
a3755 1
#line 3755 "configure"
d3762 1
a3762 1
if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3785 1
a3785 1
echo "configure:3785: checking for connect" >&5
d3790 1
a3790 1
#line 3790 "configure"
d3813 1
a3813 1
if { (eval echo configure:3813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3835 1
a3835 1
echo "configure:3835: checking for main in -lsocket" >&5
d3843 1
a3843 1
#line 3843 "configure"
d3850 1
a3850 1
if { (eval echo configure:3850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3876 1
a3876 1
echo "configure:3876: checking for accept" >&5
d3881 1
a3881 1
#line 3881 "configure"
d3904 1
a3904 1
if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3926 1
a3926 1
echo "configure:3926: checking for gethostbyname" >&5
d3931 1
a3931 1
#line 3931 "configure"
d3954 1
a3954 1
if { (eval echo configure:3954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3972 1
a3972 1
echo "configure:3972: checking for main in -lnsl" >&5
d3980 1
a3980 1
#line 3980 "configure"
d3987 1
a3987 1
if { (eval echo configure:3987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4027 1
a4027 1
echo "configure:4027: checking MIT X libraries" >&5
d4033 1
a4033 1
#line 4033 "configure"
d4044 1
a4044 1
if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4071 1
a4071 1
echo "configure:4071: checking for sin" >&5
d4076 1
a4076 1
#line 4076 "configure"
d4099 1
a4099 1
if { (eval echo configure:4099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4120 1
a4120 1
echo "configure:4120: checking for main in -lieee" >&5
d4128 1
a4128 1
#line 4128 "configure"
d4135 1
a4135 1
if { (eval echo configure:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4162 1
a4162 1
echo "configure:4162: checking whether char is unsigned" >&5
d4169 1
a4169 1
#line 4169 "configure"
d4191 1
a4191 1
#line 4191 "configure"
d4201 1
a4201 1
if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4234 1
a4234 1
echo "configure:4234: checking for strtod" >&5
d4239 1
a4239 1
#line 4239 "configure"
d4262 1
a4262 1
if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4284 1
a4284 1
echo "configure:4284: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4289 1
a4289 1
#line 4289 "configure"
d4309 1
a4309 1
if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4341 1
a4341 1
echo "configure:4341: checking how to build libraries" >&5
@


1.19
log
@	* unix/configure:
	* unix/configure.in:
	* win/configure:
	* win/configure.in:
	* win/tkConfig.sh.in: reworked to be a little cleaner in
	comparison to each other, and to AC_SUBST even empty vars for
	win/tkConfig.sh
@
text
@d1162 48
a1209 2
	    	    TCL_THREADS=0
		    echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
d1220 1
a1220 1
echo "configure:1175: checking for $ac_func" >&5
d1225 1
a1225 1
#line 1180 "configure"
d1248 1
a1248 1
if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1287 1
a1287 1
echo "configure:1242: checking if the compiler understands -pipe" >&5
d1291 1
a1291 1
#line 1246 "configure"
d1298 1
a1298 1
if { (eval echo configure:1253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1333 1
a1333 1
echo "configure:1288: checking for Tcl configuration" >&5
d1406 1
a1406 1
echo "configure:1361: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1437 1
a1437 1
echo "configure:1392: checking if 64bit support is requested" >&5
d1457 1
a1457 1
echo "configure:1412: checking if 64bit Sparc VIS support is requested" >&5
d1481 1
a1481 1
echo "configure:1436: checking system version (for dynamic loading)" >&5
d1507 1
a1507 1
echo "configure:1462: checking for dlopen in -ldl" >&5
d1515 1
a1515 1
#line 1470 "configure"
d1526 1
a1526 1
if { (eval echo configure:1481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1571 1
a1571 1
echo "configure:1526: checking for $ac_word" >&5
d1674 1
a1674 1
echo "configure:1629: checking for gettimeofday in -lbsd" >&5
d1682 1
a1682 1
#line 1637 "configure"
d1693 1
a1693 1
if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1755 1
a1755 1
echo "configure:1710: checking for shl_load in -ldld" >&5
d1763 1
a1763 1
#line 1718 "configure"
d1774 1
a1774 1
if { (eval echo configure:1729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1817 1
a1817 1
echo "configure:1772: checking for shl_load in -ldld" >&5
d1825 1
a1825 1
#line 1780 "configure"
d1836 1
a1836 1
if { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1943 1
a1943 1
echo "configure:1898: checking for dld.h" >&5
d1948 1
a1948 1
#line 1903 "configure"
d1953 1
a1953 1
{ (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2010 1
a2010 1
echo "configure:1965: checking for dld.h" >&5
d2015 1
a2015 1
#line 1970 "configure"
d2020 1
a2020 1
{ (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2075 1
a2075 1
echo "configure:2030: checking for dlfcn.h" >&5
d2080 1
a2080 1
#line 2035 "configure"
d2085 1
a2085 1
{ (eval echo configure:2040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2112 1
a2112 1
echo "configure:2067: checking for ELF" >&5
d2114 1
a2114 1
#line 2069 "configure"
d2404 1
a2404 1
echo "configure:2359: checking for ld accepts -Bexport flag" >&5
d2407 1
a2407 1
#line 2362 "configure"
d2414 1
a2414 1
if { (eval echo configure:2369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2460 1
a2460 1
echo "configure:2415: checking sys/exec.h" >&5
d2462 1
a2462 1
#line 2417 "configure"
d2480 1
a2480 1
if { (eval echo configure:2435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2498 1
a2498 1
echo "configure:2453: checking a.out.h" >&5
d2500 1
a2500 1
#line 2455 "configure"
d2518 1
a2518 1
if { (eval echo configure:2473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2536 1
a2536 1
echo "configure:2491: checking sys/exec_aout.h" >&5
d2538 1
a2538 1
#line 2493 "configure"
d2556 1
a2556 1
if { (eval echo configure:2511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2651 1
a2651 1
echo "configure:2606: checking for build with symbols" >&5
d2695 1
a2695 1
echo "configure:2650: checking for sin" >&5
d2700 1
a2700 1
#line 2655 "configure"
d2723 1
a2723 1
if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2744 1
a2744 1
echo "configure:2699: checking for main in -lieee" >&5
d2752 1
a2752 1
#line 2707 "configure"
d2759 1
a2759 1
if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2790 1
a2790 1
echo "configure:2745: checking for gettimeofday in -lbsd" >&5
d2798 1
a2798 1
#line 2753 "configure"
d2809 1
a2809 1
if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2840 1
a2840 1
echo "configure:2795: checking stdlib.h" >&5
d2842 1
a2842 1
#line 2797 "configure"
d2857 1
a2857 1
#line 2812 "configure"
d2871 1
a2871 1
#line 2826 "configure"
d2903 1
a2903 1
echo "configure:2858: checking fd_set and sys/select" >&5
d2905 1
a2905 1
#line 2860 "configure"
d2912 1
a2912 1
if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2924 1
a2924 1
#line 2879 "configure"
d2956 1
a2956 1
echo "configure:2911: checking for ANSI C header files" >&5
d2961 1
a2961 1
#line 2916 "configure"
d2969 1
a2969 1
{ (eval echo configure:2924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2986 1
a2986 1
#line 2941 "configure"
d3004 1
a3004 1
#line 2959 "configure"
d3025 1
a3025 1
#line 2980 "configure"
d3036 1
a3036 1
if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3060 1
a3060 1
echo "configure:3015: checking for mode_t" >&5
d3065 1
a3065 1
#line 3020 "configure"
d3093 1
a3093 1
echo "configure:3048: checking for pid_t" >&5
d3098 1
a3098 1
#line 3053 "configure"
d3126 1
a3126 1
echo "configure:3081: checking for size_t" >&5
d3131 1
a3131 1
#line 3086 "configure"
d3159 1
a3159 1
echo "configure:3114: checking for uid_t in sys/types.h" >&5
d3164 1
a3164 1
#line 3119 "configure"
d3201 1
a3201 1
echo "configure:3156: checking for $ac_hdr" >&5
d3206 1
a3206 1
#line 3161 "configure"
d3211 1
a3211 1
{ (eval echo configure:3166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3238 1
a3238 1
echo "configure:3193: checking whether time.h and sys/time.h may both be included" >&5
d3243 1
a3243 1
#line 3198 "configure"
d3252 1
a3252 1
if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3278 1
a3278 1
echo "configure:3233: checking pw_gecos in struct pwd" >&5
d3280 1
a3280 1
#line 3235 "configure"
d3287 1
a3287 1
if { (eval echo configure:3242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3320 1
a3320 1
echo "configure:3275: checking for X" >&5
d3382 1
a3382 1
#line 3337 "configure"
d3387 1
a3387 1
{ (eval echo configure:3342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3456 1
a3456 1
#line 3411 "configure"
d3463 1
a3463 1
if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3553 1
a3553 1
#line 3508 "configure"
d3558 1
a3558 1
{ (eval echo configure:3513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3578 1
a3578 1
echo "configure:3533: checking for X11 header files" >&5
d3581 1
a3581 1
#line 3536 "configure"
d3586 1
a3586 1
{ (eval echo configure:3541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3622 1
a3622 1
echo "configure:3577: checking for X11 libraries" >&5
d3642 1
a3642 1
echo "configure:3597: checking for XCreateWindow in -lXwindow" >&5
d3650 1
a3650 1
#line 3605 "configure"
d3661 1
a3661 1
if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3746 1
a3746 1
echo "configure:3701: checking for main in -lXbsd" >&5
d3754 1
a3754 1
#line 3709 "configure"
d3761 1
a3761 1
if { (eval echo configure:3716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3784 1
a3784 1
echo "configure:3739: checking for connect" >&5
d3789 1
a3789 1
#line 3744 "configure"
d3812 1
a3812 1
if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3834 1
a3834 1
echo "configure:3789: checking for main in -lsocket" >&5
d3842 1
a3842 1
#line 3797 "configure"
d3849 1
a3849 1
if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3875 1
a3875 1
echo "configure:3830: checking for accept" >&5
d3880 1
a3880 1
#line 3835 "configure"
d3903 1
a3903 1
if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3925 1
a3925 1
echo "configure:3880: checking for gethostbyname" >&5
d3930 1
a3930 1
#line 3885 "configure"
d3953 1
a3953 1
if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3971 1
a3971 1
echo "configure:3926: checking for main in -lnsl" >&5
d3979 1
a3979 1
#line 3934 "configure"
d3986 1
a3986 1
if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4026 1
a4026 1
echo "configure:3981: checking MIT X libraries" >&5
d4032 1
a4032 1
#line 3987 "configure"
d4043 1
a4043 1
if { (eval echo configure:3998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4070 1
a4070 1
echo "configure:4025: checking for sin" >&5
d4075 1
a4075 1
#line 4030 "configure"
d4098 1
a4098 1
if { (eval echo configure:4053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4119 1
a4119 1
echo "configure:4074: checking for main in -lieee" >&5
d4127 1
a4127 1
#line 4082 "configure"
d4134 1
a4134 1
if { (eval echo configure:4089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4161 1
a4161 1
echo "configure:4116: checking whether char is unsigned" >&5
d4168 1
a4168 1
#line 4123 "configure"
d4190 1
a4190 1
#line 4145 "configure"
d4200 1
a4200 1
if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4233 1
a4233 1
echo "configure:4188: checking for strtod" >&5
d4238 1
a4238 1
#line 4193 "configure"
d4261 1
a4261 1
if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4283 1
a4283 1
echo "configure:4238: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4288 1
a4288 1
#line 4243 "configure"
d4308 1
a4308 1
if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4340 1
a4340 1
echo "configure:4295: checking how to build libraries" >&5
@


1.18
log
@	* unix/configure: regen'ed
	* unix/tcl.m4: added --enable-64bit support for HP-11 with the
	64-bit kernel.
@
text
@a539 1
# RCS: @@(#) $Id: configure.in,v 1.63 2001/08/08 18:41:10 dgp Exp $
d548 4
d575 1
a575 1
echo "configure:573: checking for $ac_word" >&5
d605 1
a605 1
echo "configure:603: checking for $ac_word" >&5
d656 1
a656 1
echo "configure:654: checking for $ac_word" >&5
d688 1
a688 1
echo "configure:686: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d699 1
a699 1
#line 697 "configure"
d704 1
a704 1
if { (eval echo configure:702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d730 1
a730 1
echo "configure:728: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d735 1
a735 1
echo "configure:733: checking whether we are using GNU C" >&5
d744 1
a744 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d763 1
a763 1
echo "configure:761: checking whether ${CC-cc} accepts -g" >&5
d797 1
a797 1
echo "configure:795: checking for $ac_word" >&5
d830 1
a830 1
echo "configure:828: checking how to run the C preprocessor" >&5
d845 1
a845 1
#line 843 "configure"
d851 1
a851 1
{ (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d862 1
a862 1
#line 860 "configure"
d868 1
a868 1
{ (eval echo configure:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d879 1
a879 1
#line 877 "configure"
d885 1
a885 1
{ (eval echo configure:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d913 1
a913 1
echo "configure:911: checking for $ac_hdr" >&5
d918 1
a918 1
#line 916 "configure"
d923 1
a923 1
{ (eval echo configure:921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d956 1
a956 1
echo "configure:954: checking for building with threads" >&5
d982 1
a982 1
echo "configure:980: checking for pthread_mutex_init in -lpthread" >&5
d990 1
a990 1
#line 988 "configure"
d1001 1
a1001 1
if { (eval echo configure:999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1029 1
a1029 1
echo "configure:1027: checking for __pthread_mutex_init in -lpthread" >&5
d1037 1
a1037 1
#line 1035 "configure"
d1048 1
a1048 1
if { (eval echo configure:1046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1076 1
a1076 1
echo "configure:1074: checking for pthread_mutex_init in -lpthreads" >&5
d1084 1
a1084 1
#line 1082 "configure"
d1095 1
a1095 1
if { (eval echo configure:1093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1121 1
a1121 1
echo "configure:1119: checking for pthread_mutex_init in -lc" >&5
d1129 1
a1129 1
#line 1127 "configure"
d1140 1
a1140 1
if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1174 1
a1174 1
echo "configure:1172: checking for $ac_func" >&5
d1179 1
a1179 1
#line 1177 "configure"
d1202 1
a1202 1
if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1241 1
a1241 1
echo "configure:1239: checking if the compiler understands -pipe" >&5
d1245 1
a1245 1
#line 1243 "configure"
d1252 1
a1252 1
if { (eval echo configure:1250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1287 1
a1287 1
echo "configure:1285: checking for Tcl configuration" >&5
d1360 1
a1360 1
echo "configure:1358: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1391 1
a1391 1
echo "configure:1389: checking if 64bit support is requested" >&5
d1411 1
a1411 1
echo "configure:1409: checking if 64bit Sparc VIS support is requested" >&5
d1435 1
a1435 1
echo "configure:1433: checking system version (for dynamic loading)" >&5
d1461 1
a1461 1
echo "configure:1459: checking for dlopen in -ldl" >&5
d1469 1
a1469 1
#line 1467 "configure"
d1480 1
a1480 1
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1525 1
a1525 1
echo "configure:1523: checking for $ac_word" >&5
d1628 1
a1628 1
echo "configure:1626: checking for gettimeofday in -lbsd" >&5
d1636 1
a1636 1
#line 1634 "configure"
d1647 1
a1647 1
if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1709 1
a1709 1
echo "configure:1707: checking for shl_load in -ldld" >&5
d1717 1
a1717 1
#line 1715 "configure"
d1728 1
a1728 1
if { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1771 1
a1771 1
echo "configure:1769: checking for shl_load in -ldld" >&5
d1779 1
a1779 1
#line 1777 "configure"
d1790 1
a1790 1
if { (eval echo configure:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1897 1
a1897 1
echo "configure:1895: checking for dld.h" >&5
d1902 1
a1902 1
#line 1900 "configure"
d1907 1
a1907 1
{ (eval echo configure:1905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1964 1
a1964 1
echo "configure:1962: checking for dld.h" >&5
d1969 1
a1969 1
#line 1967 "configure"
d1974 1
a1974 1
{ (eval echo configure:1972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2029 1
a2029 1
echo "configure:2027: checking for dlfcn.h" >&5
d2034 1
a2034 1
#line 2032 "configure"
d2039 1
a2039 1
{ (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2066 1
a2066 1
echo "configure:2064: checking for ELF" >&5
d2068 1
a2068 1
#line 2066 "configure"
d2358 1
a2358 1
echo "configure:2356: checking for ld accepts -Bexport flag" >&5
d2361 1
a2361 1
#line 2359 "configure"
d2368 1
a2368 1
if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2414 1
a2414 1
echo "configure:2412: checking sys/exec.h" >&5
d2416 1
a2416 1
#line 2414 "configure"
d2434 1
a2434 1
if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2452 1
a2452 1
echo "configure:2450: checking a.out.h" >&5
d2454 1
a2454 1
#line 2452 "configure"
d2472 1
a2472 1
if { (eval echo configure:2470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2490 1
a2490 1
echo "configure:2488: checking sys/exec_aout.h" >&5
d2492 1
a2492 1
#line 2490 "configure"
d2510 1
a2510 1
if { (eval echo configure:2508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2605 1
a2605 1
echo "configure:2603: checking for build with symbols" >&5
d2649 1
a2649 1
echo "configure:2647: checking for sin" >&5
d2654 1
a2654 1
#line 2652 "configure"
d2677 1
a2677 1
if { (eval echo configure:2675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2698 1
a2698 1
echo "configure:2696: checking for main in -lieee" >&5
d2706 1
a2706 1
#line 2704 "configure"
d2713 1
a2713 1
if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2744 1
a2744 1
echo "configure:2742: checking for gettimeofday in -lbsd" >&5
d2752 1
a2752 1
#line 2750 "configure"
d2763 1
a2763 1
if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2794 1
a2794 1
echo "configure:2792: checking stdlib.h" >&5
d2796 1
a2796 1
#line 2794 "configure"
d2811 1
a2811 1
#line 2809 "configure"
d2825 1
a2825 1
#line 2823 "configure"
d2857 1
a2857 1
echo "configure:2855: checking fd_set and sys/select" >&5
d2859 1
a2859 1
#line 2857 "configure"
d2866 1
a2866 1
if { (eval echo configure:2864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2878 1
a2878 1
#line 2876 "configure"
d2910 1
a2910 1
echo "configure:2908: checking for ANSI C header files" >&5
d2915 1
a2915 1
#line 2913 "configure"
d2923 1
a2923 1
{ (eval echo configure:2921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2940 1
a2940 1
#line 2938 "configure"
d2958 1
a2958 1
#line 2956 "configure"
d2979 1
a2979 1
#line 2977 "configure"
d2990 1
a2990 1
if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3014 1
a3014 1
echo "configure:3012: checking for mode_t" >&5
d3019 1
a3019 1
#line 3017 "configure"
d3047 1
a3047 1
echo "configure:3045: checking for pid_t" >&5
d3052 1
a3052 1
#line 3050 "configure"
d3080 1
a3080 1
echo "configure:3078: checking for size_t" >&5
d3085 1
a3085 1
#line 3083 "configure"
d3113 1
a3113 1
echo "configure:3111: checking for uid_t in sys/types.h" >&5
d3118 1
a3118 1
#line 3116 "configure"
d3155 1
a3155 1
echo "configure:3153: checking for $ac_hdr" >&5
d3160 1
a3160 1
#line 3158 "configure"
d3165 1
a3165 1
{ (eval echo configure:3163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3192 1
a3192 1
echo "configure:3190: checking whether time.h and sys/time.h may both be included" >&5
d3197 1
a3197 1
#line 3195 "configure"
d3206 1
a3206 1
if { (eval echo configure:3204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3232 1
a3232 1
echo "configure:3230: checking pw_gecos in struct pwd" >&5
d3234 1
a3234 1
#line 3232 "configure"
d3241 1
a3241 1
if { (eval echo configure:3239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3274 1
a3274 1
echo "configure:3272: checking for X" >&5
d3336 1
a3336 1
#line 3334 "configure"
d3341 1
a3341 1
{ (eval echo configure:3339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3410 1
a3410 1
#line 3408 "configure"
d3417 1
a3417 1
if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3507 1
a3507 1
#line 3505 "configure"
d3512 1
a3512 1
{ (eval echo configure:3510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3532 1
a3532 1
echo "configure:3530: checking for X11 header files" >&5
d3535 1
a3535 1
#line 3533 "configure"
d3540 1
a3540 1
{ (eval echo configure:3538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3576 1
a3576 1
echo "configure:3574: checking for X11 libraries" >&5
d3596 1
a3596 1
echo "configure:3594: checking for XCreateWindow in -lXwindow" >&5
d3604 1
a3604 1
#line 3602 "configure"
d3615 1
a3615 1
if { (eval echo configure:3613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3700 1
a3700 1
echo "configure:3698: checking for main in -lXbsd" >&5
d3708 1
a3708 1
#line 3706 "configure"
d3715 1
a3715 1
if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3738 1
a3738 1
echo "configure:3736: checking for connect" >&5
d3743 1
a3743 1
#line 3741 "configure"
d3766 1
a3766 1
if { (eval echo configure:3764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3788 1
a3788 1
echo "configure:3786: checking for main in -lsocket" >&5
d3796 1
a3796 1
#line 3794 "configure"
d3803 1
a3803 1
if { (eval echo configure:3801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3829 1
a3829 1
echo "configure:3827: checking for accept" >&5
d3834 1
a3834 1
#line 3832 "configure"
d3857 1
a3857 1
if { (eval echo configure:3855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3879 1
a3879 1
echo "configure:3877: checking for gethostbyname" >&5
d3884 1
a3884 1
#line 3882 "configure"
d3907 1
a3907 1
if { (eval echo configure:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3925 1
a3925 1
echo "configure:3923: checking for main in -lnsl" >&5
d3933 1
a3933 1
#line 3931 "configure"
d3940 1
a3940 1
if { (eval echo configure:3938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3980 1
a3980 1
echo "configure:3978: checking MIT X libraries" >&5
d3986 1
a3986 1
#line 3984 "configure"
d3997 1
a3997 1
if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4024 1
a4024 1
echo "configure:4022: checking for sin" >&5
d4029 1
a4029 1
#line 4027 "configure"
d4052 1
a4052 1
if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4073 1
a4073 1
echo "configure:4071: checking for main in -lieee" >&5
d4081 1
a4081 1
#line 4079 "configure"
d4088 1
a4088 1
if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4115 1
a4115 1
echo "configure:4113: checking whether char is unsigned" >&5
d4122 1
a4122 1
#line 4120 "configure"
d4144 1
a4144 1
#line 4142 "configure"
d4154 1
a4154 1
if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4187 1
a4187 1
echo "configure:4185: checking for strtod" >&5
d4192 1
a4192 1
#line 4190 "configure"
d4215 1
a4215 1
if { (eval echo configure:4213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4237 1
a4237 1
echo "configure:4235: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4242 1
a4242 1
#line 4240 "configure"
d4262 1
a4262 1
if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4294 1
a4294 1
echo "configure:4292: checking how to build libraries" >&5
d4398 2
a4410 1
eval "TK_LIB_FILE=${TK_LIB_FILE}"
a4438 2
#AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
#AC_SUBST(TCL_BUILD_LIB_SPEC)
d4443 2
d4617 5
a4636 1
s%@@TK_DBGX@@%$TK_DBGX%g
a4656 3
s%@@TK_MAJOR_VERSION@@%$TK_MAJOR_VERSION%g
s%@@TK_MINOR_VERSION@@%$TK_MINOR_VERSION%g
s%@@TK_PATCH_LEVEL@@%$TK_PATCH_LEVEL%g
a4657 1
s%@@TK_VERSION@@%$TK_VERSION%g
@


1.18.2.1
log
@Merge with current TOT
Added support for the wm stackorder command
Fixed crash when selecting Menu items in the Application menu that we didn't
put there.
Added first bits of the use of CG for low-level drawing.  The line-drawing works,
the rest doesn't yet.  You have to set the file static useCGDrawing to 1 and
rebuild to activate this code.
@
text
@d540 1
a548 4
#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------

a554 2
# libdir must be a fully qualified path and (not ${exec_prefix}/lib)
eval libdir="$libdir"
d572 1
a572 1
echo "configure:578: checking for $ac_word" >&5
d602 1
a602 1
echo "configure:608: checking for $ac_word" >&5
d653 1
a653 1
echo "configure:659: checking for $ac_word" >&5
d685 1
a685 1
echo "configure:691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d696 1
a696 1
#line 702 "configure"
d701 1
a701 1
if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d727 1
a727 1
echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d732 1
a732 1
echo "configure:738: checking whether we are using GNU C" >&5
d741 1
a741 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d760 1
a760 1
echo "configure:766: checking whether ${CC-cc} accepts -g" >&5
d794 1
a794 1
echo "configure:800: checking for $ac_word" >&5
d827 1
a827 1
echo "configure:833: checking how to run the C preprocessor" >&5
d842 1
a842 1
#line 848 "configure"
d848 1
a848 1
{ (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d859 1
a859 1
#line 865 "configure"
d865 1
a865 1
{ (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d876 1
a876 1
#line 882 "configure"
d882 1
a882 1
{ (eval echo configure:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d910 1
a910 1
echo "configure:916: checking for $ac_hdr" >&5
d915 1
a915 1
#line 921 "configure"
d920 1
a920 1
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d953 1
a953 1
echo "configure:959: checking for building with threads" >&5
d979 1
a979 1
echo "configure:985: checking for pthread_mutex_init in -lpthread" >&5
d987 1
a987 1
#line 993 "configure"
d998 1
a998 1
if { (eval echo configure:1004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1026 1
a1026 1
echo "configure:1032: checking for __pthread_mutex_init in -lpthread" >&5
d1034 1
a1034 1
#line 1040 "configure"
d1045 1
a1045 1
if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1073 1
a1073 1
echo "configure:1079: checking for pthread_mutex_init in -lpthreads" >&5
d1081 1
a1081 1
#line 1087 "configure"
d1092 1
a1092 1
if { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1118 1
a1118 1
echo "configure:1124: checking for pthread_mutex_init in -lc" >&5
d1126 1
a1126 1
#line 1132 "configure"
d1137 1
a1137 1
if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1159 2
a1160 48
		    echo $ac_n "checking for pthread_mutex_init in -lc_r""... $ac_c" 1>&6
echo "configure:1166: checking for pthread_mutex_init in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lc_r  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1174 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

		    if test "$tcl_ok" = "yes"; then
			# The space is needed
			THREADS_LIBS=" -pthread"
		    else
			TCL_THREADS=0
			echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
		    fi
d1171 1
a1171 1
echo "configure:1223: checking for $ac_func" >&5
d1176 1
a1176 1
#line 1228 "configure"
d1199 1
a1199 1
if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1238 1
a1238 1
echo "configure:1290: checking if the compiler understands -pipe" >&5
d1242 1
a1242 1
#line 1294 "configure"
d1249 1
a1249 1
if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1284 1
a1284 1
echo "configure:1336: checking for Tcl configuration" >&5
d1317 1
a1317 1
		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
d1357 1
a1357 1
echo "configure:1409: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1367 2
a1368 6
    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
d1371 2
a1372 25
    if test -f $TCL_BIN_DIR/Makefile ; then
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
    fi

    #
    # eval is required to do the TCL_DBGX substitution
    #

    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""

    
    
    

    
    
    
d1388 1
a1388 1
echo "configure:1467: checking if 64bit support is requested" >&5
d1408 1
a1408 1
echo "configure:1487: checking if 64bit Sparc VIS support is requested" >&5
d1432 1
a1432 1
echo "configure:1511: checking system version (for dynamic loading)" >&5
d1458 1
a1458 1
echo "configure:1537: checking for dlopen in -ldl" >&5
d1466 1
a1466 1
#line 1545 "configure"
d1477 1
a1477 1
if { (eval echo configure:1556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1502 1
d1522 1
a1522 1
echo "configure:1600: checking for $ac_word" >&5
a1557 1
	    LIBS="$LIBS -lc"
a1594 1
	    LIBS="$LIBS -lc"
d1596 1
a1596 1
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d1625 1
a1625 1
echo "configure:1705: checking for gettimeofday in -lbsd" >&5
d1633 1
a1633 1
#line 1713 "configure"
d1644 1
a1644 1
if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1706 1
a1706 1
echo "configure:1786: checking for shl_load in -ldld" >&5
d1714 1
a1714 1
#line 1794 "configure"
d1725 1
a1725 1
if { (eval echo configure:1805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1768 1
a1768 1
echo "configure:1848: checking for shl_load in -ldld" >&5
d1776 1
a1776 1
#line 1856 "configure"
d1787 1
a1787 1
if { (eval echo configure:1867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1894 1
a1894 1
echo "configure:1974: checking for dld.h" >&5
d1899 1
a1899 1
#line 1979 "configure"
d1904 1
a1904 1
{ (eval echo configure:1984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1961 1
a1961 1
echo "configure:2041: checking for dld.h" >&5
d1966 1
a1966 1
#line 2046 "configure"
d1971 1
a1971 1
{ (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2026 1
a2026 1
echo "configure:2106: checking for dlfcn.h" >&5
d2031 1
a2031 1
#line 2111 "configure"
d2036 1
a2036 1
{ (eval echo configure:2116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2063 1
a2063 1
echo "configure:2143: checking for ELF" >&5
d2065 1
a2065 1
#line 2145 "configure"
d2112 1
a2112 1
	    SHLIB_LD_LIBS='${LIBS}'
a2124 13
	Rhapsody-*|Darwin-*)
	    SHLIB_CFLAGS="-fno-common"
	    SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".dylib"
	    DL_OBJS="tclLoadDyld.o"
	    DL_LIBS=""
	    LDFLAGS="-prebind"
	    LD_SEARCH_FLAGS=""
	    CFLAGS_OPTIMIZE="-O3"
	    EXTRA_CFLAGS="-arch ppc -pipe"
	    ;;
a2179 1
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
a2180 1
		LIBS=`echo $LIBS | sed s/-lpthreads//`
d2182 1
d2282 1
a2282 5
	    if test "$GCC" = "yes" ; then
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
	    else
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    fi
d2355 1
a2355 1
echo "configure:2453: checking for ld accepts -Bexport flag" >&5
d2358 1
a2358 1
#line 2456 "configure"
d2365 1
a2365 1
if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2411 1
a2411 1
echo "configure:2509: checking sys/exec.h" >&5
d2413 1
a2413 1
#line 2511 "configure"
d2431 1
a2431 1
if { (eval echo configure:2529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2449 1
a2449 1
echo "configure:2547: checking a.out.h" >&5
d2451 1
a2451 1
#line 2549 "configure"
d2469 1
a2469 1
if { (eval echo configure:2567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2487 1
a2487 1
echo "configure:2585: checking sys/exec_aout.h" >&5
d2489 1
a2489 1
#line 2587 "configure"
d2507 1
a2507 1
if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a2573 2
		Rhapsody-*|Darwin-*)
		    ;;
d2602 1
a2602 1
echo "configure:2702: checking for build with symbols" >&5
d2646 1
a2646 1
echo "configure:2746: checking for sin" >&5
d2651 1
a2651 1
#line 2751 "configure"
d2674 1
a2674 1
if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2695 1
a2695 1
echo "configure:2795: checking for main in -lieee" >&5
d2703 1
a2703 1
#line 2803 "configure"
d2710 1
a2710 1
if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2741 1
a2741 1
echo "configure:2841: checking for gettimeofday in -lbsd" >&5
d2749 1
a2749 1
#line 2849 "configure"
d2760 1
a2760 1
if { (eval echo configure:2860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2791 1
a2791 1
echo "configure:2891: checking stdlib.h" >&5
d2793 1
a2793 1
#line 2893 "configure"
d2808 1
a2808 1
#line 2908 "configure"
d2822 1
a2822 1
#line 2922 "configure"
d2854 1
a2854 1
echo "configure:2954: checking fd_set and sys/select" >&5
d2856 1
a2856 1
#line 2956 "configure"
d2863 1
a2863 1
if { (eval echo configure:2963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2875 1
a2875 1
#line 2975 "configure"
d2907 1
a2907 1
echo "configure:3007: checking for ANSI C header files" >&5
d2912 1
a2912 1
#line 3012 "configure"
d2920 1
a2920 1
{ (eval echo configure:3020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2937 1
a2937 1
#line 3037 "configure"
d2955 1
a2955 1
#line 3055 "configure"
d2976 1
a2976 1
#line 3076 "configure"
d2987 1
a2987 1
if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3011 1
a3011 1
echo "configure:3111: checking for mode_t" >&5
d3016 1
a3016 1
#line 3116 "configure"
d3044 1
a3044 1
echo "configure:3144: checking for pid_t" >&5
d3049 1
a3049 1
#line 3149 "configure"
d3077 1
a3077 1
echo "configure:3177: checking for size_t" >&5
d3082 1
a3082 1
#line 3182 "configure"
d3110 1
a3110 1
echo "configure:3210: checking for uid_t in sys/types.h" >&5
d3115 1
a3115 1
#line 3215 "configure"
d3152 1
a3152 1
echo "configure:3252: checking for $ac_hdr" >&5
d3157 1
a3157 1
#line 3257 "configure"
d3162 1
a3162 1
{ (eval echo configure:3262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3189 1
a3189 1
echo "configure:3289: checking whether time.h and sys/time.h may both be included" >&5
d3194 1
a3194 1
#line 3294 "configure"
d3203 1
a3203 1
if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3229 1
a3229 1
echo "configure:3329: checking pw_gecos in struct pwd" >&5
d3231 1
a3231 1
#line 3331 "configure"
d3238 1
a3238 1
if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3271 1
a3271 1
echo "configure:3371: checking for X" >&5
d3333 1
a3333 1
#line 3433 "configure"
d3338 1
a3338 1
{ (eval echo configure:3438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3407 1
a3407 1
#line 3507 "configure"
d3414 1
a3414 1
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3504 1
a3504 1
#line 3604 "configure"
d3509 1
a3509 1
{ (eval echo configure:3609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3529 1
a3529 1
echo "configure:3629: checking for X11 header files" >&5
d3532 1
a3532 1
#line 3632 "configure"
d3537 1
a3537 1
{ (eval echo configure:3637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3573 1
a3573 1
echo "configure:3673: checking for X11 libraries" >&5
d3593 1
a3593 1
echo "configure:3693: checking for XCreateWindow in -lXwindow" >&5
d3601 1
a3601 1
#line 3701 "configure"
d3612 1
a3612 1
if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3697 1
a3697 1
echo "configure:3797: checking for main in -lXbsd" >&5
d3705 1
a3705 1
#line 3805 "configure"
d3712 1
a3712 1
if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3735 1
a3735 1
echo "configure:3835: checking for connect" >&5
d3740 1
a3740 1
#line 3840 "configure"
d3763 1
a3763 1
if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3785 1
a3785 1
echo "configure:3885: checking for main in -lsocket" >&5
d3793 1
a3793 1
#line 3893 "configure"
d3800 1
a3800 1
if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3826 1
a3826 1
echo "configure:3926: checking for accept" >&5
d3831 1
a3831 1
#line 3931 "configure"
d3854 1
a3854 1
if { (eval echo configure:3954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3876 1
a3876 1
echo "configure:3976: checking for gethostbyname" >&5
d3881 1
a3881 1
#line 3981 "configure"
d3904 1
a3904 1
if { (eval echo configure:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3922 1
a3922 1
echo "configure:4022: checking for main in -lnsl" >&5
d3930 1
a3930 1
#line 4030 "configure"
d3937 1
a3937 1
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3977 1
a3977 1
echo "configure:4077: checking MIT X libraries" >&5
d3983 1
a3983 1
#line 4083 "configure"
d3994 1
a3994 1
if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4021 1
a4021 1
echo "configure:4121: checking for sin" >&5
d4026 1
a4026 1
#line 4126 "configure"
d4049 1
a4049 1
if { (eval echo configure:4149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4070 1
a4070 1
echo "configure:4170: checking for main in -lieee" >&5
d4078 1
a4078 1
#line 4178 "configure"
d4085 1
a4085 1
if { (eval echo configure:4185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4112 1
a4112 1
echo "configure:4212: checking whether char is unsigned" >&5
d4119 1
a4119 1
#line 4219 "configure"
d4141 1
a4141 1
#line 4241 "configure"
d4151 1
a4151 1
if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4184 1
a4184 1
echo "configure:4284: checking for strtod" >&5
d4189 1
a4189 1
#line 4289 "configure"
d4212 1
a4212 1
if { (eval echo configure:4312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4234 1
a4234 1
echo "configure:4334: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4239 1
a4239 1
#line 4339 "configure"
d4259 1
a4259 1
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4291 1
a4291 1
echo "configure:4391: checking how to build libraries" >&5
d4324 3
d4330 1
a4330 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) \${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4333 2
a4334 1
    TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
d4357 1
a4357 1
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d4363 3
a4365 8

    if test "$GCC" = "yes" ; then
	TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
	TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"    
    else
	TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
	TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"    
    fi
d4391 1
a4391 1
TK_STUB_LIB_SPEC="-L${libdir} ${TK_STUB_LIB_FLAG}"
d4393 7
a4399 1
TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
a4400 1
eval "TK_LIB_FILE=${TK_LIB_FILE}"
d4406 1
d4435 2
a4604 1
s%@@TCL_VERSION@@%$TCL_VERSION%g
a4607 5
s%@@TCL_LIB_FLAG@@%$TCL_LIB_FLAG%g
s%@@TCL_LIB_SPEC@@%$TCL_LIB_SPEC%g
s%@@TCL_STUB_LIB_FILE@@%$TCL_STUB_LIB_FILE%g
s%@@TCL_STUB_LIB_FLAG@@%$TCL_STUB_LIB_FLAG%g
s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
a4612 5
s%@@TK_VERSION@@%$TK_VERSION%g
s%@@TK_MAJOR_VERSION@@%$TK_MAJOR_VERSION%g
s%@@TK_MINOR_VERSION@@%$TK_MINOR_VERSION%g
s%@@TK_PATCH_LEVEL@@%$TK_PATCH_LEVEL%g
s%@@TK_DBGX@@%$TK_DBGX%g
d4628 1
d4639 4
d4649 3
d4653 1
@


1.18.2.2
log
@Merging with TOT as of 06/09/2002.
@
text
@a18 2
  --enable-shared         build and link with shared libraries [--enable-shared]"
ac_help="$ac_help
d28 2
d544 1
a544 1
TK_PATCH_LEVEL="a5"
a974 6
	# USE_THREAD_ALLOC tells us to try the special thread-based
	# allocator that significantly reduces lock contention
	cat >> confdefs.h <<\EOF
#define USE_THREAD_ALLOC 1
EOF

d984 1
a984 1
echo "configure:991: checking for pthread_mutex_init in -lpthread" >&5
d992 1
a992 1
#line 999 "configure"
d1003 1
a1003 1
if { (eval echo configure:1010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1031 1
a1031 1
echo "configure:1038: checking for __pthread_mutex_init in -lpthread" >&5
d1039 1
a1039 1
#line 1046 "configure"
d1050 1
a1050 1
if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1078 1
a1078 1
echo "configure:1085: checking for pthread_mutex_init in -lpthreads" >&5
d1086 1
a1086 1
#line 1093 "configure"
d1097 1
a1097 1
if { (eval echo configure:1104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1123 1
a1123 1
echo "configure:1130: checking for pthread_mutex_init in -lc" >&5
d1131 1
a1131 1
#line 1138 "configure"
d1142 1
a1142 1
if { (eval echo configure:1149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1165 1
a1165 1
echo "configure:1172: checking for pthread_mutex_init in -lc_r" >&5
d1173 1
a1173 1
#line 1180 "configure"
d1184 1
a1184 1
if { (eval echo configure:1191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1222 1
a1222 1
echo "configure:1229: checking for $ac_func" >&5
d1227 1
a1227 1
#line 1234 "configure"
d1250 1
a1250 1
if { (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1289 1
a1289 1
echo "configure:1296: checking if the compiler understands -pipe" >&5
d1293 1
a1293 1
#line 1300 "configure"
d1300 1
a1300 1
if { (eval echo configure:1307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a1314 275
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------


    echo $ac_n "checking for required early compiler flags""... $ac_c" 1>&6
echo "configure:1327: checking for required early compiler flags" >&5
    tcl_flags=""
    
    if eval "test \"`echo '$''{'tcl_cv_flag__isoc99_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1334 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1349 "configure"
#include "confdefs.h"
#define _ISOC99_SOURCE 1
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:1357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _ISOC99_SOURCE 1
EOF

	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi
    
    if eval "test \"`echo '$''{'tcl_cv_flag__largefile64_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1383 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:1390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1398 "configure"
#include "confdefs.h"
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:1406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _LARGEFILE64_SOURCE 1
EOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi
    if test "x${tcl_flags}" = "x" ; then
	echo "$ac_t""none" 1>&6
    else
	echo "$ac_t""${tcl_flags}" 1>&6
    fi


    echo $ac_n "checking for 64-bit integer type""... $ac_c" 1>&6
echo "configure:1435: checking for 64-bit integer type" >&5
    if eval "test \"`echo '$''{'tcl_cv_type_64bit'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	cat > conftest.$ac_ext <<EOF
#line 1441 "configure"
#include "confdefs.h"

int main() {
__int64 value = (__int64) 0;
; return 0; }
EOF
if { (eval echo configure:1448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_64bit=__int64
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_64bit=none
           if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 1460 "configure"
#include "confdefs.h"
#include <unistd.h>
		int main() {exit(!(sizeof(long long) > sizeof(long)));}
		
EOF
if { (eval echo configure:1466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  tcl_cv_type_64bit="long long"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -fr conftest*
fi

fi
rm -f conftest*
fi

    if test "${tcl_cv_type_64bit}" = none ; then
	echo "$ac_t""using long" 1>&6
    else
	cat >> confdefs.h <<EOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
EOF

	echo "$ac_t""${tcl_cv_type_64bit}" 1>&6

	# Now check for auxiliary declarations
	echo $ac_n "checking for struct dirent64""... $ac_c" 1>&6
echo "configure:1491: checking for struct dirent64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1497 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/dirent.h>
int main() {
struct dirent64 p;
; return 0; }
EOF
if { (eval echo configure:1505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_dirent64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_dirent64=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_DIRENT64 1
EOF

	fi
	echo "$ac_t""${tcl_cv_struct_dirent64}" 1>&6

	echo $ac_n "checking for struct stat64""... $ac_c" 1>&6
echo "configure:1526: checking for struct stat64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1532 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 p;

; return 0; }
EOF
if { (eval echo configure:1540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_stat64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_stat64=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_STAT64 1
EOF

	fi
	echo "$ac_t""${tcl_cv_struct_stat64}" 1>&6

	echo $ac_n "checking for off64_t""... $ac_c" 1>&6
echo "configure:1561: checking for off64_t" >&5
	if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1567 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
off64_t offset;

; return 0; }
EOF
if { (eval echo configure:1575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_off64_t=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_off64_t=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_TYPE_OFF64_T 1
EOF

	fi
	echo "$ac_t""${tcl_cv_type_off64_t}" 1>&6
    fi

#--------------------------------------------------------------------
d1335 1
a1335 1
echo "configure:1617: checking for Tcl configuration" >&5
d1408 1
a1408 1
echo "configure:1690: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
a1461 32
    echo $ac_n "checking how to build libraries""... $ac_c" 1>&6
echo "configure:1745: checking how to build libraries" >&5
    # Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
  enableval="$enable_shared"
  tcl_ok=$enableval
else
  tcl_ok=yes
fi


    if test "${enable_shared+set}" = set; then
	enableval="$enable_shared"
	tcl_ok=$enableval
    else
	tcl_ok=yes
    fi

    if test "$tcl_ok" = "yes" ; then
	echo "$ac_t""shared" 1>&6
	SHARED_BUILD=1
    else
	echo "$ac_t""static" 1>&6
	SHARED_BUILD=0
	cat >> confdefs.h <<\EOF
#define STATIC_BUILD 1
EOF

    fi



d1466 1
a1466 1
echo "configure:1780: checking if 64bit support is requested" >&5
d1486 1
a1486 1
echo "configure:1800: checking if 64bit Sparc VIS support is requested" >&5
d1510 1
a1510 1
echo "configure:1824: checking system version (for dynamic loading)" >&5
d1536 1
a1536 1
echo "configure:1850: checking for dlopen in -ldl" >&5
d1544 1
a1544 1
#line 1858 "configure"
d1555 1
a1555 1
if { (eval echo configure:1869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1599 1
a1599 1
echo "configure:1913: checking for $ac_word" >&5
a1654 1
	    # Check to enable 64-bit flags for compiler/linker
d1704 1
a1704 1
echo "configure:2019: checking for gettimeofday in -lbsd" >&5
d1712 1
a1712 1
#line 2027 "configure"
d1723 1
a1723 1
if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1750 11

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		fi
	    fi
a1782 6
	    # Use updated header definitions where possible
	    cat >> confdefs.h <<\EOF
#define _XOPEN_SOURCE_EXTENDED 1
EOF


d1785 1
a1785 1
echo "configure:2117: checking for shl_load in -ldld" >&5
d1793 1
a1793 1
#line 2125 "configure"
d1804 1
a1804 1
if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1828 1
a1828 1
		SHLIB_LD_LIBS='${LIBS}'
a1833 2

	    # Check to enable 64-bit flags for compiler/linker
d1847 1
a1847 1
echo "configure:2181: checking for shl_load in -ldld" >&5
d1855 1
a1855 1
#line 2189 "configure"
d1866 1
a1866 1
if { (eval echo configure:2200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1945 1
a1945 1
	    SHLIB_LD="ld -n32 -shared -rdata_shared"
d1973 1
a1973 1
echo "configure:2307: checking for dld.h" >&5
d1978 1
a1978 1
#line 2312 "configure"
d1983 1
a1983 1
{ (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2040 1
a2040 1
echo "configure:2374: checking for dld.h" >&5
d2045 1
a2045 1
#line 2379 "configure"
d2050 1
a2050 1
{ (eval echo configure:2384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2105 1
a2105 1
echo "configure:2439: checking for dlfcn.h" >&5
d2110 1
a2110 1
#line 2444 "configure"
d2115 1
a2115 1
{ (eval echo configure:2449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2142 1
a2142 1
echo "configure:2476: checking for ELF" >&5
d2144 1
a2144 1
#line 2478 "configure"
d2196 7
a2202 13
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    if test "${TCL_THREADS}" = "1" ; then
		EXTRA_CFLAGS="-pthread"
	    	LDFLAGS="$LDFLAGS -pthread"
	    fi
	    case $system in
	    FreeBSD-3.*)
	    	# FreeBSD-3 doesn't handle version numbers with dots.
	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
	    	TCL_LIB_VERSIONS_OK=nodots
		;;
	    esac
d2249 1
a2249 5
	    if test "$SHARED_BUILD" = "1" ; then
	        SHLIB_LD="ld -shared"
	    else
	        SHLIB_LD="ld -non_shared"
	    fi
d2260 1
a2260 5
	    if test "$SHARED_BUILD" = "1" ; then
	        SHLIB_LD='ld -shared -expect_unresolved "*"'
	    else
	        SHLIB_LD='ld -non_shared -expect_unresolved "*"'
	    fi
a2362 4
	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF

a2389 4
	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF

a2394 1
	    # Check to enable 64-bit flags for compiler/linker
d2452 1
a2452 1
echo "configure:2809: checking for ld accepts -Bexport flag" >&5
d2455 1
a2455 1
#line 2812 "configure"
d2462 1
a2462 1
if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2508 1
a2508 1
echo "configure:2865: checking sys/exec.h" >&5
d2510 1
a2510 1
#line 2867 "configure"
d2528 1
a2528 1
if { (eval echo configure:2885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2546 1
a2546 1
echo "configure:2903: checking a.out.h" >&5
d2548 1
a2548 1
#line 2905 "configure"
d2566 1
a2566 1
if { (eval echo configure:2923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2584 1
a2584 1
echo "configure:2941: checking sys/exec_aout.h" >&5
d2586 1
a2586 1
#line 2943 "configure"
d2604 1
a2604 1
if { (eval echo configure:2961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2701 1
a2701 1
echo "configure:3058: checking for build with symbols" >&5
d2745 1
a2745 1
echo "configure:3102: checking for sin" >&5
d2750 1
a2750 1
#line 3107 "configure"
d2773 1
a2773 1
if { (eval echo configure:3130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2794 1
a2794 1
echo "configure:3151: checking for main in -lieee" >&5
d2802 1
a2802 1
#line 3159 "configure"
d2809 1
a2809 1
if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2840 1
a2840 1
echo "configure:3197: checking for gettimeofday in -lbsd" >&5
d2848 1
a2848 1
#line 3205 "configure"
d2859 1
a2859 1
if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2890 1
a2890 1
echo "configure:3247: checking stdlib.h" >&5
d2892 1
a2892 1
#line 3249 "configure"
d2907 1
a2907 1
#line 3264 "configure"
d2921 1
a2921 1
#line 3278 "configure"
d2953 1
a2953 1
echo "configure:3310: checking fd_set and sys/select" >&5
d2955 1
a2955 1
#line 3312 "configure"
d2962 1
a2962 1
if { (eval echo configure:3319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2974 1
a2974 1
#line 3331 "configure"
d3006 1
a3006 1
echo "configure:3363: checking for ANSI C header files" >&5
d3011 1
a3011 1
#line 3368 "configure"
d3019 1
a3019 1
{ (eval echo configure:3376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3036 1
a3036 1
#line 3393 "configure"
d3054 1
a3054 1
#line 3411 "configure"
d3075 1
a3075 1
#line 3432 "configure"
d3086 1
a3086 1
if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3110 1
a3110 1
echo "configure:3467: checking for mode_t" >&5
d3115 1
a3115 1
#line 3472 "configure"
d3143 1
a3143 1
echo "configure:3500: checking for pid_t" >&5
d3148 1
a3148 1
#line 3505 "configure"
d3176 1
a3176 1
echo "configure:3533: checking for size_t" >&5
d3181 1
a3181 1
#line 3538 "configure"
d3209 1
a3209 1
echo "configure:3566: checking for uid_t in sys/types.h" >&5
d3214 1
a3214 1
#line 3571 "configure"
d3251 1
a3251 1
echo "configure:3608: checking for $ac_hdr" >&5
d3256 1
a3256 1
#line 3613 "configure"
d3261 1
a3261 1
{ (eval echo configure:3618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3288 1
a3288 1
echo "configure:3645: checking whether time.h and sys/time.h may both be included" >&5
d3293 1
a3293 1
#line 3650 "configure"
d3302 1
a3302 1
if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3328 1
a3328 1
echo "configure:3685: checking pw_gecos in struct pwd" >&5
d3330 1
a3330 1
#line 3687 "configure"
d3337 1
a3337 1
if { (eval echo configure:3694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3370 1
a3370 1
echo "configure:3727: checking for X" >&5
d3432 1
a3432 1
#line 3789 "configure"
d3437 1
a3437 1
{ (eval echo configure:3794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3506 1
a3506 1
#line 3863 "configure"
d3513 1
a3513 1
if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3603 1
a3603 1
#line 3960 "configure"
d3608 1
a3608 1
{ (eval echo configure:3965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3628 1
a3628 1
echo "configure:3985: checking for X11 header files" >&5
d3631 1
a3631 1
#line 3988 "configure"
d3636 1
a3636 1
{ (eval echo configure:3993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3672 1
a3672 1
echo "configure:4029: checking for X11 libraries" >&5
d3692 1
a3692 1
echo "configure:4049: checking for XCreateWindow in -lXwindow" >&5
d3700 1
a3700 1
#line 4057 "configure"
d3711 1
a3711 1
if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3796 1
a3796 1
echo "configure:4153: checking for main in -lXbsd" >&5
d3804 1
a3804 1
#line 4161 "configure"
d3811 1
a3811 1
if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3834 1
a3834 1
echo "configure:4191: checking for connect" >&5
d3839 1
a3839 1
#line 4196 "configure"
d3862 1
a3862 1
if { (eval echo configure:4219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3884 1
a3884 1
echo "configure:4241: checking for main in -lsocket" >&5
d3892 1
a3892 1
#line 4249 "configure"
d3899 1
a3899 1
if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3925 1
a3925 1
echo "configure:4282: checking for accept" >&5
d3930 1
a3930 1
#line 4287 "configure"
d3953 1
a3953 1
if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3975 1
a3975 1
echo "configure:4332: checking for gethostbyname" >&5
d3980 1
a3980 1
#line 4337 "configure"
d4003 1
a4003 1
if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4021 1
a4021 1
echo "configure:4378: checking for main in -lnsl" >&5
d4029 1
a4029 1
#line 4386 "configure"
d4036 1
a4036 1
if { (eval echo configure:4393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4076 1
a4076 1
echo "configure:4433: checking MIT X libraries" >&5
d4082 1
a4082 1
#line 4439 "configure"
d4093 1
a4093 1
if { (eval echo configure:4450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4120 1
a4120 1
echo "configure:4477: checking for sin" >&5
d4125 1
a4125 1
#line 4482 "configure"
d4148 1
a4148 1
if { (eval echo configure:4505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4169 1
a4169 1
echo "configure:4526: checking for main in -lieee" >&5
d4177 1
a4177 1
#line 4534 "configure"
d4184 1
a4184 1
if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4211 1
a4211 1
echo "configure:4568: checking whether char is unsigned" >&5
d4218 1
a4218 1
#line 4575 "configure"
d4240 1
a4240 1
#line 4597 "configure"
d4250 1
a4250 1
if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4283 1
a4283 1
echo "configure:4640: checking for strtod" >&5
d4288 1
a4288 1
#line 4645 "configure"
d4311 1
a4311 1
if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4333 1
a4333 1
echo "configure:4690: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4338 1
a4338 1
#line 4695 "configure"
d4358 1
a4358 1
if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4387 32
@


1.18.2.3
log
@merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk
@
text
@a14 5
  --enable-man-symlinks   use symlinks for the manpages"
ac_help="$ac_help
  --enable-man-compression=PROG
                          compress the manpages with PROG"
ac_help="$ac_help
a540 1

d544 1
a544 1
TK_PATCH_LEVEL="b3"
d546 1
a546 1
LOCALES="cs de el en en_gb es fr it nl ru"
a564 33
# Compress and/or soft link the manpages?
#------------------------------------------------------------------------


	echo $ac_n "checking whether to use symlinks for manpages""... $ac_c" 1>&6
echo "configure:577: checking whether to use symlinks for manpages" >&5
	# Check whether --enable-man-symlinks or --disable-man-symlinks was given.
if test "${enable_man_symlinks+set}" = set; then
  enableval="$enable_man_symlinks"
  test "$enableval" != "no" && MKLINKS_FLAGS="$MKLINKS_FLAGS --symlinks"
else
  enableval="no"
fi

	echo "$ac_t""$enableval" 1>&6

	echo $ac_n "checking compression for manpages""... $ac_c" 1>&6
echo "configure:589: checking compression for manpages" >&5
	# Check whether --enable-man-compression or --disable-man-compression was given.
if test "${enable_man_compression+set}" = set; then
  enableval="$enable_man_compression"
  test "$enableval" = "yes" && echo && { echo "configure: error: missing argument to --enable-man-compression" 1>&2; exit 1; }
		test "$enableval" != "no" && MKLINKS_FLAGS="$MKLINKS_FLAGS --compress $enableval"
else
  enableval="no"
fi

	echo "$ac_t""$enableval" 1>&6

	


#------------------------------------------------------------------------
d577 1
a577 1
echo "configure:617: checking for $ac_word" >&5
d607 1
a607 1
echo "configure:647: checking for $ac_word" >&5
d658 1
a658 1
echo "configure:698: checking for $ac_word" >&5
d690 1
a690 1
echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d701 1
a701 1
#line 741 "configure"
d706 1
a706 1
if { (eval echo configure:746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d732 1
a732 1
echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d737 1
a737 1
echo "configure:777: checking whether we are using GNU C" >&5
d746 1
a746 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d765 1
a765 1
echo "configure:805: checking whether ${CC-cc} accepts -g" >&5
d796 30
d832 1
a832 1
echo "configure:842: checking how to run the C preprocessor" >&5
d847 1
a847 1
#line 857 "configure"
d853 1
a853 1
{ (eval echo configure:863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d864 1
a864 1
#line 874 "configure"
d870 1
a870 1
{ (eval echo configure:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d881 1
a881 1
#line 891 "configure"
d887 1
a887 1
{ (eval echo configure:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d915 1
a915 1
echo "configure:925: checking for $ac_hdr" >&5
d920 1
a920 1
#line 930 "configure"
d925 1
a925 1
{ (eval echo configure:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d958 1
a958 1
echo "configure:968: checking for building with threads" >&5
d990 1
a990 1
echo "configure:1000: checking for pthread_mutex_init in -lpthread" >&5
d998 1
a998 1
#line 1008 "configure"
d1009 1
a1009 1
if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1037 1
a1037 1
echo "configure:1047: checking for __pthread_mutex_init in -lpthread" >&5
d1045 1
a1045 1
#line 1055 "configure"
d1056 1
a1056 1
if { (eval echo configure:1066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1084 1
a1084 1
echo "configure:1094: checking for pthread_mutex_init in -lpthreads" >&5
d1092 1
a1092 1
#line 1102 "configure"
d1103 1
a1103 1
if { (eval echo configure:1113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1129 1
a1129 1
echo "configure:1139: checking for pthread_mutex_init in -lc" >&5
d1137 1
a1137 1
#line 1147 "configure"
d1148 1
a1148 1
if { (eval echo configure:1158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1171 1
a1171 1
echo "configure:1181: checking for pthread_mutex_init in -lc_r" >&5
d1179 1
a1179 1
#line 1189 "configure"
d1190 1
a1190 1
if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1228 1
a1228 1
echo "configure:1238: checking for $ac_func" >&5
d1233 1
a1233 1
#line 1243 "configure"
d1256 1
a1256 56
if { (eval echo configure:1266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

	for ac_func in readdir_r
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1293: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1298 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1295 1
a1295 1
echo "configure:1360: checking if the compiler understands -pipe" >&5
d1299 1
a1299 1
#line 1364 "configure"
d1306 1
a1306 1
if { (eval echo configure:1371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1326 1
a1326 1
echo "configure:1391: checking for required early compiler flags" >&5
d1333 1
a1333 1
#line 1398 "configure"
d1340 1
a1340 1
if { (eval echo configure:1405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1348 1
a1348 1
#line 1413 "configure"
d1356 1
a1356 1
if { (eval echo configure:1421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1382 1
a1382 1
#line 1447 "configure"
d1389 1
a1389 1
if { (eval echo configure:1454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1397 1
a1397 1
#line 1462 "configure"
d1405 1
a1405 1
if { (eval echo configure:1470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1434 1
a1434 1
echo "configure:1499: checking for 64-bit integer type" >&5
d1440 1
a1440 1
#line 1505 "configure"
d1447 1
a1447 1
if { (eval echo configure:1512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1459 1
a1459 1
#line 1524 "configure"
d1465 1
a1465 1
if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d1490 1
a1490 1
echo "configure:1555: checking for struct dirent64" >&5
d1496 1
a1496 1
#line 1561 "configure"
d1504 1
a1504 1
if { (eval echo configure:1569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1525 1
a1525 1
echo "configure:1590: checking for struct stat64" >&5
d1531 1
a1531 1
#line 1596 "configure"
d1539 1
a1539 1
if { (eval echo configure:1604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1560 1
a1560 1
echo "configure:1625: checking for off64_t" >&5
d1566 1
a1566 1
#line 1631 "configure"
d1574 1
a1574 1
if { (eval echo configure:1639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1616 1
a1616 1
echo "configure:1681: checking for Tcl configuration" >&5
d1649 1
a1649 1
		for i in `ls -d ${libdir} 2>/dev/null` \
d1689 1
a1689 1
echo "configure:1754: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1744 1
a1744 1
echo "configure:1809: checking how to build libraries" >&5
a1773 30
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1842: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

d1779 1
a1779 1
echo "configure:1874: checking if 64bit support is requested" >&5
d1799 1
a1799 1
echo "configure:1894: checking if 64bit Sparc VIS support is requested" >&5
d1823 1
a1823 1
echo "configure:1918: checking system version (for dynamic loading)" >&5
d1849 1
a1849 1
echo "configure:1944: checking for dlopen in -ldl" >&5
d1857 1
a1857 1
#line 1952 "configure"
d1868 1
a1868 1
if { (eval echo configure:1963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1912 1
a1912 1
echo "configure:2007: checking for $ac_word" >&5
a1961 1

d1963 1
a1963 1
	        CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d1965 1
a1965 1
	        CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
a1966 1
	    LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
d1995 1
a1995 2
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2018 1
a2018 1
echo "configure:2116: checking for gettimeofday in -lbsd" >&5
d2026 1
a2026 1
#line 2124 "configure"
d2037 1
a2037 1
if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2084 1
	    CC_SEARCH_FLAGS=""
a2094 1
	    CC_SEARCH_FLAGS=""
a2104 1
	    CC_SEARCH_FLAGS=""
d2116 1
a2116 1
echo "configure:2217: checking for shl_load in -ldld" >&5
d2124 1
a2124 1
#line 2225 "configure"
d2135 1
a2135 1
if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2163 1
a2163 2
		CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
		LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
d2180 1
a2180 1
echo "configure:2282: checking for shl_load in -ldld" >&5
d2188 1
a2188 1
#line 2290 "configure"
d2199 1
a2199 1
if { (eval echo configure:2301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2227 1
a2227 2
		CC_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
		LD_SEARCH_FLAGS='+s +b ${LIB_RUNTIME_DIR}:.'
d2238 1
a2238 2
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2248 1
a2248 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d2259 1
a2259 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d2284 1
a2284 16
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'

	    # Check to enable 64-bit flags for compiler/linker

	    if test "$do64bit" = "yes" ; then
	        if test "$GCC" = "yes" ; then
	            echo "configure: warning: 64bit mode not supported by gcc" 1>&2
	        else
	            do64bit_ok=yes
	            SHLIB_LD="ld -64 -shared -rdata_shared"
	            EXTRA_CFLAGS="-64"
	            LDFLAGS="-64"
	        fi
	    fi

d2302 1
a2302 2
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2306 1
a2306 1
echo "configure:2428: checking for dld.h" >&5
d2311 1
a2311 1
#line 2433 "configure"
d2316 1
a2316 1
{ (eval echo configure:2438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2336 1
		    CC_SEARCH_FLAGS=""
a2368 1
		CC_SEARCH_FLAGS=""
d2373 1
a2373 1
echo "configure:2497: checking for dld.h" >&5
d2378 1
a2378 1
#line 2502 "configure"
d2383 1
a2383 1
{ (eval echo configure:2507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a2403 1
		    CC_SEARCH_FLAGS=""
a2421 1
	    CC_SEARCH_FLAGS=""
a2431 1
	    CC_SEARCH_FLAGS=""
d2438 1
a2438 1
echo "configure:2565: checking for dlfcn.h" >&5
d2443 1
a2443 1
#line 2570 "configure"
d2448 1
a2448 1
{ (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2473 1
a2473 2
		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d2475 1
a2475 1
echo "configure:2603: checking for ELF" >&5
d2477 1
a2477 1
#line 2605 "configure"
d2509 1
a2509 2
		CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2529 1
a2529 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
d2546 1
a2546 1
	    SHLIB_LD_FLAGS="-compatibility_version \${MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${LIB_FILE} -prebind -seg1addr a000000"
a2551 1
	    CC_SEARCH_FLAGS=""
d2553 2
a2554 2
	    CFLAGS_OPTIMIZE="-O2"
	    EXTRA_CFLAGS='-DTCL_DEFAULT_ENCODING=\"utf-8\"'
a2563 1
	    CC_SEARCH_FLAGS=""
a2582 1
	    CC_SEARCH_FLAGS=""
a2597 1
	    CC_SEARCH_FLAGS=""
d2613 1
a2613 2
	    CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
a2641 1
	    CC_SEARCH_FLAGS=""
d2652 1
a2652 2
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
a2669 1
	    CC_SEARCH_FLAGS=""
a2679 1
	    CC_SEARCH_FLAGS=""
d2690 1
a2690 2
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2716 1
d2727 1
a2727 3
		SHLIB_LD="$CC -shared"
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2729 1
a2729 3
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		CC_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2747 1
d2779 1
a2779 3
		SHLIB_LD="$CC -shared"
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
a2780 2
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		CC_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
d2792 1
a2792 2
	    CC_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
d2808 1
a2808 1
echo "configure:2955: checking for ld accepts -Bexport flag" >&5
d2811 1
a2811 1
#line 2958 "configure"
d2818 1
a2818 1
if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2834 1
	    CC_SEARCH_FLAGS=""
d2864 1
a2864 1
echo "configure:3012: checking sys/exec.h" >&5
d2866 1
a2866 1
#line 3014 "configure"
d2884 1
a2884 1
if { (eval echo configure:3032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2902 1
a2902 1
echo "configure:3050: checking a.out.h" >&5
d2904 1
a2904 1
#line 3052 "configure"
d2922 1
a2922 1
if { (eval echo configure:3070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2940 1
a2940 1
echo "configure:3088: checking sys/exec_aout.h" >&5
d2942 1
a2942 1
#line 3090 "configure"
d2960 1
a2960 1
if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a3007 1
	CC_SEARCH_FLAGS=""
a3049 52

    if test "${SHARED_BUILD}" = "1" && test "${SHLIB_SUFFIX}" != "" ; then
        LIB_SUFFIX=${SHARED_LIB_SUFFIX}
        MAKE_LIB='${SHLIB_LD} -o $@@ ${SHLIB_LD_FLAGS} ${OBJS} ${SHLIB_LD_LIBS} ${LD_SEARCH_FLAGS}'
        INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
    else
        LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}

        if test "$RANLIB" = "" ; then
            MAKE_LIB='$(STLIB_LD) $@@ ${OBJS}'
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE)'
        else
            MAKE_LIB='${STLIB_LD} $@@ ${OBJS} ; ${RANLIB} $@@'
            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))'
        fi

    fi


    # Stub lib does not depend on shared/static configuration
    if test "$RANLIB" = "" ; then
        MAKE_STUB_LIB='${STLIB_LD} $@@ ${STUB_LIB_OBJS}'
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)'
    else
        MAKE_STUB_LIB='${STLIB_LD} $@@ ${STUB_LIB_OBJS} ; ${RANLIB} $@@'
        INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) $(LIB_INSTALL_DIR)/$(STUB_LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(STUB_LIB_FILE))'
    fi


    

    
    
    
    
    

    
    
    
    
    

    
    
    
    
    
    

    
    
d3057 1
a3057 1
echo "configure:3258: checking for build with symbols" >&5
a3077 2
    
    
d3101 1
a3101 1
echo "configure:3304: checking for sin" >&5
d3106 1
a3106 1
#line 3309 "configure"
d3129 1
a3129 1
if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3150 1
a3150 1
echo "configure:3353: checking for main in -lieee" >&5
d3158 1
a3158 1
#line 3361 "configure"
d3165 1
a3165 1
if { (eval echo configure:3368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3196 1
a3196 1
echo "configure:3399: checking for gettimeofday in -lbsd" >&5
d3204 1
a3204 1
#line 3407 "configure"
d3215 1
a3215 1
if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3246 1
a3246 1
echo "configure:3449: checking stdlib.h" >&5
d3248 1
a3248 1
#line 3451 "configure"
d3263 1
a3263 1
#line 3466 "configure"
d3277 1
a3277 1
#line 3480 "configure"
d3309 1
a3309 1
echo "configure:3512: checking fd_set and sys/select" >&5
d3311 1
a3311 1
#line 3514 "configure"
d3318 1
a3318 1
if { (eval echo configure:3521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3330 1
a3330 1
#line 3533 "configure"
d3362 1
a3362 1
echo "configure:3565: checking for ANSI C header files" >&5
d3367 1
a3367 1
#line 3570 "configure"
d3375 1
a3375 1
{ (eval echo configure:3578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3392 1
a3392 1
#line 3595 "configure"
d3410 1
a3410 1
#line 3613 "configure"
d3431 1
a3431 1
#line 3634 "configure"
d3442 1
a3442 1
if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3466 1
a3466 1
echo "configure:3669: checking for mode_t" >&5
d3471 1
a3471 1
#line 3674 "configure"
d3499 1
a3499 1
echo "configure:3702: checking for pid_t" >&5
d3504 1
a3504 1
#line 3707 "configure"
d3532 1
a3532 1
echo "configure:3735: checking for size_t" >&5
d3537 1
a3537 1
#line 3740 "configure"
d3565 1
a3565 1
echo "configure:3768: checking for uid_t in sys/types.h" >&5
d3570 1
a3570 1
#line 3773 "configure"
d3607 1
a3607 1
echo "configure:3810: checking for $ac_hdr" >&5
d3612 1
a3612 1
#line 3815 "configure"
d3617 1
a3617 1
{ (eval echo configure:3820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3644 1
a3644 1
echo "configure:3847: checking whether time.h and sys/time.h may both be included" >&5
d3649 1
a3649 1
#line 3852 "configure"
d3658 1
a3658 1
if { (eval echo configure:3861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3684 1
a3684 1
echo "configure:3887: checking pw_gecos in struct pwd" >&5
d3686 1
a3686 1
#line 3889 "configure"
d3693 1
a3693 1
if { (eval echo configure:3896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3726 1
a3726 1
echo "configure:3929: checking for X" >&5
d3788 1
a3788 1
#line 3991 "configure"
d3793 1
a3793 1
{ (eval echo configure:3996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3862 1
a3862 1
#line 4065 "configure"
d3869 1
a3869 1
if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3959 1
a3959 1
#line 4162 "configure"
d3964 1
a3964 1
{ (eval echo configure:4167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3984 2
a3985 2
echo "configure:4187: checking for X11 header files" >&5
	found_xincludes="no"
d3987 1
a3987 1
#line 4190 "configure"
d3992 1
a3992 1
{ (eval echo configure:4195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3995 1
a3995 2
  rm -rf conftest*
  found_xincludes="yes"
d4001 1
a4001 1
  found_xincludes="no"
d4004 1
a4004 1
	if test "$found_xincludes" = "no"; then
a4009 1
		    found_xincludes="yes"
d4016 3
a4018 2
	    XINCLUDES="-I$x_includes"
	    found_xincludes="yes"
d4021 1
a4021 1
    if test found_xincludes = "no"; then
d4023 1
d4028 1
a4028 1
echo "configure:4231: checking for X11 libraries" >&5
d4048 1
a4048 1
echo "configure:4251: checking for XCreateWindow in -lXwindow" >&5
d4056 1
a4056 1
#line 4259 "configure"
d4067 1
a4067 1
if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4116 4
a4119 2
# string in TCL_CC_SEARCH_FLAGS and TCL_LD_SEARCH_FLAGS which
# causes a substitution of the variable LIB_RUNTIME_DIR.
d4121 11
a4131 2
eval "CC_SEARCH_FLAGS=\"$TCL_CC_SEARCH_FLAGS\""
eval "LD_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\""
d4152 1
a4152 1
echo "configure:4344: checking for main in -lXbsd" >&5
d4160 1
a4160 1
#line 4352 "configure"
d4167 1
a4167 1
if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4190 1
a4190 1
echo "configure:4382: checking for connect" >&5
d4195 1
a4195 1
#line 4387 "configure"
d4218 1
a4218 1
if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4240 1
a4240 1
echo "configure:4432: checking for main in -lsocket" >&5
d4248 1
a4248 1
#line 4440 "configure"
d4255 1
a4255 1
if { (eval echo configure:4447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4281 1
a4281 1
echo "configure:4473: checking for accept" >&5
d4286 1
a4286 1
#line 4478 "configure"
d4309 1
a4309 1
if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4331 1
a4331 1
echo "configure:4523: checking for gethostbyname" >&5
d4336 1
a4336 1
#line 4528 "configure"
d4359 1
a4359 1
if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4377 1
a4377 1
echo "configure:4569: checking for main in -lnsl" >&5
d4385 1
a4385 1
#line 4577 "configure"
d4392 1
a4392 1
if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4432 1
a4432 1
echo "configure:4624: checking MIT X libraries" >&5
d4438 1
a4438 1
#line 4630 "configure"
d4449 1
a4449 1
if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4476 1
a4476 1
echo "configure:4668: checking for sin" >&5
d4481 1
a4481 1
#line 4673 "configure"
d4504 1
a4504 1
if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4525 1
a4525 1
echo "configure:4717: checking for main in -lieee" >&5
d4533 1
a4533 1
#line 4725 "configure"
d4540 1
a4540 1
if { (eval echo configure:4732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4567 1
a4567 1
echo "configure:4759: checking whether char is unsigned" >&5
d4574 1
a4574 1
#line 4766 "configure"
d4596 1
a4596 1
#line 4788 "configure"
d4606 1
a4606 1
if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4639 1
a4639 1
echo "configure:4831: checking for strtod" >&5
d4644 1
a4644 1
#line 4836 "configure"
d4667 1
a4667 1
if { (eval echo configure:4859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4689 3
a4691 7
echo "configure:4881: checking for Solaris2.4/Tru64 strtod bugs" >&5
	if eval "test \"`echo '$''{'tcl_cv_strtod_buggy'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    if test "$cross_compiling" = yes; then
  tcl_cv_strtod_buggy=0
d4694 1
a4694 1
#line 4890 "configure"
d4697 9
a4705 18
		extern double strtod();
		int main() {
		    char *infString="Inf", *nanString="NaN", *spaceString=" ";
		    char *term;
		    double value;
		    value = strtod(infString, &term);
		    if ((term != infString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(nanString, &term);
		    if ((term != nanString) && (term[-1] == 0)) {
			exit(1);
		    }
		    value = strtod(spaceString, &term);
		    if (term == (spaceString+1)) {
			exit(1);
		    }
		    exit(0);
d4707 6
d4714 1
a4714 1
if { (eval echo configure:4913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4716 1
a4716 1
  tcl_cv_strtod_buggy=1
d4721 1
a4721 1
  tcl_cv_strtod_buggy=0
d4726 1
a4726 3
fi

	if test "$tcl_cv_strtod_buggy" = 1; then
d4748 5
a4752 1
    SHLIB_LD_LIBS="${SHLIB_LD_LIBS} \${TCL_STUB_LIB_SPEC}"
d4755 4
d4761 1
a4761 1
TK_LIB_FILE=libtk${LIB_SUFFIX}
d4805 3
d4852 21
a5016 1
s%@@MKLINKS_FLAGS@@%$MKLINKS_FLAGS%g
d5018 1
a5030 1
s%@@RANLIB@@%$RANLIB%g
a5034 17
s%@@EXTRA_CFLAGS@@%$EXTRA_CFLAGS%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
s%@@CC_SEARCH_FLAGS@@%$CC_SEARCH_FLAGS%g
s%@@LD_SEARCH_FLAGS@@%$LD_SEARCH_FLAGS%g
s%@@STLIB_LD@@%$STLIB_LD%g
s%@@SHLIB_LD@@%$SHLIB_LD%g
s%@@SHLIB_LD_FLAGS@@%$SHLIB_LD_FLAGS%g
s%@@SHLIB_LD_LIBS@@%$SHLIB_LD_LIBS%g
s%@@SHLIB_CFLAGS@@%$SHLIB_CFLAGS%g
s%@@SHLIB_SUFFIX@@%$SHLIB_SUFFIX%g
s%@@MAKE_LIB@@%$MAKE_LIB%g
s%@@MAKE_STUB_LIB@@%$MAKE_STUB_LIB%g
s%@@INSTALL_LIB@@%$INSTALL_LIB%g
s%@@INSTALL_STUB_LIB@@%$INSTALL_STUB_LIB%g
s%@@CFLAGS_DEFAULT@@%$CFLAGS_DEFAULT%g
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
d5046 1
d5051 5
d5057 8
d5066 2
@


1.17
log
@	* unix/configure:
	* unix/tcl.m4: Update from Tcl.
@
text
@d1703 1
a1703 1
	HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*|HP-UX-*.11.*)
d1755 62
d1894 1
a1894 1
echo "configure:1833: checking for dld.h" >&5
d1899 1
a1899 1
#line 1838 "configure"
d1904 1
a1904 1
{ (eval echo configure:1843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1934 12
d1961 1
a1961 1
echo "configure:1888: checking for dld.h" >&5
d1966 1
a1966 1
#line 1893 "configure"
d1971 1
a1971 1
{ (eval echo configure:1898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2026 1
a2026 1
echo "configure:1953: checking for dlfcn.h" >&5
d2031 1
a2031 1
#line 1958 "configure"
d2036 1
a2036 1
{ (eval echo configure:1963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2063 1
a2063 1
echo "configure:1990: checking for ELF" >&5
d2065 1
a2065 1
#line 1992 "configure"
d2355 1
a2355 1
echo "configure:2282: checking for ld accepts -Bexport flag" >&5
d2358 1
a2358 1
#line 2285 "configure"
d2365 1
a2365 1
if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2411 1
a2411 1
echo "configure:2338: checking sys/exec.h" >&5
d2413 1
a2413 1
#line 2340 "configure"
d2431 1
a2431 1
if { (eval echo configure:2358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2449 1
a2449 1
echo "configure:2376: checking a.out.h" >&5
d2451 1
a2451 1
#line 2378 "configure"
d2469 1
a2469 1
if { (eval echo configure:2396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2487 1
a2487 1
echo "configure:2414: checking sys/exec_aout.h" >&5
d2489 1
a2489 1
#line 2416 "configure"
d2507 1
a2507 1
if { (eval echo configure:2434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2602 1
a2602 1
echo "configure:2529: checking for build with symbols" >&5
d2646 1
a2646 1
echo "configure:2573: checking for sin" >&5
d2651 1
a2651 1
#line 2578 "configure"
d2674 1
a2674 1
if { (eval echo configure:2601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2695 1
a2695 1
echo "configure:2622: checking for main in -lieee" >&5
d2703 1
a2703 1
#line 2630 "configure"
d2710 1
a2710 1
if { (eval echo configure:2637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2741 1
a2741 1
echo "configure:2668: checking for gettimeofday in -lbsd" >&5
d2749 1
a2749 1
#line 2676 "configure"
d2760 1
a2760 1
if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2791 1
a2791 1
echo "configure:2718: checking stdlib.h" >&5
d2793 1
a2793 1
#line 2720 "configure"
d2808 1
a2808 1
#line 2735 "configure"
d2822 1
a2822 1
#line 2749 "configure"
d2854 1
a2854 1
echo "configure:2781: checking fd_set and sys/select" >&5
d2856 1
a2856 1
#line 2783 "configure"
d2863 1
a2863 1
if { (eval echo configure:2790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2875 1
a2875 1
#line 2802 "configure"
d2907 1
a2907 1
echo "configure:2834: checking for ANSI C header files" >&5
d2912 1
a2912 1
#line 2839 "configure"
d2920 1
a2920 1
{ (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2937 1
a2937 1
#line 2864 "configure"
d2955 1
a2955 1
#line 2882 "configure"
d2976 1
a2976 1
#line 2903 "configure"
d2987 1
a2987 1
if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3011 1
a3011 1
echo "configure:2938: checking for mode_t" >&5
d3016 1
a3016 1
#line 2943 "configure"
d3044 1
a3044 1
echo "configure:2971: checking for pid_t" >&5
d3049 1
a3049 1
#line 2976 "configure"
d3077 1
a3077 1
echo "configure:3004: checking for size_t" >&5
d3082 1
a3082 1
#line 3009 "configure"
d3110 1
a3110 1
echo "configure:3037: checking for uid_t in sys/types.h" >&5
d3115 1
a3115 1
#line 3042 "configure"
d3152 1
a3152 1
echo "configure:3079: checking for $ac_hdr" >&5
d3157 1
a3157 1
#line 3084 "configure"
d3162 1
a3162 1
{ (eval echo configure:3089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3189 1
a3189 1
echo "configure:3116: checking whether time.h and sys/time.h may both be included" >&5
d3194 1
a3194 1
#line 3121 "configure"
d3203 1
a3203 1
if { (eval echo configure:3130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3229 1
a3229 1
echo "configure:3156: checking pw_gecos in struct pwd" >&5
d3231 1
a3231 1
#line 3158 "configure"
d3238 1
a3238 1
if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3271 1
a3271 1
echo "configure:3198: checking for X" >&5
d3333 1
a3333 1
#line 3260 "configure"
d3338 1
a3338 1
{ (eval echo configure:3265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3407 1
a3407 1
#line 3334 "configure"
d3414 1
a3414 1
if { (eval echo configure:3341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3504 1
a3504 1
#line 3431 "configure"
d3509 1
a3509 1
{ (eval echo configure:3436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3529 1
a3529 1
echo "configure:3456: checking for X11 header files" >&5
d3532 1
a3532 1
#line 3459 "configure"
d3537 1
a3537 1
{ (eval echo configure:3464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3573 1
a3573 1
echo "configure:3500: checking for X11 libraries" >&5
d3593 1
a3593 1
echo "configure:3520: checking for XCreateWindow in -lXwindow" >&5
d3601 1
a3601 1
#line 3528 "configure"
d3612 1
a3612 1
if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3697 1
a3697 1
echo "configure:3624: checking for main in -lXbsd" >&5
d3705 1
a3705 1
#line 3632 "configure"
d3712 1
a3712 1
if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3735 1
a3735 1
echo "configure:3662: checking for connect" >&5
d3740 1
a3740 1
#line 3667 "configure"
d3763 1
a3763 1
if { (eval echo configure:3690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3785 1
a3785 1
echo "configure:3712: checking for main in -lsocket" >&5
d3793 1
a3793 1
#line 3720 "configure"
d3800 1
a3800 1
if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3826 1
a3826 1
echo "configure:3753: checking for accept" >&5
d3831 1
a3831 1
#line 3758 "configure"
d3854 1
a3854 1
if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3876 1
a3876 1
echo "configure:3803: checking for gethostbyname" >&5
d3881 1
a3881 1
#line 3808 "configure"
d3904 1
a3904 1
if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3922 1
a3922 1
echo "configure:3849: checking for main in -lnsl" >&5
d3930 1
a3930 1
#line 3857 "configure"
d3937 1
a3937 1
if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3977 1
a3977 1
echo "configure:3904: checking MIT X libraries" >&5
d3983 1
a3983 1
#line 3910 "configure"
d3994 1
a3994 1
if { (eval echo configure:3921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4021 1
a4021 1
echo "configure:3948: checking for sin" >&5
d4026 1
a4026 1
#line 3953 "configure"
d4049 1
a4049 1
if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4070 1
a4070 1
echo "configure:3997: checking for main in -lieee" >&5
d4078 1
a4078 1
#line 4005 "configure"
d4085 1
a4085 1
if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4112 1
a4112 1
echo "configure:4039: checking whether char is unsigned" >&5
d4119 1
a4119 1
#line 4046 "configure"
d4141 1
a4141 1
#line 4068 "configure"
d4151 1
a4151 1
if { (eval echo configure:4078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4184 1
a4184 1
echo "configure:4111: checking for strtod" >&5
d4189 1
a4189 1
#line 4116 "configure"
d4212 1
a4212 1
if { (eval echo configure:4139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4234 1
a4234 1
echo "configure:4161: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4239 1
a4239 1
#line 4166 "configure"
d4259 1
a4259 1
if { (eval echo configure:4186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4291 1
a4291 1
echo "configure:4218: checking how to build libraries" >&5
@


1.16
log
@	* unix/configure:
	* unix/tcl.m4: Update from Tcl.
@
text
@d1551 1
a1551 1
	    if test "${TCL_THREADS}" = "1" -a "$GCC" = "no" ; then
d1578 3
a1580 1
		if test "$GCC" = "no" ; then
a1583 2
		else 
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
d1588 1
a1588 1
	    if test "${TCL_THREADS}" = "1" -a "$GCC" = "no" ; then
d2101 1
a2101 1
	    if test "$GCC" = "no" ; then
d2107 4
a2110 1
		if test "$GCC" = "no" ; then
a2112 3
		else
		    LIBS=`echo $LIBS | sed s/-lpthreads//`
		    LIBS="$LIBS -lpthread -lmach -lexc"
d2227 3
a2229 1
			if test "$GCC" = "no" ; then
a2237 2
			else 
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
d2266 1
a2266 1
	    if test "$GCC" = "no" ; then
@


1.15
log
@added QNX-6 build support. [Bug #219410] (loverso)
@
text
@d2044 6
d2281 1
a2281 1
echo "configure:2276: checking for ld accepts -Bexport flag" >&5
d2284 1
a2284 1
#line 2279 "configure"
d2291 1
a2291 1
if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2337 1
a2337 1
echo "configure:2332: checking sys/exec.h" >&5
d2339 1
a2339 1
#line 2334 "configure"
d2357 1
a2357 1
if { (eval echo configure:2352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2375 1
a2375 1
echo "configure:2370: checking a.out.h" >&5
d2377 1
a2377 1
#line 2372 "configure"
d2395 1
a2395 1
if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2413 1
a2413 1
echo "configure:2408: checking sys/exec_aout.h" >&5
d2415 1
a2415 1
#line 2410 "configure"
d2433 1
a2433 1
if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2528 1
a2528 1
echo "configure:2523: checking for build with symbols" >&5
d2572 1
a2572 1
echo "configure:2567: checking for sin" >&5
d2577 1
a2577 1
#line 2572 "configure"
d2600 1
a2600 1
if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2621 1
a2621 1
echo "configure:2616: checking for main in -lieee" >&5
d2629 1
a2629 1
#line 2624 "configure"
d2636 1
a2636 1
if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2667 1
a2667 1
echo "configure:2662: checking for gettimeofday in -lbsd" >&5
d2675 1
a2675 1
#line 2670 "configure"
d2686 1
a2686 1
if { (eval echo configure:2681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2717 1
a2717 1
echo "configure:2712: checking stdlib.h" >&5
d2719 1
a2719 1
#line 2714 "configure"
d2734 1
a2734 1
#line 2729 "configure"
d2748 1
a2748 1
#line 2743 "configure"
d2780 1
a2780 1
echo "configure:2775: checking fd_set and sys/select" >&5
d2782 1
a2782 1
#line 2777 "configure"
d2789 1
a2789 1
if { (eval echo configure:2784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2801 1
a2801 1
#line 2796 "configure"
d2833 1
a2833 1
echo "configure:2828: checking for ANSI C header files" >&5
d2838 1
a2838 1
#line 2833 "configure"
d2846 1
a2846 1
{ (eval echo configure:2841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2863 1
a2863 1
#line 2858 "configure"
d2881 1
a2881 1
#line 2876 "configure"
d2902 1
a2902 1
#line 2897 "configure"
d2913 1
a2913 1
if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2937 1
a2937 1
echo "configure:2932: checking for mode_t" >&5
d2942 1
a2942 1
#line 2937 "configure"
d2970 1
a2970 1
echo "configure:2965: checking for pid_t" >&5
d2975 1
a2975 1
#line 2970 "configure"
d3003 1
a3003 1
echo "configure:2998: checking for size_t" >&5
d3008 1
a3008 1
#line 3003 "configure"
d3036 1
a3036 1
echo "configure:3031: checking for uid_t in sys/types.h" >&5
d3041 1
a3041 1
#line 3036 "configure"
d3078 1
a3078 1
echo "configure:3073: checking for $ac_hdr" >&5
d3083 1
a3083 1
#line 3078 "configure"
d3088 1
a3088 1
{ (eval echo configure:3083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3115 1
a3115 1
echo "configure:3110: checking whether time.h and sys/time.h may both be included" >&5
d3120 1
a3120 1
#line 3115 "configure"
d3129 1
a3129 1
if { (eval echo configure:3124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3155 1
a3155 1
echo "configure:3150: checking pw_gecos in struct pwd" >&5
d3157 1
a3157 1
#line 3152 "configure"
d3164 1
a3164 1
if { (eval echo configure:3159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3197 1
a3197 1
echo "configure:3192: checking for X" >&5
d3259 1
a3259 1
#line 3254 "configure"
d3264 1
a3264 1
{ (eval echo configure:3259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3333 1
a3333 1
#line 3328 "configure"
d3340 1
a3340 1
if { (eval echo configure:3335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3430 1
a3430 1
#line 3425 "configure"
d3435 1
a3435 1
{ (eval echo configure:3430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3455 1
a3455 1
echo "configure:3450: checking for X11 header files" >&5
d3458 1
a3458 1
#line 3453 "configure"
d3463 1
a3463 1
{ (eval echo configure:3458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3499 1
a3499 1
echo "configure:3494: checking for X11 libraries" >&5
d3519 1
a3519 1
echo "configure:3514: checking for XCreateWindow in -lXwindow" >&5
d3527 1
a3527 1
#line 3522 "configure"
d3538 1
a3538 1
if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3623 1
a3623 1
echo "configure:3618: checking for main in -lXbsd" >&5
d3631 1
a3631 1
#line 3626 "configure"
d3638 1
a3638 1
if { (eval echo configure:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3661 1
a3661 1
echo "configure:3656: checking for connect" >&5
d3666 1
a3666 1
#line 3661 "configure"
d3689 1
a3689 1
if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3711 1
a3711 1
echo "configure:3706: checking for main in -lsocket" >&5
d3719 1
a3719 1
#line 3714 "configure"
d3726 1
a3726 1
if { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3752 1
a3752 1
echo "configure:3747: checking for accept" >&5
d3757 1
a3757 1
#line 3752 "configure"
d3780 1
a3780 1
if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3802 1
a3802 1
echo "configure:3797: checking for gethostbyname" >&5
d3807 1
a3807 1
#line 3802 "configure"
d3830 1
a3830 1
if { (eval echo configure:3825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3848 1
a3848 1
echo "configure:3843: checking for main in -lnsl" >&5
d3856 1
a3856 1
#line 3851 "configure"
d3863 1
a3863 1
if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3903 1
a3903 1
echo "configure:3898: checking MIT X libraries" >&5
d3909 1
a3909 1
#line 3904 "configure"
d3920 1
a3920 1
if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3947 1
a3947 1
echo "configure:3942: checking for sin" >&5
d3952 1
a3952 1
#line 3947 "configure"
d3975 1
a3975 1
if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3996 1
a3996 1
echo "configure:3991: checking for main in -lieee" >&5
d4004 1
a4004 1
#line 3999 "configure"
d4011 1
a4011 1
if { (eval echo configure:4006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4038 1
a4038 1
echo "configure:4033: checking whether char is unsigned" >&5
d4045 1
a4045 1
#line 4040 "configure"
d4067 1
a4067 1
#line 4062 "configure"
d4077 1
a4077 1
if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4110 1
a4110 1
echo "configure:4105: checking for strtod" >&5
d4115 1
a4115 1
#line 4110 "configure"
d4138 1
a4138 1
if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4160 1
a4160 1
echo "configure:4155: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4165 1
a4165 1
#line 4160 "configure"
d4185 1
a4185 1
if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4217 1
a4217 1
echo "configure:4212: checking how to build libraries" >&5
@


1.14
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
@
text
@d2111 13
d2275 1
a2275 1
echo "configure:2263: checking for ld accepts -Bexport flag" >&5
d2278 1
a2278 1
#line 2266 "configure"
d2285 1
a2285 1
if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2331 1
a2331 1
echo "configure:2319: checking sys/exec.h" >&5
d2333 1
a2333 1
#line 2321 "configure"
d2351 1
a2351 1
if { (eval echo configure:2339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2369 1
a2369 1
echo "configure:2357: checking a.out.h" >&5
d2371 1
a2371 1
#line 2359 "configure"
d2389 1
a2389 1
if { (eval echo configure:2377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2407 1
a2407 1
echo "configure:2395: checking sys/exec_aout.h" >&5
d2409 1
a2409 1
#line 2397 "configure"
d2427 1
a2427 1
if { (eval echo configure:2415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2522 1
a2522 1
echo "configure:2510: checking for build with symbols" >&5
d2566 1
a2566 1
echo "configure:2554: checking for sin" >&5
d2571 1
a2571 1
#line 2559 "configure"
d2594 1
a2594 1
if { (eval echo configure:2582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2615 1
a2615 1
echo "configure:2603: checking for main in -lieee" >&5
d2623 1
a2623 1
#line 2611 "configure"
d2630 1
a2630 1
if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2661 1
a2661 1
echo "configure:2649: checking for gettimeofday in -lbsd" >&5
d2669 1
a2669 1
#line 2657 "configure"
d2680 1
a2680 1
if { (eval echo configure:2668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2711 1
a2711 1
echo "configure:2699: checking stdlib.h" >&5
d2713 1
a2713 1
#line 2701 "configure"
d2728 1
a2728 1
#line 2716 "configure"
d2742 1
a2742 1
#line 2730 "configure"
d2774 1
a2774 1
echo "configure:2762: checking fd_set and sys/select" >&5
d2776 1
a2776 1
#line 2764 "configure"
d2783 1
a2783 1
if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2795 1
a2795 1
#line 2783 "configure"
d2827 1
a2827 1
echo "configure:2815: checking for ANSI C header files" >&5
d2832 1
a2832 1
#line 2820 "configure"
d2840 1
a2840 1
{ (eval echo configure:2828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2857 1
a2857 1
#line 2845 "configure"
d2875 1
a2875 1
#line 2863 "configure"
d2896 1
a2896 1
#line 2884 "configure"
d2907 1
a2907 1
if { (eval echo configure:2895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2931 1
a2931 1
echo "configure:2919: checking for mode_t" >&5
d2936 1
a2936 1
#line 2924 "configure"
d2964 1
a2964 1
echo "configure:2952: checking for pid_t" >&5
d2969 1
a2969 1
#line 2957 "configure"
d2997 1
a2997 1
echo "configure:2985: checking for size_t" >&5
d3002 1
a3002 1
#line 2990 "configure"
d3030 1
a3030 1
echo "configure:3018: checking for uid_t in sys/types.h" >&5
d3035 1
a3035 1
#line 3023 "configure"
d3072 1
a3072 1
echo "configure:3060: checking for $ac_hdr" >&5
d3077 1
a3077 1
#line 3065 "configure"
d3082 1
a3082 1
{ (eval echo configure:3070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3109 1
a3109 1
echo "configure:3097: checking whether time.h and sys/time.h may both be included" >&5
d3114 1
a3114 1
#line 3102 "configure"
d3123 1
a3123 1
if { (eval echo configure:3111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3149 1
a3149 1
echo "configure:3137: checking pw_gecos in struct pwd" >&5
d3151 1
a3151 1
#line 3139 "configure"
d3158 1
a3158 1
if { (eval echo configure:3146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3191 1
a3191 1
echo "configure:3179: checking for X" >&5
d3253 1
a3253 1
#line 3241 "configure"
d3258 1
a3258 1
{ (eval echo configure:3246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3327 1
a3327 1
#line 3315 "configure"
d3334 1
a3334 1
if { (eval echo configure:3322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3424 1
a3424 1
#line 3412 "configure"
d3429 1
a3429 1
{ (eval echo configure:3417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3449 1
a3449 1
echo "configure:3437: checking for X11 header files" >&5
d3452 1
a3452 1
#line 3440 "configure"
d3457 1
a3457 1
{ (eval echo configure:3445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3493 1
a3493 1
echo "configure:3481: checking for X11 libraries" >&5
d3513 1
a3513 1
echo "configure:3501: checking for XCreateWindow in -lXwindow" >&5
d3521 1
a3521 1
#line 3509 "configure"
d3532 1
a3532 1
if { (eval echo configure:3520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3617 1
a3617 1
echo "configure:3605: checking for main in -lXbsd" >&5
d3625 1
a3625 1
#line 3613 "configure"
d3632 1
a3632 1
if { (eval echo configure:3620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3655 1
a3655 1
echo "configure:3643: checking for connect" >&5
d3660 1
a3660 1
#line 3648 "configure"
d3683 1
a3683 1
if { (eval echo configure:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3705 1
a3705 1
echo "configure:3693: checking for main in -lsocket" >&5
d3713 1
a3713 1
#line 3701 "configure"
d3720 1
a3720 1
if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3746 1
a3746 1
echo "configure:3734: checking for accept" >&5
d3751 1
a3751 1
#line 3739 "configure"
d3774 1
a3774 1
if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3796 1
a3796 1
echo "configure:3784: checking for gethostbyname" >&5
d3801 1
a3801 1
#line 3789 "configure"
d3824 1
a3824 1
if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3842 1
a3842 1
echo "configure:3830: checking for main in -lnsl" >&5
d3850 1
a3850 1
#line 3838 "configure"
d3857 1
a3857 1
if { (eval echo configure:3845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3897 1
a3897 1
echo "configure:3885: checking MIT X libraries" >&5
d3903 1
a3903 1
#line 3891 "configure"
d3914 1
a3914 1
if { (eval echo configure:3902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3941 1
a3941 1
echo "configure:3929: checking for sin" >&5
d3946 1
a3946 1
#line 3934 "configure"
d3969 1
a3969 1
if { (eval echo configure:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3990 1
a3990 1
echo "configure:3978: checking for main in -lieee" >&5
d3998 1
a3998 1
#line 3986 "configure"
d4005 1
a4005 1
if { (eval echo configure:3993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4032 1
a4032 1
echo "configure:4020: checking whether char is unsigned" >&5
d4039 1
a4039 1
#line 4027 "configure"
d4061 1
a4061 1
#line 4049 "configure"
d4071 1
a4071 1
if { (eval echo configure:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4104 1
a4104 1
echo "configure:4092: checking for strtod" >&5
d4109 1
a4109 1
#line 4097 "configure"
d4132 1
a4132 1
if { (eval echo configure:4120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4154 1
a4154 1
echo "configure:4142: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4159 1
a4159 1
#line 4147 "configure"
d4179 1
a4179 1
if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4211 1
a4211 1
echo "configure:4199: checking how to build libraries" >&5
@


1.13
log
@	*Bumped up patchlevel to 8.4a4 to distinguish
        CVS snapshots from the 8.4a3 release.  This does not necessarily
        mean there will be an 8.4a4 release.  [Bug 448938].
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure,v 1.12 2001/08/07 01:14:19 hobbs Exp $
a1453 10
    echo $ac_n "checking if gcc is being used""... $ac_c" 1>&6
echo "configure:1456: checking if gcc is being used" >&5
    if test "$CC" = "gcc" -o `$CC -v 2>&1 | grep -c gcc` != "0" ; then
	using_gcc="yes"
    else
	using_gcc="no"
    fi

    echo "$ac_t""$using_gcc ($CC)" 1>&6

d1458 1
a1458 1
echo "configure:1469: checking for dlopen in -ldl" >&5
d1466 1
a1466 1
#line 1477 "configure"
d1477 1
a1477 1
if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1511 1
a1511 1
    if test "$using_gcc" = "yes" ; then
d1522 1
a1522 1
echo "configure:1533: checking for $ac_word" >&5
d1551 1
a1551 1
	    if test "${TCL_THREADS}" = "1" -a "$using_gcc" = "no" ; then
d1571 1
a1571 1
	    if test "$using_gcc" = "yes" ; then
d1578 1
a1578 1
		if test "$using_gcc" = "no" ; then
d1588 1
a1588 1
	    if test "${TCL_THREADS}" = "1" -a "$using_gcc" = "no" ; then
d1625 1
a1625 1
echo "configure:1636: checking for gettimeofday in -lbsd" >&5
d1633 1
a1633 1
#line 1644 "configure"
d1644 1
a1644 1
if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1706 1
a1706 1
echo "configure:1717: checking for shl_load in -ldld" >&5
d1714 1
a1714 1
#line 1725 "configure"
d1725 1
a1725 1
if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1786 1
a1786 1
	    if test "$using_gcc" = "yes" ; then
d1832 1
a1832 1
echo "configure:1843: checking for dld.h" >&5
d1837 1
a1837 1
#line 1848 "configure"
d1842 1
a1842 1
{ (eval echo configure:1853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1887 1
a1887 1
echo "configure:1898: checking for dld.h" >&5
d1892 1
a1892 1
#line 1903 "configure"
d1897 1
a1897 1
{ (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1952 1
a1952 1
echo "configure:1963: checking for dlfcn.h" >&5
d1957 1
a1957 1
#line 1968 "configure"
d1962 1
a1962 1
{ (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1989 1
a1989 1
echo "configure:2000: checking for ELF" >&5
d1991 1
a1991 1
#line 2002 "configure"
d2095 1
a2095 1
	    if test "$using_gcc" = "no" ; then
d2101 1
a2101 1
		if test "$using_gcc" = "no" ; then
d2125 1
a2125 1
	    if test "$using_gcc" = "yes" ; then
d2208 1
a2208 1
			if test "$using_gcc" = "no" ; then
d2232 1
a2232 1
	    if test "$using_gcc" = "yes" ; then
d2247 1
a2247 1
	    if test "$using_gcc" = "no" ; then
d2262 1
a2262 1
echo "configure:2273: checking for ld accepts -Bexport flag" >&5
d2265 1
a2265 1
#line 2276 "configure"
d2272 1
a2272 1
if { (eval echo configure:2283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2318 1
a2318 1
echo "configure:2329: checking sys/exec.h" >&5
d2320 1
a2320 1
#line 2331 "configure"
d2338 1
a2338 1
if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2356 1
a2356 1
echo "configure:2367: checking a.out.h" >&5
d2358 1
a2358 1
#line 2369 "configure"
d2376 1
a2376 1
if { (eval echo configure:2387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2394 1
a2394 1
echo "configure:2405: checking sys/exec_aout.h" >&5
d2396 1
a2396 1
#line 2407 "configure"
d2414 1
a2414 1
if { (eval echo configure:2425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2471 1
a2471 1
	if test "$using_gcc" = "yes" ; then
d2509 1
a2509 1
echo "configure:2520: checking for build with symbols" >&5
d2553 1
a2553 1
echo "configure:2564: checking for sin" >&5
d2558 1
a2558 1
#line 2569 "configure"
d2581 1
a2581 1
if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2602 1
a2602 1
echo "configure:2613: checking for main in -lieee" >&5
d2610 1
a2610 1
#line 2621 "configure"
d2617 1
a2617 1
if { (eval echo configure:2628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2648 1
a2648 1
echo "configure:2659: checking for gettimeofday in -lbsd" >&5
d2656 1
a2656 1
#line 2667 "configure"
d2667 1
a2667 1
if { (eval echo configure:2678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2698 1
a2698 1
echo "configure:2709: checking stdlib.h" >&5
d2700 1
a2700 1
#line 2711 "configure"
d2715 1
a2715 1
#line 2726 "configure"
d2729 1
a2729 1
#line 2740 "configure"
d2761 1
a2761 1
echo "configure:2772: checking fd_set and sys/select" >&5
d2763 1
a2763 1
#line 2774 "configure"
d2770 1
a2770 1
if { (eval echo configure:2781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2782 1
a2782 1
#line 2793 "configure"
d2814 1
a2814 1
echo "configure:2825: checking for ANSI C header files" >&5
d2819 1
a2819 1
#line 2830 "configure"
d2827 1
a2827 1
{ (eval echo configure:2838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2844 1
a2844 1
#line 2855 "configure"
d2862 1
a2862 1
#line 2873 "configure"
d2883 1
a2883 1
#line 2894 "configure"
d2894 1
a2894 1
if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2918 1
a2918 1
echo "configure:2929: checking for mode_t" >&5
d2923 1
a2923 1
#line 2934 "configure"
d2951 1
a2951 1
echo "configure:2962: checking for pid_t" >&5
d2956 1
a2956 1
#line 2967 "configure"
d2984 1
a2984 1
echo "configure:2995: checking for size_t" >&5
d2989 1
a2989 1
#line 3000 "configure"
d3017 1
a3017 1
echo "configure:3028: checking for uid_t in sys/types.h" >&5
d3022 1
a3022 1
#line 3033 "configure"
d3059 1
a3059 1
echo "configure:3070: checking for $ac_hdr" >&5
d3064 1
a3064 1
#line 3075 "configure"
d3069 1
a3069 1
{ (eval echo configure:3080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3096 1
a3096 1
echo "configure:3107: checking whether time.h and sys/time.h may both be included" >&5
d3101 1
a3101 1
#line 3112 "configure"
d3110 1
a3110 1
if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3136 1
a3136 1
echo "configure:3147: checking pw_gecos in struct pwd" >&5
d3138 1
a3138 1
#line 3149 "configure"
d3145 1
a3145 1
if { (eval echo configure:3156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3178 1
a3178 1
echo "configure:3189: checking for X" >&5
d3240 1
a3240 1
#line 3251 "configure"
d3245 1
a3245 1
{ (eval echo configure:3256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3314 1
a3314 1
#line 3325 "configure"
d3321 1
a3321 1
if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3411 1
a3411 1
#line 3422 "configure"
d3416 1
a3416 1
{ (eval echo configure:3427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3436 1
a3436 1
echo "configure:3447: checking for X11 header files" >&5
d3439 1
a3439 1
#line 3450 "configure"
d3444 1
a3444 1
{ (eval echo configure:3455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3480 1
a3480 1
echo "configure:3491: checking for X11 libraries" >&5
d3500 1
a3500 1
echo "configure:3511: checking for XCreateWindow in -lXwindow" >&5
d3508 1
a3508 1
#line 3519 "configure"
d3519 1
a3519 1
if { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3604 1
a3604 1
echo "configure:3615: checking for main in -lXbsd" >&5
d3612 1
a3612 1
#line 3623 "configure"
d3619 1
a3619 1
if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3642 1
a3642 1
echo "configure:3653: checking for connect" >&5
d3647 1
a3647 1
#line 3658 "configure"
d3670 1
a3670 1
if { (eval echo configure:3681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3692 1
a3692 1
echo "configure:3703: checking for main in -lsocket" >&5
d3700 1
a3700 1
#line 3711 "configure"
d3707 1
a3707 1
if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3733 1
a3733 1
echo "configure:3744: checking for accept" >&5
d3738 1
a3738 1
#line 3749 "configure"
d3761 1
a3761 1
if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3783 1
a3783 1
echo "configure:3794: checking for gethostbyname" >&5
d3788 1
a3788 1
#line 3799 "configure"
d3811 1
a3811 1
if { (eval echo configure:3822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3829 1
a3829 1
echo "configure:3840: checking for main in -lnsl" >&5
d3837 1
a3837 1
#line 3848 "configure"
d3844 1
a3844 1
if { (eval echo configure:3855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3884 1
a3884 1
echo "configure:3895: checking MIT X libraries" >&5
d3890 1
a3890 1
#line 3901 "configure"
d3901 1
a3901 1
if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3928 1
a3928 1
echo "configure:3939: checking for sin" >&5
d3933 1
a3933 1
#line 3944 "configure"
d3956 1
a3956 1
if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3977 1
a3977 1
echo "configure:3988: checking for main in -lieee" >&5
d3985 1
a3985 1
#line 3996 "configure"
d3992 1
a3992 1
if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4019 1
a4019 1
echo "configure:4030: checking whether char is unsigned" >&5
d4026 1
a4026 1
#line 4037 "configure"
d4048 1
a4048 1
#line 4059 "configure"
d4058 1
a4058 1
if { (eval echo configure:4069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4091 1
a4091 1
echo "configure:4102: checking for strtod" >&5
d4096 1
a4096 1
#line 4107 "configure"
d4119 1
a4119 1
if { (eval echo configure:4130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4141 1
a4141 1
echo "configure:4152: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4146 1
a4146 1
#line 4157 "configure"
d4166 1
a4166 1
if { (eval echo configure:4177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4198 1
a4198 1
echo "configure:4209: checking how to build libraries" >&5
@


1.12
log
@	* unix/configure: regenerated
	* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
	[Patch: #442974]
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.62 2001/07/11 01:36:41 mdejong Exp $
d545 1
a545 1
TK_PATCH_LEVEL="a3"
@


1.11
log
@	* unix/Makefile.in: Add AR and STLIB_LD variables.
	* unix/configure:
	* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
	and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen.
	* win/tcl.m4: Update from Tcl.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.61 2001/06/26 20:31:58 mdejong Exp $
d1883 55
d1962 1
a1962 1
echo "configure:1908: checking for dlfcn.h" >&5
d1967 1
a1967 1
#line 1913 "configure"
d1972 1
a1972 1
{ (eval echo configure:1918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1999 1
a1999 1
echo "configure:1945: checking for ELF" >&5
d2001 1
a2001 1
#line 1947 "configure"
d2272 1
a2272 1
echo "configure:2218: checking for ld accepts -Bexport flag" >&5
d2275 1
a2275 1
#line 2221 "configure"
d2282 1
a2282 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2328 1
a2328 1
echo "configure:2274: checking sys/exec.h" >&5
d2330 1
a2330 1
#line 2276 "configure"
d2348 1
a2348 1
if { (eval echo configure:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2366 1
a2366 1
echo "configure:2312: checking a.out.h" >&5
d2368 1
a2368 1
#line 2314 "configure"
d2386 1
a2386 1
if { (eval echo configure:2332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2404 1
a2404 1
echo "configure:2350: checking sys/exec_aout.h" >&5
d2406 1
a2406 1
#line 2352 "configure"
d2424 1
a2424 1
if { (eval echo configure:2370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2519 1
a2519 1
echo "configure:2465: checking for build with symbols" >&5
d2563 1
a2563 1
echo "configure:2509: checking for sin" >&5
d2568 1
a2568 1
#line 2514 "configure"
d2591 1
a2591 1
if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2612 1
a2612 1
echo "configure:2558: checking for main in -lieee" >&5
d2620 1
a2620 1
#line 2566 "configure"
d2627 1
a2627 1
if { (eval echo configure:2573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2658 1
a2658 1
echo "configure:2604: checking for gettimeofday in -lbsd" >&5
d2666 1
a2666 1
#line 2612 "configure"
d2677 1
a2677 1
if { (eval echo configure:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2708 1
a2708 1
echo "configure:2654: checking stdlib.h" >&5
d2710 1
a2710 1
#line 2656 "configure"
d2725 1
a2725 1
#line 2671 "configure"
d2739 1
a2739 1
#line 2685 "configure"
d2771 1
a2771 1
echo "configure:2717: checking fd_set and sys/select" >&5
d2773 1
a2773 1
#line 2719 "configure"
d2780 1
a2780 1
if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2792 1
a2792 1
#line 2738 "configure"
d2824 1
a2824 1
echo "configure:2770: checking for ANSI C header files" >&5
d2829 1
a2829 1
#line 2775 "configure"
d2837 1
a2837 1
{ (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2854 1
a2854 1
#line 2800 "configure"
d2872 1
a2872 1
#line 2818 "configure"
d2893 1
a2893 1
#line 2839 "configure"
d2904 1
a2904 1
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2928 1
a2928 1
echo "configure:2874: checking for mode_t" >&5
d2933 1
a2933 1
#line 2879 "configure"
d2961 1
a2961 1
echo "configure:2907: checking for pid_t" >&5
d2966 1
a2966 1
#line 2912 "configure"
d2994 1
a2994 1
echo "configure:2940: checking for size_t" >&5
d2999 1
a2999 1
#line 2945 "configure"
d3027 1
a3027 1
echo "configure:2973: checking for uid_t in sys/types.h" >&5
d3032 1
a3032 1
#line 2978 "configure"
d3069 1
a3069 1
echo "configure:3015: checking for $ac_hdr" >&5
d3074 1
a3074 1
#line 3020 "configure"
d3079 1
a3079 1
{ (eval echo configure:3025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3106 1
a3106 1
echo "configure:3052: checking whether time.h and sys/time.h may both be included" >&5
d3111 1
a3111 1
#line 3057 "configure"
d3120 1
a3120 1
if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3146 1
a3146 1
echo "configure:3092: checking pw_gecos in struct pwd" >&5
d3148 1
a3148 1
#line 3094 "configure"
d3155 1
a3155 1
if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3188 1
a3188 1
echo "configure:3134: checking for X" >&5
d3250 1
a3250 1
#line 3196 "configure"
d3255 1
a3255 1
{ (eval echo configure:3201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3324 1
a3324 1
#line 3270 "configure"
d3331 1
a3331 1
if { (eval echo configure:3277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3421 1
a3421 1
#line 3367 "configure"
d3426 1
a3426 1
{ (eval echo configure:3372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3446 1
a3446 1
echo "configure:3392: checking for X11 header files" >&5
d3449 1
a3449 1
#line 3395 "configure"
d3454 1
a3454 1
{ (eval echo configure:3400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3490 1
a3490 1
echo "configure:3436: checking for X11 libraries" >&5
d3510 1
a3510 1
echo "configure:3456: checking for XCreateWindow in -lXwindow" >&5
d3518 1
a3518 1
#line 3464 "configure"
d3529 1
a3529 1
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3614 1
a3614 1
echo "configure:3560: checking for main in -lXbsd" >&5
d3622 1
a3622 1
#line 3568 "configure"
d3629 1
a3629 1
if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3652 1
a3652 1
echo "configure:3598: checking for connect" >&5
d3657 1
a3657 1
#line 3603 "configure"
d3680 1
a3680 1
if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3702 1
a3702 1
echo "configure:3648: checking for main in -lsocket" >&5
d3710 1
a3710 1
#line 3656 "configure"
d3717 1
a3717 1
if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3743 1
a3743 1
echo "configure:3689: checking for accept" >&5
d3748 1
a3748 1
#line 3694 "configure"
d3771 1
a3771 1
if { (eval echo configure:3717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3793 1
a3793 1
echo "configure:3739: checking for gethostbyname" >&5
d3798 1
a3798 1
#line 3744 "configure"
d3821 1
a3821 1
if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3839 1
a3839 1
echo "configure:3785: checking for main in -lnsl" >&5
d3847 1
a3847 1
#line 3793 "configure"
d3854 1
a3854 1
if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3894 1
a3894 1
echo "configure:3840: checking MIT X libraries" >&5
d3900 1
a3900 1
#line 3846 "configure"
d3911 1
a3911 1
if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3938 1
a3938 1
echo "configure:3884: checking for sin" >&5
d3943 1
a3943 1
#line 3889 "configure"
d3966 1
a3966 1
if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3987 1
a3987 1
echo "configure:3933: checking for main in -lieee" >&5
d3995 1
a3995 1
#line 3941 "configure"
d4002 1
a4002 1
if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4029 1
a4029 1
echo "configure:3975: checking whether char is unsigned" >&5
d4036 1
a4036 1
#line 3982 "configure"
d4058 1
a4058 1
#line 4004 "configure"
d4068 1
a4068 1
if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4101 1
a4101 1
echo "configure:4047: checking for strtod" >&5
d4106 1
a4106 1
#line 4052 "configure"
d4129 1
a4129 1
if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4151 1
a4151 1
echo "configure:4097: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4156 1
a4156 1
#line 4102 "configure"
d4176 1
a4176 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4208 1
a4208 1
echo "configure:4154: checking how to build libraries" >&5
@


1.10
log
@	* unix/configure: Regen.
	* unix/configure.in: Fix last checkin by removing
	export since that only works in bash.
	* win/configure: Regen.
	* win/configure.in: Ditto.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.60 2001/06/26 20:17:22 mdejong Exp $
d1529 30
a1558 1
    STLIB_LD="ar cr"
d1635 1
a1635 1
echo "configure:1607: checking for gettimeofday in -lbsd" >&5
d1643 1
a1643 1
#line 1615 "configure"
d1654 1
a1654 1
if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1716 1
a1716 1
echo "configure:1688: checking for shl_load in -ldld" >&5
d1724 1
a1724 1
#line 1696 "configure"
d1735 1
a1735 1
if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1842 1
a1842 1
echo "configure:1814: checking for dld.h" >&5
d1847 1
a1847 1
#line 1819 "configure"
d1852 1
a1852 1
{ (eval echo configure:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1907 1
a1907 1
echo "configure:1879: checking for dlfcn.h" >&5
d1912 1
a1912 1
#line 1884 "configure"
d1917 1
a1917 1
{ (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1944 1
a1944 1
echo "configure:1916: checking for ELF" >&5
d1946 1
a1946 1
#line 1918 "configure"
d2217 1
a2217 1
echo "configure:2189: checking for ld accepts -Bexport flag" >&5
d2220 1
a2220 1
#line 2192 "configure"
d2227 1
a2227 1
if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2273 1
a2273 1
echo "configure:2245: checking sys/exec.h" >&5
d2275 1
a2275 1
#line 2247 "configure"
d2293 1
a2293 1
if { (eval echo configure:2265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2311 1
a2311 1
echo "configure:2283: checking a.out.h" >&5
d2313 1
a2313 1
#line 2285 "configure"
d2331 1
a2331 1
if { (eval echo configure:2303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2349 1
a2349 1
echo "configure:2321: checking sys/exec_aout.h" >&5
d2351 1
a2351 1
#line 2323 "configure"
d2369 1
a2369 1
if { (eval echo configure:2341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2464 1
a2464 1
echo "configure:2436: checking for build with symbols" >&5
d2508 1
a2508 1
echo "configure:2480: checking for sin" >&5
d2513 1
a2513 1
#line 2485 "configure"
d2536 1
a2536 1
if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2557 1
a2557 1
echo "configure:2529: checking for main in -lieee" >&5
d2565 1
a2565 1
#line 2537 "configure"
d2572 1
a2572 1
if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2603 1
a2603 1
echo "configure:2575: checking for gettimeofday in -lbsd" >&5
d2611 1
a2611 1
#line 2583 "configure"
d2622 1
a2622 1
if { (eval echo configure:2594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2653 1
a2653 1
echo "configure:2625: checking stdlib.h" >&5
d2655 1
a2655 1
#line 2627 "configure"
d2670 1
a2670 1
#line 2642 "configure"
d2684 1
a2684 1
#line 2656 "configure"
d2716 1
a2716 1
echo "configure:2688: checking fd_set and sys/select" >&5
d2718 1
a2718 1
#line 2690 "configure"
d2725 1
a2725 1
if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2737 1
a2737 1
#line 2709 "configure"
d2769 1
a2769 1
echo "configure:2741: checking for ANSI C header files" >&5
d2774 1
a2774 1
#line 2746 "configure"
d2782 1
a2782 1
{ (eval echo configure:2754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2799 1
a2799 1
#line 2771 "configure"
d2817 1
a2817 1
#line 2789 "configure"
d2838 1
a2838 1
#line 2810 "configure"
d2849 1
a2849 1
if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2873 1
a2873 1
echo "configure:2845: checking for mode_t" >&5
d2878 1
a2878 1
#line 2850 "configure"
d2906 1
a2906 1
echo "configure:2878: checking for pid_t" >&5
d2911 1
a2911 1
#line 2883 "configure"
d2939 1
a2939 1
echo "configure:2911: checking for size_t" >&5
d2944 1
a2944 1
#line 2916 "configure"
d2972 1
a2972 1
echo "configure:2944: checking for uid_t in sys/types.h" >&5
d2977 1
a2977 1
#line 2949 "configure"
d3014 1
a3014 1
echo "configure:2986: checking for $ac_hdr" >&5
d3019 1
a3019 1
#line 2991 "configure"
d3024 1
a3024 1
{ (eval echo configure:2996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3051 1
a3051 1
echo "configure:3023: checking whether time.h and sys/time.h may both be included" >&5
d3056 1
a3056 1
#line 3028 "configure"
d3065 1
a3065 1
if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3091 1
a3091 1
echo "configure:3063: checking pw_gecos in struct pwd" >&5
d3093 1
a3093 1
#line 3065 "configure"
d3100 1
a3100 1
if { (eval echo configure:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3133 1
a3133 1
echo "configure:3105: checking for X" >&5
d3195 1
a3195 1
#line 3167 "configure"
d3200 1
a3200 1
{ (eval echo configure:3172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3269 1
a3269 1
#line 3241 "configure"
d3276 1
a3276 1
if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3366 1
a3366 1
#line 3338 "configure"
d3371 1
a3371 1
{ (eval echo configure:3343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3391 1
a3391 1
echo "configure:3363: checking for X11 header files" >&5
d3394 1
a3394 1
#line 3366 "configure"
d3399 1
a3399 1
{ (eval echo configure:3371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3435 1
a3435 1
echo "configure:3407: checking for X11 libraries" >&5
d3455 1
a3455 1
echo "configure:3427: checking for XCreateWindow in -lXwindow" >&5
d3463 1
a3463 1
#line 3435 "configure"
d3474 1
a3474 1
if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3559 1
a3559 1
echo "configure:3531: checking for main in -lXbsd" >&5
d3567 1
a3567 1
#line 3539 "configure"
d3574 1
a3574 1
if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3597 1
a3597 1
echo "configure:3569: checking for connect" >&5
d3602 1
a3602 1
#line 3574 "configure"
d3625 1
a3625 1
if { (eval echo configure:3597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3647 1
a3647 1
echo "configure:3619: checking for main in -lsocket" >&5
d3655 1
a3655 1
#line 3627 "configure"
d3662 1
a3662 1
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3688 1
a3688 1
echo "configure:3660: checking for accept" >&5
d3693 1
a3693 1
#line 3665 "configure"
d3716 1
a3716 1
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3738 1
a3738 1
echo "configure:3710: checking for gethostbyname" >&5
d3743 1
a3743 1
#line 3715 "configure"
d3766 1
a3766 1
if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3784 1
a3784 1
echo "configure:3756: checking for main in -lnsl" >&5
d3792 1
a3792 1
#line 3764 "configure"
d3799 1
a3799 1
if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3839 1
a3839 1
echo "configure:3811: checking MIT X libraries" >&5
d3845 1
a3845 1
#line 3817 "configure"
d3856 1
a3856 1
if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3883 1
a3883 1
echo "configure:3855: checking for sin" >&5
d3888 1
a3888 1
#line 3860 "configure"
d3911 1
a3911 1
if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3932 1
a3932 1
echo "configure:3904: checking for main in -lieee" >&5
d3940 1
a3940 1
#line 3912 "configure"
d3947 1
a3947 1
if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3974 1
a3974 1
echo "configure:3946: checking whether char is unsigned" >&5
d3981 1
a3981 1
#line 3953 "configure"
d4003 1
a4003 1
#line 3975 "configure"
d4013 1
a4013 1
if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4046 1
a4046 1
echo "configure:4018: checking for strtod" >&5
d4051 1
a4051 1
#line 4023 "configure"
d4074 1
a4074 1
if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4096 1
a4096 1
echo "configure:4068: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4101 1
a4101 1
#line 4073 "configure"
d4121 1
a4121 1
if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4153 1
a4153 1
echo "configure:4125: checking how to build libraries" >&5
d4200 1
a4200 1
    MAKE_LIB="ar cr \$@@ \${OBJS}"
d4244 1
a4244 1
MAKE_STUB_LIB="ar cr \$@@ \${STUB_LIB_OBJS}"
d4294 3
d4470 1
d4496 1
@


1.9
log
@	* unix/configure: Regen.
	* unix/configure.in: Set CFLAGS to "" if the user
	did not set CFLAGS in the env. This keeps AC_PROG_CC
	from adding "-g -O2" to the CFLAGS by default.
	* win/configure: Regen.
	* win/configure.in: Ditto.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.59 2001/06/22 23:59:48 mdejong Exp $
d566 1
a566 1
    export CFLAGS=""
@


1.8
log
@	* unix/Makefile.in: Set CFLAGS to @@CFLAGS@@ and @@CFLAGS_DEFAULT@@.
	Set LDFLAGS to @@LDFLAGS@@ and @@LDFLAGS_DEFAULT@@. Add LDFLAGS_DEBUG
	and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use
	new LDFLAGS variable in the Makefile instead of @@LDFLAGS@@.
	* unix/configure: Regen.
	* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
	subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG,
	CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
	Remove unused LD_FLAGS subst.
	* unix/tcl.m4: Update from Tcl.
	* win/Makefile.in: Set CFLAGS to @@CFLAGS@@ and @@CFLAGS_DEFAULT@@.
	Set LDFLAGS to @@LDFLAGS@@ and @@LDFLAGS_DEFAULT@@.
	* win/configure: Regen.
	* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
	CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
	* win/tcl.m4: Update from Tcl.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.58 2001/04/25 21:51:06 mdejong Exp $
d559 10
d572 1
a572 1
echo "configure:563: checking for $ac_word" >&5
d602 1
a602 1
echo "configure:593: checking for $ac_word" >&5
d653 1
a653 1
echo "configure:644: checking for $ac_word" >&5
d685 1
a685 1
echo "configure:676: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d696 1
a696 1
#line 687 "configure"
d701 1
a701 1
if { (eval echo configure:692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d727 1
a727 1
echo "configure:718: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d732 1
a732 1
echo "configure:723: checking whether we are using GNU C" >&5
d741 1
a741 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d760 1
a760 1
echo "configure:751: checking whether ${CC-cc} accepts -g" >&5
d794 1
a794 1
echo "configure:785: checking for $ac_word" >&5
d827 1
a827 1
echo "configure:818: checking how to run the C preprocessor" >&5
d842 1
a842 1
#line 833 "configure"
d848 1
a848 1
{ (eval echo configure:839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d859 1
a859 1
#line 850 "configure"
d865 1
a865 1
{ (eval echo configure:856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d876 1
a876 1
#line 867 "configure"
d882 1
a882 1
{ (eval echo configure:873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d910 1
a910 1
echo "configure:901: checking for $ac_hdr" >&5
d915 1
a915 1
#line 906 "configure"
d920 1
a920 1
{ (eval echo configure:911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d953 1
a953 1
echo "configure:944: checking for building with threads" >&5
d979 1
a979 1
echo "configure:970: checking for pthread_mutex_init in -lpthread" >&5
d987 1
a987 1
#line 978 "configure"
d998 1
a998 1
if { (eval echo configure:989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1026 1
a1026 1
echo "configure:1017: checking for __pthread_mutex_init in -lpthread" >&5
d1034 1
a1034 1
#line 1025 "configure"
d1045 1
a1045 1
if { (eval echo configure:1036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1073 1
a1073 1
echo "configure:1064: checking for pthread_mutex_init in -lpthreads" >&5
d1081 1
a1081 1
#line 1072 "configure"
d1092 1
a1092 1
if { (eval echo configure:1083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1118 1
a1118 1
echo "configure:1109: checking for pthread_mutex_init in -lc" >&5
d1126 1
a1126 1
#line 1117 "configure"
d1137 1
a1137 1
if { (eval echo configure:1128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1171 1
a1171 1
echo "configure:1162: checking for $ac_func" >&5
d1176 1
a1176 1
#line 1167 "configure"
d1199 1
a1199 1
if { (eval echo configure:1190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1238 1
a1238 1
echo "configure:1229: checking if the compiler understands -pipe" >&5
d1242 1
a1242 1
#line 1233 "configure"
d1249 1
a1249 1
if { (eval echo configure:1240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1284 1
a1284 1
echo "configure:1275: checking for Tcl configuration" >&5
d1357 1
a1357 1
echo "configure:1348: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1388 1
a1388 1
echo "configure:1379: checking if 64bit support is requested" >&5
d1408 1
a1408 1
echo "configure:1399: checking if 64bit Sparc VIS support is requested" >&5
d1432 1
a1432 1
echo "configure:1423: checking system version (for dynamic loading)" >&5
d1455 1
a1455 1
echo "configure:1446: checking if gcc is being used" >&5
d1468 1
a1468 1
echo "configure:1459: checking for dlopen in -ldl" >&5
d1476 1
a1476 1
#line 1467 "configure"
d1487 1
a1487 1
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1606 1
a1606 1
echo "configure:1597: checking for gettimeofday in -lbsd" >&5
d1614 1
a1614 1
#line 1605 "configure"
d1625 1
a1625 1
if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1687 1
a1687 1
echo "configure:1678: checking for shl_load in -ldld" >&5
d1695 1
a1695 1
#line 1686 "configure"
d1706 1
a1706 1
if { (eval echo configure:1697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1813 1
a1813 1
echo "configure:1804: checking for dld.h" >&5
d1818 1
a1818 1
#line 1809 "configure"
d1823 1
a1823 1
{ (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1878 1
a1878 1
echo "configure:1869: checking for dlfcn.h" >&5
d1883 1
a1883 1
#line 1874 "configure"
d1888 1
a1888 1
{ (eval echo configure:1879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1915 1
a1915 1
echo "configure:1906: checking for ELF" >&5
d1917 1
a1917 1
#line 1908 "configure"
d2188 1
a2188 1
echo "configure:2179: checking for ld accepts -Bexport flag" >&5
d2191 1
a2191 1
#line 2182 "configure"
d2198 1
a2198 1
if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2244 1
a2244 1
echo "configure:2235: checking sys/exec.h" >&5
d2246 1
a2246 1
#line 2237 "configure"
d2264 1
a2264 1
if { (eval echo configure:2255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2282 1
a2282 1
echo "configure:2273: checking a.out.h" >&5
d2284 1
a2284 1
#line 2275 "configure"
d2302 1
a2302 1
if { (eval echo configure:2293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2320 1
a2320 1
echo "configure:2311: checking sys/exec_aout.h" >&5
d2322 1
a2322 1
#line 2313 "configure"
d2340 1
a2340 1
if { (eval echo configure:2331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2435 1
a2435 1
echo "configure:2426: checking for build with symbols" >&5
d2479 1
a2479 1
echo "configure:2470: checking for sin" >&5
d2484 1
a2484 1
#line 2475 "configure"
d2507 1
a2507 1
if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2528 1
a2528 1
echo "configure:2519: checking for main in -lieee" >&5
d2536 1
a2536 1
#line 2527 "configure"
d2543 1
a2543 1
if { (eval echo configure:2534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2574 1
a2574 1
echo "configure:2565: checking for gettimeofday in -lbsd" >&5
d2582 1
a2582 1
#line 2573 "configure"
d2593 1
a2593 1
if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2624 1
a2624 1
echo "configure:2615: checking stdlib.h" >&5
d2626 1
a2626 1
#line 2617 "configure"
d2641 1
a2641 1
#line 2632 "configure"
d2655 1
a2655 1
#line 2646 "configure"
d2687 1
a2687 1
echo "configure:2678: checking fd_set and sys/select" >&5
d2689 1
a2689 1
#line 2680 "configure"
d2696 1
a2696 1
if { (eval echo configure:2687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2708 1
a2708 1
#line 2699 "configure"
d2740 1
a2740 1
echo "configure:2731: checking for ANSI C header files" >&5
d2745 1
a2745 1
#line 2736 "configure"
d2753 1
a2753 1
{ (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2770 1
a2770 1
#line 2761 "configure"
d2788 1
a2788 1
#line 2779 "configure"
d2809 1
a2809 1
#line 2800 "configure"
d2820 1
a2820 1
if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2844 1
a2844 1
echo "configure:2835: checking for mode_t" >&5
d2849 1
a2849 1
#line 2840 "configure"
d2877 1
a2877 1
echo "configure:2868: checking for pid_t" >&5
d2882 1
a2882 1
#line 2873 "configure"
d2910 1
a2910 1
echo "configure:2901: checking for size_t" >&5
d2915 1
a2915 1
#line 2906 "configure"
d2943 1
a2943 1
echo "configure:2934: checking for uid_t in sys/types.h" >&5
d2948 1
a2948 1
#line 2939 "configure"
d2985 1
a2985 1
echo "configure:2976: checking for $ac_hdr" >&5
d2990 1
a2990 1
#line 2981 "configure"
d2995 1
a2995 1
{ (eval echo configure:2986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3022 1
a3022 1
echo "configure:3013: checking whether time.h and sys/time.h may both be included" >&5
d3027 1
a3027 1
#line 3018 "configure"
d3036 1
a3036 1
if { (eval echo configure:3027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3062 1
a3062 1
echo "configure:3053: checking pw_gecos in struct pwd" >&5
d3064 1
a3064 1
#line 3055 "configure"
d3071 1
a3071 1
if { (eval echo configure:3062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3104 1
a3104 1
echo "configure:3095: checking for X" >&5
d3166 1
a3166 1
#line 3157 "configure"
d3171 1
a3171 1
{ (eval echo configure:3162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3240 1
a3240 1
#line 3231 "configure"
d3247 1
a3247 1
if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3337 1
a3337 1
#line 3328 "configure"
d3342 1
a3342 1
{ (eval echo configure:3333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3362 1
a3362 1
echo "configure:3353: checking for X11 header files" >&5
d3365 1
a3365 1
#line 3356 "configure"
d3370 1
a3370 1
{ (eval echo configure:3361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3406 1
a3406 1
echo "configure:3397: checking for X11 libraries" >&5
d3426 1
a3426 1
echo "configure:3417: checking for XCreateWindow in -lXwindow" >&5
d3434 1
a3434 1
#line 3425 "configure"
d3445 1
a3445 1
if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3530 1
a3530 1
echo "configure:3521: checking for main in -lXbsd" >&5
d3538 1
a3538 1
#line 3529 "configure"
d3545 1
a3545 1
if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3568 1
a3568 1
echo "configure:3559: checking for connect" >&5
d3573 1
a3573 1
#line 3564 "configure"
d3596 1
a3596 1
if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3618 1
a3618 1
echo "configure:3609: checking for main in -lsocket" >&5
d3626 1
a3626 1
#line 3617 "configure"
d3633 1
a3633 1
if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3659 1
a3659 1
echo "configure:3650: checking for accept" >&5
d3664 1
a3664 1
#line 3655 "configure"
d3687 1
a3687 1
if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3709 1
a3709 1
echo "configure:3700: checking for gethostbyname" >&5
d3714 1
a3714 1
#line 3705 "configure"
d3737 1
a3737 1
if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3755 1
a3755 1
echo "configure:3746: checking for main in -lnsl" >&5
d3763 1
a3763 1
#line 3754 "configure"
d3770 1
a3770 1
if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3810 1
a3810 1
echo "configure:3801: checking MIT X libraries" >&5
d3816 1
a3816 1
#line 3807 "configure"
d3827 1
a3827 1
if { (eval echo configure:3818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3854 1
a3854 1
echo "configure:3845: checking for sin" >&5
d3859 1
a3859 1
#line 3850 "configure"
d3882 1
a3882 1
if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3903 1
a3903 1
echo "configure:3894: checking for main in -lieee" >&5
d3911 1
a3911 1
#line 3902 "configure"
d3918 1
a3918 1
if { (eval echo configure:3909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3945 1
a3945 1
echo "configure:3936: checking whether char is unsigned" >&5
d3952 1
a3952 1
#line 3943 "configure"
d3974 1
a3974 1
#line 3965 "configure"
d3984 1
a3984 1
if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4017 1
a4017 1
echo "configure:4008: checking for strtod" >&5
d4022 1
a4022 1
#line 4013 "configure"
d4045 1
a4045 1
if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4067 1
a4067 1
echo "configure:4058: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4072 1
a4072 1
#line 4063 "configure"
d4092 1
a4092 1
if { (eval echo configure:4083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4124 1
a4124 1
echo "configure:4115: checking how to build libraries" >&5
@


1.7
log
@	* unix/configure:
	* unix/tcl.m4:
	* win/configure:
	* win/tcl.m4: Sync from Tcl sources.
@
text
@d1280 1
a1280 1
	    # First check to see if --with-tclconfig was specified.
d1320 1
a1320 1
	    if test x"${ac_cv_c_tcliconfig}" = x ; then
d2437 1
a2437 1
	LDFLAGS_DEFAULT="${LDFLAGS_DEBUG}"
d2442 1
a2442 1
	LDFLAGS_DEFAULT="${LDFLAGS_OPTIMIZE}"
a2449 1
CFLAGS=${CFLAGS_DEFAULT}
d2469 1
a2469 1
echo "configure:2471: checking for sin" >&5
d2474 1
a2474 1
#line 2476 "configure"
d2497 1
a2497 1
if { (eval echo configure:2499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2518 1
a2518 1
echo "configure:2520: checking for main in -lieee" >&5
d2526 1
a2526 1
#line 2528 "configure"
d2533 1
a2533 1
if { (eval echo configure:2535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2564 1
a2564 1
echo "configure:2566: checking for gettimeofday in -lbsd" >&5
d2572 1
a2572 1
#line 2574 "configure"
d2583 1
a2583 1
if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2614 1
a2614 1
echo "configure:2616: checking stdlib.h" >&5
d2616 1
a2616 1
#line 2618 "configure"
d2631 1
a2631 1
#line 2633 "configure"
d2645 1
a2645 1
#line 2647 "configure"
d2677 1
a2677 1
echo "configure:2679: checking fd_set and sys/select" >&5
d2679 1
a2679 1
#line 2681 "configure"
d2686 1
a2686 1
if { (eval echo configure:2688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2698 1
a2698 1
#line 2700 "configure"
d2730 1
a2730 1
echo "configure:2732: checking for ANSI C header files" >&5
d2735 1
a2735 1
#line 2737 "configure"
d2743 1
a2743 1
{ (eval echo configure:2745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2760 1
a2760 1
#line 2762 "configure"
d2778 1
a2778 1
#line 2780 "configure"
d2799 1
a2799 1
#line 2801 "configure"
d2810 1
a2810 1
if { (eval echo configure:2812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2834 1
a2834 1
echo "configure:2836: checking for mode_t" >&5
d2839 1
a2839 1
#line 2841 "configure"
d2867 1
a2867 1
echo "configure:2869: checking for pid_t" >&5
d2872 1
a2872 1
#line 2874 "configure"
d2900 1
a2900 1
echo "configure:2902: checking for size_t" >&5
d2905 1
a2905 1
#line 2907 "configure"
d2933 1
a2933 1
echo "configure:2935: checking for uid_t in sys/types.h" >&5
d2938 1
a2938 1
#line 2940 "configure"
d2975 1
a2975 1
echo "configure:2977: checking for $ac_hdr" >&5
d2980 1
a2980 1
#line 2982 "configure"
d2985 1
a2985 1
{ (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3012 1
a3012 1
echo "configure:3014: checking whether time.h and sys/time.h may both be included" >&5
d3017 1
a3017 1
#line 3019 "configure"
d3026 1
a3026 1
if { (eval echo configure:3028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3052 1
a3052 1
echo "configure:3054: checking pw_gecos in struct pwd" >&5
d3054 1
a3054 1
#line 3056 "configure"
d3061 1
a3061 1
if { (eval echo configure:3063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3094 1
a3094 1
echo "configure:3096: checking for X" >&5
d3156 1
a3156 1
#line 3158 "configure"
d3161 1
a3161 1
{ (eval echo configure:3163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3230 1
a3230 1
#line 3232 "configure"
d3237 1
a3237 1
if { (eval echo configure:3239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3327 1
a3327 1
#line 3329 "configure"
d3332 1
a3332 1
{ (eval echo configure:3334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3352 1
a3352 1
echo "configure:3354: checking for X11 header files" >&5
d3355 1
a3355 1
#line 3357 "configure"
d3360 1
a3360 1
{ (eval echo configure:3362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3396 1
a3396 1
echo "configure:3398: checking for X11 libraries" >&5
d3416 1
a3416 1
echo "configure:3418: checking for XCreateWindow in -lXwindow" >&5
d3424 1
a3424 1
#line 3426 "configure"
d3435 1
a3435 1
if { (eval echo configure:3437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3520 1
a3520 1
echo "configure:3522: checking for main in -lXbsd" >&5
d3528 1
a3528 1
#line 3530 "configure"
d3535 1
a3535 1
if { (eval echo configure:3537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3558 1
a3558 1
echo "configure:3560: checking for connect" >&5
d3563 1
a3563 1
#line 3565 "configure"
d3586 1
a3586 1
if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3608 1
a3608 1
echo "configure:3610: checking for main in -lsocket" >&5
d3616 1
a3616 1
#line 3618 "configure"
d3623 1
a3623 1
if { (eval echo configure:3625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3649 1
a3649 1
echo "configure:3651: checking for accept" >&5
d3654 1
a3654 1
#line 3656 "configure"
d3677 1
a3677 1
if { (eval echo configure:3679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3699 1
a3699 1
echo "configure:3701: checking for gethostbyname" >&5
d3704 1
a3704 1
#line 3706 "configure"
d3727 1
a3727 1
if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3745 1
a3745 1
echo "configure:3747: checking for main in -lnsl" >&5
d3753 1
a3753 1
#line 3755 "configure"
d3760 1
a3760 1
if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3800 1
a3800 1
echo "configure:3802: checking MIT X libraries" >&5
d3806 1
a3806 1
#line 3808 "configure"
d3817 1
a3817 1
if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3844 1
a3844 1
echo "configure:3846: checking for sin" >&5
d3849 1
a3849 1
#line 3851 "configure"
d3872 1
a3872 1
if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3893 1
a3893 1
echo "configure:3895: checking for main in -lieee" >&5
d3901 1
a3901 1
#line 3903 "configure"
d3908 1
a3908 1
if { (eval echo configure:3910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3935 1
a3935 1
echo "configure:3937: checking whether char is unsigned" >&5
d3942 1
a3942 1
#line 3944 "configure"
d3964 1
a3964 1
#line 3966 "configure"
d3974 1
a3974 1
if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4007 1
a4007 1
echo "configure:4009: checking for strtod" >&5
d4012 1
a4012 1
#line 4014 "configure"
d4035 1
a4035 1
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4057 1
a4057 1
echo "configure:4059: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4062 1
a4062 1
#line 4064 "configure"
d4082 1
a4082 1
if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4114 1
a4114 1
echo "configure:4116: checking how to build libraries" >&5
d4251 4
d4444 3
a4448 1
s%@@LD_FLAGS@@%$LD_FLAGS%g
@


1.6
log
@	* unix/configure: Regen.
	* unix/tcl.m4: Update from Tcl.
	* win/configure: Regen.
	* win/tcl.m4: Update from Tcl.
@
text
@d1308 4
a1311 1
			`ls -d /usr/local/lib 2>/dev/null` ; do
d1347 1
a1347 1
echo "configure:1345: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1378 1
a1378 1
echo "configure:1376: checking if 64bit support is requested" >&5
d1398 1
a1398 1
echo "configure:1396: checking if 64bit Sparc VIS support is requested" >&5
d1422 1
a1422 1
echo "configure:1420: checking system version (for dynamic loading)" >&5
d1445 1
a1445 1
echo "configure:1443: checking if gcc is being used" >&5
d1458 1
a1458 1
echo "configure:1456: checking for dlopen in -ldl" >&5
d1466 1
a1466 1
#line 1464 "configure"
d1477 1
a1477 1
if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1596 1
a1596 1
echo "configure:1594: checking for gettimeofday in -lbsd" >&5
d1604 1
a1604 1
#line 1602 "configure"
d1615 1
a1615 1
if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1677 1
a1677 1
echo "configure:1675: checking for shl_load in -ldld" >&5
d1685 1
a1685 1
#line 1683 "configure"
d1696 1
a1696 1
if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1803 1
a1803 1
echo "configure:1801: checking for dld.h" >&5
d1808 1
a1808 1
#line 1806 "configure"
d1813 1
a1813 1
{ (eval echo configure:1811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1868 1
a1868 1
echo "configure:1866: checking for dlfcn.h" >&5
d1873 1
a1873 1
#line 1871 "configure"
d1878 1
a1878 1
{ (eval echo configure:1876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1905 1
a1905 1
echo "configure:1903: checking for ELF" >&5
d1907 1
a1907 1
#line 1905 "configure"
d2178 1
a2178 1
echo "configure:2176: checking for ld accepts -Bexport flag" >&5
d2181 1
a2181 1
#line 2179 "configure"
d2188 1
a2188 1
if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2234 1
a2234 1
echo "configure:2232: checking sys/exec.h" >&5
d2236 1
a2236 1
#line 2234 "configure"
d2254 1
a2254 1
if { (eval echo configure:2252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2272 1
a2272 1
echo "configure:2270: checking a.out.h" >&5
d2274 1
a2274 1
#line 2272 "configure"
d2292 1
a2292 1
if { (eval echo configure:2290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2310 1
a2310 1
echo "configure:2308: checking sys/exec_aout.h" >&5
d2312 1
a2312 1
#line 2310 "configure"
d2330 1
a2330 1
if { (eval echo configure:2328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2425 1
a2425 1
echo "configure:2423: checking for build with symbols" >&5
d2434 1
d2436 1
a2436 1
	CFLAGS_DEFAULT="${CFLAGS_DEBUG}"
d2441 1
a2441 1
	CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE}"
d2470 1
a2470 1
echo "configure:2467: checking for sin" >&5
d2475 1
a2475 1
#line 2472 "configure"
d2498 1
a2498 1
if { (eval echo configure:2495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2519 1
a2519 1
echo "configure:2516: checking for main in -lieee" >&5
d2527 1
a2527 1
#line 2524 "configure"
d2534 1
a2534 1
if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2565 1
a2565 1
echo "configure:2562: checking for gettimeofday in -lbsd" >&5
d2573 1
a2573 1
#line 2570 "configure"
d2584 1
a2584 1
if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2615 1
a2615 1
echo "configure:2612: checking stdlib.h" >&5
d2617 1
a2617 1
#line 2614 "configure"
d2632 1
a2632 1
#line 2629 "configure"
d2646 1
a2646 1
#line 2643 "configure"
d2678 1
a2678 1
echo "configure:2675: checking fd_set and sys/select" >&5
d2680 1
a2680 1
#line 2677 "configure"
d2687 1
a2687 1
if { (eval echo configure:2684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2699 1
a2699 1
#line 2696 "configure"
d2731 1
a2731 1
echo "configure:2728: checking for ANSI C header files" >&5
d2736 1
a2736 1
#line 2733 "configure"
d2744 1
a2744 1
{ (eval echo configure:2741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2761 1
a2761 1
#line 2758 "configure"
d2779 1
a2779 1
#line 2776 "configure"
d2800 1
a2800 1
#line 2797 "configure"
d2811 1
a2811 1
if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2835 1
a2835 1
echo "configure:2832: checking for mode_t" >&5
d2840 1
a2840 1
#line 2837 "configure"
d2868 1
a2868 1
echo "configure:2865: checking for pid_t" >&5
d2873 1
a2873 1
#line 2870 "configure"
d2901 1
a2901 1
echo "configure:2898: checking for size_t" >&5
d2906 1
a2906 1
#line 2903 "configure"
d2934 1
a2934 1
echo "configure:2931: checking for uid_t in sys/types.h" >&5
d2939 1
a2939 1
#line 2936 "configure"
d2976 1
a2976 1
echo "configure:2973: checking for $ac_hdr" >&5
d2981 1
a2981 1
#line 2978 "configure"
d2986 1
a2986 1
{ (eval echo configure:2983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3013 1
a3013 1
echo "configure:3010: checking whether time.h and sys/time.h may both be included" >&5
d3018 1
a3018 1
#line 3015 "configure"
d3027 1
a3027 1
if { (eval echo configure:3024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3053 1
a3053 1
echo "configure:3050: checking pw_gecos in struct pwd" >&5
d3055 1
a3055 1
#line 3052 "configure"
d3062 1
a3062 1
if { (eval echo configure:3059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3095 1
a3095 1
echo "configure:3092: checking for X" >&5
d3157 1
a3157 1
#line 3154 "configure"
d3162 1
a3162 1
{ (eval echo configure:3159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3231 1
a3231 1
#line 3228 "configure"
d3238 1
a3238 1
if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3328 1
a3328 1
#line 3325 "configure"
d3333 1
a3333 1
{ (eval echo configure:3330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3353 1
a3353 1
echo "configure:3350: checking for X11 header files" >&5
d3356 1
a3356 1
#line 3353 "configure"
d3361 1
a3361 1
{ (eval echo configure:3358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3397 1
a3397 1
echo "configure:3394: checking for X11 libraries" >&5
d3417 1
a3417 1
echo "configure:3414: checking for XCreateWindow in -lXwindow" >&5
d3425 1
a3425 1
#line 3422 "configure"
d3436 1
a3436 1
if { (eval echo configure:3433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3521 1
a3521 1
echo "configure:3518: checking for main in -lXbsd" >&5
d3529 1
a3529 1
#line 3526 "configure"
d3536 1
a3536 1
if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3559 1
a3559 1
echo "configure:3556: checking for connect" >&5
d3564 1
a3564 1
#line 3561 "configure"
d3587 1
a3587 1
if { (eval echo configure:3584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3609 1
a3609 1
echo "configure:3606: checking for main in -lsocket" >&5
d3617 1
a3617 1
#line 3614 "configure"
d3624 1
a3624 1
if { (eval echo configure:3621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3650 1
a3650 1
echo "configure:3647: checking for accept" >&5
d3655 1
a3655 1
#line 3652 "configure"
d3678 1
a3678 1
if { (eval echo configure:3675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3700 1
a3700 1
echo "configure:3697: checking for gethostbyname" >&5
d3705 1
a3705 1
#line 3702 "configure"
d3728 1
a3728 1
if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3746 1
a3746 1
echo "configure:3743: checking for main in -lnsl" >&5
d3754 1
a3754 1
#line 3751 "configure"
d3761 1
a3761 1
if { (eval echo configure:3758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3801 1
a3801 1
echo "configure:3798: checking MIT X libraries" >&5
d3807 1
a3807 1
#line 3804 "configure"
d3818 1
a3818 1
if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3845 1
a3845 1
echo "configure:3842: checking for sin" >&5
d3850 1
a3850 1
#line 3847 "configure"
d3873 1
a3873 1
if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3894 1
a3894 1
echo "configure:3891: checking for main in -lieee" >&5
d3902 1
a3902 1
#line 3899 "configure"
d3909 1
a3909 1
if { (eval echo configure:3906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3936 1
a3936 1
echo "configure:3933: checking whether char is unsigned" >&5
d3943 1
a3943 1
#line 3940 "configure"
d3965 1
a3965 1
#line 3962 "configure"
d3975 1
a3975 1
if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4008 1
a4008 1
echo "configure:4005: checking for strtod" >&5
d4013 1
a4013 1
#line 4010 "configure"
d4036 1
a4036 1
if { (eval echo configure:4033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4058 1
a4058 1
echo "configure:4055: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4063 1
a4063 1
#line 4060 "configure"
d4083 1
a4083 1
if { (eval echo configure:4080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4115 1
a4115 1
echo "configure:4112: checking how to build libraries" >&5
@


1.5
log
@	* unix/configure: Regen.
	* unix/configure.in: Use $@@ in MAKE_LIB and MAKE_STUB_LIB
	commands instead of using a delayed subst variable. Replace
	instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.57 2001/04/25 20:52:48 mdejong Exp $
d1217 1
d1228 1
a1228 1
echo "configure:1228: checking if the compiler understands -pipe" >&5
d1232 1
a1232 1
#line 1232 "configure"
d1239 1
a1239 1
if { (eval echo configure:1239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1274 1
a1274 1
echo "configure:1274: checking for Tcl configuration" >&5
d1344 1
a1344 1
echo "configure:1344: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1375 1
a1375 1
echo "configure:1375: checking if 64bit support is requested" >&5
d1395 1
a1395 1
echo "configure:1395: checking if 64bit Sparc VIS support is requested" >&5
d1419 1
a1419 1
echo "configure:1419: checking system version (for dynamic loading)" >&5
d1442 1
a1442 1
echo "configure:1442: checking if gcc is being used" >&5
d1455 1
a1455 1
echo "configure:1455: checking for dlopen in -ldl" >&5
d1463 1
a1463 1
#line 1463 "configure"
d1474 1
a1474 1
if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1518 1
a1518 1
	AIX-5*)
d1593 1
a1593 1
echo "configure:1593: checking for gettimeofday in -lbsd" >&5
d1601 1
a1601 1
#line 1601 "configure"
d1612 1
a1612 1
if { (eval echo configure:1612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1674 1
a1674 1
echo "configure:1674: checking for shl_load in -ldld" >&5
d1682 1
a1682 1
#line 1682 "configure"
d1693 1
a1693 1
if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1800 1
a1800 1
echo "configure:1800: checking for dld.h" >&5
d1805 1
a1805 1
#line 1805 "configure"
d1810 1
a1810 1
{ (eval echo configure:1810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1865 1
a1865 1
echo "configure:1865: checking for dlfcn.h" >&5
d1870 1
a1870 1
#line 1870 "configure"
d1875 1
a1875 1
{ (eval echo configure:1875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1902 1
a1902 1
echo "configure:1902: checking for ELF" >&5
d1904 1
a1904 1
#line 1904 "configure"
d2082 9
d2105 9
d2175 1
a2175 1
echo "configure:2157: checking for ld accepts -Bexport flag" >&5
d2178 1
a2178 1
#line 2160 "configure"
d2185 1
a2185 1
if { (eval echo configure:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2231 1
a2231 1
echo "configure:2213: checking sys/exec.h" >&5
d2233 1
a2233 1
#line 2215 "configure"
d2251 1
a2251 1
if { (eval echo configure:2233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2269 1
a2269 1
echo "configure:2251: checking a.out.h" >&5
d2271 1
a2271 1
#line 2253 "configure"
d2289 1
a2289 1
if { (eval echo configure:2271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2307 1
a2307 1
echo "configure:2289: checking sys/exec_aout.h" >&5
d2309 1
a2309 1
#line 2291 "configure"
d2327 1
a2327 1
if { (eval echo configure:2309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2386 1
a2386 1
		AIX-[1-4]*)
d2422 1
a2422 1
echo "configure:2404: checking for build with symbols" >&5
d2466 1
a2466 1
echo "configure:2448: checking for sin" >&5
d2471 1
a2471 1
#line 2453 "configure"
d2494 1
a2494 1
if { (eval echo configure:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2515 1
a2515 1
echo "configure:2497: checking for main in -lieee" >&5
d2523 1
a2523 1
#line 2505 "configure"
d2530 1
a2530 1
if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2561 1
a2561 1
echo "configure:2543: checking for gettimeofday in -lbsd" >&5
d2569 1
a2569 1
#line 2551 "configure"
d2580 1
a2580 1
if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2611 1
a2611 1
echo "configure:2593: checking stdlib.h" >&5
d2613 1
a2613 1
#line 2595 "configure"
d2628 1
a2628 1
#line 2610 "configure"
d2642 1
a2642 1
#line 2624 "configure"
d2674 1
a2674 1
echo "configure:2656: checking fd_set and sys/select" >&5
d2676 1
a2676 1
#line 2658 "configure"
d2683 1
a2683 1
if { (eval echo configure:2665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2695 1
a2695 1
#line 2677 "configure"
d2727 1
a2727 1
echo "configure:2709: checking for ANSI C header files" >&5
d2732 1
a2732 1
#line 2714 "configure"
d2740 1
a2740 1
{ (eval echo configure:2722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2757 1
a2757 1
#line 2739 "configure"
d2775 1
a2775 1
#line 2757 "configure"
d2796 1
a2796 1
#line 2778 "configure"
d2807 1
a2807 1
if { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2831 1
a2831 1
echo "configure:2813: checking for mode_t" >&5
d2836 1
a2836 1
#line 2818 "configure"
d2864 1
a2864 1
echo "configure:2846: checking for pid_t" >&5
d2869 1
a2869 1
#line 2851 "configure"
d2897 1
a2897 1
echo "configure:2879: checking for size_t" >&5
d2902 1
a2902 1
#line 2884 "configure"
d2930 1
a2930 1
echo "configure:2912: checking for uid_t in sys/types.h" >&5
d2935 1
a2935 1
#line 2917 "configure"
d2972 1
a2972 1
echo "configure:2954: checking for $ac_hdr" >&5
d2977 1
a2977 1
#line 2959 "configure"
d2982 1
a2982 1
{ (eval echo configure:2964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3009 1
a3009 1
echo "configure:2991: checking whether time.h and sys/time.h may both be included" >&5
d3014 1
a3014 1
#line 2996 "configure"
d3023 1
a3023 1
if { (eval echo configure:3005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3049 1
a3049 1
echo "configure:3031: checking pw_gecos in struct pwd" >&5
d3051 1
a3051 1
#line 3033 "configure"
d3058 1
a3058 1
if { (eval echo configure:3040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3091 1
a3091 1
echo "configure:3073: checking for X" >&5
d3153 1
a3153 1
#line 3135 "configure"
d3158 1
a3158 1
{ (eval echo configure:3140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3227 1
a3227 1
#line 3209 "configure"
d3234 1
a3234 1
if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3324 1
a3324 1
#line 3306 "configure"
d3329 1
a3329 1
{ (eval echo configure:3311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3349 1
a3349 1
echo "configure:3331: checking for X11 header files" >&5
d3352 1
a3352 1
#line 3334 "configure"
d3357 1
a3357 1
{ (eval echo configure:3339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3393 1
a3393 1
echo "configure:3375: checking for X11 libraries" >&5
d3413 1
a3413 1
echo "configure:3395: checking for XCreateWindow in -lXwindow" >&5
d3421 1
a3421 1
#line 3403 "configure"
d3432 1
a3432 1
if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3517 1
a3517 1
echo "configure:3499: checking for main in -lXbsd" >&5
d3525 1
a3525 1
#line 3507 "configure"
d3532 1
a3532 1
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3555 1
a3555 1
echo "configure:3537: checking for connect" >&5
d3560 1
a3560 1
#line 3542 "configure"
d3583 1
a3583 1
if { (eval echo configure:3565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3605 1
a3605 1
echo "configure:3587: checking for main in -lsocket" >&5
d3613 1
a3613 1
#line 3595 "configure"
d3620 1
a3620 1
if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3646 1
a3646 1
echo "configure:3628: checking for accept" >&5
d3651 1
a3651 1
#line 3633 "configure"
d3674 1
a3674 1
if { (eval echo configure:3656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3696 1
a3696 1
echo "configure:3678: checking for gethostbyname" >&5
d3701 1
a3701 1
#line 3683 "configure"
d3724 1
a3724 1
if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3742 1
a3742 1
echo "configure:3724: checking for main in -lnsl" >&5
d3750 1
a3750 1
#line 3732 "configure"
d3757 1
a3757 1
if { (eval echo configure:3739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3797 1
a3797 1
echo "configure:3779: checking MIT X libraries" >&5
d3803 1
a3803 1
#line 3785 "configure"
d3814 1
a3814 1
if { (eval echo configure:3796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3841 1
a3841 1
echo "configure:3823: checking for sin" >&5
d3846 1
a3846 1
#line 3828 "configure"
d3869 1
a3869 1
if { (eval echo configure:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3890 1
a3890 1
echo "configure:3872: checking for main in -lieee" >&5
d3898 1
a3898 1
#line 3880 "configure"
d3905 1
a3905 1
if { (eval echo configure:3887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3932 1
a3932 1
echo "configure:3914: checking whether char is unsigned" >&5
d3939 1
a3939 1
#line 3921 "configure"
d3961 1
a3961 1
#line 3943 "configure"
d3971 1
a3971 1
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4004 1
a4004 1
echo "configure:3986: checking for strtod" >&5
d4009 1
a4009 1
#line 3991 "configure"
d4032 1
a4032 1
if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4054 1
a4054 1
echo "configure:4036: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4059 1
a4059 1
#line 4041 "configure"
d4079 1
a4079 1
if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4111 1
a4111 1
echo "configure:4093: checking how to build libraries" >&5
d4201 1
a4201 1
# FIXME: Why don't we use MAKE_STUB_LIB from tclConfig.sh here?
d4417 1
@


1.4
log
@	* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
	* unix/configure: Regen.
	* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
	instead.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.56 2001/04/02 02:08:55 hobbs Exp $
d4131 1
a4131 1
    MAKE_LIB="\${SHLIB_LD} -o \${TK_LIB_FILE} \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4139 1
a4139 1
    MAKE_LIB="ar cr \${TK_LIB_FILE} \${OBJS}"
d4180 1
a4180 1
eval "STUB_LIB_FILE=libtkstub${TK_UNSHARED_LIB_SUFFIX}"
d4182 2
a4183 3
MAKE_STUB_LIB="ar cr \${STUB_LIB_FILE} \${STUB_LIB_OBJS}"

TK_STUB_LIB_FILE=${STUB_LIB_FILE}
@


1.3
log
@	* generic/tk.h:
	* unix/configure.in (TK_PATCH_LEVEL):
	* unix/configure:
	* unix/tk.spec:
	* win/configure.in (TK_PATCH_LEVEL):
	* win/configure: updated patchlevel to 8.4a3
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.55 2000/09/06 19:05:16 hobbs Exp $
a4207 2


a4405 1
s%@@STUB_LIB_FILE@@%$STUB_LIB_FILE%g
@


1.3.2.1
log
@see ChangeLog for specific file details
@
text
@a14 2
  --enable-gcc            allow use of gcc if available [--disable-gcc]"
ac_help="$ac_help
d540 1
a540 1
# RCS: @@(#) $Id: configure.in,v 1.49.2.1 2000/07/27 01:05:58 hobbs Exp $
d542 1
a542 1
TK_VERSION=8.3
d544 2
a545 2
TK_MINOR_VERSION=3
TK_PATCH_LEVEL=".3"
d547 1
d559 1
a559 42
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:564: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi


    # Check whether --enable-gcc or --disable-gcc was given.
if test "${enable_gcc+set}" = set; then
  enableval="$enable_gcc"
  ok=$enableval
else
  ok=no
fi

    if test "$ok" = "yes"; then
	CC=gcc
	# Extract the first word of "gcc", so it can be a program name with args.
d562 1
a562 1
echo "configure:605: checking for $ac_word" >&5
d592 1
a592 1
echo "configure:635: checking for $ac_word" >&5
d643 1
a643 1
echo "configure:686: checking for $ac_word" >&5
d675 1
a675 1
echo "configure:718: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d686 1
a686 1
#line 729 "configure"
d691 1
a691 1
if { (eval echo configure:734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d717 1
a717 1
echo "configure:760: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d722 1
a722 1
echo "configure:765: checking whether we are using GNU C" >&5
d731 1
a731 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d750 1
a750 1
echo "configure:793: checking whether ${CC-cc} accepts -g" >&5
d781 2
a782 6
    else
	CC=${CC-cc}
    fi

# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
d784 2
a785 2
echo "configure:831: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
d788 2
a789 2
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
d796 1
a796 1
      ac_cv_prog_CC="gcc"
d801 1
d804 3
a806 3
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
a810 193
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:861: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_prog_rejected=no
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@@"
    shift
    ac_cv_prog_CC="$@@"
  fi
fi
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:912: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
 ;;
    esac
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi

echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:944: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 955 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:986: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:991: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
else
  ac_cv_prog_gcc=no
fi
fi

echo "$ac_t""$ac_cv_prog_gcc" 1>&6

if test $ac_cv_prog_gcc = yes; then
  GCC=yes
else
  GCC=
fi

ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1019: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  ac_cv_prog_cc_g=yes
else
  ac_cv_prog_cc_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi

d817 1
a817 1
echo "configure:1056: checking how to run the C preprocessor" >&5
d832 1
a832 1
#line 1071 "configure"
d838 1
a838 1
{ (eval echo configure:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d849 1
a849 1
#line 1088 "configure"
d855 1
a855 1
{ (eval echo configure:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d866 1
a866 1
#line 1105 "configure"
d872 1
a872 1
{ (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d900 1
a900 1
echo "configure:1139: checking for $ac_hdr" >&5
d905 1
a905 1
#line 1144 "configure"
d910 1
a910 1
{ (eval echo configure:1149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d943 1
a943 1
echo "configure:1182: checking for building with threads" >&5
d964 3
a966 1
	echo "configure: warning: "Tk on Unix is known to have problems with thread support.  It is recommended that Tk be used with a non-thread enabled Tcl."" 1>&2
d969 1
a969 1
echo "configure:1206: checking for pthread_mutex_init in -lpthread" >&5
d977 1
a977 1
#line 1214 "configure"
d988 1
a988 1
if { (eval echo configure:1225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1016 1
a1016 1
echo "configure:1253: checking for __pthread_mutex_init in -lpthread" >&5
d1024 1
a1024 1
#line 1261 "configure"
d1035 1
a1035 1
if { (eval echo configure:1272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1062 91
a1152 2
	    TCL_THREADS=0
	    echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
d1154 59
a1218 1

d1227 1
a1227 1
echo "configure:1317: checking if the compiler understands -pipe" >&5
d1231 1
a1231 1
#line 1321 "configure"
d1238 1
a1238 1
if { (eval echo configure:1328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1273 1
a1273 1
echo "configure:1363: checking for Tcl configuration" >&5
d1343 1
a1343 1
echo "configure:1433: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1374 1
a1374 1
echo "configure:1464: checking if 64bit support is requested" >&5
d1390 1
a1390 1
 
d1394 1
a1394 1
echo "configure:1484: checking if 64bit Sparc VIS support is requested" >&5
d1418 1
a1418 1
echo "configure:1508: checking system version (for dynamic loading)" >&5
d1440 2
d1448 2
d1454 1
a1454 1
echo "configure:1540: checking for dlopen in -ldl" >&5
d1462 1
a1462 1
#line 1548 "configure"
d1473 1
a1473 1
if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1515 1
d1517 7
a1523 5
	AIX-4.[2-9])
	    if test "$using_gcc" = "no" ; then
		# The IBM compiler has a bug with -O when compiling the
		# text widget code (TkTextPixelIndex segv)
		CFLAGS_OPTIMIZE=""
d1525 1
d1527 5
a1531 1
	    SHLIB_LD=$TCL_SHLIB_LD
d1535 2
a1536 1
	    DL_LIBS="-ldl ${TCL_BUILD_LIB_SPEC}"
d1538 15
a1552 3
	    LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
	    TCL_NEEDS_EXP_FILE=1
	    TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
d1555 7
d1563 1
a1563 1
	    SHLIB_LD=$TCL_SHLIB_LD
d1567 1
a1567 2
	    LIBOBJS="$LIBOBJS tclLoadAix.o"
	    DL_LIBS="-lld ${TCL_BUILD_LIB_SPEC}"
d1572 67
d1673 1
a1673 1
echo "configure:1665: checking for shl_load in -ldld" >&5
d1681 1
a1681 1
#line 1673 "configure"
d1692 1
a1692 1
if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1734 12
a1745 1
	IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
d1799 1
a1799 1
echo "configure:1780: checking for dld.h" >&5
d1804 1
a1804 1
#line 1785 "configure"
d1809 1
a1809 1
{ (eval echo configure:1790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1864 1
a1864 1
echo "configure:1845: checking for dlfcn.h" >&5
d1869 1
a1869 1
#line 1850 "configure"
d1874 1
a1874 1
{ (eval echo configure:1855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1899 1
a1899 1
		LD_SEARCH_FLAGS=""
d1901 1
a1901 1
echo "configure:1882: checking for ELF" >&5
d1903 1
a1903 1
#line 1884 "configure"
d2007 15
a2098 1
	    do64bit_ok=no
d2118 1
a2118 1

d2141 3
d2156 1
a2156 1
echo "configure:2120: checking for ld accepts -Bexport flag" >&5
d2159 1
a2159 1
#line 2123 "configure"
d2166 1
a2166 1
if { (eval echo configure:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2212 1
a2212 1
echo "configure:2176: checking sys/exec.h" >&5
d2214 1
a2214 1
#line 2178 "configure"
d2232 1
a2232 1
if { (eval echo configure:2196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2250 1
a2250 1
echo "configure:2214: checking a.out.h" >&5
d2252 1
a2252 1
#line 2216 "configure"
d2270 1
a2270 1
if { (eval echo configure:2234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2288 1
a2288 1
echo "configure:2252: checking sys/exec_aout.h" >&5
d2290 1
a2290 1
#line 2254 "configure"
d2308 1
a2308 1
if { (eval echo configure:2272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2367 1
a2367 1
		AIX-*)
d2377 2
d2403 1
a2403 1
echo "configure:2365: checking for build with symbols" >&5
d2447 1
a2447 1
echo "configure:2409: checking for sin" >&5
d2452 1
a2452 1
#line 2414 "configure"
d2475 1
a2475 1
if { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2496 1
a2496 1
echo "configure:2458: checking for main in -lieee" >&5
d2504 1
a2504 1
#line 2466 "configure"
d2511 1
a2511 1
if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2542 1
a2542 1
echo "configure:2504: checking for gettimeofday in -lbsd" >&5
d2550 1
a2550 1
#line 2512 "configure"
d2561 1
a2561 1
if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2592 1
a2592 1
echo "configure:2554: checking stdlib.h" >&5
d2594 1
a2594 1
#line 2556 "configure"
d2609 1
a2609 1
#line 2571 "configure"
d2623 1
a2623 1
#line 2585 "configure"
d2655 1
a2655 1
echo "configure:2617: checking fd_set and sys/select" >&5
d2657 1
a2657 1
#line 2619 "configure"
d2664 1
a2664 1
if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2676 1
a2676 1
#line 2638 "configure"
d2708 1
a2708 1
echo "configure:2670: checking for ANSI C header files" >&5
d2713 1
a2713 1
#line 2675 "configure"
d2721 1
a2721 1
{ (eval echo configure:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2738 1
a2738 1
#line 2700 "configure"
d2756 1
a2756 1
#line 2718 "configure"
d2777 1
a2777 1
#line 2739 "configure"
d2788 1
a2788 1
if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2812 1
a2812 1
echo "configure:2774: checking for mode_t" >&5
d2817 1
a2817 1
#line 2779 "configure"
d2845 1
a2845 1
echo "configure:2807: checking for pid_t" >&5
d2850 1
a2850 1
#line 2812 "configure"
d2878 1
a2878 1
echo "configure:2840: checking for size_t" >&5
d2883 1
a2883 1
#line 2845 "configure"
d2911 1
a2911 1
echo "configure:2873: checking for uid_t in sys/types.h" >&5
d2916 1
a2916 1
#line 2878 "configure"
d2953 1
a2953 1
echo "configure:2915: checking for $ac_hdr" >&5
d2958 1
a2958 1
#line 2920 "configure"
d2963 1
a2963 1
{ (eval echo configure:2925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2990 1
a2990 1
echo "configure:2952: checking whether time.h and sys/time.h may both be included" >&5
d2995 1
a2995 1
#line 2957 "configure"
d3004 1
a3004 1
if { (eval echo configure:2966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3030 1
a3030 1
echo "configure:2992: checking pw_gecos in struct pwd" >&5
d3032 1
a3032 1
#line 2994 "configure"
d3039 1
a3039 1
if { (eval echo configure:3001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3072 1
a3072 1
echo "configure:3034: checking for X" >&5
d3134 1
a3134 1
#line 3096 "configure"
d3139 1
a3139 1
{ (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3208 1
a3208 1
#line 3170 "configure"
d3215 1
a3215 1
if { (eval echo configure:3177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3305 1
a3305 1
#line 3267 "configure"
d3310 1
a3310 1
{ (eval echo configure:3272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3330 1
a3330 1
echo "configure:3292: checking for X11 header files" >&5
d3333 1
a3333 1
#line 3295 "configure"
d3338 1
a3338 1
{ (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3374 1
a3374 1
echo "configure:3336: checking for X11 libraries" >&5
d3394 1
a3394 1
echo "configure:3356: checking for XCreateWindow in -lXwindow" >&5
d3402 1
a3402 1
#line 3364 "configure"
d3413 1
a3413 1
if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3498 1
a3498 1
echo "configure:3460: checking for main in -lXbsd" >&5
d3506 1
a3506 1
#line 3468 "configure"
d3513 1
a3513 1
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3536 1
a3536 1
echo "configure:3498: checking for connect" >&5
d3541 1
a3541 1
#line 3503 "configure"
d3564 1
a3564 1
if { (eval echo configure:3526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3586 1
a3586 1
echo "configure:3548: checking for main in -lsocket" >&5
d3594 1
a3594 1
#line 3556 "configure"
d3601 1
a3601 1
if { (eval echo configure:3563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3627 1
a3627 1
echo "configure:3589: checking for accept" >&5
d3632 1
a3632 1
#line 3594 "configure"
d3655 1
a3655 1
if { (eval echo configure:3617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3677 1
a3677 1
echo "configure:3639: checking for gethostbyname" >&5
d3682 1
a3682 1
#line 3644 "configure"
d3705 1
a3705 1
if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3723 1
a3723 1
echo "configure:3685: checking for main in -lnsl" >&5
d3731 1
a3731 1
#line 3693 "configure"
d3738 1
a3738 1
if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3778 1
a3778 1
echo "configure:3740: checking MIT X libraries" >&5
d3784 1
a3784 1
#line 3746 "configure"
d3795 1
a3795 1
if { (eval echo configure:3757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3822 1
a3822 1
echo "configure:3784: checking for sin" >&5
d3827 1
a3827 1
#line 3789 "configure"
d3850 1
a3850 1
if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3871 1
a3871 1
echo "configure:3833: checking for main in -lieee" >&5
d3879 1
a3879 1
#line 3841 "configure"
d3886 1
a3886 1
if { (eval echo configure:3848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3913 1
a3913 1
echo "configure:3875: checking whether char is unsigned" >&5
d3920 1
a3920 1
#line 3882 "configure"
d3942 1
a3942 1
#line 3904 "configure"
d3952 1
a3952 1
if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3985 1
a3985 1
echo "configure:3947: checking for strtod" >&5
d3990 1
a3990 1
#line 3952 "configure"
d4013 1
a4013 1
if { (eval echo configure:3975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4027 1
a4027 1
  tk_strtod=1
d4030 1
a4030 1
tk_strtod=0
d4033 3
a4035 3
    if test "$tk_strtod" = 1; then
	echo $ac_n "checking for Solaris 2.4 strtod bug""... $ac_c" 1>&6
echo "configure:3997: checking for Solaris 2.4 strtod bug" >&5
d4037 1
a4037 1
  tk_ok=0
d4040 1
a4040 1
#line 4002 "configure"
d4053 2
a4054 2
		value = strtod(string, &term);
		if (term == (string+1)) {
d4060 1
a4060 1
if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4062 1
a4062 1
  tk_ok=1
d4067 1
a4067 1
  tk_ok=0
d4072 1
a4072 1
	if test "$tk_ok" = 1; then
d4076 1
d4092 1
a4092 1
echo "configure:4053: checking how to build libraries" >&5
d4253 1
d4398 1
a4399 1
s%@@CC@@%$CC%g
d4450 1
@


1.3.2.2
log
@Corrected typos.
@
text
@d542 1
a542 1
# RCS: @@(#) $Id: configure.in,v 1.49.2.2 2001/04/04 07:57:18 hobbs Exp $
@


1.3.2.3
log
@2001-08-06  Jeff Hobbs  <jeffh@@ActiveState.com>

	* unix/configure: regenerated
	* unix/aclocal.m4: added GNU (HURD) configuration target. (brinkmann)
	[Patch: #442974]
@
text
@d1725 1
a1725 12
	IRIX-5.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    EXTRA_CFLAGS=""
	    LDFLAGS=""
	    ;;
	IRIX-6.*|IRIX64-6.5*)
d1779 1
a1779 1
echo "configure:1791: checking for dld.h" >&5
d1784 1
a1784 1
#line 1796 "configure"
d1789 1
a1789 1
{ (eval echo configure:1801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1819 55
	GNU*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"

	    if test "$have_dl" = yes; then
		SHLIB_LD="${CC} -shared"
		DL_OBJS=""
		DL_LIBS="-ldl"
		LDFLAGS="-rdynamic"
		LD_SEARCH_FLAGS=""
	    else
		ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dld.h""... $ac_c" 1>&6
echo "configure:1846: checking for dld.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1851 "configure"
#include "confdefs.h"
#include <dld.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
		    SHLIB_LD="ld -shared"
		    DL_OBJS=""
		    DL_LIBS="-ldld"
		    LDFLAGS=""
		    LD_SEARCH_FLAGS=""
else
  echo "$ac_t""no" 1>&6
fi

	    fi
	    if test "`uname -m`" = "alpha" ; then
		EXTRA_CFLAGS="-mieee"
	    fi
	    ;;
d1844 1
a1844 1
echo "configure:1911: checking for dlfcn.h" >&5
d1849 1
a1849 1
#line 1916 "configure"
d1854 1
a1854 1
{ (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1881 1
a1881 1
echo "configure:1948: checking for ELF" >&5
d1883 1
a1883 1
#line 1950 "configure"
d2119 1
a2119 1
echo "configure:2186: checking for ld accepts -Bexport flag" >&5
d2122 1
a2122 1
#line 2189 "configure"
d2129 1
a2129 1
if { (eval echo configure:2196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2175 1
a2175 1
echo "configure:2242: checking sys/exec.h" >&5
d2177 1
a2177 1
#line 2244 "configure"
d2195 1
a2195 1
if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2213 1
a2213 1
echo "configure:2280: checking a.out.h" >&5
d2215 1
a2215 1
#line 2282 "configure"
d2233 1
a2233 1
if { (eval echo configure:2300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2251 1
a2251 1
echo "configure:2318: checking sys/exec_aout.h" >&5
d2253 1
a2253 1
#line 2320 "configure"
d2271 1
a2271 1
if { (eval echo configure:2338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2364 1
a2364 1
echo "configure:2431: checking for build with symbols" >&5
d2408 1
a2408 1
echo "configure:2475: checking for sin" >&5
d2413 1
a2413 1
#line 2480 "configure"
d2436 1
a2436 1
if { (eval echo configure:2503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2457 1
a2457 1
echo "configure:2524: checking for main in -lieee" >&5
d2465 1
a2465 1
#line 2532 "configure"
d2472 1
a2472 1
if { (eval echo configure:2539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2503 1
a2503 1
echo "configure:2570: checking for gettimeofday in -lbsd" >&5
d2511 1
a2511 1
#line 2578 "configure"
d2522 1
a2522 1
if { (eval echo configure:2589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2553 1
a2553 1
echo "configure:2620: checking stdlib.h" >&5
d2555 1
a2555 1
#line 2622 "configure"
d2570 1
a2570 1
#line 2637 "configure"
d2584 1
a2584 1
#line 2651 "configure"
d2616 1
a2616 1
echo "configure:2683: checking fd_set and sys/select" >&5
d2618 1
a2618 1
#line 2685 "configure"
d2625 1
a2625 1
if { (eval echo configure:2692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2637 1
a2637 1
#line 2704 "configure"
d2669 1
a2669 1
echo "configure:2736: checking for ANSI C header files" >&5
d2674 1
a2674 1
#line 2741 "configure"
d2682 1
a2682 1
{ (eval echo configure:2749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2699 1
a2699 1
#line 2766 "configure"
d2717 1
a2717 1
#line 2784 "configure"
d2738 1
a2738 1
#line 2805 "configure"
d2749 1
a2749 1
if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2773 1
a2773 1
echo "configure:2840: checking for mode_t" >&5
d2778 1
a2778 1
#line 2845 "configure"
d2806 1
a2806 1
echo "configure:2873: checking for pid_t" >&5
d2811 1
a2811 1
#line 2878 "configure"
d2839 1
a2839 1
echo "configure:2906: checking for size_t" >&5
d2844 1
a2844 1
#line 2911 "configure"
d2872 1
a2872 1
echo "configure:2939: checking for uid_t in sys/types.h" >&5
d2877 1
a2877 1
#line 2944 "configure"
d2914 1
a2914 1
echo "configure:2981: checking for $ac_hdr" >&5
d2919 1
a2919 1
#line 2986 "configure"
d2924 1
a2924 1
{ (eval echo configure:2991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2951 1
a2951 1
echo "configure:3018: checking whether time.h and sys/time.h may both be included" >&5
d2956 1
a2956 1
#line 3023 "configure"
d2965 1
a2965 1
if { (eval echo configure:3032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2991 1
a2991 1
echo "configure:3058: checking pw_gecos in struct pwd" >&5
d2993 1
a2993 1
#line 3060 "configure"
d3000 1
a3000 1
if { (eval echo configure:3067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3033 1
a3033 1
echo "configure:3100: checking for X" >&5
d3095 1
a3095 1
#line 3162 "configure"
d3100 1
a3100 1
{ (eval echo configure:3167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3169 1
a3169 1
#line 3236 "configure"
d3176 1
a3176 1
if { (eval echo configure:3243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3266 1
a3266 1
#line 3333 "configure"
d3271 1
a3271 1
{ (eval echo configure:3338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3291 1
a3291 1
echo "configure:3358: checking for X11 header files" >&5
d3294 1
a3294 1
#line 3361 "configure"
d3299 1
a3299 1
{ (eval echo configure:3366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3335 1
a3335 1
echo "configure:3402: checking for X11 libraries" >&5
d3355 1
a3355 1
echo "configure:3422: checking for XCreateWindow in -lXwindow" >&5
d3363 1
a3363 1
#line 3430 "configure"
d3374 1
a3374 1
if { (eval echo configure:3441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3459 1
a3459 1
echo "configure:3526: checking for main in -lXbsd" >&5
d3467 1
a3467 1
#line 3534 "configure"
d3474 1
a3474 1
if { (eval echo configure:3541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3497 1
a3497 1
echo "configure:3564: checking for connect" >&5
d3502 1
a3502 1
#line 3569 "configure"
d3525 1
a3525 1
if { (eval echo configure:3592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3547 1
a3547 1
echo "configure:3614: checking for main in -lsocket" >&5
d3555 1
a3555 1
#line 3622 "configure"
d3562 1
a3562 1
if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3588 1
a3588 1
echo "configure:3655: checking for accept" >&5
d3593 1
a3593 1
#line 3660 "configure"
d3616 1
a3616 1
if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3638 1
a3638 1
echo "configure:3705: checking for gethostbyname" >&5
d3643 1
a3643 1
#line 3710 "configure"
d3666 1
a3666 1
if { (eval echo configure:3733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3684 1
a3684 1
echo "configure:3751: checking for main in -lnsl" >&5
d3692 1
a3692 1
#line 3759 "configure"
d3699 1
a3699 1
if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3739 1
a3739 1
echo "configure:3806: checking MIT X libraries" >&5
d3745 1
a3745 1
#line 3812 "configure"
d3756 1
a3756 1
if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3783 1
a3783 1
echo "configure:3850: checking for sin" >&5
d3788 1
a3788 1
#line 3855 "configure"
d3811 1
a3811 1
if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3832 1
a3832 1
echo "configure:3899: checking for main in -lieee" >&5
d3840 1
a3840 1
#line 3907 "configure"
d3847 1
a3847 1
if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3874 1
a3874 1
echo "configure:3941: checking whether char is unsigned" >&5
d3881 1
a3881 1
#line 3948 "configure"
d3903 1
a3903 1
#line 3970 "configure"
d3913 1
a3913 1
if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3946 1
a3946 1
echo "configure:4013: checking for strtod" >&5
d3951 1
a3951 1
#line 4018 "configure"
d3974 1
a3974 1
if { (eval echo configure:4041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3996 1
a3996 1
echo "configure:4063: checking for Solaris 2.4 strtod bug" >&5
d4001 1
a4001 1
#line 4068 "configure"
d4021 1
a4021 1
if { (eval echo configure:4088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4052 1
a4052 1
echo "configure:4119: checking how to build libraries" >&5
@


1.3.2.4
log
@added QNX-6 build support. [Bug #219410] (loverso)
@
text
@a2053 13
	QNX-6*)
	    # QNX RTP
	    # This may work for all QNX, but it was only reported for v6.
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="ld -Bshareable -x"
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    # dlopen is in -lc on QNX
	    DL_LIBS=""
	    LDFLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
d2185 1
a2185 1
echo "configure:2199: checking for ld accepts -Bexport flag" >&5
d2188 1
a2188 1
#line 2202 "configure"
d2195 1
a2195 1
if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2241 1
a2241 1
echo "configure:2255: checking sys/exec.h" >&5
d2243 1
a2243 1
#line 2257 "configure"
d2261 1
a2261 1
if { (eval echo configure:2275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2279 1
a2279 1
echo "configure:2293: checking a.out.h" >&5
d2281 1
a2281 1
#line 2295 "configure"
d2299 1
a2299 1
if { (eval echo configure:2313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2317 1
a2317 1
echo "configure:2331: checking sys/exec_aout.h" >&5
d2319 1
a2319 1
#line 2333 "configure"
d2337 1
a2337 1
if { (eval echo configure:2351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2430 1
a2430 1
echo "configure:2444: checking for build with symbols" >&5
d2474 1
a2474 1
echo "configure:2488: checking for sin" >&5
d2479 1
a2479 1
#line 2493 "configure"
d2502 1
a2502 1
if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2523 1
a2523 1
echo "configure:2537: checking for main in -lieee" >&5
d2531 1
a2531 1
#line 2545 "configure"
d2538 1
a2538 1
if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2569 1
a2569 1
echo "configure:2583: checking for gettimeofday in -lbsd" >&5
d2577 1
a2577 1
#line 2591 "configure"
d2588 1
a2588 1
if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2619 1
a2619 1
echo "configure:2633: checking stdlib.h" >&5
d2621 1
a2621 1
#line 2635 "configure"
d2636 1
a2636 1
#line 2650 "configure"
d2650 1
a2650 1
#line 2664 "configure"
d2682 1
a2682 1
echo "configure:2696: checking fd_set and sys/select" >&5
d2684 1
a2684 1
#line 2698 "configure"
d2691 1
a2691 1
if { (eval echo configure:2705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2703 1
a2703 1
#line 2717 "configure"
d2735 1
a2735 1
echo "configure:2749: checking for ANSI C header files" >&5
d2740 1
a2740 1
#line 2754 "configure"
d2748 1
a2748 1
{ (eval echo configure:2762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2765 1
a2765 1
#line 2779 "configure"
d2783 1
a2783 1
#line 2797 "configure"
d2804 1
a2804 1
#line 2818 "configure"
d2815 1
a2815 1
if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2839 1
a2839 1
echo "configure:2853: checking for mode_t" >&5
d2844 1
a2844 1
#line 2858 "configure"
d2872 1
a2872 1
echo "configure:2886: checking for pid_t" >&5
d2877 1
a2877 1
#line 2891 "configure"
d2905 1
a2905 1
echo "configure:2919: checking for size_t" >&5
d2910 1
a2910 1
#line 2924 "configure"
d2938 1
a2938 1
echo "configure:2952: checking for uid_t in sys/types.h" >&5
d2943 1
a2943 1
#line 2957 "configure"
d2980 1
a2980 1
echo "configure:2994: checking for $ac_hdr" >&5
d2985 1
a2985 1
#line 2999 "configure"
d2990 1
a2990 1
{ (eval echo configure:3004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3017 1
a3017 1
echo "configure:3031: checking whether time.h and sys/time.h may both be included" >&5
d3022 1
a3022 1
#line 3036 "configure"
d3031 1
a3031 1
if { (eval echo configure:3045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3057 1
a3057 1
echo "configure:3071: checking pw_gecos in struct pwd" >&5
d3059 1
a3059 1
#line 3073 "configure"
d3066 1
a3066 1
if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3099 1
a3099 1
echo "configure:3113: checking for X" >&5
d3161 1
a3161 1
#line 3175 "configure"
d3166 1
a3166 1
{ (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3235 1
a3235 1
#line 3249 "configure"
d3242 1
a3242 1
if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3332 1
a3332 1
#line 3346 "configure"
d3337 1
a3337 1
{ (eval echo configure:3351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3357 1
a3357 1
echo "configure:3371: checking for X11 header files" >&5
d3360 1
a3360 1
#line 3374 "configure"
d3365 1
a3365 1
{ (eval echo configure:3379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3401 1
a3401 1
echo "configure:3415: checking for X11 libraries" >&5
d3421 1
a3421 1
echo "configure:3435: checking for XCreateWindow in -lXwindow" >&5
d3429 1
a3429 1
#line 3443 "configure"
d3440 1
a3440 1
if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3525 1
a3525 1
echo "configure:3539: checking for main in -lXbsd" >&5
d3533 1
a3533 1
#line 3547 "configure"
d3540 1
a3540 1
if { (eval echo configure:3554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3563 1
a3563 1
echo "configure:3577: checking for connect" >&5
d3568 1
a3568 1
#line 3582 "configure"
d3591 1
a3591 1
if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3613 1
a3613 1
echo "configure:3627: checking for main in -lsocket" >&5
d3621 1
a3621 1
#line 3635 "configure"
d3628 1
a3628 1
if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3654 1
a3654 1
echo "configure:3668: checking for accept" >&5
d3659 1
a3659 1
#line 3673 "configure"
d3682 1
a3682 1
if { (eval echo configure:3696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3704 1
a3704 1
echo "configure:3718: checking for gethostbyname" >&5
d3709 1
a3709 1
#line 3723 "configure"
d3732 1
a3732 1
if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3750 1
a3750 1
echo "configure:3764: checking for main in -lnsl" >&5
d3758 1
a3758 1
#line 3772 "configure"
d3765 1
a3765 1
if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3805 1
a3805 1
echo "configure:3819: checking MIT X libraries" >&5
d3811 1
a3811 1
#line 3825 "configure"
d3822 1
a3822 1
if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3849 1
a3849 1
echo "configure:3863: checking for sin" >&5
d3854 1
a3854 1
#line 3868 "configure"
d3877 1
a3877 1
if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3898 1
a3898 1
echo "configure:3912: checking for main in -lieee" >&5
d3906 1
a3906 1
#line 3920 "configure"
d3913 1
a3913 1
if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3940 1
a3940 1
echo "configure:3954: checking whether char is unsigned" >&5
d3947 1
a3947 1
#line 3961 "configure"
d3969 1
a3969 1
#line 3983 "configure"
d3979 1
a3979 1
if { (eval echo configure:3993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4012 1
a4012 1
echo "configure:4026: checking for strtod" >&5
d4017 1
a4017 1
#line 4031 "configure"
d4040 1
a4040 1
if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4062 1
a4062 1
echo "configure:4076: checking for Solaris 2.4 strtod bug" >&5
d4067 1
a4067 1
#line 4081 "configure"
d4087 1
a4087 1
if { (eval echo configure:4101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4118 1
a4118 1
echo "configure:4132: checking how to build libraries" >&5
@


1.3.2.5
log
@	* unix/configure: regen'ed
	* unix/aclocal.m4: added --enable-64bit support for HP-11 with the
	64-bit kernel.
@
text
@d1661 1
a1661 1
	HP-UX-*.11.*)
a1712 62
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="+DA2.0W"
		    LDFLAGS="+DA2.0W $LDFLAGS"
		fi
	    fi
	    ;;
	HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
	    SHLIB_SUFFIX=".sl"
	    echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:1727: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-ldld  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1735 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_load();

int main() {
shl_load()
; return 0; }
EOF
if { (eval echo configure:1746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

	    if test "$tcl_ok" = yes; then
		SHLIB_CFLAGS="+z"
		SHLIB_LD="ld -b"
		SHLIB_LD_LIBS=""
		DL_OBJS="tclLoadShl.o"
		DL_LIBS="-ldld"
		LDFLAGS="-Wl,-E"
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
	    fi
d1790 1
a1790 1
echo "configure:1853: checking for dld.h" >&5
d1795 1
a1795 1
#line 1858 "configure"
d1800 1
a1800 1
{ (eval echo configure:1863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1845 1
a1845 1
echo "configure:1908: checking for dld.h" >&5
d1850 1
a1850 1
#line 1913 "configure"
d1855 1
a1855 1
{ (eval echo configure:1918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1910 1
a1910 1
echo "configure:1973: checking for dlfcn.h" >&5
d1915 1
a1915 1
#line 1978 "configure"
d1920 1
a1920 1
{ (eval echo configure:1983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1947 1
a1947 1
echo "configure:2010: checking for ELF" >&5
d1949 1
a1949 1
#line 2012 "configure"
d2198 1
a2198 1
echo "configure:2261: checking for ld accepts -Bexport flag" >&5
d2201 1
a2201 1
#line 2264 "configure"
d2208 1
a2208 1
if { (eval echo configure:2271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2254 1
a2254 1
echo "configure:2317: checking sys/exec.h" >&5
d2256 1
a2256 1
#line 2319 "configure"
d2274 1
a2274 1
if { (eval echo configure:2337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2292 1
a2292 1
echo "configure:2355: checking a.out.h" >&5
d2294 1
a2294 1
#line 2357 "configure"
d2312 1
a2312 1
if { (eval echo configure:2375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2330 1
a2330 1
echo "configure:2393: checking sys/exec_aout.h" >&5
d2332 1
a2332 1
#line 2395 "configure"
d2350 1
a2350 1
if { (eval echo configure:2413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2443 1
a2443 1
echo "configure:2506: checking for build with symbols" >&5
d2487 1
a2487 1
echo "configure:2550: checking for sin" >&5
d2492 1
a2492 1
#line 2555 "configure"
d2515 1
a2515 1
if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2536 1
a2536 1
echo "configure:2599: checking for main in -lieee" >&5
d2544 1
a2544 1
#line 2607 "configure"
d2551 1
a2551 1
if { (eval echo configure:2614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2582 1
a2582 1
echo "configure:2645: checking for gettimeofday in -lbsd" >&5
d2590 1
a2590 1
#line 2653 "configure"
d2601 1
a2601 1
if { (eval echo configure:2664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2632 1
a2632 1
echo "configure:2695: checking stdlib.h" >&5
d2634 1
a2634 1
#line 2697 "configure"
d2649 1
a2649 1
#line 2712 "configure"
d2663 1
a2663 1
#line 2726 "configure"
d2695 1
a2695 1
echo "configure:2758: checking fd_set and sys/select" >&5
d2697 1
a2697 1
#line 2760 "configure"
d2704 1
a2704 1
if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2716 1
a2716 1
#line 2779 "configure"
d2748 1
a2748 1
echo "configure:2811: checking for ANSI C header files" >&5
d2753 1
a2753 1
#line 2816 "configure"
d2761 1
a2761 1
{ (eval echo configure:2824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2778 1
a2778 1
#line 2841 "configure"
d2796 1
a2796 1
#line 2859 "configure"
d2817 1
a2817 1
#line 2880 "configure"
d2828 1
a2828 1
if { (eval echo configure:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2852 1
a2852 1
echo "configure:2915: checking for mode_t" >&5
d2857 1
a2857 1
#line 2920 "configure"
d2885 1
a2885 1
echo "configure:2948: checking for pid_t" >&5
d2890 1
a2890 1
#line 2953 "configure"
d2918 1
a2918 1
echo "configure:2981: checking for size_t" >&5
d2923 1
a2923 1
#line 2986 "configure"
d2951 1
a2951 1
echo "configure:3014: checking for uid_t in sys/types.h" >&5
d2956 1
a2956 1
#line 3019 "configure"
d2993 1
a2993 1
echo "configure:3056: checking for $ac_hdr" >&5
d2998 1
a2998 1
#line 3061 "configure"
d3003 1
a3003 1
{ (eval echo configure:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3030 1
a3030 1
echo "configure:3093: checking whether time.h and sys/time.h may both be included" >&5
d3035 1
a3035 1
#line 3098 "configure"
d3044 1
a3044 1
if { (eval echo configure:3107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3070 1
a3070 1
echo "configure:3133: checking pw_gecos in struct pwd" >&5
d3072 1
a3072 1
#line 3135 "configure"
d3079 1
a3079 1
if { (eval echo configure:3142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3112 1
a3112 1
echo "configure:3175: checking for X" >&5
d3174 1
a3174 1
#line 3237 "configure"
d3179 1
a3179 1
{ (eval echo configure:3242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3248 1
a3248 1
#line 3311 "configure"
d3255 1
a3255 1
if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3345 1
a3345 1
#line 3408 "configure"
d3350 1
a3350 1
{ (eval echo configure:3413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3370 1
a3370 1
echo "configure:3433: checking for X11 header files" >&5
d3373 1
a3373 1
#line 3436 "configure"
d3378 1
a3378 1
{ (eval echo configure:3441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3414 1
a3414 1
echo "configure:3477: checking for X11 libraries" >&5
d3434 1
a3434 1
echo "configure:3497: checking for XCreateWindow in -lXwindow" >&5
d3442 1
a3442 1
#line 3505 "configure"
d3453 1
a3453 1
if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3538 1
a3538 1
echo "configure:3601: checking for main in -lXbsd" >&5
d3546 1
a3546 1
#line 3609 "configure"
d3553 1
a3553 1
if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3576 1
a3576 1
echo "configure:3639: checking for connect" >&5
d3581 1
a3581 1
#line 3644 "configure"
d3604 1
a3604 1
if { (eval echo configure:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3626 1
a3626 1
echo "configure:3689: checking for main in -lsocket" >&5
d3634 1
a3634 1
#line 3697 "configure"
d3641 1
a3641 1
if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3667 1
a3667 1
echo "configure:3730: checking for accept" >&5
d3672 1
a3672 1
#line 3735 "configure"
d3695 1
a3695 1
if { (eval echo configure:3758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3717 1
a3717 1
echo "configure:3780: checking for gethostbyname" >&5
d3722 1
a3722 1
#line 3785 "configure"
d3745 1
a3745 1
if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3763 1
a3763 1
echo "configure:3826: checking for main in -lnsl" >&5
d3771 1
a3771 1
#line 3834 "configure"
d3778 1
a3778 1
if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3818 1
a3818 1
echo "configure:3881: checking MIT X libraries" >&5
d3824 1
a3824 1
#line 3887 "configure"
d3835 1
a3835 1
if { (eval echo configure:3898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3862 1
a3862 1
echo "configure:3925: checking for sin" >&5
d3867 1
a3867 1
#line 3930 "configure"
d3890 1
a3890 1
if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3911 1
a3911 1
echo "configure:3974: checking for main in -lieee" >&5
d3919 1
a3919 1
#line 3982 "configure"
d3926 1
a3926 1
if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3953 1
a3953 1
echo "configure:4016: checking whether char is unsigned" >&5
d3960 1
a3960 1
#line 4023 "configure"
d3982 1
a3982 1
#line 4045 "configure"
d3992 1
a3992 1
if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4025 1
a4025 1
echo "configure:4088: checking for strtod" >&5
d4030 1
a4030 1
#line 4093 "configure"
d4053 1
a4053 1
if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4075 1
a4075 1
echo "configure:4138: checking for Solaris 2.4 strtod bug" >&5
d4080 1
a4080 1
#line 4143 "configure"
d4100 1
a4100 1
if { (eval echo configure:4163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4131 1
a4131 1
echo "configure:4194: checking how to build libraries" >&5
@


1.3.2.6
log
@updated patchlevel to 8.3.4.
updated READMEs to point to www.tcl-tk.net where applicable.
added proper Win64 support to makefiles.
@
text
@d547 1
a547 1
TK_PATCH_LEVEL=".4"
d1202 1
a1202 3
	cat >> confdefs.h <<\EOF
#define _THREAD_SAFE 1
EOF
d1205 1
a1205 1
echo "configure:1208: checking for pthread_mutex_init in -lpthread" >&5
d1213 1
a1213 1
#line 1216 "configure"
d1224 1
a1224 1
if { (eval echo configure:1227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1252 1
a1252 1
echo "configure:1255: checking for __pthread_mutex_init in -lpthread" >&5
d1260 1
a1260 1
#line 1263 "configure"
d1271 1
a1271 1
if { (eval echo configure:1274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1298 2
a1299 91
	    echo $ac_n "checking for pthread_mutex_init in -lpthreads""... $ac_c" 1>&6
echo "configure:1302: checking for pthread_mutex_init in -lpthreads" >&5
ac_lib_var=`echo pthreads'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lpthreads  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1310 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

	    if test "$tcl_ok" = "yes"; then
		# The space is needed
		THREADS_LIBS=" -lpthreads"
	    else
		echo $ac_n "checking for pthread_mutex_init in -lc""... $ac_c" 1>&6
echo "configure:1347: checking for pthread_mutex_init in -lc" >&5
ac_lib_var=`echo c'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lc  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1355 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

	    	if test "$tcl_ok" = "no"; then
	    	    TCL_THREADS=0
		    echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
	    	fi
	    fi
a1300 59

	# Does the pthread-implementation provide
	# 'pthread_attr_setstacksize' ?

	for ac_func in pthread_attr_setstacksize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1400: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1405 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:1428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

d1305 1
a1305 1
    
d1316 1
a1316 1
echo "configure:1467: checking if the compiler understands -pipe" >&5
d1320 1
a1320 1
#line 1471 "configure"
d1327 1
a1327 1
if { (eval echo configure:1478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1362 1
a1362 1
echo "configure:1513: checking for Tcl configuration" >&5
d1368 1
a1368 1
	    # First check to see if --with-tcl was specified.
d1396 1
a1396 4
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			; do
d1405 1
a1405 1
	    if test x"${ac_cv_c_tclconfig}" = x ; then
d1432 1
a1432 1
echo "configure:1586: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1463 1
a1463 1
echo "configure:1617: checking if 64bit support is requested" >&5
d1483 1
a1483 1
echo "configure:1637: checking if 64bit Sparc VIS support is requested" >&5
d1507 1
a1507 1
echo "configure:1661: checking system version (for dynamic loading)" >&5
d1529 6
d1539 1
a1539 1
echo "configure:1687: checking for dlopen in -ldl" >&5
d1547 1
a1547 1
#line 1695 "configure"
d1558 1
a1558 1
if { (eval echo configure:1706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1592 1
a1592 1
    if test "$GCC" = "yes" ; then
a1599 30
    # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1751: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
AR="$ac_cv_prog_AR"
if test -n "$AR"; then
  echo "$ac_t""$AR" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

    STLIB_LD='${AR} cr'
d1601 5
a1605 7
	AIX-5.*)
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
		# AIX requires the _r compiler when gcc isn't being used
		if test "${CC}" != "cc_r" ; then
		    CC=${CC}_r
		fi
		echo "$ac_t""Using $CC for compiling with threads" 1>&6
a1606 1
	    # AIX-5 uses ELF style dynamic libraries
d1608 1
a1608 5
	    SHLIB_LD="/usr/ccs/bin/ld -G -z text"

	    # Note: need the LIBS below, otherwise Tk won't find Tcl's
	    # symbols when dynamically loaded into tclsh.

d1612 1
a1612 2
	    # AIX-5 has dl* in libc.so
	    DL_LIBS=""
d1614 3
a1616 15
	    if test "$GCC" = "yes" ; then
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
	    else
		LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
	    fi

	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		fi
	    fi
a1618 7
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
		# AIX requires the _r compiler when gcc isn't being used
		if test "${CC}" != "cc_r" ; then
		    CC=${CC}_r
		fi
		echo "$ac_t""Using $CC for compiling with threads" 1>&6
	    fi
d1620 1
a1620 1
	    SHLIB_LD="$fullSrcDir/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d1624 2
a1625 1
	    DL_LIBS="-ldl"
a1629 67

	    # AIX v<=4.1 has some different flags than 4.2+
	    if test "$system" = "AIX-4.1" -o "`uname -v`" -lt "4" ; then
		LIBOBJS="$LIBOBJS tclLoadAix.o"
		DL_LIBS="-lld"
	    fi

	    # On AIX <=v4 systems, libbsd.a has to be linked in to support
	    # non-blocking file IO.  This library has to be linked in after
	    # the MATH_LIBS or it breaks the pow() function.  The way to
	    # insure proper sequencing, is to add it to the tail of MATH_LIBS.
	    # This library also supplies gettimeofday.
	    #
	    # AIX does not have a timezone field in struct tm. When the AIX
	    # bsd library is used, the timezone global and the gettimeofday
	    # methods are to be avoided for timezone deduction instead, we
	    # deduce the timezone by comparing the localtime result on a
	    # known GMT value.

	    echo $ac_n "checking for gettimeofday in -lbsd""... $ac_c" 1>&6
echo "configure:1854: checking for gettimeofday in -lbsd" >&5
ac_lib_var=`echo bsd'_'gettimeofday | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lbsd  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1862 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gettimeofday();

int main() {
gettimeofday()
; return 0; }
EOF
if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  libbsd=yes
else
  echo "$ac_t""no" 1>&6
libbsd=no
fi

	    if test $libbsd = yes; then
	    	MATH_LIBS="$MATH_LIBS -lbsd"
	    	cat >> confdefs.h <<\EOF
#define USE_DELTA_FOR_TZ 1
EOF

	    fi
d1664 1
a1664 1
echo "configure:1935: checking for shl_load in -ldld" >&5
d1672 1
a1672 1
#line 1943 "configure"
d1683 1
a1683 1
if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1726 1
a1726 1
echo "configure:1997: checking for shl_load in -ldld" >&5
d1734 1
a1734 1
#line 2005 "configure"
d1745 1
a1745 1
if { (eval echo configure:2016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1806 1
a1806 1
	    if test "$GCC" = "yes" ; then
d1852 1
a1852 1
echo "configure:2123: checking for dld.h" >&5
d1857 1
a1857 1
#line 2128 "configure"
d1862 1
a1862 1
{ (eval echo configure:2133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1891 12

	    # The combo of gcc + glibc has a bug related
	    # to inlining of functions like strtod(). The
	    # -fno-builtin flag should address this problem
	    # but it does not work. The -fno-inline flag
	    # is kind of overkill but it works.
	    # Disable inlining only when one of the
	    # files in compat/*.c is being linked in.
	    if test x"${LIBOBJS}" != x ; then
	        EXTRA_CFLAGS="${EXTRA_CFLAGS} -fno-inline"
	    fi

d1907 1
a1907 1
echo "configure:2190: checking for dld.h" >&5
d1912 1
a1912 1
#line 2195 "configure"
d1917 1
a1917 1
{ (eval echo configure:2200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1972 1
a1972 1
echo "configure:2255: checking for dlfcn.h" >&5
d1977 1
a1977 1
#line 2260 "configure"
d1982 1
a1982 1
{ (eval echo configure:2265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2007 1
a2007 1
		LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
d2009 1
a2009 1
echo "configure:2292: checking for ELF" >&5
d2011 1
a2011 1
#line 2294 "configure"
a2063 6

	    # FreeBSD doesn't handle version numbers with dots.

	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
	    TCL_LIB_VERSIONS_OK=nodots
a2114 14
	    if test "$GCC" != "yes" ; then
		EXTRA_CFLAGS="-DHAVE_TZSET -std1"
	    fi
	    # see pthread_intro(3) for pthread support on osf1, k.furukawa
	    if test "${TCL_THREADS}" = "1" ; then
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64"
		if test "$GCC" = "yes" ; then
		    LIBS=`echo $LIBS | sed s/-lpthreads//`
		    LIBS="$LIBS -lpthread -lmach -lexc"
		else
		    EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread"
		    LDFLAGS="-pthread"
		fi
	    fi
d2143 1
a2143 1
	    if test "$GCC" = "yes" ; then
a2186 9

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF


a2200 9

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF


d2205 1
d2209 1
a2209 3
			if test "$GCC" = "yes" ; then
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
			else 
d2218 2
d2233 1
a2233 1
	    if test "$GCC" = "yes" ; then
a2247 3
	    if test "$GCC" != "yes" ; then
		EXTRA_CFLAGS="-DHAVE_TZSET -std1"
	    fi
d2260 1
a2260 1
echo "configure:2583: checking for ld accepts -Bexport flag" >&5
d2263 1
a2263 1
#line 2586 "configure"
d2270 1
a2270 1
if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2316 1
a2316 1
echo "configure:2639: checking sys/exec.h" >&5
d2318 1
a2318 1
#line 2641 "configure"
d2336 1
a2336 1
if { (eval echo configure:2659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2354 1
a2354 1
echo "configure:2677: checking a.out.h" >&5
d2356 1
a2356 1
#line 2679 "configure"
d2374 1
a2374 1
if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2392 1
a2392 1
echo "configure:2715: checking sys/exec_aout.h" >&5
d2394 1
a2394 1
#line 2717 "configure"
d2412 1
a2412 1
if { (eval echo configure:2735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2469 1
a2469 1
	if test "$GCC" = "yes" ; then
a2480 2
		SCO_SV-3.2*)
		    ;;
d2505 1
a2505 1
echo "configure:2830: checking for build with symbols" >&5
a2513 1
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
d2515 2
a2516 2
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
d2520 2
a2521 2
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
d2529 1
d2549 1
a2549 1
echo "configure:2874: checking for sin" >&5
d2554 1
a2554 1
#line 2879 "configure"
d2577 1
a2577 1
if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2598 1
a2598 1
echo "configure:2923: checking for main in -lieee" >&5
d2606 1
a2606 1
#line 2931 "configure"
d2613 1
a2613 1
if { (eval echo configure:2938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2644 1
a2644 1
echo "configure:2969: checking for gettimeofday in -lbsd" >&5
d2652 1
a2652 1
#line 2977 "configure"
d2663 1
a2663 1
if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2694 1
a2694 1
echo "configure:3019: checking stdlib.h" >&5
d2696 1
a2696 1
#line 3021 "configure"
d2711 1
a2711 1
#line 3036 "configure"
d2725 1
a2725 1
#line 3050 "configure"
d2757 1
a2757 1
echo "configure:3082: checking fd_set and sys/select" >&5
d2759 1
a2759 1
#line 3084 "configure"
d2766 1
a2766 1
if { (eval echo configure:3091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2778 1
a2778 1
#line 3103 "configure"
d2810 1
a2810 1
echo "configure:3135: checking for ANSI C header files" >&5
d2815 1
a2815 1
#line 3140 "configure"
d2823 1
a2823 1
{ (eval echo configure:3148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2840 1
a2840 1
#line 3165 "configure"
d2858 1
a2858 1
#line 3183 "configure"
d2879 1
a2879 1
#line 3204 "configure"
d2890 1
a2890 1
if { (eval echo configure:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2914 1
a2914 1
echo "configure:3239: checking for mode_t" >&5
d2919 1
a2919 1
#line 3244 "configure"
d2947 1
a2947 1
echo "configure:3272: checking for pid_t" >&5
d2952 1
a2952 1
#line 3277 "configure"
d2980 1
a2980 1
echo "configure:3305: checking for size_t" >&5
d2985 1
a2985 1
#line 3310 "configure"
d3013 1
a3013 1
echo "configure:3338: checking for uid_t in sys/types.h" >&5
d3018 1
a3018 1
#line 3343 "configure"
d3055 1
a3055 1
echo "configure:3380: checking for $ac_hdr" >&5
d3060 1
a3060 1
#line 3385 "configure"
d3065 1
a3065 1
{ (eval echo configure:3390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3092 1
a3092 1
echo "configure:3417: checking whether time.h and sys/time.h may both be included" >&5
d3097 1
a3097 1
#line 3422 "configure"
d3106 1
a3106 1
if { (eval echo configure:3431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3132 1
a3132 1
echo "configure:3457: checking pw_gecos in struct pwd" >&5
d3134 1
a3134 1
#line 3459 "configure"
d3141 1
a3141 1
if { (eval echo configure:3466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3174 1
a3174 1
echo "configure:3499: checking for X" >&5
d3236 1
a3236 1
#line 3561 "configure"
d3241 1
a3241 1
{ (eval echo configure:3566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3310 1
a3310 1
#line 3635 "configure"
d3317 1
a3317 1
if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3407 1
a3407 1
#line 3732 "configure"
d3412 1
a3412 1
{ (eval echo configure:3737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3432 1
a3432 1
echo "configure:3757: checking for X11 header files" >&5
d3435 1
a3435 1
#line 3760 "configure"
d3440 1
a3440 1
{ (eval echo configure:3765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3476 1
a3476 1
echo "configure:3801: checking for X11 libraries" >&5
d3496 1
a3496 1
echo "configure:3821: checking for XCreateWindow in -lXwindow" >&5
d3504 1
a3504 1
#line 3829 "configure"
d3515 1
a3515 1
if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3600 1
a3600 1
echo "configure:3925: checking for main in -lXbsd" >&5
d3608 1
a3608 1
#line 3933 "configure"
d3615 1
a3615 1
if { (eval echo configure:3940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3638 1
a3638 1
echo "configure:3963: checking for connect" >&5
d3643 1
a3643 1
#line 3968 "configure"
d3666 1
a3666 1
if { (eval echo configure:3991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3688 1
a3688 1
echo "configure:4013: checking for main in -lsocket" >&5
d3696 1
a3696 1
#line 4021 "configure"
d3703 1
a3703 1
if { (eval echo configure:4028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3729 1
a3729 1
echo "configure:4054: checking for accept" >&5
d3734 1
a3734 1
#line 4059 "configure"
d3757 1
a3757 1
if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3779 1
a3779 1
echo "configure:4104: checking for gethostbyname" >&5
d3784 1
a3784 1
#line 4109 "configure"
d3807 1
a3807 1
if { (eval echo configure:4132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3825 1
a3825 1
echo "configure:4150: checking for main in -lnsl" >&5
d3833 1
a3833 1
#line 4158 "configure"
d3840 1
a3840 1
if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3880 1
a3880 1
echo "configure:4205: checking MIT X libraries" >&5
d3886 1
a3886 1
#line 4211 "configure"
d3897 1
a3897 1
if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3924 1
a3924 1
echo "configure:4249: checking for sin" >&5
d3929 1
a3929 1
#line 4254 "configure"
d3952 1
a3952 1
if { (eval echo configure:4277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3973 1
a3973 1
echo "configure:4298: checking for main in -lieee" >&5
d3981 1
a3981 1
#line 4306 "configure"
d3988 1
a3988 1
if { (eval echo configure:4313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4015 1
a4015 1
echo "configure:4340: checking whether char is unsigned" >&5
d4022 1
a4022 1
#line 4347 "configure"
d4044 1
a4044 1
#line 4369 "configure"
d4054 1
a4054 1
if { (eval echo configure:4379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4087 1
a4087 1
echo "configure:4412: checking for strtod" >&5
d4092 1
a4092 1
#line 4417 "configure"
d4115 1
a4115 1
if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4129 1
a4129 1
  tcl_strtod=1
d4132 1
a4132 1
tcl_strtod=0
d4135 3
a4137 3
    if test "$tcl_strtod" = 1; then
	echo $ac_n "checking for Solaris2.4/Tru64 strtod bugs""... $ac_c" 1>&6
echo "configure:4462: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4139 1
a4139 1
  tcl_ok=0
d4142 1
a4142 1
#line 4467 "configure"
d4155 2
a4156 2
		value = strtod(spaceString, &term);
		if (term == (spaceString+1)) {
d4162 1
a4162 1
if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4164 1
a4164 1
  tcl_ok=1
d4169 1
a4169 1
  tcl_ok=0
d4174 1
a4174 1
	if test "$tcl_ok" = 1; then
a4177 1
	    LIBOBJS="$LIBOBJS fixstrtod.o"
d4193 1
a4193 1
echo "configure:4519: checking how to build libraries" >&5
d4232 1
a4232 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4240 1
a4240 1
    MAKE_LIB="\${STLIB_LD} \$@@ \${OBJS}"
d4281 3
a4283 1
eval "TK_STUB_LIB_FILE=libtkstub${TK_UNSHARED_LIB_SUFFIX}"
d4285 1
a4285 2
# FIXME: Should we add MAKE_STUB_LIB to tclConfig.sh ?
MAKE_STUB_LIB="\${STLIB_LD} \$@@ \${STUB_LIB_OBJS}"
a4308 6
eval "TK_LIB_FILE=${TK_LIB_FILE}"





d4311 1
a4500 1
s%@@TCL_THREADS@@%$TCL_THREADS%g
a4503 1
s%@@AR@@%$AR%g
d4508 1
a4520 3
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
d4523 1
a4527 1
s%@@STLIB_LD@@%$STLIB_LD%g
@


1.3.2.7
log
@	* unix/configure:
	* unix/configure.in:
	* win/configure:
	* win/configure.in:
	* win/tkConfig.sh.in: reworked to be a little cleaner in
	comparison to each other, and to AC_SUBST even empty vars for
	win/tkConfig.sh
@
text
@d542 1
a549 4
#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------

d563 1
a563 1
echo "configure:567: checking for $ac_word" >&5
d604 1
a604 1
echo "configure:608: checking for $ac_word" >&5
d634 1
a634 1
echo "configure:638: checking for $ac_word" >&5
d685 1
a685 1
echo "configure:689: checking for $ac_word" >&5
d717 1
a717 1
echo "configure:721: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d728 1
a728 1
#line 732 "configure"
d733 1
a733 1
if { (eval echo configure:737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d759 1
a759 1
echo "configure:763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d764 1
a764 1
echo "configure:768: checking whether we are using GNU C" >&5
d773 1
a773 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d792 1
a792 1
echo "configure:796: checking whether ${CC-cc} accepts -g" >&5
d830 1
a830 1
echo "configure:834: checking for $ac_word" >&5
d860 1
a860 1
echo "configure:864: checking for $ac_word" >&5
d911 1
a911 1
echo "configure:915: checking for $ac_word" >&5
d943 1
a943 1
echo "configure:947: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d954 1
a954 1
#line 958 "configure"
d959 1
a959 1
if { (eval echo configure:963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d985 1
a985 1
echo "configure:989: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d990 1
a990 1
echo "configure:994: checking whether we are using GNU C" >&5
d999 1
a999 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1018 1
a1018 1
echo "configure:1022: checking whether ${CC-cc} accepts -g" >&5
d1055 1
a1055 1
echo "configure:1059: checking how to run the C preprocessor" >&5
d1070 1
a1070 1
#line 1074 "configure"
d1076 1
a1076 1
{ (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1087 1
a1087 1
#line 1091 "configure"
d1093 1
a1093 1
{ (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1104 1
a1104 1
#line 1108 "configure"
d1110 1
a1110 1
{ (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1138 1
a1138 1
echo "configure:1142: checking for $ac_hdr" >&5
d1143 1
a1143 1
#line 1147 "configure"
d1148 1
a1148 1
{ (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1181 1
a1181 1
echo "configure:1185: checking for building with threads" >&5
d1207 1
a1207 1
echo "configure:1211: checking for pthread_mutex_init in -lpthread" >&5
d1215 1
a1215 1
#line 1219 "configure"
d1226 1
a1226 1
if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1254 1
a1254 1
echo "configure:1258: checking for __pthread_mutex_init in -lpthread" >&5
d1262 1
a1262 1
#line 1266 "configure"
d1273 1
a1273 1
if { (eval echo configure:1277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1301 1
a1301 1
echo "configure:1305: checking for pthread_mutex_init in -lpthreads" >&5
d1309 1
a1309 1
#line 1313 "configure"
d1320 1
a1320 1
if { (eval echo configure:1324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1346 1
a1346 1
echo "configure:1350: checking for pthread_mutex_init in -lc" >&5
d1354 1
a1354 1
#line 1358 "configure"
d1365 1
a1365 1
if { (eval echo configure:1369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1399 1
a1399 1
echo "configure:1403: checking for $ac_func" >&5
d1404 1
a1404 1
#line 1408 "configure"
d1427 1
a1427 1
if { (eval echo configure:1431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1466 1
a1466 1
echo "configure:1470: checking if the compiler understands -pipe" >&5
d1470 1
a1470 1
#line 1474 "configure"
d1477 1
a1477 1
if { (eval echo configure:1481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1512 1
a1512 1
echo "configure:1516: checking for Tcl configuration" >&5
d1585 1
a1585 1
echo "configure:1589: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1616 1
a1616 1
echo "configure:1620: checking if 64bit support is requested" >&5
d1636 1
a1636 1
echo "configure:1640: checking if 64bit Sparc VIS support is requested" >&5
d1660 1
a1660 1
echo "configure:1664: checking system version (for dynamic loading)" >&5
d1686 1
a1686 1
echo "configure:1690: checking for dlopen in -ldl" >&5
d1694 1
a1694 1
#line 1698 "configure"
d1705 1
a1705 1
if { (eval echo configure:1709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1750 1
a1750 1
echo "configure:1754: checking for $ac_word" >&5
d1853 1
a1853 1
echo "configure:1857: checking for gettimeofday in -lbsd" >&5
d1861 1
a1861 1
#line 1865 "configure"
d1872 1
a1872 1
if { (eval echo configure:1876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1934 1
a1934 1
echo "configure:1938: checking for shl_load in -ldld" >&5
d1942 1
a1942 1
#line 1946 "configure"
d1953 1
a1953 1
if { (eval echo configure:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1996 1
a1996 1
echo "configure:2000: checking for shl_load in -ldld" >&5
d2004 1
a2004 1
#line 2008 "configure"
d2015 1
a2015 1
if { (eval echo configure:2019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2122 1
a2122 1
echo "configure:2126: checking for dld.h" >&5
d2127 1
a2127 1
#line 2131 "configure"
d2132 1
a2132 1
{ (eval echo configure:2136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2189 1
a2189 1
echo "configure:2193: checking for dld.h" >&5
d2194 1
a2194 1
#line 2198 "configure"
d2199 1
a2199 1
{ (eval echo configure:2203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2254 1
a2254 1
echo "configure:2258: checking for dlfcn.h" >&5
d2259 1
a2259 1
#line 2263 "configure"
d2264 1
a2264 1
{ (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2291 1
a2291 1
echo "configure:2295: checking for ELF" >&5
d2293 1
a2293 1
#line 2297 "configure"
d2582 1
a2582 1
echo "configure:2586: checking for ld accepts -Bexport flag" >&5
d2585 1
a2585 1
#line 2589 "configure"
d2592 1
a2592 1
if { (eval echo configure:2596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2638 1
a2638 1
echo "configure:2642: checking sys/exec.h" >&5
d2640 1
a2640 1
#line 2644 "configure"
d2658 1
a2658 1
if { (eval echo configure:2662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2676 1
a2676 1
echo "configure:2680: checking a.out.h" >&5
d2678 1
a2678 1
#line 2682 "configure"
d2696 1
a2696 1
if { (eval echo configure:2700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2714 1
a2714 1
echo "configure:2718: checking sys/exec_aout.h" >&5
d2716 1
a2716 1
#line 2720 "configure"
d2734 1
a2734 1
if { (eval echo configure:2738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2829 1
a2829 1
echo "configure:2833: checking for build with symbols" >&5
d2873 1
a2873 1
echo "configure:2877: checking for sin" >&5
d2878 1
a2878 1
#line 2882 "configure"
d2901 1
a2901 1
if { (eval echo configure:2905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2922 1
a2922 1
echo "configure:2926: checking for main in -lieee" >&5
d2930 1
a2930 1
#line 2934 "configure"
d2937 1
a2937 1
if { (eval echo configure:2941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2968 1
a2968 1
echo "configure:2972: checking for gettimeofday in -lbsd" >&5
d2976 1
a2976 1
#line 2980 "configure"
d2987 1
a2987 1
if { (eval echo configure:2991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3018 1
a3018 1
echo "configure:3022: checking stdlib.h" >&5
d3020 1
a3020 1
#line 3024 "configure"
d3035 1
a3035 1
#line 3039 "configure"
d3049 1
a3049 1
#line 3053 "configure"
d3081 1
a3081 1
echo "configure:3085: checking fd_set and sys/select" >&5
d3083 1
a3083 1
#line 3087 "configure"
d3090 1
a3090 1
if { (eval echo configure:3094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3102 1
a3102 1
#line 3106 "configure"
d3134 1
a3134 1
echo "configure:3138: checking for ANSI C header files" >&5
d3139 1
a3139 1
#line 3143 "configure"
d3147 1
a3147 1
{ (eval echo configure:3151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3164 1
a3164 1
#line 3168 "configure"
d3182 1
a3182 1
#line 3186 "configure"
d3203 1
a3203 1
#line 3207 "configure"
d3214 1
a3214 1
if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3238 1
a3238 1
echo "configure:3242: checking for mode_t" >&5
d3243 1
a3243 1
#line 3247 "configure"
d3271 1
a3271 1
echo "configure:3275: checking for pid_t" >&5
d3276 1
a3276 1
#line 3280 "configure"
d3304 1
a3304 1
echo "configure:3308: checking for size_t" >&5
d3309 1
a3309 1
#line 3313 "configure"
d3337 1
a3337 1
echo "configure:3341: checking for uid_t in sys/types.h" >&5
d3342 1
a3342 1
#line 3346 "configure"
d3379 1
a3379 1
echo "configure:3383: checking for $ac_hdr" >&5
d3384 1
a3384 1
#line 3388 "configure"
d3389 1
a3389 1
{ (eval echo configure:3393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3416 1
a3416 1
echo "configure:3420: checking whether time.h and sys/time.h may both be included" >&5
d3421 1
a3421 1
#line 3425 "configure"
d3430 1
a3430 1
if { (eval echo configure:3434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3456 1
a3456 1
echo "configure:3460: checking pw_gecos in struct pwd" >&5
d3458 1
a3458 1
#line 3462 "configure"
d3465 1
a3465 1
if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3498 1
a3498 1
echo "configure:3502: checking for X" >&5
d3560 1
a3560 1
#line 3564 "configure"
d3565 1
a3565 1
{ (eval echo configure:3569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3634 1
a3634 1
#line 3638 "configure"
d3641 1
a3641 1
if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3731 1
a3731 1
#line 3735 "configure"
d3736 1
a3736 1
{ (eval echo configure:3740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3756 1
a3756 1
echo "configure:3760: checking for X11 header files" >&5
d3759 1
a3759 1
#line 3763 "configure"
d3764 1
a3764 1
{ (eval echo configure:3768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3800 1
a3800 1
echo "configure:3804: checking for X11 libraries" >&5
d3820 1
a3820 1
echo "configure:3824: checking for XCreateWindow in -lXwindow" >&5
d3828 1
a3828 1
#line 3832 "configure"
d3839 1
a3839 1
if { (eval echo configure:3843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3924 1
a3924 1
echo "configure:3928: checking for main in -lXbsd" >&5
d3932 1
a3932 1
#line 3936 "configure"
d3939 1
a3939 1
if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3962 1
a3962 1
echo "configure:3966: checking for connect" >&5
d3967 1
a3967 1
#line 3971 "configure"
d3990 1
a3990 1
if { (eval echo configure:3994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4012 1
a4012 1
echo "configure:4016: checking for main in -lsocket" >&5
d4020 1
a4020 1
#line 4024 "configure"
d4027 1
a4027 1
if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4053 1
a4053 1
echo "configure:4057: checking for accept" >&5
d4058 1
a4058 1
#line 4062 "configure"
d4081 1
a4081 1
if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4103 1
a4103 1
echo "configure:4107: checking for gethostbyname" >&5
d4108 1
a4108 1
#line 4112 "configure"
d4131 1
a4131 1
if { (eval echo configure:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4149 1
a4149 1
echo "configure:4153: checking for main in -lnsl" >&5
d4157 1
a4157 1
#line 4161 "configure"
d4164 1
a4164 1
if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4204 1
a4204 1
echo "configure:4208: checking MIT X libraries" >&5
d4210 1
a4210 1
#line 4214 "configure"
d4221 1
a4221 1
if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4248 1
a4248 1
echo "configure:4252: checking for sin" >&5
d4253 1
a4253 1
#line 4257 "configure"
d4276 1
a4276 1
if { (eval echo configure:4280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4297 1
a4297 1
echo "configure:4301: checking for main in -lieee" >&5
d4305 1
a4305 1
#line 4309 "configure"
d4312 1
a4312 1
if { (eval echo configure:4316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4339 1
a4339 1
echo "configure:4343: checking whether char is unsigned" >&5
d4346 1
a4346 1
#line 4350 "configure"
d4368 1
a4368 1
#line 4372 "configure"
d4378 1
a4378 1
if { (eval echo configure:4382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4411 1
a4411 1
echo "configure:4415: checking for strtod" >&5
d4416 1
a4416 1
#line 4420 "configure"
d4439 1
a4439 1
if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4461 1
a4461 1
echo "configure:4465: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4466 1
a4466 1
#line 4470 "configure"
d4486 1
a4486 1
if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4518 1
a4518 1
echo "configure:4522: checking how to build libraries" >&5
a4621 2
eval "TK_LIB_FILE=${TK_LIB_FILE}"

d4633 1
d4662 2
a4667 2
#AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
#AC_SUBST(TCL_BUILD_LIB_SPEC)
a4838 5
s%@@TK_VERSION@@%$TK_VERSION%g
s%@@TK_MAJOR_VERSION@@%$TK_MAJOR_VERSION%g
s%@@TK_MINOR_VERSION@@%$TK_MINOR_VERSION%g
s%@@TK_PATCH_LEVEL@@%$TK_PATCH_LEVEL%g
s%@@TK_DBGX@@%$TK_DBGX%g
d4854 1
d4875 3
d4879 1
@


1.3.2.8
log
@	* unix/configure: regened
	* unix/configure.in: added preset CFLAGS check from HEAD to
	prevent --enable-gcc from adding "-g -O2"
@
text
@a562 10
#------------------------------------------------------------------------
# Standard compiler checks
#------------------------------------------------------------------------

# If the user did not set CFLAGS, set it now to keep
# the AC_PROG_CC macro from adding "-g -O2".
if test "${CFLAGS+set}" != "set" ; then
    CFLAGS=""
fi

d566 1
a566 1
echo "configure:577: checking for $ac_word" >&5
d607 1
a607 1
echo "configure:618: checking for $ac_word" >&5
d637 1
a637 1
echo "configure:648: checking for $ac_word" >&5
d688 1
a688 1
echo "configure:699: checking for $ac_word" >&5
d720 1
a720 1
echo "configure:731: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d731 1
a731 1
#line 742 "configure"
d736 1
a736 1
if { (eval echo configure:747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d762 1
a762 1
echo "configure:773: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d767 1
a767 1
echo "configure:778: checking whether we are using GNU C" >&5
d776 1
a776 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d795 1
a795 1
echo "configure:806: checking whether ${CC-cc} accepts -g" >&5
d833 1
a833 1
echo "configure:844: checking for $ac_word" >&5
d863 1
a863 1
echo "configure:874: checking for $ac_word" >&5
d914 1
a914 1
echo "configure:925: checking for $ac_word" >&5
d946 1
a946 1
echo "configure:957: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d957 1
a957 1
#line 968 "configure"
d962 1
a962 1
if { (eval echo configure:973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d988 1
a988 1
echo "configure:999: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d993 1
a993 1
echo "configure:1004: checking whether we are using GNU C" >&5
d1002 1
a1002 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1021 1
a1021 1
echo "configure:1032: checking whether ${CC-cc} accepts -g" >&5
d1058 1
a1058 1
echo "configure:1069: checking how to run the C preprocessor" >&5
d1073 1
a1073 1
#line 1084 "configure"
d1079 1
a1079 1
{ (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1090 1
a1090 1
#line 1101 "configure"
d1096 1
a1096 1
{ (eval echo configure:1107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1107 1
a1107 1
#line 1118 "configure"
d1113 1
a1113 1
{ (eval echo configure:1124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1141 1
a1141 1
echo "configure:1152: checking for $ac_hdr" >&5
d1146 1
a1146 1
#line 1157 "configure"
d1151 1
a1151 1
{ (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1184 1
a1184 1
echo "configure:1195: checking for building with threads" >&5
d1210 1
a1210 1
echo "configure:1221: checking for pthread_mutex_init in -lpthread" >&5
d1218 1
a1218 1
#line 1229 "configure"
d1229 1
a1229 1
if { (eval echo configure:1240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1257 1
a1257 1
echo "configure:1268: checking for __pthread_mutex_init in -lpthread" >&5
d1265 1
a1265 1
#line 1276 "configure"
d1276 1
a1276 1
if { (eval echo configure:1287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1304 1
a1304 1
echo "configure:1315: checking for pthread_mutex_init in -lpthreads" >&5
d1312 1
a1312 1
#line 1323 "configure"
d1323 1
a1323 1
if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1349 1
a1349 1
echo "configure:1360: checking for pthread_mutex_init in -lc" >&5
d1357 1
a1357 1
#line 1368 "configure"
d1368 1
a1368 1
if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1402 1
a1402 1
echo "configure:1413: checking for $ac_func" >&5
d1407 1
a1407 1
#line 1418 "configure"
d1430 1
a1430 1
if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1469 1
a1469 1
echo "configure:1480: checking if the compiler understands -pipe" >&5
d1473 1
a1473 1
#line 1484 "configure"
d1480 1
a1480 1
if { (eval echo configure:1491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1515 1
a1515 1
echo "configure:1526: checking for Tcl configuration" >&5
d1588 1
a1588 1
echo "configure:1599: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1619 1
a1619 1
echo "configure:1630: checking if 64bit support is requested" >&5
d1635 1
a1635 1

d1639 1
a1639 1
echo "configure:1650: checking if 64bit Sparc VIS support is requested" >&5
d1663 1
a1663 1
echo "configure:1674: checking system version (for dynamic loading)" >&5
d1689 1
a1689 1
echo "configure:1700: checking for dlopen in -ldl" >&5
d1697 1
a1697 1
#line 1708 "configure"
d1708 1
a1708 1
if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1753 1
a1753 1
echo "configure:1764: checking for $ac_word" >&5
d1811 1
a1811 1
		else
d1856 1
a1856 1
echo "configure:1867: checking for gettimeofday in -lbsd" >&5
d1864 1
a1864 1
#line 1875 "configure"
d1875 1
a1875 1
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1937 1
a1937 1
echo "configure:1948: checking for shl_load in -ldld" >&5
d1945 1
a1945 1
#line 1956 "configure"
d1956 1
a1956 1
if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1999 1
a1999 1
echo "configure:2010: checking for shl_load in -ldld" >&5
d2007 1
a2007 1
#line 2018 "configure"
d2018 1
a2018 1
if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2125 1
a2125 1
echo "configure:2136: checking for dld.h" >&5
d2130 1
a2130 1
#line 2141 "configure"
d2135 1
a2135 1
{ (eval echo configure:2146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2166 10
a2175 10
            # The combo of gcc + glibc has a bug related
            # to inlining of functions like strtod(). The
            # -fno-builtin flag should address this problem
            # but it does not work. The -fno-inline flag
            # is kind of overkill but it works.
            # Disable inlining only when one of the
            # files in compat/*.c is being linked in.
            if test x"${LIBOBJS}" != x ; then
                EXTRA_CFLAGS="${EXTRA_CFLAGS} -fno-inline"
            fi
d2192 1
a2192 1
echo "configure:2203: checking for dld.h" >&5
d2197 1
a2197 1
#line 2208 "configure"
d2202 1
a2202 1
{ (eval echo configure:2213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2257 1
a2257 1
echo "configure:2268: checking for dlfcn.h" >&5
d2262 1
a2262 1
#line 2273 "configure"
d2267 1
a2267 1
{ (eval echo configure:2278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2294 1
a2294 1
echo "configure:2305: checking for ELF" >&5
d2296 1
a2296 1
#line 2307 "configure"
d2349 1
d2351 1
a2355 13
	Rhapsody-*|Darwin-*)
	    SHLIB_CFLAGS="-fno-common"
	    SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000"
	    SHLIB_LD_LIBS="${LIBS}"
	    SHLIB_SUFFIX=".dylib"
	    DL_OBJS="tclLoadDyld.o"
	    DL_LIBS=""
	    LDFLAGS="-prebind"
	    LD_SEARCH_FLAGS=""
	    CFLAGS_OPTIMIZE="-O3"
	    EXTRA_CFLAGS="-arch ppc -pipe"
	    ;;
a2419 1

d2533 1
a2533 1
			else
d2547 1
a2547 1
	    
d2585 1
a2585 1
echo "configure:2608: checking for ld accepts -Bexport flag" >&5
d2588 1
a2588 1
#line 2611 "configure"
d2595 1
a2595 1
if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2641 1
a2641 1
echo "configure:2664: checking sys/exec.h" >&5
d2643 1
a2643 1
#line 2666 "configure"
d2661 1
a2661 1
if { (eval echo configure:2684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2679 1
a2679 1
echo "configure:2702: checking a.out.h" >&5
d2681 1
a2681 1
#line 2704 "configure"
d2699 1
a2699 1
if { (eval echo configure:2722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2717 1
a2717 1
echo "configure:2740: checking sys/exec_aout.h" >&5
d2719 1
a2719 1
#line 2742 "configure"
d2737 1
a2737 1
if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a2803 2
		Rhapsody-*|Darwin-*)
		    ;;
d2832 1
a2832 1
echo "configure:2857: checking for build with symbols" >&5
d2876 1
a2876 1
echo "configure:2901: checking for sin" >&5
d2881 1
a2881 1
#line 2906 "configure"
d2904 1
a2904 1
if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2925 1
a2925 1
echo "configure:2950: checking for main in -lieee" >&5
d2933 1
a2933 1
#line 2958 "configure"
d2940 1
a2940 1
if { (eval echo configure:2965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2971 1
a2971 1
echo "configure:2996: checking for gettimeofday in -lbsd" >&5
d2979 1
a2979 1
#line 3004 "configure"
d2990 1
a2990 1
if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3021 1
a3021 1
echo "configure:3046: checking stdlib.h" >&5
d3023 1
a3023 1
#line 3048 "configure"
d3038 1
a3038 1
#line 3063 "configure"
d3052 1
a3052 1
#line 3077 "configure"
d3084 1
a3084 1
echo "configure:3109: checking fd_set and sys/select" >&5
d3086 1
a3086 1
#line 3111 "configure"
d3093 1
a3093 1
if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3105 1
a3105 1
#line 3130 "configure"
d3137 1
a3137 1
echo "configure:3162: checking for ANSI C header files" >&5
d3142 1
a3142 1
#line 3167 "configure"
d3150 1
a3150 1
{ (eval echo configure:3175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3167 1
a3167 1
#line 3192 "configure"
d3185 1
a3185 1
#line 3210 "configure"
d3206 1
a3206 1
#line 3231 "configure"
d3217 1
a3217 1
if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3241 1
a3241 1
echo "configure:3266: checking for mode_t" >&5
d3246 1
a3246 1
#line 3271 "configure"
d3274 1
a3274 1
echo "configure:3299: checking for pid_t" >&5
d3279 1
a3279 1
#line 3304 "configure"
d3307 1
a3307 1
echo "configure:3332: checking for size_t" >&5
d3312 1
a3312 1
#line 3337 "configure"
d3340 1
a3340 1
echo "configure:3365: checking for uid_t in sys/types.h" >&5
d3345 1
a3345 1
#line 3370 "configure"
d3382 1
a3382 1
echo "configure:3407: checking for $ac_hdr" >&5
d3387 1
a3387 1
#line 3412 "configure"
d3392 1
a3392 1
{ (eval echo configure:3417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3419 1
a3419 1
echo "configure:3444: checking whether time.h and sys/time.h may both be included" >&5
d3424 1
a3424 1
#line 3449 "configure"
d3433 1
a3433 1
if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3459 1
a3459 1
echo "configure:3484: checking pw_gecos in struct pwd" >&5
d3461 1
a3461 1
#line 3486 "configure"
d3468 1
a3468 1
if { (eval echo configure:3493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3501 1
a3501 1
echo "configure:3526: checking for X" >&5
d3563 1
a3563 1
#line 3588 "configure"
d3568 1
a3568 1
{ (eval echo configure:3593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3637 1
a3637 1
#line 3662 "configure"
d3644 1
a3644 1
if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3734 1
a3734 1
#line 3759 "configure"
d3739 1
a3739 1
{ (eval echo configure:3764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3759 1
a3759 1
echo "configure:3784: checking for X11 header files" >&5
d3762 1
a3762 1
#line 3787 "configure"
d3767 1
a3767 1
{ (eval echo configure:3792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3803 1
a3803 1
echo "configure:3828: checking for X11 libraries" >&5
d3823 1
a3823 1
echo "configure:3848: checking for XCreateWindow in -lXwindow" >&5
d3831 1
a3831 1
#line 3856 "configure"
d3842 1
a3842 1
if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3927 1
a3927 1
echo "configure:3952: checking for main in -lXbsd" >&5
d3935 1
a3935 1
#line 3960 "configure"
d3942 1
a3942 1
if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3965 1
a3965 1
echo "configure:3990: checking for connect" >&5
d3970 1
a3970 1
#line 3995 "configure"
d3993 1
a3993 1
if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4015 1
a4015 1
echo "configure:4040: checking for main in -lsocket" >&5
d4023 1
a4023 1
#line 4048 "configure"
d4030 1
a4030 1
if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4056 1
a4056 1
echo "configure:4081: checking for accept" >&5
d4061 1
a4061 1
#line 4086 "configure"
d4084 1
a4084 1
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4106 1
a4106 1
echo "configure:4131: checking for gethostbyname" >&5
d4111 1
a4111 1
#line 4136 "configure"
d4134 1
a4134 1
if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4152 1
a4152 1
echo "configure:4177: checking for main in -lnsl" >&5
d4160 1
a4160 1
#line 4185 "configure"
d4167 1
a4167 1
if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4207 1
a4207 1
echo "configure:4232: checking MIT X libraries" >&5
d4213 1
a4213 1
#line 4238 "configure"
d4224 1
a4224 1
if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4251 1
a4251 1
echo "configure:4276: checking for sin" >&5
d4256 1
a4256 1
#line 4281 "configure"
d4279 1
a4279 1
if { (eval echo configure:4304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4300 1
a4300 1
echo "configure:4325: checking for main in -lieee" >&5
d4308 1
a4308 1
#line 4333 "configure"
d4315 1
a4315 1
if { (eval echo configure:4340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4342 1
a4342 1
echo "configure:4367: checking whether char is unsigned" >&5
d4349 1
a4349 1
#line 4374 "configure"
d4371 1
a4371 1
#line 4396 "configure"
d4381 1
a4381 1
if { (eval echo configure:4406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4414 1
a4414 1
echo "configure:4439: checking for strtod" >&5
d4419 1
a4419 1
#line 4444 "configure"
d4442 1
a4442 1
if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4464 1
a4464 1
echo "configure:4489: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4469 1
a4469 1
#line 4494 "configure"
d4489 1
a4489 1
if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4521 1
a4521 1
echo "configure:4546: checking how to build libraries" >&5
@


1.3.2.9
log
@	* unix/configure: regend
	* unix/tcl.m4 (SC_ENABLE_GCC): enabled better recognition of gcc.
@
text
@a838 5
    # Extra check to ensure that we double-check if we are running
    # gcc, even though it may not be clear.
    if test "$GCC" != "yes" -a `$CC -v 2>&1 | grep -c gcc` != "0" ; then
	GCC=yes
    fi
d843 1
a843 1
echo "configure:849: checking for $ac_word" >&5
d873 1
a873 1
echo "configure:879: checking for $ac_word" >&5
d924 1
a924 1
echo "configure:930: checking for $ac_word" >&5
d956 1
a956 1
echo "configure:962: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d967 1
a967 1
#line 973 "configure"
d972 1
a972 1
if { (eval echo configure:978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d998 1
a998 1
echo "configure:1004: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1003 1
a1003 1
echo "configure:1009: checking whether we are using GNU C" >&5
d1012 1
a1012 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1031 1
a1031 1
echo "configure:1037: checking whether ${CC-cc} accepts -g" >&5
d1068 1
a1068 1
echo "configure:1074: checking how to run the C preprocessor" >&5
d1083 1
a1083 1
#line 1089 "configure"
d1089 1
a1089 1
{ (eval echo configure:1095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1100 1
a1100 1
#line 1106 "configure"
d1106 1
a1106 1
{ (eval echo configure:1112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1117 1
a1117 1
#line 1123 "configure"
d1123 1
a1123 1
{ (eval echo configure:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1151 1
a1151 1
echo "configure:1157: checking for $ac_hdr" >&5
d1156 1
a1156 1
#line 1162 "configure"
d1161 1
a1161 1
{ (eval echo configure:1167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1194 1
a1194 1
echo "configure:1200: checking for building with threads" >&5
d1220 1
a1220 1
echo "configure:1226: checking for pthread_mutex_init in -lpthread" >&5
d1228 1
a1228 1
#line 1234 "configure"
d1239 1
a1239 1
if { (eval echo configure:1245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1267 1
a1267 1
echo "configure:1273: checking for __pthread_mutex_init in -lpthread" >&5
d1275 1
a1275 1
#line 1281 "configure"
d1286 1
a1286 1
if { (eval echo configure:1292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1314 1
a1314 1
echo "configure:1320: checking for pthread_mutex_init in -lpthreads" >&5
d1322 1
a1322 1
#line 1328 "configure"
d1333 1
a1333 1
if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1359 1
a1359 1
echo "configure:1365: checking for pthread_mutex_init in -lc" >&5
d1367 1
a1367 1
#line 1373 "configure"
d1378 1
a1378 1
if { (eval echo configure:1384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1412 1
a1412 1
echo "configure:1418: checking for $ac_func" >&5
d1417 1
a1417 1
#line 1423 "configure"
d1440 1
a1440 1
if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1479 1
a1479 1
echo "configure:1485: checking if the compiler understands -pipe" >&5
d1483 1
a1483 1
#line 1489 "configure"
d1490 1
a1490 1
if { (eval echo configure:1496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1525 1
a1525 1
echo "configure:1531: checking for Tcl configuration" >&5
d1598 1
a1598 1
echo "configure:1604: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1629 1
a1629 1
echo "configure:1635: checking if 64bit support is requested" >&5
d1649 1
a1649 1
echo "configure:1655: checking if 64bit Sparc VIS support is requested" >&5
d1673 1
a1673 1
echo "configure:1679: checking system version (for dynamic loading)" >&5
d1699 1
a1699 1
echo "configure:1705: checking for dlopen in -ldl" >&5
d1707 1
a1707 1
#line 1713 "configure"
d1718 1
a1718 1
if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1763 1
a1763 1
echo "configure:1769: checking for $ac_word" >&5
d1866 1
a1866 1
echo "configure:1872: checking for gettimeofday in -lbsd" >&5
d1874 1
a1874 1
#line 1880 "configure"
d1885 1
a1885 1
if { (eval echo configure:1891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1947 1
a1947 1
echo "configure:1953: checking for shl_load in -ldld" >&5
d1955 1
a1955 1
#line 1961 "configure"
d1966 1
a1966 1
if { (eval echo configure:1972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2009 1
a2009 1
echo "configure:2015: checking for shl_load in -ldld" >&5
d2017 1
a2017 1
#line 2023 "configure"
d2028 1
a2028 1
if { (eval echo configure:2034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2135 1
a2135 1
echo "configure:2141: checking for dld.h" >&5
d2140 1
a2140 1
#line 2146 "configure"
d2145 1
a2145 1
{ (eval echo configure:2151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2202 1
a2202 1
echo "configure:2208: checking for dld.h" >&5
d2207 1
a2207 1
#line 2213 "configure"
d2212 1
a2212 1
{ (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2267 1
a2267 1
echo "configure:2273: checking for dlfcn.h" >&5
d2272 1
a2272 1
#line 2278 "configure"
d2277 1
a2277 1
{ (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2304 1
a2304 1
echo "configure:2310: checking for ELF" >&5
d2306 1
a2306 1
#line 2312 "configure"
d2607 1
a2607 1
echo "configure:2613: checking for ld accepts -Bexport flag" >&5
d2610 1
a2610 1
#line 2616 "configure"
d2617 1
a2617 1
if { (eval echo configure:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2663 1
a2663 1
echo "configure:2669: checking sys/exec.h" >&5
d2665 1
a2665 1
#line 2671 "configure"
d2683 1
a2683 1
if { (eval echo configure:2689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2701 1
a2701 1
echo "configure:2707: checking a.out.h" >&5
d2703 1
a2703 1
#line 2709 "configure"
d2721 1
a2721 1
if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2739 1
a2739 1
echo "configure:2745: checking sys/exec_aout.h" >&5
d2741 1
a2741 1
#line 2747 "configure"
d2759 1
a2759 1
if { (eval echo configure:2765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2856 1
a2856 1
echo "configure:2862: checking for build with symbols" >&5
d2900 1
a2900 1
echo "configure:2906: checking for sin" >&5
d2905 1
a2905 1
#line 2911 "configure"
d2928 1
a2928 1
if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2949 1
a2949 1
echo "configure:2955: checking for main in -lieee" >&5
d2957 1
a2957 1
#line 2963 "configure"
d2964 1
a2964 1
if { (eval echo configure:2970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2995 1
a2995 1
echo "configure:3001: checking for gettimeofday in -lbsd" >&5
d3003 1
a3003 1
#line 3009 "configure"
d3014 1
a3014 1
if { (eval echo configure:3020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3045 1
a3045 1
echo "configure:3051: checking stdlib.h" >&5
d3047 1
a3047 1
#line 3053 "configure"
d3062 1
a3062 1
#line 3068 "configure"
d3076 1
a3076 1
#line 3082 "configure"
d3108 1
a3108 1
echo "configure:3114: checking fd_set and sys/select" >&5
d3110 1
a3110 1
#line 3116 "configure"
d3117 1
a3117 1
if { (eval echo configure:3123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3129 1
a3129 1
#line 3135 "configure"
d3161 1
a3161 1
echo "configure:3167: checking for ANSI C header files" >&5
d3166 1
a3166 1
#line 3172 "configure"
d3174 1
a3174 1
{ (eval echo configure:3180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3191 1
a3191 1
#line 3197 "configure"
d3209 1
a3209 1
#line 3215 "configure"
d3230 1
a3230 1
#line 3236 "configure"
d3241 1
a3241 1
if { (eval echo configure:3247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3265 1
a3265 1
echo "configure:3271: checking for mode_t" >&5
d3270 1
a3270 1
#line 3276 "configure"
d3298 1
a3298 1
echo "configure:3304: checking for pid_t" >&5
d3303 1
a3303 1
#line 3309 "configure"
d3331 1
a3331 1
echo "configure:3337: checking for size_t" >&5
d3336 1
a3336 1
#line 3342 "configure"
d3364 1
a3364 1
echo "configure:3370: checking for uid_t in sys/types.h" >&5
d3369 1
a3369 1
#line 3375 "configure"
d3406 1
a3406 1
echo "configure:3412: checking for $ac_hdr" >&5
d3411 1
a3411 1
#line 3417 "configure"
d3416 1
a3416 1
{ (eval echo configure:3422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3443 1
a3443 1
echo "configure:3449: checking whether time.h and sys/time.h may both be included" >&5
d3448 1
a3448 1
#line 3454 "configure"
d3457 1
a3457 1
if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3483 1
a3483 1
echo "configure:3489: checking pw_gecos in struct pwd" >&5
d3485 1
a3485 1
#line 3491 "configure"
d3492 1
a3492 1
if { (eval echo configure:3498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3525 1
a3525 1
echo "configure:3531: checking for X" >&5
d3587 1
a3587 1
#line 3593 "configure"
d3592 1
a3592 1
{ (eval echo configure:3598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3661 1
a3661 1
#line 3667 "configure"
d3668 1
a3668 1
if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3758 1
a3758 1
#line 3764 "configure"
d3763 1
a3763 1
{ (eval echo configure:3769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3783 1
a3783 1
echo "configure:3789: checking for X11 header files" >&5
d3786 1
a3786 1
#line 3792 "configure"
d3791 1
a3791 1
{ (eval echo configure:3797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3827 1
a3827 1
echo "configure:3833: checking for X11 libraries" >&5
d3847 1
a3847 1
echo "configure:3853: checking for XCreateWindow in -lXwindow" >&5
d3855 1
a3855 1
#line 3861 "configure"
d3866 1
a3866 1
if { (eval echo configure:3872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3951 1
a3951 1
echo "configure:3957: checking for main in -lXbsd" >&5
d3959 1
a3959 1
#line 3965 "configure"
d3966 1
a3966 1
if { (eval echo configure:3972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3989 1
a3989 1
echo "configure:3995: checking for connect" >&5
d3994 1
a3994 1
#line 4000 "configure"
d4017 1
a4017 1
if { (eval echo configure:4023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4039 1
a4039 1
echo "configure:4045: checking for main in -lsocket" >&5
d4047 1
a4047 1
#line 4053 "configure"
d4054 1
a4054 1
if { (eval echo configure:4060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4080 1
a4080 1
echo "configure:4086: checking for accept" >&5
d4085 1
a4085 1
#line 4091 "configure"
d4108 1
a4108 1
if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4130 1
a4130 1
echo "configure:4136: checking for gethostbyname" >&5
d4135 1
a4135 1
#line 4141 "configure"
d4158 1
a4158 1
if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4176 1
a4176 1
echo "configure:4182: checking for main in -lnsl" >&5
d4184 1
a4184 1
#line 4190 "configure"
d4191 1
a4191 1
if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4231 1
a4231 1
echo "configure:4237: checking MIT X libraries" >&5
d4237 1
a4237 1
#line 4243 "configure"
d4248 1
a4248 1
if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4275 1
a4275 1
echo "configure:4281: checking for sin" >&5
d4280 1
a4280 1
#line 4286 "configure"
d4303 1
a4303 1
if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4324 1
a4324 1
echo "configure:4330: checking for main in -lieee" >&5
d4332 1
a4332 1
#line 4338 "configure"
d4339 1
a4339 1
if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4366 1
a4366 1
echo "configure:4372: checking whether char is unsigned" >&5
d4373 1
a4373 1
#line 4379 "configure"
d4395 1
a4395 1
#line 4401 "configure"
d4405 1
a4405 1
if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4438 1
a4438 1
echo "configure:4444: checking for strtod" >&5
d4443 1
a4443 1
#line 4449 "configure"
d4466 1
a4466 1
if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4488 1
a4488 1
echo "configure:4494: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4493 1
a4493 1
#line 4499 "configure"
d4513 1
a4513 1
if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4545 1
a4545 1
echo "configure:4551: checking how to build libraries" >&5
@


1.3.2.10
log
@	* unix/configure: regend
	* unix/tcl.m4: added -lc to LIBS on AIX and corrected location of
	ldAix.
@
text
@a1803 1
	    LIBS="$LIBS -lc"
a1840 1
	    LIBS="$LIBS -lc"
d1842 1
a1842 1
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d1871 1
a1871 1
echo "configure:1874: checking for gettimeofday in -lbsd" >&5
d1879 1
a1879 1
#line 1882 "configure"
d1890 1
a1890 1
if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1952 1
a1952 1
echo "configure:1955: checking for shl_load in -ldld" >&5
d1960 1
a1960 1
#line 1963 "configure"
d1971 1
a1971 1
if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2014 1
a2014 1
echo "configure:2017: checking for shl_load in -ldld" >&5
d2022 1
a2022 1
#line 2025 "configure"
d2033 1
a2033 1
if { (eval echo configure:2036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2140 1
a2140 1
echo "configure:2143: checking for dld.h" >&5
d2145 1
a2145 1
#line 2148 "configure"
d2150 1
a2150 1
{ (eval echo configure:2153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2207 1
a2207 1
echo "configure:2210: checking for dld.h" >&5
d2212 1
a2212 1
#line 2215 "configure"
d2217 1
a2217 1
{ (eval echo configure:2220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2272 1
a2272 1
echo "configure:2275: checking for dlfcn.h" >&5
d2277 1
a2277 1
#line 2280 "configure"
d2282 1
a2282 1
{ (eval echo configure:2285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2309 1
a2309 1
echo "configure:2312: checking for ELF" >&5
d2311 1
a2311 1
#line 2314 "configure"
d2612 1
a2612 1
echo "configure:2615: checking for ld accepts -Bexport flag" >&5
d2615 1
a2615 1
#line 2618 "configure"
d2622 1
a2622 1
if { (eval echo configure:2625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2668 1
a2668 1
echo "configure:2671: checking sys/exec.h" >&5
d2670 1
a2670 1
#line 2673 "configure"
d2688 1
a2688 1
if { (eval echo configure:2691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2706 1
a2706 1
echo "configure:2709: checking a.out.h" >&5
d2708 1
a2708 1
#line 2711 "configure"
d2726 1
a2726 1
if { (eval echo configure:2729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2744 1
a2744 1
echo "configure:2747: checking sys/exec_aout.h" >&5
d2746 1
a2746 1
#line 2749 "configure"
d2764 1
a2764 1
if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2861 1
a2861 1
echo "configure:2864: checking for build with symbols" >&5
d2905 1
a2905 1
echo "configure:2908: checking for sin" >&5
d2910 1
a2910 1
#line 2913 "configure"
d2933 1
a2933 1
if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2954 1
a2954 1
echo "configure:2957: checking for main in -lieee" >&5
d2962 1
a2962 1
#line 2965 "configure"
d2969 1
a2969 1
if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3000 1
a3000 1
echo "configure:3003: checking for gettimeofday in -lbsd" >&5
d3008 1
a3008 1
#line 3011 "configure"
d3019 1
a3019 1
if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3050 1
a3050 1
echo "configure:3053: checking stdlib.h" >&5
d3052 1
a3052 1
#line 3055 "configure"
d3067 1
a3067 1
#line 3070 "configure"
d3081 1
a3081 1
#line 3084 "configure"
d3113 1
a3113 1
echo "configure:3116: checking fd_set and sys/select" >&5
d3115 1
a3115 1
#line 3118 "configure"
d3122 1
a3122 1
if { (eval echo configure:3125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3134 1
a3134 1
#line 3137 "configure"
d3166 1
a3166 1
echo "configure:3169: checking for ANSI C header files" >&5
d3171 1
a3171 1
#line 3174 "configure"
d3179 1
a3179 1
{ (eval echo configure:3182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3196 1
a3196 1
#line 3199 "configure"
d3214 1
a3214 1
#line 3217 "configure"
d3235 1
a3235 1
#line 3238 "configure"
d3246 1
a3246 1
if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3270 1
a3270 1
echo "configure:3273: checking for mode_t" >&5
d3275 1
a3275 1
#line 3278 "configure"
d3303 1
a3303 1
echo "configure:3306: checking for pid_t" >&5
d3308 1
a3308 1
#line 3311 "configure"
d3336 1
a3336 1
echo "configure:3339: checking for size_t" >&5
d3341 1
a3341 1
#line 3344 "configure"
d3369 1
a3369 1
echo "configure:3372: checking for uid_t in sys/types.h" >&5
d3374 1
a3374 1
#line 3377 "configure"
d3411 1
a3411 1
echo "configure:3414: checking for $ac_hdr" >&5
d3416 1
a3416 1
#line 3419 "configure"
d3421 1
a3421 1
{ (eval echo configure:3424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3448 1
a3448 1
echo "configure:3451: checking whether time.h and sys/time.h may both be included" >&5
d3453 1
a3453 1
#line 3456 "configure"
d3462 1
a3462 1
if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3488 1
a3488 1
echo "configure:3491: checking pw_gecos in struct pwd" >&5
d3490 1
a3490 1
#line 3493 "configure"
d3497 1
a3497 1
if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3530 1
a3530 1
echo "configure:3533: checking for X" >&5
d3592 1
a3592 1
#line 3595 "configure"
d3597 1
a3597 1
{ (eval echo configure:3600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3666 1
a3666 1
#line 3669 "configure"
d3673 1
a3673 1
if { (eval echo configure:3676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3763 1
a3763 1
#line 3766 "configure"
d3768 1
a3768 1
{ (eval echo configure:3771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3788 1
a3788 1
echo "configure:3791: checking for X11 header files" >&5
d3791 1
a3791 1
#line 3794 "configure"
d3796 1
a3796 1
{ (eval echo configure:3799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3832 1
a3832 1
echo "configure:3835: checking for X11 libraries" >&5
d3852 1
a3852 1
echo "configure:3855: checking for XCreateWindow in -lXwindow" >&5
d3860 1
a3860 1
#line 3863 "configure"
d3871 1
a3871 1
if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3956 1
a3956 1
echo "configure:3959: checking for main in -lXbsd" >&5
d3964 1
a3964 1
#line 3967 "configure"
d3971 1
a3971 1
if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3994 1
a3994 1
echo "configure:3997: checking for connect" >&5
d3999 1
a3999 1
#line 4002 "configure"
d4022 1
a4022 1
if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4044 1
a4044 1
echo "configure:4047: checking for main in -lsocket" >&5
d4052 1
a4052 1
#line 4055 "configure"
d4059 1
a4059 1
if { (eval echo configure:4062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4085 1
a4085 1
echo "configure:4088: checking for accept" >&5
d4090 1
a4090 1
#line 4093 "configure"
d4113 1
a4113 1
if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4135 1
a4135 1
echo "configure:4138: checking for gethostbyname" >&5
d4140 1
a4140 1
#line 4143 "configure"
d4163 1
a4163 1
if { (eval echo configure:4166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4181 1
a4181 1
echo "configure:4184: checking for main in -lnsl" >&5
d4189 1
a4189 1
#line 4192 "configure"
d4196 1
a4196 1
if { (eval echo configure:4199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4236 1
a4236 1
echo "configure:4239: checking MIT X libraries" >&5
d4242 1
a4242 1
#line 4245 "configure"
d4253 1
a4253 1
if { (eval echo configure:4256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4280 1
a4280 1
echo "configure:4283: checking for sin" >&5
d4285 1
a4285 1
#line 4288 "configure"
d4308 1
a4308 1
if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4329 1
a4329 1
echo "configure:4332: checking for main in -lieee" >&5
d4337 1
a4337 1
#line 4340 "configure"
d4344 1
a4344 1
if { (eval echo configure:4347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4371 1
a4371 1
echo "configure:4374: checking whether char is unsigned" >&5
d4378 1
a4378 1
#line 4381 "configure"
d4400 1
a4400 1
#line 4403 "configure"
d4410 1
a4410 1
if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4443 1
a4443 1
echo "configure:4446: checking for strtod" >&5
d4448 1
a4448 1
#line 4451 "configure"
d4471 1
a4471 1
if { (eval echo configure:4474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4493 1
a4493 1
echo "configure:4496: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4498 1
a4498 1
#line 4501 "configure"
d4518 1
a4518 1
if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4550 1
a4550 1
echo "configure:4553: checking how to build libraries" >&5
@


1.3.2.11
log
@	* unix/Makefile.in: added shell and gdb targets, prevent
	tkIntXlibDecls.h header from being installed by install-libraries.
	* unix/configure:
	* unix/configure.in: backported improved AIX build support from 8.4.
	* unix/tcl.m4: backported 8.4 changes to HP-UX, IRIX64-6.*, SunOS,
	FreeBSD, AIX and Darwin targets.  Updated SC_LOADTCLCONFIG to
	detect when we build against a Tcl build dir.  Compile with
	-DUSE_TCL_STUBS in the shared case.
@
text
@a558 2
# libdir must be a fully qualified path and (not ${exec_prefix}/lib)
eval libdir="$libdir"
d576 1
a576 1
echo "configure:579: checking for $ac_word" >&5
d617 1
a617 1
echo "configure:620: checking for $ac_word" >&5
d647 1
a647 1
echo "configure:650: checking for $ac_word" >&5
d698 1
a698 1
echo "configure:701: checking for $ac_word" >&5
d730 1
a730 1
echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d741 1
a741 1
#line 744 "configure"
d746 1
a746 1
if { (eval echo configure:749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d772 1
a772 1
echo "configure:775: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d777 1
a777 1
echo "configure:780: checking whether we are using GNU C" >&5
d786 1
a786 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d805 1
a805 1
echo "configure:808: checking whether ${CC-cc} accepts -g" >&5
d848 1
a848 1
echo "configure:851: checking for $ac_word" >&5
d878 1
a878 1
echo "configure:881: checking for $ac_word" >&5
d929 1
a929 1
echo "configure:932: checking for $ac_word" >&5
d961 1
a961 1
echo "configure:964: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d972 1
a972 1
#line 975 "configure"
d977 1
a977 1
if { (eval echo configure:980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1003 1
a1003 1
echo "configure:1006: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d1008 1
a1008 1
echo "configure:1011: checking whether we are using GNU C" >&5
d1017 1
a1017 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d1036 1
a1036 1
echo "configure:1039: checking whether ${CC-cc} accepts -g" >&5
d1073 1
a1073 1
echo "configure:1076: checking how to run the C preprocessor" >&5
d1088 1
a1088 1
#line 1091 "configure"
d1094 1
a1094 1
{ (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1105 1
a1105 1
#line 1108 "configure"
d1111 1
a1111 1
{ (eval echo configure:1114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1122 1
a1122 1
#line 1125 "configure"
d1128 1
a1128 1
{ (eval echo configure:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1156 1
a1156 1
echo "configure:1159: checking for $ac_hdr" >&5
d1161 1
a1161 1
#line 1164 "configure"
d1166 1
a1166 1
{ (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1199 1
a1199 1
echo "configure:1202: checking for building with threads" >&5
d1225 1
a1225 1
echo "configure:1228: checking for pthread_mutex_init in -lpthread" >&5
d1233 1
a1233 1
#line 1236 "configure"
d1244 1
a1244 1
if { (eval echo configure:1247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1272 1
a1272 1
echo "configure:1275: checking for __pthread_mutex_init in -lpthread" >&5
d1280 1
a1280 1
#line 1283 "configure"
d1291 1
a1291 1
if { (eval echo configure:1294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1319 1
a1319 1
echo "configure:1322: checking for pthread_mutex_init in -lpthreads" >&5
d1327 1
a1327 1
#line 1330 "configure"
d1338 1
a1338 1
if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1364 1
a1364 1
echo "configure:1367: checking for pthread_mutex_init in -lc" >&5
d1372 1
a1372 1
#line 1375 "configure"
d1383 1
a1383 1
if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1405 2
a1406 48
		    echo $ac_n "checking for pthread_mutex_init in -lc_r""... $ac_c" 1>&6
echo "configure:1409: checking for pthread_mutex_init in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lc_r  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1417 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

		    if test "$tcl_ok" = "yes"; then
			# The space is needed
			THREADS_LIBS=" -pthread"
		    else
			TCL_THREADS=0
			echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
		    fi
d1417 1
a1417 1
echo "configure:1466: checking for $ac_func" >&5
d1422 1
a1422 1
#line 1471 "configure"
d1445 1
a1445 1
if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1484 1
a1484 1
echo "configure:1533: checking if the compiler understands -pipe" >&5
d1488 1
a1488 1
#line 1537 "configure"
d1495 1
a1495 1
if { (eval echo configure:1544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1530 1
a1530 1
echo "configure:1579: checking for Tcl configuration" >&5
d1563 1
a1563 1
		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
d1603 1
a1603 1
echo "configure:1652: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1613 2
a1614 16
    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
    #

    if test -f $TCL_BIN_DIR/Makefile ; then
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
    fi

    #
    # eval is required to do the TCL_DBGX substitution
d1617 2
a1618 15
    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""

    
    
    

    
    
    
d1634 1
a1634 1
echo "configure:1710: checking if 64bit support is requested" >&5
d1654 1
a1654 1
echo "configure:1730: checking if 64bit Sparc VIS support is requested" >&5
d1678 1
a1678 1
echo "configure:1754: checking system version (for dynamic loading)" >&5
d1704 1
a1704 1
echo "configure:1780: checking for dlopen in -ldl" >&5
d1712 1
a1712 1
#line 1788 "configure"
d1723 1
a1723 1
if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1748 1
d1768 1
a1768 1
echo "configure:1843: checking for $ac_word" >&5
a1823 1
	    # Check to enable 64-bit flags for compiler/linker
d1873 1
a1873 1
echo "configure:1949: checking for gettimeofday in -lbsd" >&5
d1881 1
a1881 1
#line 1957 "configure"
d1892 1
a1892 1
if { (eval echo configure:1968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1919 11

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		fi
	    fi
a1951 6
	    # Use updated header definitions where possible
	    cat >> confdefs.h <<\EOF
#define _XOPEN_SOURCE_EXTENDED 1
EOF


d1954 1
a1954 1
echo "configure:2047: checking for shl_load in -ldld" >&5
d1962 1
a1962 1
#line 2055 "configure"
d1973 1
a1973 1
if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2002 2

	    # Check to enable 64-bit flags for compiler/linker
d2016 1
a2016 1
echo "configure:2111: checking for shl_load in -ldld" >&5
d2024 1
a2024 1
#line 2119 "configure"
d2035 1
a2035 1
if { (eval echo configure:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2114 1
a2114 1
	    SHLIB_LD="ld -n32 -shared -rdata_shared"
d2142 1
a2142 1
echo "configure:2237: checking for dld.h" >&5
d2147 1
a2147 1
#line 2242 "configure"
d2152 1
a2152 1
{ (eval echo configure:2247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2209 1
a2209 1
echo "configure:2304: checking for dld.h" >&5
d2214 1
a2214 1
#line 2309 "configure"
d2219 1
a2219 1
{ (eval echo configure:2314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2274 1
a2274 1
echo "configure:2369: checking for dlfcn.h" >&5
d2279 1
a2279 1
#line 2374 "configure"
d2284 1
a2284 1
{ (eval echo configure:2379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2311 1
a2311 1
echo "configure:2406: checking for ELF" >&5
d2313 1
a2313 1
#line 2408 "configure"
d2360 1
a2360 1
	    SHLIB_LD_LIBS='${LIBS}'
d2366 4
a2369 12
	    if test "${TCL_THREADS}" = "1" ; then
		EXTRA_CFLAGS="-pthread"
	    	LDFLAGS="$LDFLAGS -pthread"
	    fi
	    case $system in
	    FreeBSD-3.*)
	    	# FreeBSD-3 doesn't handle version numbers with dots.
	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
	    	TCL_LIB_VERSIONS_OK=nodots
		;;
	    esac
d2375 1
a2375 1
	    SHLIB_LD_LIBS='${LIBS}'
a2438 1
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
a2439 1
		LIBS=`echo $LIBS | sed s/-lpthreads//`
d2441 1
a2528 4
	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF

d2541 1
a2541 5
	    if test "$GCC" = "yes" ; then
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
	    else
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    fi
a2551 4
	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF

a2556 1
	    # Check to enable 64-bit flags for compiler/linker
d2614 1
a2614 1
echo "configure:2731: checking for ld accepts -Bexport flag" >&5
d2617 1
a2617 1
#line 2734 "configure"
d2624 1
a2624 1
if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2670 1
a2670 1
echo "configure:2787: checking sys/exec.h" >&5
d2672 1
a2672 1
#line 2789 "configure"
d2690 1
a2690 1
if { (eval echo configure:2807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2708 1
a2708 1
echo "configure:2825: checking a.out.h" >&5
d2710 1
a2710 1
#line 2827 "configure"
d2728 1
a2728 1
if { (eval echo configure:2845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2746 1
a2746 1
echo "configure:2863: checking sys/exec_aout.h" >&5
d2748 1
a2748 1
#line 2865 "configure"
d2766 1
a2766 1
if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2863 1
a2863 1
echo "configure:2980: checking for build with symbols" >&5
d2907 1
a2907 1
echo "configure:3024: checking for sin" >&5
d2912 1
a2912 1
#line 3029 "configure"
d2935 1
a2935 1
if { (eval echo configure:3052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2956 1
a2956 1
echo "configure:3073: checking for main in -lieee" >&5
d2964 1
a2964 1
#line 3081 "configure"
d2971 1
a2971 1
if { (eval echo configure:3088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3002 1
a3002 1
echo "configure:3119: checking for gettimeofday in -lbsd" >&5
d3010 1
a3010 1
#line 3127 "configure"
d3021 1
a3021 1
if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3052 1
a3052 1
echo "configure:3169: checking stdlib.h" >&5
d3054 1
a3054 1
#line 3171 "configure"
d3069 1
a3069 1
#line 3186 "configure"
d3083 1
a3083 1
#line 3200 "configure"
d3115 1
a3115 1
echo "configure:3232: checking fd_set and sys/select" >&5
d3117 1
a3117 1
#line 3234 "configure"
d3124 1
a3124 1
if { (eval echo configure:3241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3136 1
a3136 1
#line 3253 "configure"
d3168 1
a3168 1
echo "configure:3285: checking for ANSI C header files" >&5
d3173 1
a3173 1
#line 3290 "configure"
d3181 1
a3181 1
{ (eval echo configure:3298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3198 1
a3198 1
#line 3315 "configure"
d3216 1
a3216 1
#line 3333 "configure"
d3237 1
a3237 1
#line 3354 "configure"
d3248 1
a3248 1
if { (eval echo configure:3365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3272 1
a3272 1
echo "configure:3389: checking for mode_t" >&5
d3277 1
a3277 1
#line 3394 "configure"
d3305 1
a3305 1
echo "configure:3422: checking for pid_t" >&5
d3310 1
a3310 1
#line 3427 "configure"
d3338 1
a3338 1
echo "configure:3455: checking for size_t" >&5
d3343 1
a3343 1
#line 3460 "configure"
d3371 1
a3371 1
echo "configure:3488: checking for uid_t in sys/types.h" >&5
d3376 1
a3376 1
#line 3493 "configure"
d3413 1
a3413 1
echo "configure:3530: checking for $ac_hdr" >&5
d3418 1
a3418 1
#line 3535 "configure"
d3423 1
a3423 1
{ (eval echo configure:3540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3450 1
a3450 1
echo "configure:3567: checking whether time.h and sys/time.h may both be included" >&5
d3455 1
a3455 1
#line 3572 "configure"
d3464 1
a3464 1
if { (eval echo configure:3581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3490 1
a3490 1
echo "configure:3607: checking pw_gecos in struct pwd" >&5
d3492 1
a3492 1
#line 3609 "configure"
d3499 1
a3499 1
if { (eval echo configure:3616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3532 1
a3532 1
echo "configure:3649: checking for X" >&5
d3594 1
a3594 1
#line 3711 "configure"
d3599 1
a3599 1
{ (eval echo configure:3716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3668 1
a3668 1
#line 3785 "configure"
d3675 1
a3675 1
if { (eval echo configure:3792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3765 1
a3765 1
#line 3882 "configure"
d3770 1
a3770 1
{ (eval echo configure:3887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3790 1
a3790 1
echo "configure:3907: checking for X11 header files" >&5
d3793 1
a3793 1
#line 3910 "configure"
d3798 1
a3798 1
{ (eval echo configure:3915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3834 1
a3834 1
echo "configure:3951: checking for X11 libraries" >&5
d3854 1
a3854 1
echo "configure:3971: checking for XCreateWindow in -lXwindow" >&5
d3862 1
a3862 1
#line 3979 "configure"
d3873 1
a3873 1
if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3958 1
a3958 1
echo "configure:4075: checking for main in -lXbsd" >&5
d3966 1
a3966 1
#line 4083 "configure"
d3973 1
a3973 1
if { (eval echo configure:4090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3996 1
a3996 1
echo "configure:4113: checking for connect" >&5
d4001 1
a4001 1
#line 4118 "configure"
d4024 1
a4024 1
if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4046 1
a4046 1
echo "configure:4163: checking for main in -lsocket" >&5
d4054 1
a4054 1
#line 4171 "configure"
d4061 1
a4061 1
if { (eval echo configure:4178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4087 1
a4087 1
echo "configure:4204: checking for accept" >&5
d4092 1
a4092 1
#line 4209 "configure"
d4115 1
a4115 1
if { (eval echo configure:4232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4137 1
a4137 1
echo "configure:4254: checking for gethostbyname" >&5
d4142 1
a4142 1
#line 4259 "configure"
d4165 1
a4165 1
if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4183 1
a4183 1
echo "configure:4300: checking for main in -lnsl" >&5
d4191 1
a4191 1
#line 4308 "configure"
d4198 1
a4198 1
if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4238 1
a4238 1
echo "configure:4355: checking MIT X libraries" >&5
d4244 1
a4244 1
#line 4361 "configure"
d4255 1
a4255 1
if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4282 1
a4282 1
echo "configure:4399: checking for sin" >&5
d4287 1
a4287 1
#line 4404 "configure"
d4310 1
a4310 1
if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4331 1
a4331 1
echo "configure:4448: checking for main in -lieee" >&5
d4339 1
a4339 1
#line 4456 "configure"
d4346 1
a4346 1
if { (eval echo configure:4463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4373 1
a4373 1
echo "configure:4490: checking whether char is unsigned" >&5
d4380 1
a4380 1
#line 4497 "configure"
d4402 1
a4402 1
#line 4519 "configure"
d4412 1
a4412 1
if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4445 1
a4445 1
echo "configure:4562: checking for strtod" >&5
d4450 1
a4450 1
#line 4567 "configure"
d4473 1
a4473 1
if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4495 1
a4495 1
echo "configure:4612: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4500 1
a4500 1
#line 4617 "configure"
d4520 1
a4520 1
if { (eval echo configure:4637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4552 1
a4552 1
echo "configure:4669: checking how to build libraries" >&5
d4585 3
d4591 1
a4591 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) \${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4594 2
a4595 1
    TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
d4618 1
a4618 1
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d4624 3
a4626 8

    if test "$GCC" = "yes" ; then
	TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
	TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"    
    else
	TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
	TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"    
    fi
d4652 1
a4652 1
TK_STUB_LIB_SPEC="-L${libdir} ${TK_STUB_LIB_FLAG}"
d4654 1
a4654 1
TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
d4701 8
a4865 1
s%@@TCL_VERSION@@%$TCL_VERSION%g
a4868 5
s%@@TCL_LIB_FLAG@@%$TCL_LIB_FLAG%g
s%@@TCL_LIB_SPEC@@%$TCL_LIB_SPEC%g
s%@@TCL_STUB_LIB_FILE@@%$TCL_STUB_LIB_FILE%g
s%@@TCL_STUB_LIB_FLAG@@%$TCL_STUB_LIB_FLAG%g
s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
d4904 2
d4907 1
@


1.3.2.12
log
@	* unix/configure:
	* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
	that the .sl knows its dependent libs.
@
text
@d2089 1
a2089 1
		SHLIB_LD_LIBS='${LIBS}'
d2459 1
a2459 1
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
@


1.3.2.13
log
@	* unix/configure: regen
	* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
	SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.
@
text
@d2989 6
a2994 1
    if test "$tcl_ok" = "no"; then
a2998 24
    else
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
	DBGX=g
	if test "$tcl_ok" = "yes"; then
	    echo "$ac_t""yes (standard debugging)" 1>&6
	fi
    fi
    
    

    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
	cat >> confdefs.h <<\EOF
#define TCL_MEM_DEBUG 1
EOF

    fi

    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
	if test "$tcl_ok" = "all"; then
	    echo "$ac_t""enabled symbols mem debugging" 1>&6
	else
	    echo "$ac_t""enabled $tcl_ok debugging" 1>&6
	fi
d3023 1
a3023 1
echo "configure:3043: checking for sin" >&5
d3028 1
a3028 1
#line 3048 "configure"
d3051 1
a3051 1
if { (eval echo configure:3071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3072 1
a3072 1
echo "configure:3092: checking for main in -lieee" >&5
d3080 1
a3080 1
#line 3100 "configure"
d3087 1
a3087 1
if { (eval echo configure:3107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3118 1
a3118 1
echo "configure:3138: checking for gettimeofday in -lbsd" >&5
d3126 1
a3126 1
#line 3146 "configure"
d3137 1
a3137 1
if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3168 1
a3168 1
echo "configure:3188: checking stdlib.h" >&5
d3170 1
a3170 1
#line 3190 "configure"
d3185 1
a3185 1
#line 3205 "configure"
d3199 1
a3199 1
#line 3219 "configure"
d3231 1
a3231 1
echo "configure:3251: checking fd_set and sys/select" >&5
d3233 1
a3233 1
#line 3253 "configure"
d3240 1
a3240 1
if { (eval echo configure:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3252 1
a3252 1
#line 3272 "configure"
d3284 1
a3284 1
echo "configure:3304: checking for ANSI C header files" >&5
d3289 1
a3289 1
#line 3309 "configure"
d3297 1
a3297 1
{ (eval echo configure:3317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3314 1
a3314 1
#line 3334 "configure"
d3332 1
a3332 1
#line 3352 "configure"
d3353 1
a3353 1
#line 3373 "configure"
d3364 1
a3364 1
if { (eval echo configure:3384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3388 1
a3388 1
echo "configure:3408: checking for mode_t" >&5
d3393 1
a3393 1
#line 3413 "configure"
d3421 1
a3421 1
echo "configure:3441: checking for pid_t" >&5
d3426 1
a3426 1
#line 3446 "configure"
d3454 1
a3454 1
echo "configure:3474: checking for size_t" >&5
d3459 1
a3459 1
#line 3479 "configure"
d3487 1
a3487 1
echo "configure:3507: checking for uid_t in sys/types.h" >&5
d3492 1
a3492 1
#line 3512 "configure"
d3529 1
a3529 1
echo "configure:3549: checking for $ac_hdr" >&5
d3534 1
a3534 1
#line 3554 "configure"
d3539 1
a3539 1
{ (eval echo configure:3559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3566 1
a3566 1
echo "configure:3586: checking whether time.h and sys/time.h may both be included" >&5
d3571 1
a3571 1
#line 3591 "configure"
d3580 1
a3580 1
if { (eval echo configure:3600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3606 1
a3606 1
echo "configure:3626: checking pw_gecos in struct pwd" >&5
d3608 1
a3608 1
#line 3628 "configure"
d3615 1
a3615 1
if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3648 1
a3648 1
echo "configure:3668: checking for X" >&5
d3710 1
a3710 1
#line 3730 "configure"
d3715 1
a3715 1
{ (eval echo configure:3735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3784 1
a3784 1
#line 3804 "configure"
d3791 1
a3791 1
if { (eval echo configure:3811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3881 1
a3881 1
#line 3901 "configure"
d3886 1
a3886 1
{ (eval echo configure:3906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3906 1
a3906 1
echo "configure:3926: checking for X11 header files" >&5
d3909 1
a3909 1
#line 3929 "configure"
d3914 1
a3914 1
{ (eval echo configure:3934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3950 1
a3950 1
echo "configure:3970: checking for X11 libraries" >&5
d3970 1
a3970 1
echo "configure:3990: checking for XCreateWindow in -lXwindow" >&5
d3978 1
a3978 1
#line 3998 "configure"
d3989 1
a3989 1
if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4074 1
a4074 1
echo "configure:4094: checking for main in -lXbsd" >&5
d4082 1
a4082 1
#line 4102 "configure"
d4089 1
a4089 1
if { (eval echo configure:4109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4112 1
a4112 1
echo "configure:4132: checking for connect" >&5
d4117 1
a4117 1
#line 4137 "configure"
d4140 1
a4140 1
if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4162 1
a4162 1
echo "configure:4182: checking for main in -lsocket" >&5
d4170 1
a4170 1
#line 4190 "configure"
d4177 1
a4177 1
if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4203 1
a4203 1
echo "configure:4223: checking for accept" >&5
d4208 1
a4208 1
#line 4228 "configure"
d4231 1
a4231 1
if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4253 1
a4253 1
echo "configure:4273: checking for gethostbyname" >&5
d4258 1
a4258 1
#line 4278 "configure"
d4281 1
a4281 1
if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4299 1
a4299 1
echo "configure:4319: checking for main in -lnsl" >&5
d4307 1
a4307 1
#line 4327 "configure"
d4314 1
a4314 1
if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4354 1
a4354 1
echo "configure:4374: checking MIT X libraries" >&5
d4360 1
a4360 1
#line 4380 "configure"
d4371 1
a4371 1
if { (eval echo configure:4391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4398 1
a4398 1
echo "configure:4418: checking for sin" >&5
d4403 1
a4403 1
#line 4423 "configure"
d4426 1
a4426 1
if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4447 1
a4447 1
echo "configure:4467: checking for main in -lieee" >&5
d4455 1
a4455 1
#line 4475 "configure"
d4462 1
a4462 1
if { (eval echo configure:4482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4489 1
a4489 1
echo "configure:4509: checking whether char is unsigned" >&5
d4496 1
a4496 1
#line 4516 "configure"
d4518 1
a4518 1
#line 4538 "configure"
d4528 1
a4528 1
if { (eval echo configure:4548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4561 1
a4561 1
echo "configure:4581: checking for strtod" >&5
d4566 1
a4566 1
#line 4586 "configure"
d4589 1
a4589 1
if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4611 1
a4611 1
echo "configure:4631: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4616 1
a4616 1
#line 4636 "configure"
d4636 1
a4636 1
if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4668 1
a4668 1
echo "configure:4688: checking how to build libraries" >&5
a4988 2
s%@@CFLAGS_DEFAULT@@%$CFLAGS_DEFAULT%g
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
d5005 2
@


1.3.2.14
log
@	* README:           updated to 8.3.5 patchlevel
	* generic/tk.h:     pointed README urls at www.tcl.tk
	* mac/README:
	* unix/README:
	* unix/configure:
	* unix/configure.in:
	* unix/tcl.m4:
	* unix/tk.spec:
	* win/README:
	* win/configure:
	* win/configure.in:
	* win/tcl.m4:
@
text
@d546 1
a546 1
TK_PATCH_LEVEL=".5"
a1819 4
    # Require ranlib early so we can override it in special cases below.

    

d1842 1
a1842 1
echo "configure:1847: checking for $ac_word" >&5
d1879 1
d1881 2
d1885 1
d1888 6
a1893 10
	    # AIX-5 uses ELF style dynamic libraries on IA-64, but not PPC
	    if test "`uname -m`" = "ia64" ; then
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
		# AIX-5 has dl* in libc.so
		DL_LIBS=""
		if test "$GCC" = "yes" ; then
		    LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
		else
		    LD_SEARCH_FLAGS='-R${LIB_RUNTIME_DIR}'
		fi
d1895 1
a1895 6
		SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
		DL_LIBS="-ldl"
		CC_SEARCH_FLAGS=
		LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'
		TCL_NEEDS_EXP_FILE=1
		TCL_EXPORT_FILE_SUFFIX='${VERSION}\$\{DBGX\}.exp'
a1897 3
	    DL_OBJS="tclLoadDl.o"
	    LDFLAGS=""

d1902 1
a1902 1
		else 
a1905 3
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"
d1948 1
a1948 1
echo "configure:1964: checking for gettimeofday in -lbsd" >&5
d1956 1
a1956 1
#line 1972 "configure"
d1967 1
a1967 1
if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2003 3
		    RANLIB="${RANLIB} -X64"
		    AR="${AR} -X64"
		    SHLIB_LD_FLAGS="-b64"
d2046 1
a2046 1
echo "configure:2065: checking for shl_load in -ldld" >&5
d2054 1
a2054 1
#line 2073 "configure"
d2065 1
a2065 1
if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2095 3
	    # Users may want PA-RISC 1.1/2.0 portable code - needs HP cc
	    #EXTRA_CFLAGS="+DAportable"

d2099 2
a2100 14
		    hpux_arch=`gcc -dumpmachine`
		    case $hpux_arch in
			hppa64*)
			    # 64-bit gcc in use.  Fix flags for GNU ld.
			    do64bit_ok=yes
			    SHLIB_LD="gcc -shared"
			    SHLIB_LD_LIBS=""
			    LD_SEARCH_FLAGS=''
			    ;;
			*)
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
			    ;;
		    esac
		else
d2110 1
a2110 1
echo "configure:2144: checking for shl_load in -ldld" >&5
d2118 1
a2118 1
#line 2152 "configure"
d2129 1
a2129 1
if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a2214 13

	    # Check to enable 64-bit flags for compiler/linker

	    if test "$do64bit" = "yes" ; then
	        if test "$GCC" = "yes" ; then
	            echo "configure: warning: 64bit mode not supported by gcc" 1>&2
	        else
	            do64bit_ok=yes
	            SHLIB_LD="ld -64 -shared -rdata_shared"
	            EXTRA_CFLAGS="-64"
	            LDFLAGS="-64"
	        fi
	    fi
d2236 1
a2236 1
echo "configure:2283: checking for dld.h" >&5
d2241 1
a2241 1
#line 2288 "configure"
d2246 1
a2246 1
{ (eval echo configure:2293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2303 1
a2303 1
echo "configure:2350: checking for dld.h" >&5
d2308 1
a2308 1
#line 2355 "configure"
d2313 1
a2313 1
{ (eval echo configure:2360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2368 1
a2368 1
echo "configure:2415: checking for dlfcn.h" >&5
d2373 1
a2373 1
#line 2420 "configure"
d2378 1
a2378 1
{ (eval echo configure:2425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2405 1
a2405 1
echo "configure:2452: checking for ELF" >&5
d2407 1
a2407 1
#line 2454 "configure"
a2460 2
		# The -pthread needs to go in the CFLAGS, not LIBS
		LIBS=`echo $LIBS | sed s/-pthread//`
d2518 1
a2518 5
	    if test "$SHARED_BUILD" = "1" ; then
	        SHLIB_LD="ld -shared"
	    else
	        SHLIB_LD="ld -non_shared"
	    fi
d2529 1
a2529 5
	    if test "$SHARED_BUILD" = "1" ; then
	        SHLIB_LD='ld -shared -expect_unresolved "*"'
	    else
	        SHLIB_LD='ld -non_shared -expect_unresolved "*"'
	    fi
d2551 1
d2638 1
a2648 1
		SHLIB_LD="$CC -shared"
a2650 1
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d2669 1
a2700 1
		SHLIB_LD="$CC -shared"
a2702 1
		SHLIB_LD="/usr/ccs/bin/ld -G -z text"
d2730 1
a2730 1
echo "configure:2788: checking for ld accepts -Bexport flag" >&5
d2733 1
a2733 1
#line 2791 "configure"
d2740 1
a2740 1
if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2786 1
a2786 1
echo "configure:2844: checking sys/exec.h" >&5
d2788 1
a2788 1
#line 2846 "configure"
d2806 1
a2806 1
if { (eval echo configure:2864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2824 1
a2824 1
echo "configure:2882: checking a.out.h" >&5
d2826 1
a2826 1
#line 2884 "configure"
d2844 1
a2844 1
if { (eval echo configure:2902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2862 1
a2862 1
echo "configure:2920: checking sys/exec_aout.h" >&5
d2864 1
a2864 1
#line 2922 "configure"
d2882 1
a2882 1
if { (eval echo configure:2940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2979 1
a2979 1
echo "configure:3037: checking for build with symbols" >&5
d3042 1
a3042 1
echo "configure:3100: checking for sin" >&5
d3047 1
a3047 1
#line 3105 "configure"
d3070 1
a3070 1
if { (eval echo configure:3128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3091 1
a3091 1
echo "configure:3149: checking for main in -lieee" >&5
d3099 1
a3099 1
#line 3157 "configure"
d3106 1
a3106 1
if { (eval echo configure:3164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3137 1
a3137 1
echo "configure:3195: checking for gettimeofday in -lbsd" >&5
d3145 1
a3145 1
#line 3203 "configure"
d3156 1
a3156 1
if { (eval echo configure:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3187 1
a3187 1
echo "configure:3245: checking stdlib.h" >&5
d3189 1
a3189 1
#line 3247 "configure"
d3204 1
a3204 1
#line 3262 "configure"
d3218 1
a3218 1
#line 3276 "configure"
d3250 1
a3250 1
echo "configure:3308: checking fd_set and sys/select" >&5
d3252 1
a3252 1
#line 3310 "configure"
d3259 1
a3259 1
if { (eval echo configure:3317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3271 1
a3271 1
#line 3329 "configure"
d3303 1
a3303 1
echo "configure:3361: checking for ANSI C header files" >&5
d3308 1
a3308 1
#line 3366 "configure"
d3316 1
a3316 1
{ (eval echo configure:3374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3333 1
a3333 1
#line 3391 "configure"
d3351 1
a3351 1
#line 3409 "configure"
d3372 1
a3372 1
#line 3430 "configure"
d3383 1
a3383 1
if { (eval echo configure:3441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3407 1
a3407 1
echo "configure:3465: checking for mode_t" >&5
d3412 1
a3412 1
#line 3470 "configure"
d3440 1
a3440 1
echo "configure:3498: checking for pid_t" >&5
d3445 1
a3445 1
#line 3503 "configure"
d3473 1
a3473 1
echo "configure:3531: checking for size_t" >&5
d3478 1
a3478 1
#line 3536 "configure"
d3506 1
a3506 1
echo "configure:3564: checking for uid_t in sys/types.h" >&5
d3511 1
a3511 1
#line 3569 "configure"
d3548 1
a3548 1
echo "configure:3606: checking for $ac_hdr" >&5
d3553 1
a3553 1
#line 3611 "configure"
d3558 1
a3558 1
{ (eval echo configure:3616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3585 1
a3585 1
echo "configure:3643: checking whether time.h and sys/time.h may both be included" >&5
d3590 1
a3590 1
#line 3648 "configure"
d3599 1
a3599 1
if { (eval echo configure:3657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3625 1
a3625 1
echo "configure:3683: checking pw_gecos in struct pwd" >&5
d3627 1
a3627 1
#line 3685 "configure"
d3634 1
a3634 1
if { (eval echo configure:3692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3667 1
a3667 1
echo "configure:3725: checking for X" >&5
d3729 1
a3729 1
#line 3787 "configure"
d3734 1
a3734 1
{ (eval echo configure:3792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3803 1
a3803 1
#line 3861 "configure"
d3810 1
a3810 1
if { (eval echo configure:3868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3900 1
a3900 1
#line 3958 "configure"
d3905 1
a3905 1
{ (eval echo configure:3963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3925 1
a3925 1
echo "configure:3983: checking for X11 header files" >&5
d3928 1
a3928 1
#line 3986 "configure"
d3933 1
a3933 1
{ (eval echo configure:3991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3969 1
a3969 1
echo "configure:4027: checking for X11 libraries" >&5
d3989 1
a3989 1
echo "configure:4047: checking for XCreateWindow in -lXwindow" >&5
d3997 1
a3997 1
#line 4055 "configure"
d4008 1
a4008 1
if { (eval echo configure:4066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4093 1
a4093 1
echo "configure:4151: checking for main in -lXbsd" >&5
d4101 1
a4101 1
#line 4159 "configure"
d4108 1
a4108 1
if { (eval echo configure:4166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4131 1
a4131 1
echo "configure:4189: checking for connect" >&5
d4136 1
a4136 1
#line 4194 "configure"
d4159 1
a4159 1
if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4181 1
a4181 1
echo "configure:4239: checking for main in -lsocket" >&5
d4189 1
a4189 1
#line 4247 "configure"
d4196 1
a4196 1
if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4222 1
a4222 1
echo "configure:4280: checking for accept" >&5
d4227 1
a4227 1
#line 4285 "configure"
d4250 1
a4250 1
if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4272 1
a4272 1
echo "configure:4330: checking for gethostbyname" >&5
d4277 1
a4277 1
#line 4335 "configure"
d4300 1
a4300 1
if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4318 1
a4318 1
echo "configure:4376: checking for main in -lnsl" >&5
d4326 1
a4326 1
#line 4384 "configure"
d4333 1
a4333 1
if { (eval echo configure:4391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4373 1
a4373 1
echo "configure:4431: checking MIT X libraries" >&5
d4379 1
a4379 1
#line 4437 "configure"
d4390 1
a4390 1
if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4417 1
a4417 1
echo "configure:4475: checking for sin" >&5
d4422 1
a4422 1
#line 4480 "configure"
d4445 1
a4445 1
if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4466 1
a4466 1
echo "configure:4524: checking for main in -lieee" >&5
d4474 1
a4474 1
#line 4532 "configure"
d4481 1
a4481 1
if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4508 1
a4508 1
echo "configure:4566: checking whether char is unsigned" >&5
d4515 1
a4515 1
#line 4573 "configure"
d4537 1
a4537 1
#line 4595 "configure"
d4547 1
a4547 1
if { (eval echo configure:4605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4580 1
a4580 1
echo "configure:4638: checking for strtod" >&5
d4585 1
a4585 1
#line 4643 "configure"
d4608 1
a4608 1
if { (eval echo configure:4666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4630 1
a4630 1
echo "configure:4688: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4635 1
a4635 1
#line 4693 "configure"
d4655 1
a4655 1
if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4687 1
a4687 1
echo "configure:4745: checking how to build libraries" >&5
@


1.3.2.15
log
@correct HP-UX ia64 --enable-64bit build flags
@
text
@d2135 2
a2136 7
		    if test "`uname -m`" = "ia64" ; then
			EXTRA_CFLAGS="+DD64"
			LDFLAGS="+DD64 $LDFLAGS"
		    else
			EXTRA_CFLAGS="+DA2.0W"
			LDFLAGS="+DA2.0W $LDFLAGS"
		    fi
d2143 1
a2143 1
echo "configure:2149: checking for shl_load in -ldld" >&5
d2151 1
a2151 1
#line 2157 "configure"
d2162 1
a2162 1
if { (eval echo configure:2168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2282 1
a2282 1
echo "configure:2288: checking for dld.h" >&5
d2287 1
a2287 1
#line 2293 "configure"
d2292 1
a2292 1
{ (eval echo configure:2298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2349 1
a2349 1
echo "configure:2355: checking for dld.h" >&5
d2354 1
a2354 1
#line 2360 "configure"
d2359 1
a2359 1
{ (eval echo configure:2365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2414 1
a2414 1
echo "configure:2420: checking for dlfcn.h" >&5
d2419 1
a2419 1
#line 2425 "configure"
d2424 1
a2424 1
{ (eval echo configure:2430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2451 1
a2451 1
echo "configure:2457: checking for ELF" >&5
d2453 1
a2453 1
#line 2459 "configure"
d2787 1
a2787 1
echo "configure:2793: checking for ld accepts -Bexport flag" >&5
d2790 1
a2790 1
#line 2796 "configure"
d2797 1
a2797 1
if { (eval echo configure:2803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2843 1
a2843 1
echo "configure:2849: checking sys/exec.h" >&5
d2845 1
a2845 1
#line 2851 "configure"
d2863 1
a2863 1
if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2881 1
a2881 1
echo "configure:2887: checking a.out.h" >&5
d2883 1
a2883 1
#line 2889 "configure"
d2901 1
a2901 1
if { (eval echo configure:2907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2919 1
a2919 1
echo "configure:2925: checking sys/exec_aout.h" >&5
d2921 1
a2921 1
#line 2927 "configure"
d2939 1
a2939 1
if { (eval echo configure:2945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3036 1
a3036 1
echo "configure:3042: checking for build with symbols" >&5
d3099 1
a3099 1
echo "configure:3105: checking for sin" >&5
d3104 1
a3104 1
#line 3110 "configure"
d3127 1
a3127 1
if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3148 1
a3148 1
echo "configure:3154: checking for main in -lieee" >&5
d3156 1
a3156 1
#line 3162 "configure"
d3163 1
a3163 1
if { (eval echo configure:3169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3194 1
a3194 1
echo "configure:3200: checking for gettimeofday in -lbsd" >&5
d3202 1
a3202 1
#line 3208 "configure"
d3213 1
a3213 1
if { (eval echo configure:3219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3244 1
a3244 1
echo "configure:3250: checking stdlib.h" >&5
d3246 1
a3246 1
#line 3252 "configure"
d3261 1
a3261 1
#line 3267 "configure"
d3275 1
a3275 1
#line 3281 "configure"
d3307 1
a3307 1
echo "configure:3313: checking fd_set and sys/select" >&5
d3309 1
a3309 1
#line 3315 "configure"
d3316 1
a3316 1
if { (eval echo configure:3322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3328 1
a3328 1
#line 3334 "configure"
d3360 1
a3360 1
echo "configure:3366: checking for ANSI C header files" >&5
d3365 1
a3365 1
#line 3371 "configure"
d3373 1
a3373 1
{ (eval echo configure:3379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3390 1
a3390 1
#line 3396 "configure"
d3408 1
a3408 1
#line 3414 "configure"
d3429 1
a3429 1
#line 3435 "configure"
d3440 1
a3440 1
if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3464 1
a3464 1
echo "configure:3470: checking for mode_t" >&5
d3469 1
a3469 1
#line 3475 "configure"
d3497 1
a3497 1
echo "configure:3503: checking for pid_t" >&5
d3502 1
a3502 1
#line 3508 "configure"
d3530 1
a3530 1
echo "configure:3536: checking for size_t" >&5
d3535 1
a3535 1
#line 3541 "configure"
d3563 1
a3563 1
echo "configure:3569: checking for uid_t in sys/types.h" >&5
d3568 1
a3568 1
#line 3574 "configure"
d3605 1
a3605 1
echo "configure:3611: checking for $ac_hdr" >&5
d3610 1
a3610 1
#line 3616 "configure"
d3615 1
a3615 1
{ (eval echo configure:3621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3642 1
a3642 1
echo "configure:3648: checking whether time.h and sys/time.h may both be included" >&5
d3647 1
a3647 1
#line 3653 "configure"
d3656 1
a3656 1
if { (eval echo configure:3662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3682 1
a3682 1
echo "configure:3688: checking pw_gecos in struct pwd" >&5
d3684 1
a3684 1
#line 3690 "configure"
d3691 1
a3691 1
if { (eval echo configure:3697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3724 1
a3724 1
echo "configure:3730: checking for X" >&5
d3786 1
a3786 1
#line 3792 "configure"
d3791 1
a3791 1
{ (eval echo configure:3797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3860 1
a3860 1
#line 3866 "configure"
d3867 1
a3867 1
if { (eval echo configure:3873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3957 1
a3957 1
#line 3963 "configure"
d3962 1
a3962 1
{ (eval echo configure:3968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3982 1
a3982 1
echo "configure:3988: checking for X11 header files" >&5
d3985 1
a3985 1
#line 3991 "configure"
d3990 1
a3990 1
{ (eval echo configure:3996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d4026 1
a4026 1
echo "configure:4032: checking for X11 libraries" >&5
d4046 1
a4046 1
echo "configure:4052: checking for XCreateWindow in -lXwindow" >&5
d4054 1
a4054 1
#line 4060 "configure"
d4065 1
a4065 1
if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4150 1
a4150 1
echo "configure:4156: checking for main in -lXbsd" >&5
d4158 1
a4158 1
#line 4164 "configure"
d4165 1
a4165 1
if { (eval echo configure:4171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4188 1
a4188 1
echo "configure:4194: checking for connect" >&5
d4193 1
a4193 1
#line 4199 "configure"
d4216 1
a4216 1
if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4238 1
a4238 1
echo "configure:4244: checking for main in -lsocket" >&5
d4246 1
a4246 1
#line 4252 "configure"
d4253 1
a4253 1
if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4279 1
a4279 1
echo "configure:4285: checking for accept" >&5
d4284 1
a4284 1
#line 4290 "configure"
d4307 1
a4307 1
if { (eval echo configure:4313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4329 1
a4329 1
echo "configure:4335: checking for gethostbyname" >&5
d4334 1
a4334 1
#line 4340 "configure"
d4357 1
a4357 1
if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4375 1
a4375 1
echo "configure:4381: checking for main in -lnsl" >&5
d4383 1
a4383 1
#line 4389 "configure"
d4390 1
a4390 1
if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4430 1
a4430 1
echo "configure:4436: checking MIT X libraries" >&5
d4436 1
a4436 1
#line 4442 "configure"
d4447 1
a4447 1
if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4474 1
a4474 1
echo "configure:4480: checking for sin" >&5
d4479 1
a4479 1
#line 4485 "configure"
d4502 1
a4502 1
if { (eval echo configure:4508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4523 1
a4523 1
echo "configure:4529: checking for main in -lieee" >&5
d4531 1
a4531 1
#line 4537 "configure"
d4538 1
a4538 1
if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4565 1
a4565 1
echo "configure:4571: checking whether char is unsigned" >&5
d4572 1
a4572 1
#line 4578 "configure"
d4594 1
a4594 1
#line 4600 "configure"
d4604 1
a4604 1
if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4637 1
a4637 1
echo "configure:4643: checking for strtod" >&5
d4642 1
a4642 1
#line 4648 "configure"
d4665 1
a4665 1
if { (eval echo configure:4671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4687 1
a4687 1
echo "configure:4693: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4692 1
a4692 1
#line 4698 "configure"
d4712 1
a4712 1
if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4744 1
a4744 1
echo "configure:4750: checking how to build libraries" >&5
@


1.3.2.16
log
@Fix sh quoting error reported in	bash-3.1+ [Bug 1377619] (schafer)
@
text
@d1766 1
a1766 1
		system=MP-RAS-`awk '{print }' /etc/.relid`
@


1.2
log
@	* unix/configure:
	* unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
 	(english) [Patch 403626]
@
text
@d545 1
a545 1
TK_PATCH_LEVEL="a2"
@


1.1
log
@	* unix/configure:
	* win/configure: checked in configure scripts so people doing
	CVS checkouts aren't required to have autoconf.  Changes to
	configure.in in the future will require the corresponding
	configure script to also be re-autoconf'ed and checked in.
@
text
@d1734 12
a1745 1
	IRIX-5.*|IRIX-6.*|IRIX64-6.5*)
d1799 1
a1799 1
echo "configure:1789: checking for dld.h" >&5
d1804 1
a1804 1
#line 1794 "configure"
d1809 1
a1809 1
{ (eval echo configure:1799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1864 1
a1864 1
echo "configure:1854: checking for dlfcn.h" >&5
d1869 1
a1869 1
#line 1859 "configure"
d1874 1
a1874 1
{ (eval echo configure:1864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1901 1
a1901 1
echo "configure:1891: checking for ELF" >&5
d1903 1
a1903 1
#line 1893 "configure"
d2156 1
a2156 1
echo "configure:2146: checking for ld accepts -Bexport flag" >&5
d2159 1
a2159 1
#line 2149 "configure"
d2166 1
a2166 1
if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2212 1
a2212 1
echo "configure:2202: checking sys/exec.h" >&5
d2214 1
a2214 1
#line 2204 "configure"
d2232 1
a2232 1
if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2250 1
a2250 1
echo "configure:2240: checking a.out.h" >&5
d2252 1
a2252 1
#line 2242 "configure"
d2270 1
a2270 1
if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2288 1
a2288 1
echo "configure:2278: checking sys/exec_aout.h" >&5
d2290 1
a2290 1
#line 2280 "configure"
d2308 1
a2308 1
if { (eval echo configure:2298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2403 1
a2403 1
echo "configure:2393: checking for build with symbols" >&5
d2447 1
a2447 1
echo "configure:2437: checking for sin" >&5
d2452 1
a2452 1
#line 2442 "configure"
d2475 1
a2475 1
if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2496 1
a2496 1
echo "configure:2486: checking for main in -lieee" >&5
d2504 1
a2504 1
#line 2494 "configure"
d2511 1
a2511 1
if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2542 1
a2542 1
echo "configure:2532: checking for gettimeofday in -lbsd" >&5
d2550 1
a2550 1
#line 2540 "configure"
d2561 1
a2561 1
if { (eval echo configure:2551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2592 1
a2592 1
echo "configure:2582: checking stdlib.h" >&5
d2594 1
a2594 1
#line 2584 "configure"
d2609 1
a2609 1
#line 2599 "configure"
d2623 1
a2623 1
#line 2613 "configure"
d2655 1
a2655 1
echo "configure:2645: checking fd_set and sys/select" >&5
d2657 1
a2657 1
#line 2647 "configure"
d2664 1
a2664 1
if { (eval echo configure:2654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2676 1
a2676 1
#line 2666 "configure"
d2708 1
a2708 1
echo "configure:2698: checking for ANSI C header files" >&5
d2713 1
a2713 1
#line 2703 "configure"
d2721 1
a2721 1
{ (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2738 1
a2738 1
#line 2728 "configure"
d2756 1
a2756 1
#line 2746 "configure"
d2777 1
a2777 1
#line 2767 "configure"
d2788 1
a2788 1
if { (eval echo configure:2778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2812 1
a2812 1
echo "configure:2802: checking for mode_t" >&5
d2817 1
a2817 1
#line 2807 "configure"
d2845 1
a2845 1
echo "configure:2835: checking for pid_t" >&5
d2850 1
a2850 1
#line 2840 "configure"
d2878 1
a2878 1
echo "configure:2868: checking for size_t" >&5
d2883 1
a2883 1
#line 2873 "configure"
d2911 1
a2911 1
echo "configure:2901: checking for uid_t in sys/types.h" >&5
d2916 1
a2916 1
#line 2906 "configure"
d2953 1
a2953 1
echo "configure:2943: checking for $ac_hdr" >&5
d2958 1
a2958 1
#line 2948 "configure"
d2963 1
a2963 1
{ (eval echo configure:2953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2990 1
a2990 1
echo "configure:2980: checking whether time.h and sys/time.h may both be included" >&5
d2995 1
a2995 1
#line 2985 "configure"
d3004 1
a3004 1
if { (eval echo configure:2994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3030 1
a3030 1
echo "configure:3020: checking pw_gecos in struct pwd" >&5
d3032 1
a3032 1
#line 3022 "configure"
d3039 1
a3039 1
if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3072 1
a3072 1
echo "configure:3062: checking for X" >&5
d3134 1
a3134 1
#line 3124 "configure"
d3139 1
a3139 1
{ (eval echo configure:3129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3208 1
a3208 1
#line 3198 "configure"
d3215 1
a3215 1
if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3305 1
a3305 1
#line 3295 "configure"
d3310 1
a3310 1
{ (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3330 1
a3330 1
echo "configure:3320: checking for X11 header files" >&5
d3333 1
a3333 1
#line 3323 "configure"
d3338 1
a3338 1
{ (eval echo configure:3328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3374 1
a3374 1
echo "configure:3364: checking for X11 libraries" >&5
d3394 1
a3394 1
echo "configure:3384: checking for XCreateWindow in -lXwindow" >&5
d3402 1
a3402 1
#line 3392 "configure"
d3413 1
a3413 1
if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3498 1
a3498 1
echo "configure:3488: checking for main in -lXbsd" >&5
d3506 1
a3506 1
#line 3496 "configure"
d3513 1
a3513 1
if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3536 1
a3536 1
echo "configure:3526: checking for connect" >&5
d3541 1
a3541 1
#line 3531 "configure"
d3564 1
a3564 1
if { (eval echo configure:3554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3586 1
a3586 1
echo "configure:3576: checking for main in -lsocket" >&5
d3594 1
a3594 1
#line 3584 "configure"
d3601 1
a3601 1
if { (eval echo configure:3591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3627 1
a3627 1
echo "configure:3617: checking for accept" >&5
d3632 1
a3632 1
#line 3622 "configure"
d3655 1
a3655 1
if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3677 1
a3677 1
echo "configure:3667: checking for gethostbyname" >&5
d3682 1
a3682 1
#line 3672 "configure"
d3705 1
a3705 1
if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3723 1
a3723 1
echo "configure:3713: checking for main in -lnsl" >&5
d3731 1
a3731 1
#line 3721 "configure"
d3738 1
a3738 1
if { (eval echo configure:3728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3778 1
a3778 1
echo "configure:3768: checking MIT X libraries" >&5
d3784 1
a3784 1
#line 3774 "configure"
d3795 1
a3795 1
if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3822 1
a3822 1
echo "configure:3812: checking for sin" >&5
d3827 1
a3827 1
#line 3817 "configure"
d3850 1
a3850 1
if { (eval echo configure:3840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3871 1
a3871 1
echo "configure:3861: checking for main in -lieee" >&5
d3879 1
a3879 1
#line 3869 "configure"
d3886 1
a3886 1
if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3913 1
a3913 1
echo "configure:3903: checking whether char is unsigned" >&5
d3920 1
a3920 1
#line 3910 "configure"
d3942 1
a3942 1
#line 3932 "configure"
d3952 1
a3952 1
if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3985 1
a3985 1
echo "configure:3975: checking for strtod" >&5
d3990 1
a3990 1
#line 3980 "configure"
d4013 1
a4013 1
if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4035 1
a4035 1
echo "configure:4025: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4040 1
a4040 1
#line 4030 "configure"
d4060 1
a4060 1
if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4092 1
a4092 1
echo "configure:4082: checking how to build libraries" >&5
@


1.1.2.1
log
@sync with head
@
text
@d540 1
d545 1
a545 1
TK_PATCH_LEVEL="a5"
a548 4
#------------------------------------------------------------------------
# Handle the --prefix=... option
#------------------------------------------------------------------------

a554 2
# libdir must be a fully qualified path and (not ${exec_prefix}/lib)
eval libdir="$libdir"
a558 10
#------------------------------------------------------------------------
# Standard compiler checks
#------------------------------------------------------------------------

# If the user did not set CFLAGS, set it now to keep
# the AC_PROG_CC macro from adding "-g -O2".
if test "${CFLAGS+set}" != "set" ; then
    CFLAGS=""
fi

d562 1
a562 1
echo "configure:578: checking for $ac_word" >&5
d592 1
a592 1
echo "configure:608: checking for $ac_word" >&5
d643 1
a643 1
echo "configure:659: checking for $ac_word" >&5
d675 1
a675 1
echo "configure:691: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d686 1
a686 1
#line 702 "configure"
d691 1
a691 1
if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d717 1
a717 1
echo "configure:733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d722 1
a722 1
echo "configure:738: checking whether we are using GNU C" >&5
d731 1
a731 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d750 1
a750 1
echo "configure:766: checking whether ${CC-cc} accepts -g" >&5
d784 1
a784 1
echo "configure:800: checking for $ac_word" >&5
d817 1
a817 1
echo "configure:833: checking how to run the C preprocessor" >&5
d832 1
a832 1
#line 848 "configure"
d838 1
a838 1
{ (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d849 1
a849 1
#line 865 "configure"
d855 1
a855 1
{ (eval echo configure:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d866 1
a866 1
#line 882 "configure"
d872 1
a872 1
{ (eval echo configure:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d900 1
a900 1
echo "configure:916: checking for $ac_hdr" >&5
d905 1
a905 1
#line 921 "configure"
d910 1
a910 1
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d943 1
a943 1
echo "configure:959: checking for building with threads" >&5
d969 1
a969 1
echo "configure:985: checking for pthread_mutex_init in -lpthread" >&5
d977 1
a977 1
#line 993 "configure"
d988 1
a988 1
if { (eval echo configure:1004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1016 1
a1016 1
echo "configure:1032: checking for __pthread_mutex_init in -lpthread" >&5
d1024 1
a1024 1
#line 1040 "configure"
d1035 1
a1035 1
if { (eval echo configure:1051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1063 1
a1063 1
echo "configure:1079: checking for pthread_mutex_init in -lpthreads" >&5
d1071 1
a1071 1
#line 1087 "configure"
d1082 1
a1082 1
if { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1108 1
a1108 1
echo "configure:1124: checking for pthread_mutex_init in -lc" >&5
d1116 1
a1116 1
#line 1132 "configure"
d1127 1
a1127 1
if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1149 2
a1150 48
		    echo $ac_n "checking for pthread_mutex_init in -lc_r""... $ac_c" 1>&6
echo "configure:1166: checking for pthread_mutex_init in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_mutex_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lc_r  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1174 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pthread_mutex_init();

int main() {
pthread_mutex_init()
; return 0; }
EOF
if { (eval echo configure:1185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

		    if test "$tcl_ok" = "yes"; then
			# The space is needed
			THREADS_LIBS=" -pthread"
		    else
			TCL_THREADS=0
			echo "configure: warning: "Don t know how to find pthread lib on your system - you must disable thread support or edit the LIBS in the Makefile..."" 1>&2
		    fi
d1161 1
a1161 1
echo "configure:1223: checking for $ac_func" >&5
d1166 1
a1166 1
#line 1228 "configure"
d1189 1
a1189 1
if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1216 1
    
d1227 1
a1227 1
echo "configure:1290: checking if the compiler understands -pipe" >&5
d1231 1
a1231 1
#line 1294 "configure"
d1238 1
a1238 1
if { (eval echo configure:1301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a1252 275
#	Detect what compiler flags to set for 64-bit support.
#--------------------------------------------------------------------


    echo $ac_n "checking for required early compiler flags""... $ac_c" 1>&6
echo "configure:1321: checking for required early compiler flags" >&5
    tcl_flags=""
    
    if eval "test \"`echo '$''{'tcl_cv_flag__isoc99_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1328 "configure"
#include "confdefs.h"
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:1335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1343 "configure"
#include "confdefs.h"
#define _ISOC99_SOURCE 1
#include <stdlib.h>
int main() {
char *p = (char *)strtoll; char *q = (char *)strtoull;
; return 0; }
EOF
if { (eval echo configure:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__isoc99_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _ISOC99_SOURCE 1
EOF

	tcl_flags="$tcl_flags _ISOC99_SOURCE"
    fi
    
    if eval "test \"`echo '$''{'tcl_cv_flag__largefile64_source'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1377 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:1384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  cat > conftest.$ac_ext <<EOF
#line 1392 "configure"
#include "confdefs.h"
#define _LARGEFILE64_SOURCE 1
#include <sys/stat.h>
int main() {
struct stat64 buf; int i = stat64("/", &buf);
; return 0; }
EOF
if { (eval echo configure:1400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_flag__largefile64_source=no
fi
rm -f conftest*
fi
rm -f conftest*
fi

    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
	cat >> confdefs.h <<\EOF
#define _LARGEFILE64_SOURCE 1
EOF

	tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
    fi
    if test "x${tcl_flags}" = "x" ; then
	echo "$ac_t""none" 1>&6
    else
	echo "$ac_t""${tcl_flags}" 1>&6
    fi


    echo $ac_n "checking for 64-bit integer type""... $ac_c" 1>&6
echo "configure:1429: checking for 64-bit integer type" >&5
    if eval "test \"`echo '$''{'tcl_cv_type_64bit'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	cat > conftest.$ac_ext <<EOF
#line 1435 "configure"
#include "confdefs.h"

int main() {
__int64 value = (__int64) 0;
; return 0; }
EOF
if { (eval echo configure:1442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_64bit=__int64
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_64bit=none
           if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 1454 "configure"
#include "confdefs.h"
#include <unistd.h>
		int main() {exit(!(sizeof(long long) > sizeof(long)));}
		
EOF
if { (eval echo configure:1460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  tcl_cv_type_64bit="long long"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -fr conftest*
fi

fi
rm -f conftest*
fi

    if test "${tcl_cv_type_64bit}" = none ; then
	echo "$ac_t""using long" 1>&6
    else
	cat >> confdefs.h <<EOF
#define TCL_WIDE_INT_TYPE ${tcl_cv_type_64bit}
EOF

	echo "$ac_t""${tcl_cv_type_64bit}" 1>&6

	# Now check for auxiliary declarations
	echo $ac_n "checking for struct dirent64""... $ac_c" 1>&6
echo "configure:1485: checking for struct dirent64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_dirent64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1491 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/dirent.h>
int main() {
struct dirent64 p;
; return 0; }
EOF
if { (eval echo configure:1499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_dirent64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_dirent64=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_DIRENT64 1
EOF

	fi
	echo "$ac_t""${tcl_cv_struct_dirent64}" 1>&6

	echo $ac_n "checking for struct stat64""... $ac_c" 1>&6
echo "configure:1520: checking for struct stat64" >&5
	if eval "test \"`echo '$''{'tcl_cv_struct_stat64'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1526 "configure"
#include "confdefs.h"
#include <sys/stat.h>
int main() {
struct stat64 p;

; return 0; }
EOF
if { (eval echo configure:1534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_struct_stat64=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_struct_stat64=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_STRUCT_STAT64 1
EOF

	fi
	echo "$ac_t""${tcl_cv_struct_stat64}" 1>&6

	echo $ac_n "checking for off64_t""... $ac_c" 1>&6
echo "configure:1555: checking for off64_t" >&5
	if eval "test \"`echo '$''{'tcl_cv_type_off64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
	    cat > conftest.$ac_ext <<EOF
#line 1561 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() {
off64_t offset;

; return 0; }
EOF
if { (eval echo configure:1569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  tcl_cv_type_off64_t=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  tcl_cv_type_off64_t=no
fi
rm -f conftest*
fi

	if test "x${tcl_cv_type_off64_t}" = "xyes" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_TYPE_OFF64_T 1
EOF

	fi
	echo "$ac_t""${tcl_cv_type_off64_t}" 1>&6
    fi

#--------------------------------------------------------------------
d1273 1
a1273 1
echo "configure:1611: checking for Tcl configuration" >&5
d1279 1
a1279 1
	    # First check to see if --with-tcl was specified.
d1306 2
a1307 5
		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			; do
d1316 1
a1316 1
	    if test x"${ac_cv_c_tclconfig}" = x ; then
d1343 1
a1343 1
echo "configure:1684: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1353 2
a1354 16
    # If the TCL_BIN_DIR is the build directory (not the install directory),
    # then set the common variable name to the value of the build variables.
    # For example, the variable TCL_LIB_SPEC will be set to the value
    # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
    # instead of TCL_BUILD_LIB_SPEC since it will work with both an
    # installed and uninstalled version of Tcl.
    #

    if test -f $TCL_BIN_DIR/Makefile ; then
        TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC}
        TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC}
        TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH}
    fi

    #
    # eval is required to do the TCL_DBGX substitution
d1357 2
a1358 15
    eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
    eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
    eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""

    eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
    eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
    eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""

    
    
    

    
    
    
d1374 1
a1374 1
echo "configure:1742: checking if 64bit support is requested" >&5
d1394 1
a1394 1
echo "configure:1762: checking if 64bit Sparc VIS support is requested" >&5
d1418 1
a1418 1
echo "configure:1786: checking system version (for dynamic loading)" >&5
d1440 10
d1454 1
a1454 1
echo "configure:1812: checking for dlopen in -ldl" >&5
d1462 1
a1462 1
#line 1820 "configure"
d1473 1
a1473 1
if { (eval echo configure:1831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1498 1
d1507 1
a1507 1
    if test "$GCC" = "yes" ; then
d1515 1
a1515 30
    # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1875: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
AR="$ac_cv_prog_AR"
if test -n "$AR"; then
  echo "$ac_t""$AR" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

    STLIB_LD='${AR} cr'
d1517 2
a1518 2
	AIX-5.*)
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
a1524 1
	    LIBS="$LIBS -lc"
d1538 1
a1538 1
	    if test "$GCC" = "yes" ; then
a1543 1
	    # Check to enable 64-bit flags for compiler/linker
d1545 1
a1545 3
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
d1549 2
d1555 1
a1555 1
	    if test "${TCL_THREADS}" = "1" -a "$GCC" != "yes" ; then
a1561 1
	    LIBS="$LIBS -lc"
d1563 1
a1563 1
	    SHLIB_LD="${TCL_SRC_DIR}/unix/ldAix /bin/ld -bhalt:4 -bM:SRE -bE:lib.exp -H512 -T512 -bnoentry"
d1592 1
a1592 1
echo "configure:1981: checking for gettimeofday in -lbsd" >&5
d1600 1
a1600 1
#line 1989 "configure"
d1611 1
a1611 1
if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1638 11

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="-q64"
		    LDFLAGS="-q64"
		fi
	    fi
d1670 1
a1670 7
	HP-UX-*.11.*)
	    # Use updated header definitions where possible
	    cat >> confdefs.h <<\EOF
#define _XOPEN_SOURCE_EXTENDED 1
EOF


d1673 1
a1673 1
echo "configure:2079: checking for shl_load in -ldld" >&5
d1681 1
a1681 1
#line 2087 "configure"
d1692 1
a1692 65
if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  tcl_ok=yes
else
  echo "$ac_t""no" 1>&6
tcl_ok=no
fi

	    if test "$tcl_ok" = yes; then
		SHLIB_CFLAGS="+z"
		SHLIB_LD="ld -b"
		SHLIB_LD_LIBS=""
		DL_OBJS="tclLoadShl.o"
		DL_LIBS="-ldld"
		LDFLAGS="-Wl,-E"
		LD_SEARCH_FLAGS='-Wl,+s,+b,${LIB_RUNTIME_DIR}:.'
	    fi

	    # Check to enable 64-bit flags for compiler/linker
	    if test "$do64bit" = "yes" ; then
		if test "$GCC" = "yes" ; then
		    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
		else 
		    do64bit_ok=yes
		    EXTRA_CFLAGS="+DA2.0W"
		    LDFLAGS="+DA2.0W $LDFLAGS"
		fi
	    fi
	    ;;
	HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
	    SHLIB_SUFFIX=".sl"
	    echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
echo "configure:2143: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-ldld  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2151 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shl_load();

int main() {
shl_load()
; return 0; }
EOF
if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1734 1
a1734 12
	IRIX-5.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    EXTRA_CFLAGS=""
	    LDFLAGS=""
	    ;;
	IRIX-6.*|IRIX64-6.5*)
d1742 1
a1742 1
	    if test "$GCC" = "yes" ; then
d1760 1
a1760 1
	    SHLIB_LD="ld -n32 -shared -rdata_shared"
d1788 1
a1788 1
echo "configure:2269: checking for dld.h" >&5
d1793 1
a1793 1
#line 2274 "configure"
d1798 1
a1798 1
{ (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a1827 67

	    # The combo of gcc + glibc has a bug related
	    # to inlining of functions like strtod(). The
	    # -fno-builtin flag should address this problem
	    # but it does not work. The -fno-inline flag
	    # is kind of overkill but it works.
	    # Disable inlining only when one of the
	    # files in compat/*.c is being linked in.
	    if test x"${LIBOBJS}" != x ; then
	        EXTRA_CFLAGS="${EXTRA_CFLAGS} -fno-inline"
	    fi

	    ;;
	GNU*)
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"

	    if test "$have_dl" = yes; then
		SHLIB_LD="${CC} -shared"
		DL_OBJS=""
		DL_LIBS="-ldl"
		LDFLAGS="-rdynamic"
		LD_SEARCH_FLAGS=""
	    else
		ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dld.h""... $ac_c" 1>&6
echo "configure:2336: checking for dld.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2341 "configure"
#include "confdefs.h"
#include <dld.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  
		    SHLIB_LD="ld -shared"
		    DL_OBJS=""
		    DL_LIBS="-ldld"
		    LDFLAGS=""
		    LD_SEARCH_FLAGS=""
else
  echo "$ac_t""no" 1>&6
fi

	    fi
	    if test "`uname -m`" = "alpha" ; then
		EXTRA_CFLAGS="-mieee"
	    fi
d1853 1
a1853 1
echo "configure:2401: checking for dlfcn.h" >&5
d1858 1
a1858 1
#line 2406 "configure"
d1863 1
a1863 1
{ (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1890 1
a1890 1
echo "configure:2438: checking for ELF" >&5
d1892 1
a1892 1
#line 2440 "configure"
d1939 1
a1939 1
	    SHLIB_LD_LIBS='${LIBS}'
a1944 25
	    if test "${TCL_THREADS}" = "1" ; then
		EXTRA_CFLAGS="-pthread"
	    	LDFLAGS="$LDFLAGS -pthread"
	    fi
	    case $system in
	    FreeBSD-3.*)
	    	# FreeBSD-3 doesn't handle version numbers with dots.
	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
	    	TCL_LIB_VERSIONS_OK=nodots
		;;
	    esac
	    ;;
	Rhapsody-*|Darwin-*)
	    SHLIB_CFLAGS="-fno-common"
	    SHLIB_LD="cc -dynamiclib \${LDFLAGS}"
	    TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_MAJOR_VERSION} -current_version \${VERSION} -install_name \${LIB_RUNTIME_DIR}/\${TCL_LIB_FILE} -prebind -seg1addr a000000"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".dylib"
	    DL_OBJS="tclLoadDyld.o"
	    DL_LIBS=""
	    LDFLAGS="-prebind"
	    LD_SEARCH_FLAGS=""
	    CFLAGS_OPTIMIZE="-O3"
	    EXTRA_CFLAGS="-arch ppc -pipe"
d1996 1
a1996 1
	    if test "$GCC" != "yes" ; then
a2000 1
		EXTRA_CFLAGS="${EXTRA_CFLAGS} -DHAVE_PTHREAD_ATTR_SETSTACKSIZE"
d2002 1
a2002 4
		LIBS=`echo $LIBS | sed s/-lpthreads//`
		if test "$GCC" = "yes" ; then
		    LIBS="$LIBS -lpthread -lmach -lexc"
		else
d2005 3
a2011 13
	QNX-6*)
	    # QNX RTP
	    # This may work for all QNX, but it was only reported for v6.
	    SHLIB_CFLAGS="-fPIC"
	    SHLIB_LD="ld -Bshareable -x"
	    SHLIB_LD_LIBS=""
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    # dlopen is in -lc on QNX
	    DL_LIBS=""
	    LDFLAGS=""
	    LD_SEARCH_FLAGS=""
	    ;;
d2026 1
a2026 1
	    if test "$GCC" = "yes" ; then
a2069 13

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF

	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF


d2081 1
a2081 5
	    if test "$GCC" = "yes" ; then
		LD_SEARCH_FLAGS='-Wl,-R,${LIB_RUNTIME_DIR}'
	    else
		LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
	    fi
a2083 13

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF

	    cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF


a2087 1
	    # Check to enable 64-bit flags for compiler/linker
d2091 1
a2091 3
			if test "$GCC" = "yes" ; then
			    echo "configure: warning: "64bit mode not supported with GCC on $system"" 1>&2
			else
d2100 2
d2115 1
a2115 1
	    if test "$GCC" = "yes" ; then
d2130 1
a2130 1
	    if test "$GCC" != "yes" ; then
d2145 1
a2145 1
echo "configure:2763: checking for ld accepts -Bexport flag" >&5
d2148 1
a2148 1
#line 2766 "configure"
d2155 1
a2155 1
if { (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2201 1
a2201 1
echo "configure:2819: checking sys/exec.h" >&5
d2203 1
a2203 1
#line 2821 "configure"
d2221 1
a2221 1
if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2239 1
a2239 1
echo "configure:2857: checking a.out.h" >&5
d2241 1
a2241 1
#line 2859 "configure"
d2259 1
a2259 1
if { (eval echo configure:2877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2277 1
a2277 1
echo "configure:2895: checking sys/exec_aout.h" >&5
d2279 1
a2279 1
#line 2897 "configure"
d2297 1
a2297 1
if { (eval echo configure:2915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2354 1
a2354 1
	if test "$GCC" = "yes" ; then
d2356 1
a2356 1
		AIX-*)
a2363 2
		Rhapsody-*|Darwin-*)
		    ;;
d2392 1
a2392 1
echo "configure:3012: checking for build with symbols" >&5
a2400 1
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
d2402 2
a2403 2
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
d2407 2
a2408 2
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
d2416 1
d2436 1
a2436 1
echo "configure:3056: checking for sin" >&5
d2441 1
a2441 1
#line 3061 "configure"
d2464 1
a2464 1
if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2485 1
a2485 1
echo "configure:3105: checking for main in -lieee" >&5
d2493 1
a2493 1
#line 3113 "configure"
d2500 1
a2500 1
if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2531 1
a2531 1
echo "configure:3151: checking for gettimeofday in -lbsd" >&5
d2539 1
a2539 1
#line 3159 "configure"
d2550 1
a2550 1
if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2581 1
a2581 1
echo "configure:3201: checking stdlib.h" >&5
d2583 1
a2583 1
#line 3203 "configure"
d2598 1
a2598 1
#line 3218 "configure"
d2612 1
a2612 1
#line 3232 "configure"
d2644 1
a2644 1
echo "configure:3264: checking fd_set and sys/select" >&5
d2646 1
a2646 1
#line 3266 "configure"
d2653 1
a2653 1
if { (eval echo configure:3273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2665 1
a2665 1
#line 3285 "configure"
d2697 1
a2697 1
echo "configure:3317: checking for ANSI C header files" >&5
d2702 1
a2702 1
#line 3322 "configure"
d2710 1
a2710 1
{ (eval echo configure:3330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2727 1
a2727 1
#line 3347 "configure"
d2745 1
a2745 1
#line 3365 "configure"
d2766 1
a2766 1
#line 3386 "configure"
d2777 1
a2777 1
if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2801 1
a2801 1
echo "configure:3421: checking for mode_t" >&5
d2806 1
a2806 1
#line 3426 "configure"
d2834 1
a2834 1
echo "configure:3454: checking for pid_t" >&5
d2839 1
a2839 1
#line 3459 "configure"
d2867 1
a2867 1
echo "configure:3487: checking for size_t" >&5
d2872 1
a2872 1
#line 3492 "configure"
d2900 1
a2900 1
echo "configure:3520: checking for uid_t in sys/types.h" >&5
d2905 1
a2905 1
#line 3525 "configure"
d2942 1
a2942 1
echo "configure:3562: checking for $ac_hdr" >&5
d2947 1
a2947 1
#line 3567 "configure"
d2952 1
a2952 1
{ (eval echo configure:3572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2979 1
a2979 1
echo "configure:3599: checking whether time.h and sys/time.h may both be included" >&5
d2984 1
a2984 1
#line 3604 "configure"
d2993 1
a2993 1
if { (eval echo configure:3613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3019 1
a3019 1
echo "configure:3639: checking pw_gecos in struct pwd" >&5
d3021 1
a3021 1
#line 3641 "configure"
d3028 1
a3028 1
if { (eval echo configure:3648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3061 1
a3061 1
echo "configure:3681: checking for X" >&5
d3123 1
a3123 1
#line 3743 "configure"
d3128 1
a3128 1
{ (eval echo configure:3748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3197 1
a3197 1
#line 3817 "configure"
d3204 1
a3204 1
if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3294 1
a3294 1
#line 3914 "configure"
d3299 1
a3299 1
{ (eval echo configure:3919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3319 1
a3319 1
echo "configure:3939: checking for X11 header files" >&5
d3322 1
a3322 1
#line 3942 "configure"
d3327 1
a3327 1
{ (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3363 1
a3363 1
echo "configure:3983: checking for X11 libraries" >&5
d3383 1
a3383 1
echo "configure:4003: checking for XCreateWindow in -lXwindow" >&5
d3391 1
a3391 1
#line 4011 "configure"
d3402 1
a3402 1
if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3487 1
a3487 1
echo "configure:4107: checking for main in -lXbsd" >&5
d3495 1
a3495 1
#line 4115 "configure"
d3502 1
a3502 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3525 1
a3525 1
echo "configure:4145: checking for connect" >&5
d3530 1
a3530 1
#line 4150 "configure"
d3553 1
a3553 1
if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3575 1
a3575 1
echo "configure:4195: checking for main in -lsocket" >&5
d3583 1
a3583 1
#line 4203 "configure"
d3590 1
a3590 1
if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3616 1
a3616 1
echo "configure:4236: checking for accept" >&5
d3621 1
a3621 1
#line 4241 "configure"
d3644 1
a3644 1
if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3666 1
a3666 1
echo "configure:4286: checking for gethostbyname" >&5
d3671 1
a3671 1
#line 4291 "configure"
d3694 1
a3694 1
if { (eval echo configure:4314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3712 1
a3712 1
echo "configure:4332: checking for main in -lnsl" >&5
d3720 1
a3720 1
#line 4340 "configure"
d3727 1
a3727 1
if { (eval echo configure:4347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3767 1
a3767 1
echo "configure:4387: checking MIT X libraries" >&5
d3773 1
a3773 1
#line 4393 "configure"
d3784 1
a3784 1
if { (eval echo configure:4404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3811 1
a3811 1
echo "configure:4431: checking for sin" >&5
d3816 1
a3816 1
#line 4436 "configure"
d3839 1
a3839 1
if { (eval echo configure:4459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3860 1
a3860 1
echo "configure:4480: checking for main in -lieee" >&5
d3868 1
a3868 1
#line 4488 "configure"
d3875 1
a3875 1
if { (eval echo configure:4495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3902 1
a3902 1
echo "configure:4522: checking whether char is unsigned" >&5
d3909 1
a3909 1
#line 4529 "configure"
d3931 1
a3931 1
#line 4551 "configure"
d3941 1
a3941 1
if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3974 1
a3974 1
echo "configure:4594: checking for strtod" >&5
d3979 1
a3979 1
#line 4599 "configure"
d4002 1
a4002 1
if { (eval echo configure:4622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4024 1
a4024 1
echo "configure:4644: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4029 1
a4029 1
#line 4649 "configure"
d4049 1
a4049 1
if { (eval echo configure:4669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4081 1
a4081 1
echo "configure:4701: checking how to build libraries" >&5
d4114 3
d4120 1
a4120 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) \${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4123 2
a4124 1
    TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
d4128 1
a4128 1
    MAKE_LIB="\${STLIB_LD} \$@@ \${OBJS}"
d4147 1
a4147 1
    TK_LIB_SPEC="-L${libdir} ${TK_LIB_FLAG}"
d4153 3
a4155 8

    if test "$GCC" = "yes" ; then
	TK_BUILD_LIB_SPEC="-Wl,-bI:`pwd`/${TK_BUILD_EXP_FILE} -L`pwd`"
	TK_LIB_SPEC="-Wl,-bI:${libdir}/${TK_EXP_FILE} -L`pwd`"    
    else
	TK_BUILD_LIB_SPEC="-bI:`pwd`/${TK_BUILD_EXP_FILE}"
	TK_LIB_SPEC="-bI:${libdir}/${TK_EXP_FILE}"    
    fi
d4169 3
a4171 1
eval "TK_STUB_LIB_FILE=libtkstub${TK_UNSHARED_LIB_SUFFIX}"
d4173 1
a4173 2
# FIXME: Should we add MAKE_STUB_LIB to tclConfig.sh ?
MAKE_STUB_LIB="\${STLIB_LD} \$@@ \${STUB_LIB_OBJS}"
d4182 1
a4182 1
TK_STUB_LIB_SPEC="-L${libdir} ${TK_STUB_LIB_FLAG}"
d4184 1
a4184 1
TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
a4185 1
eval "TK_LIB_FILE=${TK_LIB_FILE}"
d4199 1
d4221 3
a4389 2
s%@@TCL_THREADS@@%$TCL_THREADS%g
s%@@TCL_VERSION@@%$TCL_VERSION%g
a4392 6
s%@@TCL_LIB_FLAG@@%$TCL_LIB_FLAG%g
s%@@TCL_LIB_SPEC@@%$TCL_LIB_SPEC%g
s%@@TCL_STUB_LIB_FILE@@%$TCL_STUB_LIB_FILE%g
s%@@TCL_STUB_LIB_FLAG@@%$TCL_STUB_LIB_FLAG%g
s%@@TCL_STUB_LIB_SPEC@@%$TCL_STUB_LIB_SPEC%g
s%@@AR@@%$AR%g
d4397 1
a4397 5
s%@@TK_VERSION@@%$TK_VERSION%g
s%@@TK_MAJOR_VERSION@@%$TK_MAJOR_VERSION%g
s%@@TK_MINOR_VERSION@@%$TK_MINOR_VERSION%g
s%@@TK_PATCH_LEVEL@@%$TK_PATCH_LEVEL%g
s%@@TK_DBGX@@%$TK_DBGX%g
d4410 1
a4410 3
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
d4412 1
a4416 1
s%@@STLIB_LD@@%$STLIB_LD%g
d4421 4
d4431 3
d4435 1
@


1.1.4.1
log
@        * Merged in updates from HEAD branch.
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure,v 1.10 2001/06/26 20:31:58 mdejong Exp $
d545 1
a545 1
TK_PATCH_LEVEL="a3"
a558 10
#------------------------------------------------------------------------
# Standard compiler checks
#------------------------------------------------------------------------

# If the user did not set CFLAGS, set it now to keep
# the AC_PROG_CC macro from adding "-g -O2".
if test "${CFLAGS+set}" != "set" ; then
    CFLAGS=""
fi

d562 1
a562 1
echo "configure:573: checking for $ac_word" >&5
d592 1
a592 1
echo "configure:603: checking for $ac_word" >&5
d643 1
a643 1
echo "configure:654: checking for $ac_word" >&5
d675 1
a675 1
echo "configure:686: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d686 1
a686 1
#line 697 "configure"
d691 1
a691 1
if { (eval echo configure:702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d717 1
a717 1
echo "configure:728: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
d722 1
a722 1
echo "configure:733: checking whether we are using GNU C" >&5
d731 1
a731 1
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
d750 1
a750 1
echo "configure:761: checking whether ${CC-cc} accepts -g" >&5
d784 1
a784 1
echo "configure:795: checking for $ac_word" >&5
d817 1
a817 1
echo "configure:828: checking how to run the C preprocessor" >&5
d832 1
a832 1
#line 843 "configure"
d838 1
a838 1
{ (eval echo configure:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d849 1
a849 1
#line 860 "configure"
d855 1
a855 1
{ (eval echo configure:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d866 1
a866 1
#line 877 "configure"
d872 1
a872 1
{ (eval echo configure:883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d900 1
a900 1
echo "configure:911: checking for $ac_hdr" >&5
d905 1
a905 1
#line 916 "configure"
d910 1
a910 1
{ (eval echo configure:921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d943 1
a943 1
echo "configure:954: checking for building with threads" >&5
d969 1
a969 1
echo "configure:980: checking for pthread_mutex_init in -lpthread" >&5
d977 1
a977 1
#line 988 "configure"
d988 1
a988 1
if { (eval echo configure:999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1016 1
a1016 1
echo "configure:1027: checking for __pthread_mutex_init in -lpthread" >&5
d1024 1
a1024 1
#line 1035 "configure"
d1035 1
a1035 1
if { (eval echo configure:1046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1063 1
a1063 1
echo "configure:1074: checking for pthread_mutex_init in -lpthreads" >&5
d1071 1
a1071 1
#line 1082 "configure"
d1082 1
a1082 1
if { (eval echo configure:1093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1108 1
a1108 1
echo "configure:1119: checking for pthread_mutex_init in -lc" >&5
d1116 1
a1116 1
#line 1127 "configure"
d1127 1
a1127 1
if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1161 1
a1161 1
echo "configure:1172: checking for $ac_func" >&5
d1166 1
a1166 1
#line 1177 "configure"
d1189 1
a1189 1
if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a1216 1
    
d1227 1
a1227 1
echo "configure:1239: checking if the compiler understands -pipe" >&5
d1231 1
a1231 1
#line 1243 "configure"
d1238 1
a1238 1
if { (eval echo configure:1250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d1273 1
a1273 1
echo "configure:1285: checking for Tcl configuration" >&5
d1279 1
a1279 1
	    # First check to see if --with-tcl was specified.
d1307 1
a1307 4
			`ls -d /usr/local/lib 2>/dev/null` \
			`ls -d /usr/contrib/lib 2>/dev/null` \
			`ls -d /usr/lib 2>/dev/null` \
			; do
d1316 1
a1316 1
	    if test x"${ac_cv_c_tclconfig}" = x ; then
d1343 1
a1343 1
echo "configure:1358: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
d1374 1
a1374 1
echo "configure:1389: checking if 64bit support is requested" >&5
d1394 1
a1394 1
echo "configure:1409: checking if 64bit Sparc VIS support is requested" >&5
d1418 1
a1418 1
echo "configure:1433: checking system version (for dynamic loading)" >&5
d1441 1
a1441 1
echo "configure:1456: checking if gcc is being used" >&5
d1454 1
a1454 1
echo "configure:1469: checking for dlopen in -ldl" >&5
d1462 1
a1462 1
#line 1477 "configure"
d1473 1
a1473 1
if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1517 1
a1517 1
	AIX-5.*)
d1592 1
a1592 1
echo "configure:1607: checking for gettimeofday in -lbsd" >&5
d1600 1
a1600 1
#line 1615 "configure"
d1611 1
a1611 1
if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1673 1
a1673 1
echo "configure:1688: checking for shl_load in -ldld" >&5
d1681 1
a1681 1
#line 1696 "configure"
d1692 1
a1692 1
if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1734 1
a1734 12
	IRIX-5.*)
	    SHLIB_CFLAGS=""
	    SHLIB_LD="ld -shared -rdata_shared"
	    SHLIB_LD_LIBS='${LIBS}'
	    SHLIB_SUFFIX=".so"
	    DL_OBJS="tclLoadDl.o"
	    DL_LIBS=""
	    LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
	    EXTRA_CFLAGS=""
	    LDFLAGS=""
	    ;;
	IRIX-6.*|IRIX64-6.5*)
d1788 1
a1788 1
echo "configure:1814: checking for dld.h" >&5
d1793 1
a1793 1
#line 1819 "configure"
d1798 1
a1798 1
{ (eval echo configure:1824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1853 1
a1853 1
echo "configure:1879: checking for dlfcn.h" >&5
d1858 1
a1858 1
#line 1884 "configure"
d1863 1
a1863 1
{ (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1890 1
a1890 1
echo "configure:1916: checking for ELF" >&5
d1892 1
a1892 1
#line 1918 "configure"
a2069 9

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF


a2083 9

	    # Note: If _REENTRANT isn't defined, then Solaris
	    # won't define thread-safe library routines.

	    cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF


d2145 1
a2145 1
echo "configure:2189: checking for ld accepts -Bexport flag" >&5
d2148 1
a2148 1
#line 2192 "configure"
d2155 1
a2155 1
if { (eval echo configure:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2201 1
a2201 1
echo "configure:2245: checking sys/exec.h" >&5
d2203 1
a2203 1
#line 2247 "configure"
d2221 1
a2221 1
if { (eval echo configure:2265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2239 1
a2239 1
echo "configure:2283: checking a.out.h" >&5
d2241 1
a2241 1
#line 2285 "configure"
d2259 1
a2259 1
if { (eval echo configure:2303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2277 1
a2277 1
echo "configure:2321: checking sys/exec_aout.h" >&5
d2279 1
a2279 1
#line 2323 "configure"
d2297 1
a2297 1
if { (eval echo configure:2341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2356 1
a2356 1
		AIX-*)
d2392 1
a2392 1
echo "configure:2436: checking for build with symbols" >&5
a2400 1
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
d2402 2
a2403 2
	CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
	LDFLAGS_DEFAULT='$(LDFLAGS_DEBUG)'
d2407 2
a2408 2
	CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
	LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
d2416 1
d2436 1
a2436 1
echo "configure:2480: checking for sin" >&5
d2441 1
a2441 1
#line 2485 "configure"
d2464 1
a2464 1
if { (eval echo configure:2508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2485 1
a2485 1
echo "configure:2529: checking for main in -lieee" >&5
d2493 1
a2493 1
#line 2537 "configure"
d2500 1
a2500 1
if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2531 1
a2531 1
echo "configure:2575: checking for gettimeofday in -lbsd" >&5
d2539 1
a2539 1
#line 2583 "configure"
d2550 1
a2550 1
if { (eval echo configure:2594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2581 1
a2581 1
echo "configure:2625: checking stdlib.h" >&5
d2583 1
a2583 1
#line 2627 "configure"
d2598 1
a2598 1
#line 2642 "configure"
d2612 1
a2612 1
#line 2656 "configure"
d2644 1
a2644 1
echo "configure:2688: checking fd_set and sys/select" >&5
d2646 1
a2646 1
#line 2690 "configure"
d2653 1
a2653 1
if { (eval echo configure:2697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2665 1
a2665 1
#line 2709 "configure"
d2697 1
a2697 1
echo "configure:2741: checking for ANSI C header files" >&5
d2702 1
a2702 1
#line 2746 "configure"
d2710 1
a2710 1
{ (eval echo configure:2754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2727 1
a2727 1
#line 2771 "configure"
d2745 1
a2745 1
#line 2789 "configure"
d2766 1
a2766 1
#line 2810 "configure"
d2777 1
a2777 1
if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2801 1
a2801 1
echo "configure:2845: checking for mode_t" >&5
d2806 1
a2806 1
#line 2850 "configure"
d2834 1
a2834 1
echo "configure:2878: checking for pid_t" >&5
d2839 1
a2839 1
#line 2883 "configure"
d2867 1
a2867 1
echo "configure:2911: checking for size_t" >&5
d2872 1
a2872 1
#line 2916 "configure"
d2900 1
a2900 1
echo "configure:2944: checking for uid_t in sys/types.h" >&5
d2905 1
a2905 1
#line 2949 "configure"
d2942 1
a2942 1
echo "configure:2986: checking for $ac_hdr" >&5
d2947 1
a2947 1
#line 2991 "configure"
d2952 1
a2952 1
{ (eval echo configure:2996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2979 1
a2979 1
echo "configure:3023: checking whether time.h and sys/time.h may both be included" >&5
d2984 1
a2984 1
#line 3028 "configure"
d2993 1
a2993 1
if { (eval echo configure:3037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3019 1
a3019 1
echo "configure:3063: checking pw_gecos in struct pwd" >&5
d3021 1
a3021 1
#line 3065 "configure"
d3028 1
a3028 1
if { (eval echo configure:3072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3061 1
a3061 1
echo "configure:3105: checking for X" >&5
d3123 1
a3123 1
#line 3167 "configure"
d3128 1
a3128 1
{ (eval echo configure:3172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3197 1
a3197 1
#line 3241 "configure"
d3204 1
a3204 1
if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3294 1
a3294 1
#line 3338 "configure"
d3299 1
a3299 1
{ (eval echo configure:3343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3319 1
a3319 1
echo "configure:3363: checking for X11 header files" >&5
d3322 1
a3322 1
#line 3366 "configure"
d3327 1
a3327 1
{ (eval echo configure:3371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3363 1
a3363 1
echo "configure:3407: checking for X11 libraries" >&5
d3383 1
a3383 1
echo "configure:3427: checking for XCreateWindow in -lXwindow" >&5
d3391 1
a3391 1
#line 3435 "configure"
d3402 1
a3402 1
if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3487 1
a3487 1
echo "configure:3531: checking for main in -lXbsd" >&5
d3495 1
a3495 1
#line 3539 "configure"
d3502 1
a3502 1
if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3525 1
a3525 1
echo "configure:3569: checking for connect" >&5
d3530 1
a3530 1
#line 3574 "configure"
d3553 1
a3553 1
if { (eval echo configure:3597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3575 1
a3575 1
echo "configure:3619: checking for main in -lsocket" >&5
d3583 1
a3583 1
#line 3627 "configure"
d3590 1
a3590 1
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3616 1
a3616 1
echo "configure:3660: checking for accept" >&5
d3621 1
a3621 1
#line 3665 "configure"
d3644 1
a3644 1
if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3666 1
a3666 1
echo "configure:3710: checking for gethostbyname" >&5
d3671 1
a3671 1
#line 3715 "configure"
d3694 1
a3694 1
if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3712 1
a3712 1
echo "configure:3756: checking for main in -lnsl" >&5
d3720 1
a3720 1
#line 3764 "configure"
d3727 1
a3727 1
if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3767 1
a3767 1
echo "configure:3811: checking MIT X libraries" >&5
d3773 1
a3773 1
#line 3817 "configure"
d3784 1
a3784 1
if { (eval echo configure:3828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3811 1
a3811 1
echo "configure:3855: checking for sin" >&5
d3816 1
a3816 1
#line 3860 "configure"
d3839 1
a3839 1
if { (eval echo configure:3883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3860 1
a3860 1
echo "configure:3904: checking for main in -lieee" >&5
d3868 1
a3868 1
#line 3912 "configure"
d3875 1
a3875 1
if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3902 1
a3902 1
echo "configure:3946: checking whether char is unsigned" >&5
d3909 1
a3909 1
#line 3953 "configure"
d3931 1
a3931 1
#line 3975 "configure"
d3941 1
a3941 1
if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d3974 1
a3974 1
echo "configure:4018: checking for strtod" >&5
d3979 1
a3979 1
#line 4023 "configure"
d4002 1
a4002 1
if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4024 1
a4024 1
echo "configure:4068: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4029 1
a4029 1
#line 4073 "configure"
d4049 1
a4049 1
if { (eval echo configure:4093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4081 1
a4081 1
echo "configure:4125: checking how to build libraries" >&5
d4120 1
a4120 1
    MAKE_LIB="\${SHLIB_LD} -o \$@@ \${OBJS} \$(TK_LD_SEARCH_FLAGS) ${TCL_STUB_LIB_SPEC} \${SHLIB_LD_LIBS}"
d4128 1
a4128 1
    MAKE_LIB="ar cr \$@@ \${OBJS}"
d4169 3
a4171 1
eval "TK_STUB_LIB_FILE=libtkstub${TK_UNSHARED_LIB_SUFFIX}"
d4173 1
a4173 2
# FIXME: Should we add MAKE_STUB_LIB to tclConfig.sh ?
MAKE_STUB_LIB="ar cr \$@@ \${STUB_LIB_OBJS}"
a4196 3
eval "TK_LIB_FILE=${TK_LIB_FILE}"


d4199 1
a4389 1
s%@@TCL_THREADS@@%$TCL_THREADS%g
d4397 1
a4409 3
s%@@LDFLAGS_DEFAULT@@%$LDFLAGS_DEFAULT%g
s%@@LDFLAGS_DEBUG@@%$LDFLAGS_DEBUG%g
s%@@LDFLAGS_OPTIMIZE@@%$LDFLAGS_OPTIMIZE%g
d4412 1
@


1.1.4.2
log
@	* Merged in updates from HEAD
@
text
@d540 1
a540 1
# RCS: @@(#) $Id: configure,v 1.1.4.1 2001/07/03 20:01:10 dgp Exp $
d1529 1
a1529 30
    # Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1533: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
AR="$ac_cv_prog_AR"
if test -n "$AR"; then
  echo "$ac_t""$AR" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

    STLIB_LD='${AR} cr'
d1606 1
a1606 1
echo "configure:1636: checking for gettimeofday in -lbsd" >&5
d1614 1
a1614 1
#line 1644 "configure"
d1625 1
a1625 1
if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1687 1
a1687 1
echo "configure:1717: checking for shl_load in -ldld" >&5
d1695 1
a1695 1
#line 1725 "configure"
d1706 1
a1706 1
if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d1813 1
a1813 1
echo "configure:1843: checking for dld.h" >&5
d1818 1
a1818 1
#line 1848 "configure"
d1823 1
a1823 1
{ (eval echo configure:1853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1878 1
a1878 1
echo "configure:1908: checking for dlfcn.h" >&5
d1883 1
a1883 1
#line 1913 "configure"
d1888 1
a1888 1
{ (eval echo configure:1918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d1915 1
a1915 1
echo "configure:1945: checking for ELF" >&5
d1917 1
a1917 1
#line 1947 "configure"
d2188 1
a2188 1
echo "configure:2218: checking for ld accepts -Bexport flag" >&5
d2191 1
a2191 1
#line 2221 "configure"
d2198 1
a2198 1
if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2244 1
a2244 1
echo "configure:2274: checking sys/exec.h" >&5
d2246 1
a2246 1
#line 2276 "configure"
d2264 1
a2264 1
if { (eval echo configure:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2282 1
a2282 1
echo "configure:2312: checking a.out.h" >&5
d2284 1
a2284 1
#line 2314 "configure"
d2302 1
a2302 1
if { (eval echo configure:2332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2320 1
a2320 1
echo "configure:2350: checking sys/exec_aout.h" >&5
d2322 1
a2322 1
#line 2352 "configure"
d2340 1
a2340 1
if { (eval echo configure:2370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2435 1
a2435 1
echo "configure:2465: checking for build with symbols" >&5
d2479 1
a2479 1
echo "configure:2509: checking for sin" >&5
d2484 1
a2484 1
#line 2514 "configure"
d2507 1
a2507 1
if { (eval echo configure:2537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2528 1
a2528 1
echo "configure:2558: checking for main in -lieee" >&5
d2536 1
a2536 1
#line 2566 "configure"
d2543 1
a2543 1
if { (eval echo configure:2573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2574 1
a2574 1
echo "configure:2604: checking for gettimeofday in -lbsd" >&5
d2582 1
a2582 1
#line 2612 "configure"
d2593 1
a2593 1
if { (eval echo configure:2623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d2624 1
a2624 1
echo "configure:2654: checking stdlib.h" >&5
d2626 1
a2626 1
#line 2656 "configure"
d2641 1
a2641 1
#line 2671 "configure"
d2655 1
a2655 1
#line 2685 "configure"
d2687 1
a2687 1
echo "configure:2717: checking fd_set and sys/select" >&5
d2689 1
a2689 1
#line 2719 "configure"
d2696 1
a2696 1
if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d2708 1
a2708 1
#line 2738 "configure"
d2740 1
a2740 1
echo "configure:2770: checking for ANSI C header files" >&5
d2745 1
a2745 1
#line 2775 "configure"
d2753 1
a2753 1
{ (eval echo configure:2783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d2770 1
a2770 1
#line 2800 "configure"
d2788 1
a2788 1
#line 2818 "configure"
d2809 1
a2809 1
#line 2839 "configure"
d2820 1
a2820 1
if { (eval echo configure:2850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d2844 1
a2844 1
echo "configure:2874: checking for mode_t" >&5
d2849 1
a2849 1
#line 2879 "configure"
d2877 1
a2877 1
echo "configure:2907: checking for pid_t" >&5
d2882 1
a2882 1
#line 2912 "configure"
d2910 1
a2910 1
echo "configure:2940: checking for size_t" >&5
d2915 1
a2915 1
#line 2945 "configure"
d2943 1
a2943 1
echo "configure:2973: checking for uid_t in sys/types.h" >&5
d2948 1
a2948 1
#line 2978 "configure"
d2985 1
a2985 1
echo "configure:3015: checking for $ac_hdr" >&5
d2990 1
a2990 1
#line 3020 "configure"
d2995 1
a2995 1
{ (eval echo configure:3025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3022 1
a3022 1
echo "configure:3052: checking whether time.h and sys/time.h may both be included" >&5
d3027 1
a3027 1
#line 3057 "configure"
d3036 1
a3036 1
if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3062 1
a3062 1
echo "configure:3092: checking pw_gecos in struct pwd" >&5
d3064 1
a3064 1
#line 3094 "configure"
d3071 1
a3071 1
if { (eval echo configure:3101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d3104 1
a3104 1
echo "configure:3134: checking for X" >&5
d3166 1
a3166 1
#line 3196 "configure"
d3171 1
a3171 1
{ (eval echo configure:3201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3240 1
a3240 1
#line 3270 "configure"
d3247 1
a3247 1
if { (eval echo configure:3277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3337 1
a3337 1
#line 3367 "configure"
d3342 1
a3342 1
{ (eval echo configure:3372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3362 1
a3362 1
echo "configure:3392: checking for X11 header files" >&5
d3365 1
a3365 1
#line 3395 "configure"
d3370 1
a3370 1
{ (eval echo configure:3400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d3406 1
a3406 1
echo "configure:3436: checking for X11 libraries" >&5
d3426 1
a3426 1
echo "configure:3456: checking for XCreateWindow in -lXwindow" >&5
d3434 1
a3434 1
#line 3464 "configure"
d3445 1
a3445 1
if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3530 1
a3530 1
echo "configure:3560: checking for main in -lXbsd" >&5
d3538 1
a3538 1
#line 3568 "configure"
d3545 1
a3545 1
if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3568 1
a3568 1
echo "configure:3598: checking for connect" >&5
d3573 1
a3573 1
#line 3603 "configure"
d3596 1
a3596 1
if { (eval echo configure:3626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3618 1
a3618 1
echo "configure:3648: checking for main in -lsocket" >&5
d3626 1
a3626 1
#line 3656 "configure"
d3633 1
a3633 1
if { (eval echo configure:3663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3659 1
a3659 1
echo "configure:3689: checking for accept" >&5
d3664 1
a3664 1
#line 3694 "configure"
d3687 1
a3687 1
if { (eval echo configure:3717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3709 1
a3709 1
echo "configure:3739: checking for gethostbyname" >&5
d3714 1
a3714 1
#line 3744 "configure"
d3737 1
a3737 1
if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3755 1
a3755 1
echo "configure:3785: checking for main in -lnsl" >&5
d3763 1
a3763 1
#line 3793 "configure"
d3770 1
a3770 1
if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3810 1
a3810 1
echo "configure:3840: checking MIT X libraries" >&5
d3816 1
a3816 1
#line 3846 "configure"
d3827 1
a3827 1
if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3854 1
a3854 1
echo "configure:3884: checking for sin" >&5
d3859 1
a3859 1
#line 3889 "configure"
d3882 1
a3882 1
if { (eval echo configure:3912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3903 1
a3903 1
echo "configure:3933: checking for main in -lieee" >&5
d3911 1
a3911 1
#line 3941 "configure"
d3918 1
a3918 1
if { (eval echo configure:3948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d3945 1
a3945 1
echo "configure:3975: checking whether char is unsigned" >&5
d3952 1
a3952 1
#line 3982 "configure"
d3974 1
a3974 1
#line 4004 "configure"
d3984 1
a3984 1
if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4017 1
a4017 1
echo "configure:4047: checking for strtod" >&5
d4022 1
a4022 1
#line 4052 "configure"
d4045 1
a4045 1
if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d4067 1
a4067 1
echo "configure:4097: checking for Solaris2.4/Tru64 strtod bugs" >&5
d4072 1
a4072 1
#line 4102 "configure"
d4092 1
a4092 1
if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
d4124 1
a4124 1
echo "configure:4154: checking how to build libraries" >&5
d4171 1
a4171 1
    MAKE_LIB="\${STLIB_LD} \$@@ \${OBJS}"
d4215 1
a4215 1
MAKE_STUB_LIB="\${STLIB_LD} \$@@ \${STUB_LIB_OBJS}"
a4264 3



a4437 1
s%@@AR@@%$AR%g
a4462 1
s%@@STLIB_LD@@%$STLIB_LD%g
@


