70
95
# Check whether --enable-mdupdate or --disable-mdupdate was given.
71
96
if test "${enable_mdupdate+set}" = set; then
72
97
enableval="$enable_mdupdate"
98
if test "$enableval" = "yes"; then
103
@@ -1062,17 +1094,17 @@
108
if test -z "$SKIP_PATH_CHECKS"; then
74
109
# Extract the first word of "$WHOAMI whoami", so it can be a program name with args.
75
110
set dummy $WHOAMI whoami; ac_word=$2
76
111
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
77
-echo "configure:1055: checking for $ac_word" >&5
78
+echo "configure:1087: checking for $ac_word" >&5
112
-echo "configure:1071: checking for $ac_word" >&5
113
+echo "configure:1103: checking for $ac_word" >&5
79
114
if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
80
115
echo $ac_n "(cached) $ac_c" 1>&6
82
@@ -1122,13 +1154,13 @@
119
ac_cv_path_WHOAMI="$WHOAMI" # Let the user override the test with a path.
122
@@ -1133,23 +1165,23 @@
123
echo "cross compiling from $host to $target"
127
_SAVE_CFLAGS="$CFLAGS"
83
128
_SAVE_LDFLAGS="$LDFLAGS"
85
130
echo $ac_n "checking for $host compiler""... $ac_c" 1>&6
86
-echo "configure:1126: checking for $host compiler" >&5
87
+echo "configure:1158: checking for $host compiler" >&5
131
-echo "configure:1142: checking for $host compiler" >&5
132
+echo "configure:1174: checking for $host compiler" >&5
88
133
for ac_prog in $HOST_CC gcc cc /usr/ucb/cc
90
135
# Extract the first word of "$ac_prog", so it can be a program name with args.
91
136
set dummy $ac_prog; ac_word=$2
92
137
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
93
-echo "configure:1132: checking for $ac_word" >&5
94
+echo "configure:1164: checking for $ac_word" >&5
138
-echo "configure:1148: checking for $ac_word" >&5
139
+echo "configure:1180: checking for $ac_word" >&5
95
140
if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
96
141
echo $ac_n "(cached) $ac_c" 1>&6
98
@@ -1174,16 +1206,16 @@
143
if test -n "$HOST_CC"; then
144
ac_cv_prog_HOST_CC="$HOST_CC" # Let the user override the test.
146
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
148
@@ -1185,26 +1217,26 @@
149
HOST_LDFLAGS="$LDFLAGS"
153
CFLAGS="$HOST_CFLAGS"
99
154
LDFLAGS="$HOST_LDFLAGS"
101
156
echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
102
-echo "configure:1178: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
103
+echo "configure:1210: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
157
-echo "configure:1194: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
158
+echo "configure:1226: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
104
159
cat > conftest.$ac_ext <<EOF
105
-#line 1180 "configure"
106
+#line 1212 "configure"
160
-#line 1196 "configure"
161
+#line 1228 "configure"
107
162
#include "confdefs.h"
113
-if { (eval echo configure:1187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
114
+if { (eval echo configure:1219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
168
-if { (eval echo configure:1203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
169
+if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
116
171
ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6
118
@@ -1212,7 +1244,7 @@
173
echo "configure: failed program was:" >&5
174
cat conftest.$ac_ext >&5
176
{ echo "configure: error: installation or configuration problem: $host compiler $HOST_CC cannot create executables." 1>&2; exit 1; }
178
@@ -1223,17 +1255,17 @@
182
for ac_prog in $CC "${target_alias}-gcc" "${target}-gcc"
119
184
# Extract the first word of "$ac_prog", so it can be a program name with args.
120
185
set dummy $ac_prog; ac_word=$2
121
186
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
122
-echo "configure:1216: checking for $ac_word" >&5
123
+echo "configure:1248: checking for $ac_word" >&5
187
-echo "configure:1232: checking for $ac_word" >&5
188
+echo "configure:1264: checking for $ac_word" >&5
124
189
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
125
190
echo $ac_n "(cached) $ac_c" 1>&6
127
@@ -1246,7 +1278,7 @@
192
if test -n "$CC"; then
193
ac_cv_prog_CC="$CC" # Let the user override the test.
195
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
197
@@ -1257,17 +1289,17 @@
198
test -n "$CC" && break
200
test -n "$CC" || CC="echo"
128
203
# Extract the first word of "gcc", so it can be a program name with args.
129
204
set dummy gcc; ac_word=$2
130
205
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
131
-echo "configure:1250: checking for $ac_word" >&5
132
+echo "configure:1282: checking for $ac_word" >&5
206
-echo "configure:1266: checking for $ac_word" >&5
207
+echo "configure:1298: checking for $ac_word" >&5
133
208
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
134
209
echo $ac_n "(cached) $ac_c" 1>&6
136
@@ -1276,7 +1308,7 @@
211
if test -n "$CC"; then
212
ac_cv_prog_CC="$CC" # Let the user override the test.
214
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
216
@@ -1287,17 +1319,17 @@
218
echo "$ac_t""no" 1>&6
221
if test -z "$CC"; then
137
222
# Extract the first word of "cc", so it can be a program name with args.
138
223
set dummy cc; ac_word=$2
139
224
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
140
-echo "configure:1280: checking for $ac_word" >&5
141
+echo "configure:1312: checking for $ac_word" >&5
225
-echo "configure:1296: checking for $ac_word" >&5
226
+echo "configure:1328: checking for $ac_word" >&5
142
227
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
143
228
echo $ac_n "(cached) $ac_c" 1>&6
145
@@ -1327,7 +1359,7 @@
230
if test -n "$CC"; then
231
ac_cv_prog_CC="$CC" # Let the user override the test.
233
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
235
@@ -1338,17 +1370,17 @@
238
if test -z "$CC"; then
146
241
# Extract the first word of "cl", so it can be a program name with args.
147
242
set dummy cl; ac_word=$2
148
243
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
149
-echo "configure:1331: checking for $ac_word" >&5
150
+echo "configure:1363: checking for $ac_word" >&5
244
-echo "configure:1347: checking for $ac_word" >&5
245
+echo "configure:1379: checking for $ac_word" >&5
151
246
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
152
247
echo $ac_n "(cached) $ac_c" 1>&6
154
@@ -1359,7 +1391,7 @@
249
if test -n "$CC"; then
250
ac_cv_prog_CC="$CC" # Let the user override the test.
252
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
254
@@ -1370,33 +1402,33 @@
259
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
157
262
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
158
-echo "configure:1363: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
159
+echo "configure:1395: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
263
-echo "configure:1379: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
264
+echo "configure:1411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
162
267
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
163
@@ -1370,12 +1402,12 @@
268
ac_cpp='$CPP $CPPFLAGS'
269
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
270
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
271
cross_compiling=$ac_cv_prog_cc_cross
165
273
cat > conftest.$ac_ext << EOF
167
-#line 1374 "configure"
168
+#line 1406 "configure"
275
-#line 1390 "configure"
276
+#line 1422 "configure"
169
277
#include "confdefs.h"
171
279
main(){return(0);}
173
-if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
174
+if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
281
-if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
282
+if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
175
283
ac_cv_prog_cc_works=yes
176
284
# If we can't run a trivial program, we are probably using a cross compiler.
177
285
if (./conftest; exit) 2>/dev/null; then
178
@@ -1401,12 +1433,12 @@
286
ac_cv_prog_cc_cross=no
288
ac_cv_prog_cc_cross=yes
291
@@ -1412,31 +1444,31 @@
292
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
293
cross_compiling=$ac_cv_prog_cc_cross
295
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
296
if test $ac_cv_prog_cc_works = no; then
179
297
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
181
299
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
182
-echo "configure:1405: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
183
+echo "configure:1437: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
300
-echo "configure:1421: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
301
+echo "configure:1453: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
184
302
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
185
303
cross_compiling=$ac_cv_prog_cc_cross
187
305
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
188
-echo "configure:1410: checking whether we are using GNU C" >&5
189
+echo "configure:1442: checking whether we are using GNU C" >&5
306
-echo "configure:1426: checking whether we are using GNU C" >&5
307
+echo "configure:1458: checking whether we are using GNU C" >&5
190
308
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
191
309
echo $ac_n "(cached) $ac_c" 1>&6
193
@@ -1415,7 +1447,7 @@
311
cat > conftest.c <<EOF
197
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
198
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
316
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
317
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
199
318
ac_cv_prog_gcc=yes
201
320
ac_cv_prog_gcc=no
202
@@ -1434,7 +1466,7 @@
324
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
326
@@ -1445,17 +1477,17 @@
331
ac_test_CFLAGS="${CFLAGS+set}"
203
332
ac_save_CFLAGS="$CFLAGS"
205
334
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
206
-echo "configure:1438: checking whether ${CC-cc} accepts -g" >&5
207
+echo "configure:1470: checking whether ${CC-cc} accepts -g" >&5
335
-echo "configure:1454: checking whether ${CC-cc} accepts -g" >&5
336
+echo "configure:1486: checking whether ${CC-cc} accepts -g" >&5
208
337
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
209
338
echo $ac_n "(cached) $ac_c" 1>&6
211
@@ -1471,7 +1503,7 @@
212
# Extract the first word of "$ac_prog", so it can be a program name with args.
213
set dummy $ac_prog; ac_word=$2
214
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
215
-echo "configure:1475: checking for $ac_word" >&5
216
+echo "configure:1507: checking for $ac_word" >&5
217
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
218
echo $ac_n "(cached) $ac_c" 1>&6
220
@@ -1507,7 +1539,7 @@
221
# Extract the first word of "$ac_prog", so it can be a program name with args.
222
set dummy $ac_prog; ac_word=$2
223
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
224
-echo "configure:1511: checking for $ac_word" >&5
225
+echo "configure:1543: checking for $ac_word" >&5
226
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
227
echo $ac_n "(cached) $ac_c" 1>&6
229
@@ -1539,7 +1571,7 @@
340
echo 'void f(){}' > conftest.c
341
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
345
@@ -1482,17 +1514,17 @@
348
if test -n "$USE_CPLUS"; then
349
for ac_prog in $CXX "${target_alias}-g++" "${target}-g++"
351
# Extract the first word of "$ac_prog", so it can be a program name with args.
352
set dummy $ac_prog; ac_word=$2
353
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
354
-echo "configure:1491: checking for $ac_word" >&5
355
+echo "configure:1523: checking for $ac_word" >&5
356
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
357
echo $ac_n "(cached) $ac_c" 1>&6
359
if test -n "$CXX"; then
360
ac_cv_prog_CXX="$CXX" # Let the user override the test.
362
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
364
@@ -1518,17 +1550,17 @@
365
test -n "$CXX" || CXX="echo"
368
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
370
# Extract the first word of "$ac_prog", so it can be a program name with args.
371
set dummy $ac_prog; ac_word=$2
372
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
373
-echo "configure:1527: checking for $ac_word" >&5
374
+echo "configure:1559: checking for $ac_word" >&5
375
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
376
echo $ac_n "(cached) $ac_c" 1>&6
378
if test -n "$CXX"; then
379
ac_cv_prog_CXX="$CXX" # Let the user override the test.
381
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
383
@@ -1550,33 +1582,33 @@
386
test -n "$CXX" && break
388
test -n "$CXX" || CXX="gcc"
232
391
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
233
-echo "configure:1543: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
234
+echo "configure:1575: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
392
-echo "configure:1559: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
393
+echo "configure:1591: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
237
396
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
238
@@ -1550,12 +1582,12 @@
397
ac_cpp='$CXXCPP $CPPFLAGS'
398
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
399
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
400
cross_compiling=$ac_cv_prog_cxx_cross
240
402
cat > conftest.$ac_ext << EOF
242
-#line 1554 "configure"
243
+#line 1586 "configure"
404
-#line 1570 "configure"
405
+#line 1602 "configure"
244
406
#include "confdefs.h"
246
408
int main(){return(0);}
248
-if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
249
+if { (eval echo configure:1591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
410
-if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
411
+if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
250
412
ac_cv_prog_cxx_works=yes
251
413
# If we can't run a trivial program, we are probably using a cross compiler.
252
414
if (./conftest; exit) 2>/dev/null; then
253
@@ -1581,12 +1613,12 @@
415
ac_cv_prog_cxx_cross=no
417
ac_cv_prog_cxx_cross=yes
420
@@ -1592,31 +1624,31 @@
421
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
422
cross_compiling=$ac_cv_prog_cc_cross
424
echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
425
if test $ac_cv_prog_cxx_works = no; then
254
426
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
256
428
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
257
-echo "configure:1585: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
258
+echo "configure:1617: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
429
-echo "configure:1601: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
430
+echo "configure:1633: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
259
431
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
260
432
cross_compiling=$ac_cv_prog_cxx_cross
262
434
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
263
-echo "configure:1590: checking whether we are using GNU C++" >&5
264
+echo "configure:1622: checking whether we are using GNU C++" >&5
435
-echo "configure:1606: checking whether we are using GNU C++" >&5
436
+echo "configure:1638: checking whether we are using GNU C++" >&5
265
437
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
266
438
echo $ac_n "(cached) $ac_c" 1>&6
268
@@ -1595,7 +1627,7 @@
440
cat > conftest.C <<EOF
272
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
273
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
445
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
446
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
274
447
ac_cv_prog_gxx=yes
276
449
ac_cv_prog_gxx=no
277
@@ -1614,7 +1646,7 @@
453
echo "$ac_t""$ac_cv_prog_gxx" 1>&6
455
@@ -1625,17 +1657,17 @@
460
ac_test_CXXFLAGS="${CXXFLAGS+set}"
278
461
ac_save_CXXFLAGS="$CXXFLAGS"
280
463
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
281
-echo "configure:1618: checking whether ${CXX-g++} accepts -g" >&5
282
+echo "configure:1650: checking whether ${CXX-g++} accepts -g" >&5
464
-echo "configure:1634: checking whether ${CXX-g++} accepts -g" >&5
465
+echo "configure:1666: checking whether ${CXX-g++} accepts -g" >&5
283
466
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
284
467
echo $ac_n "(cached) $ac_c" 1>&6
286
@@ -1659,7 +1691,7 @@
469
echo 'void f(){}' > conftest.cc
470
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
474
@@ -1670,17 +1702,17 @@
478
for ac_prog in $RANLIB "${target_alias}-ranlib" "${target}-ranlib"
287
480
# Extract the first word of "$ac_prog", so it can be a program name with args.
288
481
set dummy $ac_prog; ac_word=$2
289
482
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
290
-echo "configure:1663: checking for $ac_word" >&5
291
+echo "configure:1695: checking for $ac_word" >&5
483
-echo "configure:1679: checking for $ac_word" >&5
484
+echo "configure:1711: checking for $ac_word" >&5
292
485
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
293
486
echo $ac_n "(cached) $ac_c" 1>&6
295
@@ -1694,7 +1726,7 @@
488
if test -n "$RANLIB"; then
489
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
491
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
493
@@ -1705,17 +1737,17 @@
495
test -n "$RANLIB" || RANLIB="echo"
497
for ac_prog in $AR "${target_alias}-ar" "${target}-ar"
296
499
# Extract the first word of "$ac_prog", so it can be a program name with args.
297
500
set dummy $ac_prog; ac_word=$2
298
501
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
299
-echo "configure:1698: checking for $ac_word" >&5
300
+echo "configure:1730: checking for $ac_word" >&5
502
-echo "configure:1714: checking for $ac_word" >&5
503
+echo "configure:1746: checking for $ac_word" >&5
301
504
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
302
505
echo $ac_n "(cached) $ac_c" 1>&6
304
@@ -1729,7 +1761,7 @@
507
if test -n "$AR"; then
508
ac_cv_prog_AR="$AR" # Let the user override the test.
510
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
512
@@ -1740,17 +1772,17 @@
514
test -n "$AR" || AR="echo"
516
for ac_prog in $AS "${target_alias}-as" "${target}-as"
305
518
# Extract the first word of "$ac_prog", so it can be a program name with args.
306
519
set dummy $ac_prog; ac_word=$2
307
520
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
308
-echo "configure:1733: checking for $ac_word" >&5
309
+echo "configure:1765: checking for $ac_word" >&5
521
-echo "configure:1749: checking for $ac_word" >&5
522
+echo "configure:1781: checking for $ac_word" >&5
310
523
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
311
524
echo $ac_n "(cached) $ac_c" 1>&6
313
@@ -1764,7 +1796,7 @@
526
if test -n "$AS"; then
527
ac_cv_prog_AS="$AS" # Let the user override the test.
529
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
531
@@ -1775,17 +1807,17 @@
533
test -n "$AS" || AS="echo"
535
for ac_prog in $LD "${target_alias}-ld" "${target}-ld"
314
537
# Extract the first word of "$ac_prog", so it can be a program name with args.
315
538
set dummy $ac_prog; ac_word=$2
316
539
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
317
-echo "configure:1768: checking for $ac_word" >&5
318
+echo "configure:1800: checking for $ac_word" >&5
540
-echo "configure:1784: checking for $ac_word" >&5
541
+echo "configure:1816: checking for $ac_word" >&5
319
542
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
320
543
echo $ac_n "(cached) $ac_c" 1>&6
322
@@ -1799,7 +1831,7 @@
545
if test -n "$LD"; then
546
ac_cv_prog_LD="$LD" # Let the user override the test.
548
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
550
@@ -1810,17 +1842,17 @@
552
test -n "$LD" || LD="echo"
554
for ac_prog in $STRIP "${target_alias}-strip" "${target}-strip"
323
556
# Extract the first word of "$ac_prog", so it can be a program name with args.
324
557
set dummy $ac_prog; ac_word=$2
325
558
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
326
-echo "configure:1803: checking for $ac_word" >&5
327
+echo "configure:1835: checking for $ac_word" >&5
559
-echo "configure:1819: checking for $ac_word" >&5
560
+echo "configure:1851: checking for $ac_word" >&5
328
561
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
329
562
echo $ac_n "(cached) $ac_c" 1>&6
331
@@ -1834,7 +1866,7 @@
564
if test -n "$STRIP"; then
565
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
567
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
569
@@ -1845,17 +1877,17 @@
571
test -n "$STRIP" || STRIP="echo"
573
for ac_prog in $WINDRES "${target_alias}-windres" "${target}-windres"
332
575
# Extract the first word of "$ac_prog", so it can be a program name with args.
333
576
set dummy $ac_prog; ac_word=$2
334
577
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
335
-echo "configure:1838: checking for $ac_word" >&5
336
+echo "configure:1870: checking for $ac_word" >&5
578
-echo "configure:1854: checking for $ac_word" >&5
579
+echo "configure:1886: checking for $ac_word" >&5
337
580
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
338
581
echo $ac_n "(cached) $ac_c" 1>&6
340
@@ -1869,7 +1901,7 @@
583
if test -n "$WINDRES"; then
584
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
586
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
588
@@ -1880,17 +1912,17 @@
590
test -n "$WINDRES" || WINDRES="echo"
341
594
# Extract the first word of "gcc", so it can be a program name with args.
342
595
set dummy gcc; ac_word=$2
343
596
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
344
-echo "configure:1873: checking for $ac_word" >&5
345
+echo "configure:1905: checking for $ac_word" >&5
597
-echo "configure:1889: checking for $ac_word" >&5
598
+echo "configure:1921: checking for $ac_word" >&5
346
599
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
347
600
echo $ac_n "(cached) $ac_c" 1>&6
349
@@ -1899,7 +1931,7 @@
602
if test -n "$CC"; then
603
ac_cv_prog_CC="$CC" # Let the user override the test.
605
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
607
@@ -1910,17 +1942,17 @@
609
echo "$ac_t""no" 1>&6
612
if test -z "$CC"; then
350
613
# Extract the first word of "cc", so it can be a program name with args.
351
614
set dummy cc; ac_word=$2
352
615
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
353
-echo "configure:1903: checking for $ac_word" >&5
354
+echo "configure:1935: checking for $ac_word" >&5
616
-echo "configure:1919: checking for $ac_word" >&5
617
+echo "configure:1951: checking for $ac_word" >&5
355
618
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
356
619
echo $ac_n "(cached) $ac_c" 1>&6
358
@@ -1950,7 +1982,7 @@
621
if test -n "$CC"; then
622
ac_cv_prog_CC="$CC" # Let the user override the test.
624
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
626
@@ -1961,17 +1993,17 @@
629
if test -z "$CC"; then
359
632
# Extract the first word of "cl", so it can be a program name with args.
360
633
set dummy cl; ac_word=$2
361
634
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
362
-echo "configure:1954: checking for $ac_word" >&5
363
+echo "configure:1986: checking for $ac_word" >&5
635
-echo "configure:1970: checking for $ac_word" >&5
636
+echo "configure:2002: checking for $ac_word" >&5
364
637
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
365
638
echo $ac_n "(cached) $ac_c" 1>&6
367
@@ -1982,7 +2014,7 @@
640
if test -n "$CC"; then
641
ac_cv_prog_CC="$CC" # Let the user override the test.
643
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
645
@@ -1993,33 +2025,33 @@
650
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
370
653
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
371
-echo "configure:1986: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
372
+echo "configure:2018: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
654
-echo "configure:2002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
655
+echo "configure:2034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
375
658
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
376
@@ -1993,12 +2025,12 @@
659
ac_cpp='$CPP $CPPFLAGS'
660
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
661
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
662
cross_compiling=$ac_cv_prog_cc_cross
378
664
cat > conftest.$ac_ext << EOF
380
-#line 1997 "configure"
381
+#line 2029 "configure"
666
-#line 2013 "configure"
667
+#line 2045 "configure"
382
668
#include "confdefs.h"
384
670
main(){return(0);}
386
-if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
387
+if { (eval echo configure:2034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
672
-if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
673
+if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
388
674
ac_cv_prog_cc_works=yes
389
675
# If we can't run a trivial program, we are probably using a cross compiler.
390
676
if (./conftest; exit) 2>/dev/null; then
391
@@ -2024,12 +2056,12 @@
677
ac_cv_prog_cc_cross=no
679
ac_cv_prog_cc_cross=yes
682
@@ -2035,31 +2067,31 @@
683
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
684
cross_compiling=$ac_cv_prog_cc_cross
686
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
687
if test $ac_cv_prog_cc_works = no; then
392
688
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
394
690
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
395
-echo "configure:2028: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
396
+echo "configure:2060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
691
-echo "configure:2044: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
692
+echo "configure:2076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
397
693
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
398
694
cross_compiling=$ac_cv_prog_cc_cross
400
696
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
401
-echo "configure:2033: checking whether we are using GNU C" >&5
402
+echo "configure:2065: checking whether we are using GNU C" >&5
697
-echo "configure:2049: checking whether we are using GNU C" >&5
698
+echo "configure:2081: checking whether we are using GNU C" >&5
403
699
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
404
700
echo $ac_n "(cached) $ac_c" 1>&6
406
@@ -2038,7 +2070,7 @@
702
cat > conftest.c <<EOF
410
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
411
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
707
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
708
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
412
709
ac_cv_prog_gcc=yes
414
711
ac_cv_prog_gcc=no
415
@@ -2057,7 +2089,7 @@
715
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
717
@@ -2068,17 +2100,17 @@
722
ac_test_CFLAGS="${CFLAGS+set}"
416
723
ac_save_CFLAGS="$CFLAGS"
418
725
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
419
-echo "configure:2061: checking whether ${CC-cc} accepts -g" >&5
420
+echo "configure:2093: checking whether ${CC-cc} accepts -g" >&5
726
-echo "configure:2077: checking whether ${CC-cc} accepts -g" >&5
727
+echo "configure:2109: checking whether ${CC-cc} accepts -g" >&5
421
728
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
422
729
echo $ac_n "(cached) $ac_c" 1>&6
424
@@ -2097,7 +2129,7 @@
731
echo 'void f(){}' > conftest.c
732
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
736
@@ -2108,17 +2140,17 @@
737
if test "$CC" = "cl" -a -z "$CXX"; then
740
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
425
742
# Extract the first word of "$ac_prog", so it can be a program name with args.
426
743
set dummy $ac_prog; ac_word=$2
427
744
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
428
-echo "configure:2101: checking for $ac_word" >&5
429
+echo "configure:2133: checking for $ac_word" >&5
745
-echo "configure:2117: checking for $ac_word" >&5
746
+echo "configure:2149: checking for $ac_word" >&5
430
747
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
431
748
echo $ac_n "(cached) $ac_c" 1>&6
433
@@ -2129,7 +2161,7 @@
750
if test -n "$CXX"; then
751
ac_cv_prog_CXX="$CXX" # Let the user override the test.
753
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
755
@@ -2140,33 +2172,33 @@
758
test -n "$CXX" && break
760
test -n "$CXX" || CXX="gcc"
436
763
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
437
-echo "configure:2133: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
438
+echo "configure:2165: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
764
-echo "configure:2149: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
765
+echo "configure:2181: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
441
768
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
442
@@ -2140,12 +2172,12 @@
769
ac_cpp='$CXXCPP $CPPFLAGS'
770
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
771
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
772
cross_compiling=$ac_cv_prog_cxx_cross
444
774
cat > conftest.$ac_ext << EOF
446
-#line 2144 "configure"
447
+#line 2176 "configure"
776
-#line 2160 "configure"
777
+#line 2192 "configure"
448
778
#include "confdefs.h"
450
780
int main(){return(0);}
452
-if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
453
+if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
782
-if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
783
+if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
454
784
ac_cv_prog_cxx_works=yes
455
785
# If we can't run a trivial program, we are probably using a cross compiler.
456
786
if (./conftest; exit) 2>/dev/null; then
457
@@ -2171,12 +2203,12 @@
787
ac_cv_prog_cxx_cross=no
789
ac_cv_prog_cxx_cross=yes
792
@@ -2182,31 +2214,31 @@
793
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794
cross_compiling=$ac_cv_prog_cc_cross
796
echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
797
if test $ac_cv_prog_cxx_works = no; then
458
798
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
460
800
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
461
-echo "configure:2175: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
462
+echo "configure:2207: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
801
-echo "configure:2191: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
802
+echo "configure:2223: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
463
803
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
464
804
cross_compiling=$ac_cv_prog_cxx_cross
466
806
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
467
-echo "configure:2180: checking whether we are using GNU C++" >&5
468
+echo "configure:2212: checking whether we are using GNU C++" >&5
807
-echo "configure:2196: checking whether we are using GNU C++" >&5
808
+echo "configure:2228: checking whether we are using GNU C++" >&5
469
809
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
470
810
echo $ac_n "(cached) $ac_c" 1>&6
472
@@ -2185,7 +2217,7 @@
812
cat > conftest.C <<EOF
476
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
477
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
817
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
818
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
478
819
ac_cv_prog_gxx=yes
480
821
ac_cv_prog_gxx=no
481
@@ -2204,7 +2236,7 @@
825
echo "$ac_t""$ac_cv_prog_gxx" 1>&6
827
@@ -2215,17 +2247,17 @@
832
ac_test_CXXFLAGS="${CXXFLAGS+set}"
482
833
ac_save_CXXFLAGS="$CXXFLAGS"
484
835
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
485
-echo "configure:2208: checking whether ${CXX-g++} accepts -g" >&5
486
+echo "configure:2240: checking whether ${CXX-g++} accepts -g" >&5
836
-echo "configure:2224: checking whether ${CXX-g++} accepts -g" >&5
837
+echo "configure:2256: checking whether ${CXX-g++} accepts -g" >&5
487
838
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
488
839
echo $ac_n "(cached) $ac_c" 1>&6
490
@@ -2238,7 +2270,7 @@
841
echo 'void f(){}' > conftest.cc
842
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
846
@@ -2249,72 +2281,72 @@
493
854
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
494
-echo "configure:2242: checking how to run the C preprocessor" >&5
495
+echo "configure:2274: checking how to run the C preprocessor" >&5
855
-echo "configure:2258: checking how to run the C preprocessor" >&5
856
+echo "configure:2290: checking how to run the C preprocessor" >&5
496
857
# On Suns, sometimes $CPP names a directory.
497
858
if test -n "$CPP" && test -d "$CPP"; then
499
@@ -2253,13 +2285,13 @@
861
if test -z "$CPP"; then
862
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
863
echo $ac_n "(cached) $ac_c" 1>&6
865
# This must be in double quotes, not single quotes, because CPP may get
866
# substituted into the Makefile and "${CC-cc}" will confuse make.
500
868
# On the NeXT, cc -E runs the code through the compiler's parser,
501
869
# not just through cpp.
502
870
cat > conftest.$ac_ext <<EOF
503
-#line 2257 "configure"
504
+#line 2289 "configure"
871
-#line 2273 "configure"
872
+#line 2305 "configure"
505
873
#include "confdefs.h"
506
874
#include <assert.h>
509
877
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
510
-{ (eval echo configure:2263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
511
+{ (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
878
-{ (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
879
+{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
512
880
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
513
881
if test -z "$ac_err"; then
515
@@ -2270,13 +2302,13 @@
885
echo "configure: failed program was:" >&5
886
cat conftest.$ac_ext >&5
517
888
CPP="${CC-cc} -E -traditional-cpp"
518
889
cat > conftest.$ac_ext <<EOF
519
-#line 2274 "configure"
520
+#line 2306 "configure"
890
-#line 2290 "configure"
891
+#line 2322 "configure"
521
892
#include "confdefs.h"
522
893
#include <assert.h>
525
896
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
526
-{ (eval echo configure:2280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
527
+{ (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
897
-{ (eval echo configure:2296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
898
+{ (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
528
899
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
529
900
if test -z "$ac_err"; then
531
@@ -2287,13 +2319,13 @@
904
echo "configure: failed program was:" >&5
905
cat conftest.$ac_ext >&5
533
907
CPP="${CC-cc} -nologo -E"
534
908
cat > conftest.$ac_ext <<EOF
535
-#line 2291 "configure"
536
+#line 2323 "configure"
909
-#line 2307 "configure"
910
+#line 2339 "configure"
537
911
#include "confdefs.h"
538
912
#include <assert.h>
541
915
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
542
-{ (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
543
+{ (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
916
-{ (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
917
+{ (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
544
918
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
545
919
if test -z "$ac_err"; then
547
@@ -2320,7 +2352,7 @@
923
echo "configure: failed program was:" >&5
924
cat conftest.$ac_ext >&5
926
@@ -2331,17 +2363,17 @@
928
ac_cv_prog_CPP="$CPP"
930
echo "$ac_t""$CPP" 1>&6
548
932
# Extract the first word of "ranlib", so it can be a program name with args.
549
933
set dummy ranlib; ac_word=$2
550
934
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
551
-echo "configure:2324: checking for $ac_word" >&5
552
+echo "configure:2356: checking for $ac_word" >&5
935
-echo "configure:2340: checking for $ac_word" >&5
936
+echo "configure:2372: checking for $ac_word" >&5
553
937
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
554
938
echo $ac_n "(cached) $ac_c" 1>&6
556
@@ -2352,7 +2384,7 @@
940
if test -n "$RANLIB"; then
941
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
943
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
945
@@ -2363,17 +2395,17 @@
946
echo "$ac_t""no" 1>&6
557
951
# Extract the first word of "$ac_prog", so it can be a program name with args.
558
952
set dummy $ac_prog; ac_word=$2
559
953
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
560
-echo "configure:2356: checking for $ac_word" >&5
561
+echo "configure:2388: checking for $ac_word" >&5
954
-echo "configure:2372: checking for $ac_word" >&5
955
+echo "configure:2404: checking for $ac_word" >&5
562
956
if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
563
957
echo $ac_n "(cached) $ac_c" 1>&6
565
@@ -2393,7 +2425,7 @@
961
ac_cv_path_AS="$AS" # Let the user override the test with a path.
964
@@ -2404,17 +2436,17 @@
966
test -n "$AS" || AS="$CC"
566
970
# Extract the first word of "$ac_prog", so it can be a program name with args.
567
971
set dummy $ac_prog; ac_word=$2
568
972
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
569
-echo "configure:2397: checking for $ac_word" >&5
570
+echo "configure:2429: checking for $ac_word" >&5
973
-echo "configure:2413: checking for $ac_word" >&5
974
+echo "configure:2445: checking for $ac_word" >&5
571
975
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
572
976
echo $ac_n "(cached) $ac_c" 1>&6
574
@@ -2434,7 +2466,7 @@
980
ac_cv_path_AR="$AR" # Let the user override the test with a path.
983
@@ -2445,17 +2477,17 @@
985
test -n "$AR" || AR="echo not_ar"
987
for ac_prog in ld link
575
989
# Extract the first word of "$ac_prog", so it can be a program name with args.
576
990
set dummy $ac_prog; ac_word=$2
577
991
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
578
-echo "configure:2438: checking for $ac_word" >&5
579
+echo "configure:2470: checking for $ac_word" >&5
992
-echo "configure:2454: checking for $ac_word" >&5
993
+echo "configure:2486: checking for $ac_word" >&5
580
994
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
581
995
echo $ac_n "(cached) $ac_c" 1>&6
583
@@ -2475,7 +2507,7 @@
999
ac_cv_path_LD="$LD" # Let the user override the test with a path.
1002
@@ -2486,17 +2518,17 @@
1004
test -n "$LD" || LD="echo not_ld"
1006
for ac_prog in strip
584
1008
# Extract the first word of "$ac_prog", so it can be a program name with args.
585
1009
set dummy $ac_prog; ac_word=$2
586
1010
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
587
-echo "configure:2479: checking for $ac_word" >&5
588
+echo "configure:2511: checking for $ac_word" >&5
1011
-echo "configure:2495: checking for $ac_word" >&5
1012
+echo "configure:2527: checking for $ac_word" >&5
589
1013
if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
590
1014
echo $ac_n "(cached) $ac_c" 1>&6
592
@@ -2516,7 +2548,7 @@
1018
ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
1021
@@ -2527,17 +2559,17 @@
1023
test -n "$STRIP" || STRIP="echo not_strip"
1025
for ac_prog in windres
593
1027
# Extract the first word of "$ac_prog", so it can be a program name with args.
594
1028
set dummy $ac_prog; ac_word=$2
595
1029
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
596
-echo "configure:2520: checking for $ac_word" >&5
597
+echo "configure:2552: checking for $ac_word" >&5
1030
-echo "configure:2536: checking for $ac_word" >&5
1031
+echo "configure:2568: checking for $ac_word" >&5
598
1032
if eval "test \"`echo '$''{'ac_cv_path_WINDRES'+set}'`\" = set"; then
599
1033
echo $ac_n "(cached) $ac_c" 1>&6
601
@@ -2584,7 +2616,7 @@
1037
ac_cv_path_WINDRES="$WINDRES" # Let the user override the test with a path.
1040
@@ -2595,39 +2627,39 @@
1042
if test "$cross_compiling" = "yes"; then
604
1048
echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
605
-echo "configure:2588: checking for gcc -pipe support" >&5
606
+echo "configure:2620: checking for gcc -pipe support" >&5
1049
-echo "configure:2604: checking for gcc -pipe support" >&5
1050
+echo "configure:2636: checking for gcc -pipe support" >&5
607
1051
if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
608
1052
echo '#include <stdio.h>' > dummy-hello.c
609
1053
echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c
610
@@ -2599,14 +2631,14 @@
1054
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
1055
cat dummy-hello.s | ${AS} -o dummy-hello.S - 2>&5
1056
if test $? = 0; then
1061
if test "$_res_as_stdin" = "yes"; then
611
1062
_SAVE_CFLAGS=$CFLAGS
612
1063
CFLAGS="$CFLAGS -pipe"
613
1064
cat > conftest.$ac_ext <<EOF
614
-#line 2603 "configure"
615
+#line 2635 "configure"
1065
-#line 2619 "configure"
1066
+#line 2651 "configure"
616
1067
#include "confdefs.h"
617
1068
#include <stdio.h>
619
1070
printf("Hello World\n");
622
-if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
623
+if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1073
-if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1074
+if { (eval echo configure:2658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
624
1075
rm -rf conftest*
625
1076
_res_gcc_pipe="yes"
627
@@ -2633,7 +2665,7 @@
1078
echo "configure: failed program was:" >&5
1079
cat conftest.$ac_ext >&5
1083
@@ -2644,17 +2676,17 @@
1084
rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out
1085
echo "$ac_t""$_res" 1>&6
1087
echo "$ac_t""no" 1>&6
629
1090
if test "$GNU_CC"; then
630
1091
echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
631
-echo "configure:2637: checking for visibility(hidden) attribute" >&5
632
+echo "configure:2669: checking for visibility(hidden) attribute" >&5
1092
-echo "configure:2653: checking for visibility(hidden) attribute" >&5
1093
+echo "configure:2685: checking for visibility(hidden) attribute" >&5
633
1094
if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
634
1095
echo $ac_n "(cached) $ac_c" 1>&6
636
@@ -2657,7 +2689,7 @@
1097
cat > conftest.c <<EOF
1098
int foo __attribute__ ((visibility ("hidden"))) = 1;
1100
ac_cv_visibility_hidden=no
1101
if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
1102
@@ -2668,17 +2700,17 @@
1104
echo "$ac_t""$ac_cv_visibility_hidden" 1>&6
1105
if test "$ac_cv_visibility_hidden" = "yes"; then
1106
cat >> confdefs.h <<\EOF
1107
#define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
639
1110
echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
640
-echo "configure:2661: checking for visibility pragma support" >&5
641
+echo "configure:2693: checking for visibility pragma support" >&5
1111
-echo "configure:2677: checking for visibility pragma support" >&5
1112
+echo "configure:2709: checking for visibility pragma support" >&5
642
1113
if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
643
1114
echo $ac_n "(cached) $ac_c" 1>&6
645
@@ -2710,7 +2742,7 @@
1116
cat > conftest.c <<EOF
1117
#pragma GCC visibility push(hidden)
1119
#pragma GCC visibility push(default)
1120
int foo_default = 1;
1121
@@ -2721,17 +2753,17 @@
1122
fi # SKIP_COMPILER_CHECKS
1124
if test -z "$SKIP_PATH_CHECKS"; then
1125
for ac_prog in perl5 perl
646
1127
# Extract the first word of "$ac_prog", so it can be a program name with args.
647
1128
set dummy $ac_prog; ac_word=$2
648
1129
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
649
-echo "configure:2714: checking for $ac_word" >&5
650
+echo "configure:2746: checking for $ac_word" >&5
1130
-echo "configure:2730: checking for $ac_word" >&5
1131
+echo "configure:2762: checking for $ac_word" >&5
651
1132
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
652
1133
echo $ac_n "(cached) $ac_c" 1>&6
654
@@ -2967,17 +2999,17 @@
1137
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1140
@@ -2978,27 +3010,27 @@
1142
cat >> confdefs.h <<\EOF
655
1146
DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
656
1147
ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
657
1148
echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
658
-echo "configure:2971: checking for sys/atomic_op.h" >&5
659
+echo "configure:3003: checking for sys/atomic_op.h" >&5
1149
-echo "configure:2987: checking for sys/atomic_op.h" >&5
1150
+echo "configure:3019: checking for sys/atomic_op.h" >&5
660
1151
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
661
1152
echo $ac_n "(cached) $ac_c" 1>&6
663
1154
cat > conftest.$ac_ext <<EOF
664
-#line 2976 "configure"
665
+#line 3008 "configure"
1155
-#line 2992 "configure"
1156
+#line 3024 "configure"
666
1157
#include "confdefs.h"
667
1158
#include <sys/atomic_op.h>
669
1160
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
670
-{ (eval echo configure:2981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
671
+{ (eval echo configure:3013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1161
-{ (eval echo configure:2997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1162
+{ (eval echo configure:3029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
672
1163
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
673
1164
if test -z "$ac_err"; then
674
1165
rm -rf conftest*
675
@@ -3134,7 +3166,7 @@
1166
eval "ac_cv_header_$ac_safe=yes"
1169
echo "configure: failed program was:" >&5
1170
cat conftest.$ac_ext >&5
1171
@@ -3145,36 +3177,36 @@
1173
RESOLVE_LINK_SYMBOLS=1
1174
case "${target_cpu}" in
676
1177
_DEBUG_FLAGS='-gdwarf-2 -O0'
677
1178
MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
678
1179
echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
679
-echo "configure:3138: checking for gethostbyaddr in -lbind" >&5
680
+echo "configure:3170: checking for gethostbyaddr in -lbind" >&5
1180
-echo "configure:3154: checking for gethostbyaddr in -lbind" >&5
1181
+echo "configure:3186: checking for gethostbyaddr in -lbind" >&5
681
1182
ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
682
1183
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
683
1184
echo $ac_n "(cached) $ac_c" 1>&6
684
@@ -3142,7 +3174,7 @@
685
1186
ac_save_LIBS="$LIBS"
686
1187
LIBS="-lbind $LIBS"
687
1188
cat > conftest.$ac_ext <<EOF
688
-#line 3146 "configure"
689
+#line 3178 "configure"
1189
-#line 3162 "configure"
1190
+#line 3194 "configure"
690
1191
#include "confdefs.h"
691
1192
/* Override any gcc2 internal prototype to avoid an error. */
692
1193
/* We use char because int might match the return type of a gcc2
693
@@ -3153,7 +3185,7 @@
1194
builtin and then its argument prototype would still apply. */
1195
char gethostbyaddr();
697
-if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
698
+if { (eval echo configure:3189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1201
-if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202
+if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
699
1203
rm -rf conftest*
700
1204
eval "ac_cv_lib_$ac_lib_var=yes"
702
@@ -3279,7 +3311,7 @@
1206
echo "configure: failed program was:" >&5
1207
cat conftest.$ac_ext >&5
1209
eval "ac_cv_lib_$ac_lib_var=no"
1211
@@ -3290,17 +3322,17 @@
1214
cat >> confdefs.h <<\EOF
1215
#define _PR_STAT_HAS_ST_ATIMESPEC 1
704
1218
MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)'
705
1219
DSO_CFLAGS=-fPIC
806
1410
if test -n "$GNU_CC"; then
807
1411
CFLAGS="$CFLAGS -Wall"
808
@@ -5068,7 +5100,7 @@
1412
CXXFLAGS="$CXXFLAGS -Wall"
1413
if test -n "$USE_MDUPDATE"; then
1414
CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
1415
CXXFLAGS="$CXXFLAGS -MDupdate \$(DEPENDENCIES)"
1417
@@ -5079,63 +5111,63 @@
811
1425
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
812
-echo "configure:5072: checking for dlopen in -ldl" >&5
813
+echo "configure:5104: checking for dlopen in -ldl" >&5
1426
-echo "configure:5088: checking for dlopen in -ldl" >&5
1427
+echo "configure:5120: checking for dlopen in -ldl" >&5
814
1428
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
815
1429
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
816
1430
echo $ac_n "(cached) $ac_c" 1>&6
817
@@ -5076,7 +5108,7 @@
818
1432
ac_save_LIBS="$LIBS"
819
1433
LIBS="-ldl $LIBS"
820
1434
cat > conftest.$ac_ext <<EOF
821
-#line 5080 "configure"
822
+#line 5112 "configure"
1435
-#line 5096 "configure"
1436
+#line 5128 "configure"
823
1437
#include "confdefs.h"
824
1438
/* Override any gcc2 internal prototype to avoid an error. */
825
1439
/* We use char because int might match the return type of a gcc2
826
@@ -5087,7 +5119,7 @@
1440
builtin and then its argument prototype would still apply. */
830
-if { (eval echo configure:5091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
831
+if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1447
-if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1448
+if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
832
1449
rm -rf conftest*
833
1450
eval "ac_cv_lib_$ac_lib_var=yes"
835
@@ -5104,17 +5136,17 @@
1452
echo "configure: failed program was:" >&5
1453
cat conftest.$ac_ext >&5
1455
eval "ac_cv_lib_$ac_lib_var=no"
1458
LIBS="$ac_save_LIBS"
1461
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
836
1462
echo "$ac_t""yes" 1>&6
837
1463
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
838
1464
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
839
-echo "configure:5108: checking for dlfcn.h" >&5
840
+echo "configure:5140: checking for dlfcn.h" >&5
1465
-echo "configure:5124: checking for dlfcn.h" >&5
1466
+echo "configure:5156: checking for dlfcn.h" >&5
841
1467
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
842
1468
echo $ac_n "(cached) $ac_c" 1>&6
844
1470
cat > conftest.$ac_ext <<EOF
845
-#line 5113 "configure"
846
+#line 5145 "configure"
1471
-#line 5129 "configure"
1472
+#line 5161 "configure"
847
1473
#include "confdefs.h"
848
1474
#include <dlfcn.h>
850
1476
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
851
-{ (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
852
+{ (eval echo configure:5150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1477
-{ (eval echo configure:5134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1478
+{ (eval echo configure:5166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
853
1479
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
854
1480
if test -z "$ac_err"; then
855
1481
rm -rf conftest*
856
@@ -5147,13 +5179,13 @@
1482
eval "ac_cv_header_$ac_safe=yes"
1485
echo "configure: failed program was:" >&5
1486
cat conftest.$ac_ext >&5
1487
@@ -5158,23 +5190,23 @@
858
1494
if test $ac_cv_prog_gcc = yes; then
859
1495
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
860
-echo "configure:5151: checking whether ${CC-cc} needs -traditional" >&5
861
+echo "configure:5183: checking whether ${CC-cc} needs -traditional" >&5
1496
-echo "configure:5167: checking whether ${CC-cc} needs -traditional" >&5
1497
+echo "configure:5199: checking whether ${CC-cc} needs -traditional" >&5
862
1498
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
863
1499
echo $ac_n "(cached) $ac_c" 1>&6
865
1501
ac_pattern="Autoconf.*'x'"
866
1502
cat > conftest.$ac_ext <<EOF
867
-#line 5157 "configure"
868
+#line 5189 "configure"
1503
-#line 5173 "configure"
1504
+#line 5205 "configure"
869
1505
#include "confdefs.h"
870
1506
#include <sgtty.h>
871
1507
Autoconf TIOCGETP
872
@@ -5171,7 +5203,7 @@
1509
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1510
egrep "$ac_pattern" >/dev/null 2>&1; then
1512
ac_cv_prog_gcc_traditional=yes
1513
@@ -5182,17 +5214,17 @@
1515
ac_cv_prog_gcc_traditional=no
874
1520
if test $ac_cv_prog_gcc_traditional = no; then
875
1521
cat > conftest.$ac_ext <<EOF
876
-#line 5175 "configure"
877
+#line 5207 "configure"
1522
-#line 5191 "configure"
1523
+#line 5223 "configure"
878
1524
#include "confdefs.h"
879
1525
#include <termio.h>
881
@@ -5195,12 +5227,12 @@
1528
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1529
egrep "$ac_pattern" >/dev/null 2>&1; then
1531
ac_cv_prog_gcc_traditional=yes
1532
@@ -5206,22 +5238,22 @@
1533
if test $ac_cv_prog_gcc_traditional = yes; then
1534
CC="$CC -traditional"
882
1538
for ac_func in lchown strerror
884
1540
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
885
-echo "configure:5199: checking for $ac_func" >&5
886
+echo "configure:5231: checking for $ac_func" >&5
1541
-echo "configure:5215: checking for $ac_func" >&5
1542
+echo "configure:5247: checking for $ac_func" >&5
887
1543
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
888
1544
echo $ac_n "(cached) $ac_c" 1>&6
890
1546
cat > conftest.$ac_ext <<EOF
891
-#line 5204 "configure"
892
+#line 5236 "configure"
1547
-#line 5220 "configure"
1548
+#line 5252 "configure"
893
1549
#include "confdefs.h"
894
1550
/* System header to define __stub macros and hopefully few prototypes,
895
1551
which can conflict with char $ac_func(); below. */
896
@@ -5223,7 +5255,7 @@
1553
/* Override any gcc2 internal prototype to avoid an error. */
1554
/* We use char because int might match the return type of a gcc2
1555
builtin and then its argument prototype would still apply. */
1557
@@ -5234,17 +5266,17 @@
1558
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
900
-if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
901
+if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1566
-if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1567
+if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
902
1568
rm -rf conftest*
903
1569
eval "ac_cv_func_$ac_func=yes"
905
@@ -5264,7 +5296,7 @@
1571
echo "configure: failed program was:" >&5
1572
cat conftest.$ac_ext >&5
1574
eval "ac_cv_func_$ac_func=no"
1576
@@ -5275,17 +5307,17 @@
1580
case "${target_os}" in
906
1582
if test -z "$GNU_CC"; then
908
1584
echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
909
-echo "configure:5268: checking for +Olit support" >&5
910
+echo "configure:5300: checking for +Olit support" >&5
1585
-echo "configure:5284: checking for +Olit support" >&5
1586
+echo "configure:5316: checking for +Olit support" >&5
911
1587
if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
912
1588
echo $ac_n "(cached) $ac_c" 1>&6
914
@@ -5303,7 +5335,7 @@
1590
ac_cv_hpux_usable_olit_option=no
1592
echo 'int main() { return 0; }' | cat > conftest.c
1593
${CC-cc} ${CFLAGS} +Olit=all -o conftest conftest.c > conftest.out 2>&1
1594
if test $? -eq 0; then
1595
@@ -5314,17 +5346,17 @@
1597
case "$target_os" in
917
1603
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
918
-echo "configure:5307: checking for pthread_create in -lpthreads" >&5
919
+echo "configure:5339: checking for pthread_create in -lpthreads" >&5
1604
-echo "configure:5323: checking for pthread_create in -lpthreads" >&5
1605
+echo "configure:5355: checking for pthread_create in -lpthreads" >&5
921
1607
#include <pthread.h>
922
1608
void *foo(void *v) { return v; }
923
@@ -5325,7 +5357,7 @@
1611
if (!pthread_create(&t, 0, &foo, 0)) {
1614
@@ -5336,17 +5368,17 @@
1615
rm -f dummy.c dummy${ac_exeext} ;
1616
if test "$_res" = "0"; then
1617
echo "$ac_t""yes" 1>&6
1618
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads"
924
1620
echo "$ac_t""no" 1>&6
926
1622
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
927
-echo "configure:5329: checking for pthread_create in -lpthread" >&5
928
+echo "configure:5361: checking for pthread_create in -lpthread" >&5
1623
-echo "configure:5345: checking for pthread_create in -lpthread" >&5
1624
+echo "configure:5377: checking for pthread_create in -lpthread" >&5
930
1626
#include <pthread.h>
931
1627
void *foo(void *v) { return v; }
932
@@ -5347,7 +5379,7 @@
1630
if (!pthread_create(&t, 0, &foo, 0)) {
1633
@@ -5358,17 +5390,17 @@
1634
rm -f dummy.c dummy${ac_exeext} ;
1635
if test "$_res" = "0"; then
1636
echo "$ac_t""yes" 1>&6
1637
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread"
933
1639
echo "$ac_t""no" 1>&6
935
1641
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
936
-echo "configure:5351: checking for pthread_create in -lc_r" >&5
937
+echo "configure:5383: checking for pthread_create in -lc_r" >&5
1642
-echo "configure:5367: checking for pthread_create in -lc_r" >&5
1643
+echo "configure:5399: checking for pthread_create in -lc_r" >&5
939
1645
#include <pthread.h>
940
1646
void *foo(void *v) { return v; }
941
@@ -5369,7 +5401,7 @@
1649
if (!pthread_create(&t, 0, &foo, 0)) {
1652
@@ -5380,17 +5412,17 @@
1653
rm -f dummy.c dummy${ac_exeext} ;
1654
if test "$_res" = "0"; then
1655
echo "$ac_t""yes" 1>&6
1656
_HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r"
942
1658
echo "$ac_t""no" 1>&6
944
1660
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
945
-echo "configure:5373: checking for pthread_create in -lc" >&5
946
+echo "configure:5405: checking for pthread_create in -lc" >&5
1661
-echo "configure:5389: checking for pthread_create in -lc" >&5
1662
+echo "configure:5421: checking for pthread_create in -lc" >&5
948
1664
#include <pthread.h>
949
1665
void *foo(void *v) { return v; }
950
@@ -5514,7 +5546,7 @@
1668
if (!pthread_create(&t, 0, &foo, 0)) {
1671
@@ -5525,17 +5557,17 @@
1676
if test -n "$USE_PTHREADS"; then
952
1678
ac_cv_have_dash_pthread=no
953
1679
echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
954
-echo "configure:5518: checking whether ${CC-cc} accepts -pthread" >&5
955
+echo "configure:5550: checking whether ${CC-cc} accepts -pthread" >&5
1680
-echo "configure:5534: checking whether ${CC-cc} accepts -pthread" >&5
1681
+echo "configure:5566: checking whether ${CC-cc} accepts -pthread" >&5
956
1682
echo 'int main() { return 0; }' | cat > conftest.c
957
1683
${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
958
1684
if test $? -eq 0; then
959
@@ -5537,7 +5569,7 @@
1685
if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
1686
ac_cv_have_dash_pthread=yes
1687
case "$target_os" in
1689
# Freebsd doesn't use -pthread for compiles, it uses them for linking
1690
@@ -5548,17 +5580,17 @@
1694
echo "$ac_t""$ac_cv_have_dash_pthread" 1>&6
960
1696
ac_cv_have_dash_pthreads=no
961
1697
if test "$ac_cv_have_dash_pthread" = "no"; then
962
1698
echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
963
-echo "configure:5541: checking whether ${CC-cc} accepts -pthreads" >&5
964
+echo "configure:5573: checking whether ${CC-cc} accepts -pthreads" >&5
1699
-echo "configure:5557: checking whether ${CC-cc} accepts -pthreads" >&5
1700
+echo "configure:5589: checking whether ${CC-cc} accepts -pthreads" >&5
965
1701
echo 'int main() { return 0; }' | cat > conftest.c
966
1702
${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
967
1703
if test $? -eq 0; then
968
@@ -5964,6 +5996,7 @@
1704
if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthreads`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
1705
ac_cv_have_dash_pthreads=yes
1706
CFLAGS="$CFLAGS -pthreads"
1707
CXXFLAGS="$CXXFLAGS -pthreads"
1709
@@ -5975,16 +6007,17 @@
969
1715
config/nsprincl.mk
970
1716
config/nsprincl.sh
971
1717
config/nspr-config