2
mozilla/nsprpub/configure | 255 +++++++++++++++++++++++++---------------------
3
1 file changed, 144 insertions(+), 111 deletions(-)
2
mozilla/nsprpub/configure | 235 ++++++++++++++++++++++++++--------------------
3
1 file changed, 134 insertions(+), 101 deletions(-)
5
Index: nspr-4.7.1+1.9/mozilla/nsprpub/configure
5
Index: nspr-4.7.3/mozilla/nsprpub/configure
6
6
===================================================================
7
--- nspr-4.7.1+1.9.orig/mozilla/nsprpub/configure
8
+++ nspr-4.7.1+1.9/mozilla/nsprpub/configure
7
--- nspr-4.7.3.orig/mozilla/nsprpub/configure
8
+++ nspr-4.7.3/mozilla/nsprpub/configure
11
11
--enable-win32-target=\$t
65
65
+if test "${USE_64}"; then
66
66
+ echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6
67
+echo "configure:934: checking for 64-bit OS" >&5
67
+echo "configure:931: checking for 64-bit OS" >&5
68
68
+ cat > conftest.$ac_ext <<EOF
69
+#line 936 "configure"
69
+#line 933 "configure"
70
70
+#include "confdefs.h"
73
73
+int assert[(sizeof(long) == 8) ? 1: -1]
76
+if { (eval echo configure:943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
76
+if { (eval echo configure:940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
109
109
# Extract the first word of "$WHOAMI whoami", so it can be a program name with args.
110
110
set dummy $WHOAMI whoami; ac_word=$2
111
111
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
112
-echo "configure:1071: checking for $ac_word" >&5
113
+echo "configure:1103: checking for $ac_word" >&5
112
-echo "configure:1068: checking for $ac_word" >&5
113
+echo "configure:1100: checking for $ac_word" >&5
114
114
if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
115
115
echo $ac_n "(cached) $ac_c" 1>&6
128
128
_SAVE_LDFLAGS="$LDFLAGS"
130
130
echo $ac_n "checking for $host compiler""... $ac_c" 1>&6
131
-echo "configure:1142: checking for $host compiler" >&5
132
+echo "configure:1174: checking for $host compiler" >&5
131
-echo "configure:1139: checking for $host compiler" >&5
132
+echo "configure:1171: checking for $host compiler" >&5
133
133
for ac_prog in $HOST_CC gcc cc /usr/ucb/cc
135
135
# Extract the first word of "$ac_prog", so it can be a program name with args.
136
136
set dummy $ac_prog; ac_word=$2
137
137
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
138
-echo "configure:1148: checking for $ac_word" >&5
139
+echo "configure:1180: checking for $ac_word" >&5
138
-echo "configure:1145: checking for $ac_word" >&5
139
+echo "configure:1177: checking for $ac_word" >&5
140
140
if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
141
141
echo $ac_n "(cached) $ac_c" 1>&6
154
154
LDFLAGS="$HOST_LDFLAGS"
156
156
echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
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
157
-echo "configure:1191: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
158
+echo "configure:1223: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
159
159
cat > conftest.$ac_ext <<EOF
160
-#line 1196 "configure"
161
+#line 1228 "configure"
160
-#line 1193 "configure"
161
+#line 1225 "configure"
162
162
#include "confdefs.h"
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
168
-if { (eval echo configure:1200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
169
+if { (eval echo configure:1232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
171
171
ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6
184
184
# Extract the first word of "$ac_prog", so it can be a program name with args.
185
185
set dummy $ac_prog; ac_word=$2
186
186
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
187
-echo "configure:1232: checking for $ac_word" >&5
188
+echo "configure:1264: checking for $ac_word" >&5
187
-echo "configure:1229: checking for $ac_word" >&5
188
+echo "configure:1261: checking for $ac_word" >&5
189
189
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
190
190
echo $ac_n "(cached) $ac_c" 1>&6
203
203
# Extract the first word of "gcc", so it can be a program name with args.
204
204
set dummy gcc; ac_word=$2
205
205
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
206
-echo "configure:1266: checking for $ac_word" >&5
207
+echo "configure:1298: checking for $ac_word" >&5
206
-echo "configure:1263: checking for $ac_word" >&5
207
+echo "configure:1295: checking for $ac_word" >&5
208
208
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
209
209
echo $ac_n "(cached) $ac_c" 1>&6
222
222
# Extract the first word of "cc", so it can be a program name with args.
223
223
set dummy cc; ac_word=$2
224
224
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
225
-echo "configure:1296: checking for $ac_word" >&5
226
+echo "configure:1328: checking for $ac_word" >&5
225
-echo "configure:1293: checking for $ac_word" >&5
226
+echo "configure:1325: checking for $ac_word" >&5
227
227
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
228
228
echo $ac_n "(cached) $ac_c" 1>&6
241
241
# Extract the first word of "cl", so it can be a program name with args.
242
242
set dummy cl; ac_word=$2
243
243
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
244
-echo "configure:1347: checking for $ac_word" >&5
245
+echo "configure:1379: checking for $ac_word" >&5
244
-echo "configure:1344: checking for $ac_word" >&5
245
+echo "configure:1376: checking for $ac_word" >&5
246
246
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
247
247
echo $ac_n "(cached) $ac_c" 1>&6
262
262
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
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
263
-echo "configure:1376: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
264
+echo "configure:1408: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
267
267
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
273
273
cat > conftest.$ac_ext << EOF
275
-#line 1390 "configure"
276
+#line 1422 "configure"
275
-#line 1387 "configure"
276
+#line 1419 "configure"
277
277
#include "confdefs.h"
279
279
main(){return(0);}
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
281
-if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
282
+if { (eval echo configure:1424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
283
283
ac_cv_prog_cc_works=yes
284
284
# If we can't run a trivial program, we are probably using a cross compiler.
285
285
if (./conftest; exit) 2>/dev/null; then
297
297
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
299
299
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
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
300
-echo "configure:1418: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
301
+echo "configure:1450: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
302
302
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
303
303
cross_compiling=$ac_cv_prog_cc_cross
305
305
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
306
-echo "configure:1426: checking whether we are using GNU C" >&5
307
+echo "configure:1458: checking whether we are using GNU C" >&5
306
-echo "configure:1423: checking whether we are using GNU C" >&5
307
+echo "configure:1455: checking whether we are using GNU C" >&5
308
308
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
309
309
echo $ac_n "(cached) $ac_c" 1>&6
332
332
ac_save_CFLAGS="$CFLAGS"
334
334
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
335
-echo "configure:1454: checking whether ${CC-cc} accepts -g" >&5
336
+echo "configure:1486: checking whether ${CC-cc} accepts -g" >&5
335
-echo "configure:1451: checking whether ${CC-cc} accepts -g" >&5
336
+echo "configure:1483: checking whether ${CC-cc} accepts -g" >&5
337
337
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
338
338
echo $ac_n "(cached) $ac_c" 1>&6
351
351
# Extract the first word of "$ac_prog", so it can be a program name with args.
352
352
set dummy $ac_prog; ac_word=$2
353
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
354
-echo "configure:1488: checking for $ac_word" >&5
355
+echo "configure:1520: checking for $ac_word" >&5
356
356
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
357
357
echo $ac_n "(cached) $ac_c" 1>&6
370
370
# Extract the first word of "$ac_prog", so it can be a program name with args.
371
371
set dummy $ac_prog; ac_word=$2
372
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
373
-echo "configure:1524: checking for $ac_word" >&5
374
+echo "configure:1556: checking for $ac_word" >&5
375
375
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
376
376
echo $ac_n "(cached) $ac_c" 1>&6
391
391
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
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
392
-echo "configure:1556: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
393
+echo "configure:1588: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
396
396
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
402
402
cat > conftest.$ac_ext << EOF
404
-#line 1570 "configure"
405
+#line 1602 "configure"
404
-#line 1567 "configure"
405
+#line 1599 "configure"
406
406
#include "confdefs.h"
408
408
int main(){return(0);}
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
410
-if { (eval echo configure:1572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
411
+if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
412
412
ac_cv_prog_cxx_works=yes
413
413
# If we can't run a trivial program, we are probably using a cross compiler.
414
414
if (./conftest; exit) 2>/dev/null; then
426
426
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
428
428
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
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
429
-echo "configure:1598: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
430
+echo "configure:1630: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
431
431
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
432
432
cross_compiling=$ac_cv_prog_cxx_cross
434
434
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
435
-echo "configure:1606: checking whether we are using GNU C++" >&5
436
+echo "configure:1638: checking whether we are using GNU C++" >&5
435
-echo "configure:1603: checking whether we are using GNU C++" >&5
436
+echo "configure:1635: checking whether we are using GNU C++" >&5
437
437
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
438
438
echo $ac_n "(cached) $ac_c" 1>&6
461
461
ac_save_CXXFLAGS="$CXXFLAGS"
463
463
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
464
-echo "configure:1634: checking whether ${CXX-g++} accepts -g" >&5
465
+echo "configure:1666: checking whether ${CXX-g++} accepts -g" >&5
464
-echo "configure:1631: checking whether ${CXX-g++} accepts -g" >&5
465
+echo "configure:1663: checking whether ${CXX-g++} accepts -g" >&5
466
466
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
467
467
echo $ac_n "(cached) $ac_c" 1>&6
480
480
# Extract the first word of "$ac_prog", so it can be a program name with args.
481
481
set dummy $ac_prog; ac_word=$2
482
482
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
483
-echo "configure:1679: checking for $ac_word" >&5
484
+echo "configure:1711: checking for $ac_word" >&5
483
-echo "configure:1676: checking for $ac_word" >&5
484
+echo "configure:1708: checking for $ac_word" >&5
485
485
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
486
486
echo $ac_n "(cached) $ac_c" 1>&6
499
499
# Extract the first word of "$ac_prog", so it can be a program name with args.
500
500
set dummy $ac_prog; ac_word=$2
501
501
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
502
-echo "configure:1714: checking for $ac_word" >&5
503
+echo "configure:1746: checking for $ac_word" >&5
502
-echo "configure:1711: checking for $ac_word" >&5
503
+echo "configure:1743: checking for $ac_word" >&5
504
504
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
505
505
echo $ac_n "(cached) $ac_c" 1>&6
518
518
# Extract the first word of "$ac_prog", so it can be a program name with args.
519
519
set dummy $ac_prog; ac_word=$2
520
520
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
521
-echo "configure:1749: checking for $ac_word" >&5
522
+echo "configure:1781: checking for $ac_word" >&5
521
-echo "configure:1746: checking for $ac_word" >&5
522
+echo "configure:1778: checking for $ac_word" >&5
523
523
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
524
524
echo $ac_n "(cached) $ac_c" 1>&6
537
537
# Extract the first word of "$ac_prog", so it can be a program name with args.
538
538
set dummy $ac_prog; ac_word=$2
539
539
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
540
-echo "configure:1784: checking for $ac_word" >&5
541
+echo "configure:1816: checking for $ac_word" >&5
540
-echo "configure:1781: checking for $ac_word" >&5
541
+echo "configure:1813: checking for $ac_word" >&5
542
542
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
543
543
echo $ac_n "(cached) $ac_c" 1>&6
556
556
# Extract the first word of "$ac_prog", so it can be a program name with args.
557
557
set dummy $ac_prog; ac_word=$2
558
558
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
559
-echo "configure:1819: checking for $ac_word" >&5
560
+echo "configure:1851: checking for $ac_word" >&5
559
-echo "configure:1816: checking for $ac_word" >&5
560
+echo "configure:1848: checking for $ac_word" >&5
561
561
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
562
562
echo $ac_n "(cached) $ac_c" 1>&6
575
575
# Extract the first word of "$ac_prog", so it can be a program name with args.
576
576
set dummy $ac_prog; ac_word=$2
577
577
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
578
-echo "configure:1854: checking for $ac_word" >&5
579
+echo "configure:1886: checking for $ac_word" >&5
578
-echo "configure:1851: checking for $ac_word" >&5
579
+echo "configure:1883: checking for $ac_word" >&5
580
580
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
581
581
echo $ac_n "(cached) $ac_c" 1>&6
594
594
# Extract the first word of "gcc", so it can be a program name with args.
595
595
set dummy gcc; ac_word=$2
596
596
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
597
-echo "configure:1889: checking for $ac_word" >&5
598
+echo "configure:1921: checking for $ac_word" >&5
597
-echo "configure:1886: checking for $ac_word" >&5
598
+echo "configure:1918: checking for $ac_word" >&5
599
599
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
600
600
echo $ac_n "(cached) $ac_c" 1>&6
613
613
# Extract the first word of "cc", so it can be a program name with args.
614
614
set dummy cc; ac_word=$2
615
615
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
616
-echo "configure:1919: checking for $ac_word" >&5
617
+echo "configure:1951: checking for $ac_word" >&5
616
-echo "configure:1916: checking for $ac_word" >&5
617
+echo "configure:1948: checking for $ac_word" >&5
618
618
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
619
619
echo $ac_n "(cached) $ac_c" 1>&6
632
632
# Extract the first word of "cl", so it can be a program name with args.
633
633
set dummy cl; ac_word=$2
634
634
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
635
-echo "configure:1970: checking for $ac_word" >&5
636
+echo "configure:2002: checking for $ac_word" >&5
635
-echo "configure:1967: checking for $ac_word" >&5
636
+echo "configure:1999: checking for $ac_word" >&5
637
637
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
638
638
echo $ac_n "(cached) $ac_c" 1>&6
653
653
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
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
654
-echo "configure:1999: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
655
+echo "configure:2031: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
658
658
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
664
664
cat > conftest.$ac_ext << EOF
666
-#line 2013 "configure"
667
+#line 2045 "configure"
666
-#line 2010 "configure"
667
+#line 2042 "configure"
668
668
#include "confdefs.h"
670
670
main(){return(0);}
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
672
-if { (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
673
+if { (eval echo configure:2047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
674
674
ac_cv_prog_cc_works=yes
675
675
# If we can't run a trivial program, we are probably using a cross compiler.
676
676
if (./conftest; exit) 2>/dev/null; then
688
688
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
690
690
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
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
691
-echo "configure:2041: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
692
+echo "configure:2073: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
693
693
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
694
694
cross_compiling=$ac_cv_prog_cc_cross
696
696
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
697
-echo "configure:2049: checking whether we are using GNU C" >&5
698
+echo "configure:2081: checking whether we are using GNU C" >&5
697
-echo "configure:2046: checking whether we are using GNU C" >&5
698
+echo "configure:2078: checking whether we are using GNU C" >&5
699
699
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
700
700
echo $ac_n "(cached) $ac_c" 1>&6
723
723
ac_save_CFLAGS="$CFLAGS"
725
725
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
726
-echo "configure:2077: checking whether ${CC-cc} accepts -g" >&5
727
+echo "configure:2109: checking whether ${CC-cc} accepts -g" >&5
726
-echo "configure:2074: checking whether ${CC-cc} accepts -g" >&5
727
+echo "configure:2106: checking whether ${CC-cc} accepts -g" >&5
728
728
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
729
729
echo $ac_n "(cached) $ac_c" 1>&6
742
742
# Extract the first word of "$ac_prog", so it can be a program name with args.
743
743
set dummy $ac_prog; ac_word=$2
744
744
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
745
-echo "configure:2117: checking for $ac_word" >&5
746
+echo "configure:2149: checking for $ac_word" >&5
745
-echo "configure:2114: checking for $ac_word" >&5
746
+echo "configure:2146: checking for $ac_word" >&5
747
747
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
748
748
echo $ac_n "(cached) $ac_c" 1>&6
763
763
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
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
764
-echo "configure:2146: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
765
+echo "configure:2178: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
768
768
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
774
774
cat > conftest.$ac_ext << EOF
776
-#line 2160 "configure"
777
+#line 2192 "configure"
776
-#line 2157 "configure"
777
+#line 2189 "configure"
778
778
#include "confdefs.h"
780
780
int main(){return(0);}
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
782
-if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
783
+if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
784
784
ac_cv_prog_cxx_works=yes
785
785
# If we can't run a trivial program, we are probably using a cross compiler.
786
786
if (./conftest; exit) 2>/dev/null; then
798
798
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
800
800
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
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
801
-echo "configure:2188: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
802
+echo "configure:2220: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
803
803
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
804
804
cross_compiling=$ac_cv_prog_cxx_cross
806
806
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
807
-echo "configure:2196: checking whether we are using GNU C++" >&5
808
+echo "configure:2228: checking whether we are using GNU C++" >&5
807
-echo "configure:2193: checking whether we are using GNU C++" >&5
808
+echo "configure:2225: checking whether we are using GNU C++" >&5
809
809
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
810
810
echo $ac_n "(cached) $ac_c" 1>&6
833
833
ac_save_CXXFLAGS="$CXXFLAGS"
835
835
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
836
-echo "configure:2224: checking whether ${CXX-g++} accepts -g" >&5
837
+echo "configure:2256: checking whether ${CXX-g++} accepts -g" >&5
836
-echo "configure:2221: checking whether ${CXX-g++} accepts -g" >&5
837
+echo "configure:2253: checking whether ${CXX-g++} accepts -g" >&5
838
838
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
839
839
echo $ac_n "(cached) $ac_c" 1>&6
854
854
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
855
-echo "configure:2258: checking how to run the C preprocessor" >&5
856
+echo "configure:2290: checking how to run the C preprocessor" >&5
855
-echo "configure:2255: checking how to run the C preprocessor" >&5
856
+echo "configure:2287: checking how to run the C preprocessor" >&5
857
857
# On Suns, sometimes $CPP names a directory.
858
858
if test -n "$CPP" && test -d "$CPP"; then
868
868
# On the NeXT, cc -E runs the code through the compiler's parser,
869
869
# not just through cpp.
870
870
cat > conftest.$ac_ext <<EOF
871
-#line 2273 "configure"
872
+#line 2305 "configure"
871
-#line 2270 "configure"
872
+#line 2302 "configure"
873
873
#include "confdefs.h"
874
874
#include <assert.h>
877
877
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
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; }
878
-{ (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
879
+{ (eval echo configure:2308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
880
880
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
881
881
if test -z "$ac_err"; then
888
888
CPP="${CC-cc} -E -traditional-cpp"
889
889
cat > conftest.$ac_ext <<EOF
890
-#line 2290 "configure"
891
+#line 2322 "configure"
890
-#line 2287 "configure"
891
+#line 2319 "configure"
892
892
#include "confdefs.h"
893
893
#include <assert.h>
896
896
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
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; }
897
-{ (eval echo configure:2293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
898
+{ (eval echo configure:2325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
899
899
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
900
900
if test -z "$ac_err"; then
907
907
CPP="${CC-cc} -nologo -E"
908
908
cat > conftest.$ac_ext <<EOF
909
-#line 2307 "configure"
910
+#line 2339 "configure"
909
-#line 2304 "configure"
910
+#line 2336 "configure"
911
911
#include "confdefs.h"
912
912
#include <assert.h>
915
915
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
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; }
916
-{ (eval echo configure:2310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
917
+{ (eval echo configure:2342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
918
918
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
919
919
if test -z "$ac_err"; then
932
932
# Extract the first word of "ranlib", so it can be a program name with args.
933
933
set dummy ranlib; ac_word=$2
934
934
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
935
-echo "configure:2340: checking for $ac_word" >&5
936
+echo "configure:2372: checking for $ac_word" >&5
935
-echo "configure:2337: checking for $ac_word" >&5
936
+echo "configure:2369: checking for $ac_word" >&5
937
937
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
938
938
echo $ac_n "(cached) $ac_c" 1>&6
951
951
# Extract the first word of "$ac_prog", so it can be a program name with args.
952
952
set dummy $ac_prog; ac_word=$2
953
953
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
954
-echo "configure:2372: checking for $ac_word" >&5
955
+echo "configure:2404: checking for $ac_word" >&5
954
-echo "configure:2369: checking for $ac_word" >&5
955
+echo "configure:2401: checking for $ac_word" >&5
956
956
if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
957
957
echo $ac_n "(cached) $ac_c" 1>&6
970
970
# Extract the first word of "$ac_prog", so it can be a program name with args.
971
971
set dummy $ac_prog; ac_word=$2
972
972
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
973
-echo "configure:2413: checking for $ac_word" >&5
974
+echo "configure:2445: checking for $ac_word" >&5
973
-echo "configure:2410: checking for $ac_word" >&5
974
+echo "configure:2442: checking for $ac_word" >&5
975
975
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
976
976
echo $ac_n "(cached) $ac_c" 1>&6
989
989
# Extract the first word of "$ac_prog", so it can be a program name with args.
990
990
set dummy $ac_prog; ac_word=$2
991
991
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
992
-echo "configure:2454: checking for $ac_word" >&5
993
+echo "configure:2486: checking for $ac_word" >&5
992
-echo "configure:2451: checking for $ac_word" >&5
993
+echo "configure:2483: checking for $ac_word" >&5
994
994
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
995
995
echo $ac_n "(cached) $ac_c" 1>&6
1008
1008
# Extract the first word of "$ac_prog", so it can be a program name with args.
1009
1009
set dummy $ac_prog; ac_word=$2
1010
1010
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1011
-echo "configure:2495: checking for $ac_word" >&5
1012
+echo "configure:2527: checking for $ac_word" >&5
1011
-echo "configure:2492: checking for $ac_word" >&5
1012
+echo "configure:2524: checking for $ac_word" >&5
1013
1013
if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
1014
1014
echo $ac_n "(cached) $ac_c" 1>&6
1027
1027
# Extract the first word of "$ac_prog", so it can be a program name with args.
1028
1028
set dummy $ac_prog; ac_word=$2
1029
1029
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1030
-echo "configure:2536: checking for $ac_word" >&5
1031
+echo "configure:2568: checking for $ac_word" >&5
1030
-echo "configure:2533: checking for $ac_word" >&5
1031
+echo "configure:2565: checking for $ac_word" >&5
1032
1032
if eval "test \"`echo '$''{'ac_cv_path_WINDRES'+set}'`\" = set"; then
1033
1033
echo $ac_n "(cached) $ac_c" 1>&6
1048
1048
echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
1049
-echo "configure:2604: checking for gcc -pipe support" >&5
1050
+echo "configure:2636: checking for gcc -pipe support" >&5
1049
-echo "configure:2601: checking for gcc -pipe support" >&5
1050
+echo "configure:2633: checking for gcc -pipe support" >&5
1051
1051
if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
1052
1052
echo '#include <stdio.h>' > dummy-hello.c
1053
1053
echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c
1090
1090
if test "$GNU_CC"; then
1091
1091
echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
1092
-echo "configure:2653: checking for visibility(hidden) attribute" >&5
1093
+echo "configure:2685: checking for visibility(hidden) attribute" >&5
1092
-echo "configure:2650: checking for visibility(hidden) attribute" >&5
1093
+echo "configure:2682: checking for visibility(hidden) attribute" >&5
1094
1094
if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
1095
1095
echo $ac_n "(cached) $ac_c" 1>&6
1110
1110
echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
1111
-echo "configure:2677: checking for visibility pragma support" >&5
1112
+echo "configure:2709: checking for visibility pragma support" >&5
1111
-echo "configure:2674: checking for visibility pragma support" >&5
1112
+echo "configure:2706: checking for visibility pragma support" >&5
1113
1113
if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
1114
1114
echo $ac_n "(cached) $ac_c" 1>&6
1127
1127
# Extract the first word of "$ac_prog", so it can be a program name with args.
1128
1128
set dummy $ac_prog; ac_word=$2
1129
1129
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1130
-echo "configure:2730: checking for $ac_word" >&5
1131
+echo "configure:2762: checking for $ac_word" >&5
1130
-echo "configure:2727: checking for $ac_word" >&5
1131
+echo "configure:2759: checking for $ac_word" >&5
1132
1132
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
1133
1133
echo $ac_n "(cached) $ac_c" 1>&6
1146
1146
DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
1147
1147
ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
1148
1148
echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
1149
-echo "configure:2987: checking for sys/atomic_op.h" >&5
1150
+echo "configure:3019: checking for sys/atomic_op.h" >&5
1149
-echo "configure:2984: checking for sys/atomic_op.h" >&5
1150
+echo "configure:3016: checking for sys/atomic_op.h" >&5
1151
1151
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1152
1152
echo $ac_n "(cached) $ac_c" 1>&6
1154
1154
cat > conftest.$ac_ext <<EOF
1155
-#line 2992 "configure"
1156
+#line 3024 "configure"
1155
-#line 2989 "configure"
1156
+#line 3021 "configure"
1157
1157
#include "confdefs.h"
1158
1158
#include <sys/atomic_op.h>
1160
1160
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
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; }
1161
-{ (eval echo configure:2994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1162
+{ (eval echo configure:3026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1163
1163
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1164
1164
if test -z "$ac_err"; then
1165
1165
rm -rf conftest*
1177
1177
_DEBUG_FLAGS='-gdwarf-2 -O0'
1178
1178
MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
1179
1179
echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
1180
-echo "configure:3154: checking for gethostbyaddr in -lbind" >&5
1181
+echo "configure:3186: checking for gethostbyaddr in -lbind" >&5
1180
-echo "configure:3151: checking for gethostbyaddr in -lbind" >&5
1181
+echo "configure:3183: checking for gethostbyaddr in -lbind" >&5
1182
1182
ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
1183
1183
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184
1184
echo $ac_n "(cached) $ac_c" 1>&6
1208
1208
rm -rf conftest*
1209
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
1218
MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)'
1220
- DSO_LDOPTS='-shared -Wl,-soname,$(@:$(OBJDIR)/%.so=%.so)'
1221
+ DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)'
1223
case "$target_os" in
1224
bsdi4.2* | bsdi4.3* | bsdi5.*)
1225
cat >> confdefs.h <<\EOF
1226
#define _PR_HAVE_GETPROTO_R 1
1229
cat >> confdefs.h <<\EOF
1230
@@ -3519,17 +3551,17 @@
1231
MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1232
if test "$MOZ_OBJFORMAT" = "elf"; then
1237
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1239
- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
1240
+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(SONAME)'
1241
MDCPUCFG_H=_freebsd.cfg
1242
PR_MD_CSRCS=freebsd.c
1246
cat >> confdefs.h <<\EOF
1249
@@ -3549,17 +3581,17 @@
1250
cat >> confdefs.h <<\EOF
1251
#define _PR_POLL_WITH_SELECT 1
1254
cat >> confdefs.h <<\EOF
1255
#define _USE_BIG_FDS 1
1258
- DSO_LDOPTS='-b +h $(notdir $@)'
1259
+ DSO_LDOPTS='-b +h $(SONAME)'
1261
if test "$OS_TEST" = "ia64"; then
1263
DSO_LDOPTS="$DSO_LDOPTS +b '\$\$ORIGIN'"
1264
CPU_ARCH_TAG=_$OS_TEST
1265
if test -z "$USE_64"; then
1268
@@ -3903,17 +3935,17 @@
1271
CFLAGS="$CFLAGS -Wall"
1272
CXXFLAGS="$CXXFLAGS -Wall"
1273
MDCPUCFG_H=_linux.cfg
1275
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1277
- DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
1278
+ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(SONAME)'
1280
_DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that
1281
# combo is not yet good at debugging inlined
1282
# functions (even when using DWARF2 as the
1285
if echo "$OS_TEST" | grep -c 86 >/dev/null; then
1287
@@ -4309,17 +4341,17 @@
1288
if test -z "$OBJECT_FMT"; then
1289
if echo __ELF__ | ${CC-cc} -E - | grep -q __ELF__ 2>/dev/null; then
1292
DSO_LDOPTS='-shared'
1296
- DSO_LDOPTS='-shared -Wl,-soname,$(notdir $@)'
1297
+ DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)'
1301
if test "$LIBRUNPATH"; then
1302
DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
1306
@@ -4400,17 +4432,17 @@
1309
cat >> confdefs.h <<\EOF
1310
#define HAVE_POINTER_LOCALTIME_R 1
1315
- MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(notdir $@) -o $@'
1316
+ MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(SONAME) -o $@'
1319
OS_LIBS="$OS_LIBS -lsocket"
1320
_OPTIMIZE_FLAGS="-O1"
1321
_DEBUG_FLAGS="-gstabs"
1325
@@ -4499,27 +4531,27 @@
1211
@@ -4496,27 +4528,27 @@
1326
1212
if test -z "$GNU_CC"; then
1327
1213
CC="$CC -std1 -ieee_with_inexact"
1328
1214
if test "$OS_RELEASE" != "V2.0"; then
1331
1217
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000"
1332
1218
ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
1333
1219
echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
1334
-echo "configure:4508: checking for machine/builtins.h" >&5
1335
+echo "configure:4540: checking for machine/builtins.h" >&5
1220
-echo "configure:4505: checking for machine/builtins.h" >&5
1221
+echo "configure:4537: checking for machine/builtins.h" >&5
1336
1222
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1337
1223
echo $ac_n "(cached) $ac_c" 1>&6
1339
1225
cat > conftest.$ac_ext <<EOF
1340
-#line 4513 "configure"
1341
+#line 4545 "configure"
1226
-#line 4510 "configure"
1227
+#line 4542 "configure"
1342
1228
#include "confdefs.h"
1343
1229
#include <machine/builtins.h>
1345
1231
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1346
-{ (eval echo configure:4518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1347
+{ (eval echo configure:4550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1232
-{ (eval echo configure:4515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1233
+{ (eval echo configure:4547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1348
1234
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1349
1235
if test -z "$ac_err"; then
1350
1236
rm -rf conftest*
1353
1239
echo "$ac_err" >&5
1354
1240
echo "configure: failed program was:" >&5
1355
1241
cat conftest.$ac_ext >&5
1356
@@ -4559,17 +4591,17 @@
1359
if echo $OS_RELEASE | grep -c V4.0 >/dev/null; then
1360
cat >> confdefs.h <<\EOF
1361
#define OSF1V4_MAP_PRIVATE_BUG 1
1365
- DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(notdir $@)'
1366
+ DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(SONAME)'
1367
MDCPUCFG_H=_osf1.cfg
1372
cat >> confdefs.h <<\EOF
1375
@@ -4682,17 +4714,17 @@
1378
CFLAGS="$CFLAGS -Wall -Wno-format"
1381
_OPTIMIZE_FLAGS='-O -F Olimit,4000'
1384
- DSO_LDOPTS='-G -z defs -h $(@:$(OBJDIR)/%.so=%.so)'
1385
+ DSO_LDOPTS='-G -z defs -h $(SONAME)'
1387
if test "$OS_RELEASE" = "5.43"; then
1388
cat >> confdefs.h <<\EOF
1389
#define IP_MULTICAST 1
1394
@@ -4768,20 +4800,20 @@
1396
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1397
RESOLVE_LINK_SYMBOLS=1
1398
if test -n "$GNU_CC"; then
1400
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
1403
- DSO_LDOPTS='-shared -Wl,-h,$(notdir $@),-z,combreloc,-z,defs,-z,ignore'
1404
+ DSO_LDOPTS='-shared -Wl,-h,$(SONAME),-z,combreloc,-z,defs,-z,ignore'
1407
- DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
1408
+ DSO_LDOPTS='-G -h $(SONAME) -z combreloc -z defs -z ignore'
1410
if test -n "$GNU_CC"; then
1411
CFLAGS="$CFLAGS -Wall"
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 @@
1242
@@ -5022,63 +5054,63 @@
1425
1250
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
1426
-echo "configure:5088: checking for dlopen in -ldl" >&5
1427
+echo "configure:5120: checking for dlopen in -ldl" >&5
1251
-echo "configure:5031: checking for dlopen in -ldl" >&5
1252
+echo "configure:5063: checking for dlopen in -ldl" >&5
1428
1253
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
1429
1254
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1430
1255
echo $ac_n "(cached) $ac_c" 1>&6
1462
1287
echo "$ac_t""yes" 1>&6
1463
1288
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
1464
1289
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
1465
-echo "configure:5124: checking for dlfcn.h" >&5
1466
+echo "configure:5156: checking for dlfcn.h" >&5
1290
-echo "configure:5067: checking for dlfcn.h" >&5
1291
+echo "configure:5099: checking for dlfcn.h" >&5
1467
1292
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1468
1293
echo $ac_n "(cached) $ac_c" 1>&6
1470
1295
cat > conftest.$ac_ext <<EOF
1471
-#line 5129 "configure"
1472
+#line 5161 "configure"
1296
-#line 5072 "configure"
1297
+#line 5104 "configure"
1473
1298
#include "confdefs.h"
1474
1299
#include <dlfcn.h>
1476
1301
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
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; }
1302
-{ (eval echo configure:5077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1303
+{ (eval echo configure:5109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1479
1304
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1480
1305
if test -z "$ac_err"; then
1481
1306
rm -rf conftest*
1494
1319
if test $ac_cv_prog_gcc = yes; then
1495
1320
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1496
-echo "configure:5167: checking whether ${CC-cc} needs -traditional" >&5
1497
+echo "configure:5199: checking whether ${CC-cc} needs -traditional" >&5
1321
-echo "configure:5110: checking whether ${CC-cc} needs -traditional" >&5
1322
+echo "configure:5142: checking whether ${CC-cc} needs -traditional" >&5
1498
1323
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1499
1324
echo $ac_n "(cached) $ac_c" 1>&6
1501
1326
ac_pattern="Autoconf.*'x'"
1502
1327
cat > conftest.$ac_ext <<EOF
1503
-#line 5173 "configure"
1504
+#line 5205 "configure"
1328
-#line 5116 "configure"
1329
+#line 5148 "configure"
1505
1330
#include "confdefs.h"
1506
1331
#include <sgtty.h>
1507
1332
Autoconf TIOCGETP
1538
1363
for ac_func in lchown strerror
1540
1365
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1541
-echo "configure:5215: checking for $ac_func" >&5
1542
+echo "configure:5247: checking for $ac_func" >&5
1366
-echo "configure:5158: checking for $ac_func" >&5
1367
+echo "configure:5190: checking for $ac_func" >&5
1543
1368
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1544
1369
echo $ac_n "(cached) $ac_c" 1>&6
1546
1371
cat > conftest.$ac_ext <<EOF
1547
-#line 5220 "configure"
1548
+#line 5252 "configure"
1372
-#line 5163 "configure"
1373
+#line 5195 "configure"
1549
1374
#include "confdefs.h"
1550
1375
/* System header to define __stub macros and hopefully few prototypes,
1551
1376
which can conflict with char $ac_func(); below. */
1582
1407
if test -z "$GNU_CC"; then
1584
1409
echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
1585
-echo "configure:5284: checking for +Olit support" >&5
1586
+echo "configure:5316: checking for +Olit support" >&5
1410
-echo "configure:5227: checking for +Olit support" >&5
1411
+echo "configure:5259: checking for +Olit support" >&5
1587
1412
if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
1588
1413
echo $ac_n "(cached) $ac_c" 1>&6
1603
1428
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
1604
-echo "configure:5323: checking for pthread_create in -lpthreads" >&5
1605
+echo "configure:5355: checking for pthread_create in -lpthreads" >&5
1429
-echo "configure:5266: checking for pthread_create in -lpthreads" >&5
1430
+echo "configure:5298: checking for pthread_create in -lpthreads" >&5
1607
1432
#include <pthread.h>
1608
1433
void *foo(void *v) { return v; }
1620
1445
echo "$ac_t""no" 1>&6
1622
1447
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
1623
-echo "configure:5345: checking for pthread_create in -lpthread" >&5
1624
+echo "configure:5377: checking for pthread_create in -lpthread" >&5
1448
-echo "configure:5288: checking for pthread_create in -lpthread" >&5
1449
+echo "configure:5320: checking for pthread_create in -lpthread" >&5
1626
1451
#include <pthread.h>
1627
1452
void *foo(void *v) { return v; }
1639
1464
echo "$ac_t""no" 1>&6
1641
1466
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
1642
-echo "configure:5367: checking for pthread_create in -lc_r" >&5
1643
+echo "configure:5399: checking for pthread_create in -lc_r" >&5
1467
-echo "configure:5310: checking for pthread_create in -lc_r" >&5
1468
+echo "configure:5342: checking for pthread_create in -lc_r" >&5
1645
1470
#include <pthread.h>
1646
1471
void *foo(void *v) { return v; }
1658
1483
echo "$ac_t""no" 1>&6
1660
1485
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
1661
-echo "configure:5389: checking for pthread_create in -lc" >&5
1662
+echo "configure:5421: checking for pthread_create in -lc" >&5
1486
-echo "configure:5332: checking for pthread_create in -lc" >&5
1487
+echo "configure:5364: checking for pthread_create in -lc" >&5
1664
1489
#include <pthread.h>
1665
1490
void *foo(void *v) { return v; }
1677
1502
rm -f conftest*
1678
1503
ac_cv_have_dash_pthread=no
1679
1504
echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
1680
-echo "configure:5534: checking whether ${CC-cc} accepts -pthread" >&5
1681
+echo "configure:5566: checking whether ${CC-cc} accepts -pthread" >&5
1505
-echo "configure:5464: checking whether ${CC-cc} accepts -pthread" >&5
1506
+echo "configure:5496: checking whether ${CC-cc} accepts -pthread" >&5
1682
1507
echo 'int main() { return 0; }' | cat > conftest.c
1683
1508
${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
1684
1509
if test $? -eq 0; then
1696
1521
ac_cv_have_dash_pthreads=no
1697
1522
if test "$ac_cv_have_dash_pthread" = "no"; then
1698
1523
echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
1699
-echo "configure:5557: checking whether ${CC-cc} accepts -pthreads" >&5
1700
+echo "configure:5589: checking whether ${CC-cc} accepts -pthreads" >&5
1524
-echo "configure:5487: checking whether ${CC-cc} accepts -pthreads" >&5
1525
+echo "configure:5519: checking whether ${CC-cc} accepts -pthreads" >&5
1701
1526
echo 'int main() { return 0; }' | cat > conftest.c
1702
1527
${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
1703
1528
if test $? -eq 0; then