72
72
--with-symbian-sdk=SYMBIAN_SDK_DIR
73
73
The path to the Symbian SDK"
75
--with-ccache[=path/to/ccache]
76
Enable compiling with ccache"
75
78
--enable-strip Enable stripping of shared libs and programs"
77
80
--with-pthreads Use system pthreads library as thread subsystem"
86
89
--enable-ipv6 Compile ipv6 support"
88
--enable-boehm Enable the Boehm Garbage Collector"
90
91
--enable-wrap-malloc Wrap malloc calls (gnu linker only)"
92
93
--with-wrap-malloc=SHAREDLIB Location of malloc wrapper library"
764
765
# Extract the first word of "$ac_prog", so it can be a program name with args.
765
766
set dummy $ac_prog; ac_word=$2
766
767
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
767
echo "configure:768: checking for $ac_word" >&5
768
echo "configure:769: checking for $ac_word" >&5
768
769
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
769
770
echo $ac_n "(cached) $ac_c" 1>&6
1179
1182
# Extract the first word of "$WHOAMI whoami", so it can be a program name with args.
1180
1183
set dummy $WHOAMI whoami; ac_word=$2
1181
1184
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1182
echo "configure:1183: checking for $ac_word" >&5
1185
echo "configure:1186: checking for $ac_word" >&5
1183
1186
if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
1184
1187
echo $ac_n "(cached) $ac_c" 1>&6
1250
1253
_SAVE_LDFLAGS="$LDFLAGS"
1252
1255
echo $ac_n "checking for $host compiler""... $ac_c" 1>&6
1253
echo "configure:1254: checking for $host compiler" >&5
1256
echo "configure:1257: checking for $host compiler" >&5
1254
1257
for ac_prog in $HOST_CC gcc cc /usr/ucb/cc
1256
1259
# Extract the first word of "$ac_prog", so it can be a program name with args.
1257
1260
set dummy $ac_prog; ac_word=$2
1258
1261
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1259
echo "configure:1260: checking for $ac_word" >&5
1262
echo "configure:1263: checking for $ac_word" >&5
1260
1263
if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
1261
1264
echo $ac_n "(cached) $ac_c" 1>&6
1302
1305
LDFLAGS="$HOST_LDFLAGS"
1304
1307
echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
1305
echo "configure:1306: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
1308
echo "configure:1309: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
1306
1309
cat > conftest.$ac_ext <<EOF
1307
#line 1308 "configure"
1310
#line 1311 "configure"
1308
1311
#include "confdefs.h"
1314
if { (eval echo configure:1315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1317
if { (eval echo configure:1318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1315
1318
rm -rf conftest*
1316
1319
ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6
1340
1343
# Extract the first word of "$ac_prog", so it can be a program name with args.
1341
1344
set dummy $ac_prog; ac_word=$2
1342
1345
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1343
echo "configure:1344: checking for $ac_word" >&5
1346
echo "configure:1347: checking for $ac_word" >&5
1344
1347
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1345
1348
echo $ac_n "(cached) $ac_c" 1>&6
1374
1377
# Extract the first word of "gcc", so it can be a program name with args.
1375
1378
set dummy gcc; ac_word=$2
1376
1379
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1377
echo "configure:1378: checking for $ac_word" >&5
1380
echo "configure:1381: checking for $ac_word" >&5
1378
1381
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1379
1382
echo $ac_n "(cached) $ac_c" 1>&6
1404
1407
# Extract the first word of "cc", so it can be a program name with args.
1405
1408
set dummy cc; ac_word=$2
1406
1409
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1407
echo "configure:1408: checking for $ac_word" >&5
1410
echo "configure:1411: checking for $ac_word" >&5
1408
1411
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1409
1412
echo $ac_n "(cached) $ac_c" 1>&6
1455
1458
# Extract the first word of "cl", so it can be a program name with args.
1456
1459
set dummy cl; ac_word=$2
1457
1460
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1458
echo "configure:1459: checking for $ac_word" >&5
1461
echo "configure:1462: checking for $ac_word" >&5
1459
1462
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1460
1463
echo $ac_n "(cached) $ac_c" 1>&6
1489
1492
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1490
echo "configure:1491: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1493
echo "configure:1494: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1493
1496
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1499
1502
cat > conftest.$ac_ext << EOF
1501
#line 1502 "configure"
1504
#line 1505 "configure"
1502
1505
#include "confdefs.h"
1504
1507
main(){return(0);}
1506
if { (eval echo configure:1507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1509
if { (eval echo configure:1510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1507
1510
ac_cv_prog_cc_works=yes
1508
1511
# If we can't run a trivial program, we are probably using a cross compiler.
1509
1512
if (./conftest; exit) 2>/dev/null; then
1529
1532
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1531
1534
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1532
echo "configure:1533: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1535
echo "configure:1536: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1533
1536
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1534
1537
cross_compiling=$ac_cv_prog_cc_cross
1536
1539
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1537
echo "configure:1538: checking whether we are using GNU C" >&5
1540
echo "configure:1541: checking whether we are using GNU C" >&5
1538
1541
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1539
1542
echo $ac_n "(cached) $ac_c" 1>&6
1562
1565
ac_save_CFLAGS="$CFLAGS"
1564
1567
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1565
echo "configure:1566: checking whether ${CC-cc} accepts -g" >&5
1568
echo "configure:1569: checking whether ${CC-cc} accepts -g" >&5
1566
1569
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1567
1570
echo $ac_n "(cached) $ac_c" 1>&6
1599
1602
# Extract the first word of "$ac_prog", so it can be a program name with args.
1600
1603
set dummy $ac_prog; ac_word=$2
1601
1604
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1602
echo "configure:1603: checking for $ac_word" >&5
1605
echo "configure:1606: checking for $ac_word" >&5
1603
1606
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1604
1607
echo $ac_n "(cached) $ac_c" 1>&6
1635
1638
# Extract the first word of "$ac_prog", so it can be a program name with args.
1636
1639
set dummy $ac_prog; ac_word=$2
1637
1640
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1638
echo "configure:1639: checking for $ac_word" >&5
1641
echo "configure:1642: checking for $ac_word" >&5
1639
1642
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1640
1643
echo $ac_n "(cached) $ac_c" 1>&6
1669
1672
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1670
echo "configure:1671: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1673
echo "configure:1674: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1673
1676
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1679
1682
cat > conftest.$ac_ext << EOF
1681
#line 1682 "configure"
1684
#line 1685 "configure"
1682
1685
#include "confdefs.h"
1684
1687
int main(){return(0);}
1686
if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1689
if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1687
1690
ac_cv_prog_cxx_works=yes
1688
1691
# If we can't run a trivial program, we are probably using a cross compiler.
1689
1692
if (./conftest; exit) 2>/dev/null; then
1709
1712
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1711
1714
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1712
echo "configure:1713: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1715
echo "configure:1716: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1713
1716
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1714
1717
cross_compiling=$ac_cv_prog_cxx_cross
1716
1719
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1717
echo "configure:1718: checking whether we are using GNU C++" >&5
1720
echo "configure:1721: checking whether we are using GNU C++" >&5
1718
1721
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1719
1722
echo $ac_n "(cached) $ac_c" 1>&6
1742
1745
ac_save_CXXFLAGS="$CXXFLAGS"
1744
1747
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1745
echo "configure:1746: checking whether ${CXX-g++} accepts -g" >&5
1748
echo "configure:1749: checking whether ${CXX-g++} accepts -g" >&5
1746
1749
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1747
1750
echo $ac_n "(cached) $ac_c" 1>&6
1787
1790
# Extract the first word of "$ac_prog", so it can be a program name with args.
1788
1791
set dummy $ac_prog; ac_word=$2
1789
1792
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1790
echo "configure:1791: checking for $ac_word" >&5
1793
echo "configure:1794: checking for $ac_word" >&5
1791
1794
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1792
1795
echo $ac_n "(cached) $ac_c" 1>&6
1822
1825
# Extract the first word of "$ac_prog", so it can be a program name with args.
1823
1826
set dummy $ac_prog; ac_word=$2
1824
1827
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1825
echo "configure:1826: checking for $ac_word" >&5
1828
echo "configure:1829: checking for $ac_word" >&5
1826
1829
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1827
1830
echo $ac_n "(cached) $ac_c" 1>&6
1857
1860
# Extract the first word of "$ac_prog", so it can be a program name with args.
1858
1861
set dummy $ac_prog; ac_word=$2
1859
1862
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1860
echo "configure:1861: checking for $ac_word" >&5
1863
echo "configure:1864: checking for $ac_word" >&5
1861
1864
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1862
1865
echo $ac_n "(cached) $ac_c" 1>&6
1892
1895
# Extract the first word of "$ac_prog", so it can be a program name with args.
1893
1896
set dummy $ac_prog; ac_word=$2
1894
1897
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1895
echo "configure:1896: checking for $ac_word" >&5
1898
echo "configure:1899: checking for $ac_word" >&5
1896
1899
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
1897
1900
echo $ac_n "(cached) $ac_c" 1>&6
1927
1930
# Extract the first word of "$ac_prog", so it can be a program name with args.
1928
1931
set dummy $ac_prog; ac_word=$2
1929
1932
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1930
echo "configure:1931: checking for $ac_word" >&5
1933
echo "configure:1934: checking for $ac_word" >&5
1931
1934
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1932
1935
echo $ac_n "(cached) $ac_c" 1>&6
1962
1965
# Extract the first word of "$ac_prog", so it can be a program name with args.
1963
1966
set dummy $ac_prog; ac_word=$2
1964
1967
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1965
echo "configure:1966: checking for $ac_word" >&5
1968
echo "configure:1969: checking for $ac_word" >&5
1966
1969
if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
1967
1970
echo $ac_n "(cached) $ac_c" 1>&6
1997
2000
# Extract the first word of "gcc", so it can be a program name with args.
1998
2001
set dummy gcc; ac_word=$2
1999
2002
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2000
echo "configure:2001: checking for $ac_word" >&5
2003
echo "configure:2004: checking for $ac_word" >&5
2001
2004
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2002
2005
echo $ac_n "(cached) $ac_c" 1>&6
2027
2030
# Extract the first word of "cc", so it can be a program name with args.
2028
2031
set dummy cc; ac_word=$2
2029
2032
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2030
echo "configure:2031: checking for $ac_word" >&5
2033
echo "configure:2034: checking for $ac_word" >&5
2031
2034
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2032
2035
echo $ac_n "(cached) $ac_c" 1>&6
2078
2081
# Extract the first word of "cl", so it can be a program name with args.
2079
2082
set dummy cl; ac_word=$2
2080
2083
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2081
echo "configure:2082: checking for $ac_word" >&5
2084
echo "configure:2085: checking for $ac_word" >&5
2082
2085
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2083
2086
echo $ac_n "(cached) $ac_c" 1>&6
2112
2115
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2113
echo "configure:2114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2116
echo "configure:2117: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2116
2119
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2122
2125
cat > conftest.$ac_ext << EOF
2124
#line 2125 "configure"
2127
#line 2128 "configure"
2125
2128
#include "confdefs.h"
2127
2130
main(){return(0);}
2129
if { (eval echo configure:2130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2132
if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2130
2133
ac_cv_prog_cc_works=yes
2131
2134
# If we can't run a trivial program, we are probably using a cross compiler.
2132
2135
if (./conftest; exit) 2>/dev/null; then
2152
2155
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2154
2157
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2155
echo "configure:2156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2158
echo "configure:2159: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2156
2159
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2157
2160
cross_compiling=$ac_cv_prog_cc_cross
2159
2162
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2160
echo "configure:2161: checking whether we are using GNU C" >&5
2163
echo "configure:2164: checking whether we are using GNU C" >&5
2161
2164
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2162
2165
echo $ac_n "(cached) $ac_c" 1>&6
2185
2188
ac_save_CFLAGS="$CFLAGS"
2187
2190
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2188
echo "configure:2189: checking whether ${CC-cc} accepts -g" >&5
2191
echo "configure:2192: checking whether ${CC-cc} accepts -g" >&5
2189
2192
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
2190
2193
echo $ac_n "(cached) $ac_c" 1>&6
2225
2228
# Extract the first word of "$ac_prog", so it can be a program name with args.
2226
2229
set dummy $ac_prog; ac_word=$2
2227
2230
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2228
echo "configure:2229: checking for $ac_word" >&5
2231
echo "configure:2232: checking for $ac_word" >&5
2229
2232
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
2230
2233
echo $ac_n "(cached) $ac_c" 1>&6
2259
2262
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2260
echo "configure:2261: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
2263
echo "configure:2264: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
2263
2266
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2269
2272
cat > conftest.$ac_ext << EOF
2271
#line 2272 "configure"
2274
#line 2275 "configure"
2272
2275
#include "confdefs.h"
2274
2277
int main(){return(0);}
2276
if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2279
if { (eval echo configure:2280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2277
2280
ac_cv_prog_cxx_works=yes
2278
2281
# If we can't run a trivial program, we are probably using a cross compiler.
2279
2282
if (./conftest; exit) 2>/dev/null; then
2299
2302
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
2301
2304
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2302
echo "configure:2303: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
2305
echo "configure:2306: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
2303
2306
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
2304
2307
cross_compiling=$ac_cv_prog_cxx_cross
2306
2309
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
2307
echo "configure:2308: checking whether we are using GNU C++" >&5
2310
echo "configure:2311: checking whether we are using GNU C++" >&5
2308
2311
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
2309
2312
echo $ac_n "(cached) $ac_c" 1>&6
2332
2335
ac_save_CXXFLAGS="$CXXFLAGS"
2334
2337
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
2335
echo "configure:2336: checking whether ${CXX-g++} accepts -g" >&5
2338
echo "configure:2339: checking whether ${CXX-g++} accepts -g" >&5
2336
2339
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
2337
2340
echo $ac_n "(cached) $ac_c" 1>&6
2368
2371
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2369
echo "configure:2370: checking how to run the C preprocessor" >&5
2372
echo "configure:2373: checking how to run the C preprocessor" >&5
2370
2373
# On Suns, sometimes $CPP names a directory.
2371
2374
if test -n "$CPP" && test -d "$CPP"; then
2381
2384
# On the NeXT, cc -E runs the code through the compiler's parser,
2382
2385
# not just through cpp.
2383
2386
cat > conftest.$ac_ext <<EOF
2384
#line 2385 "configure"
2387
#line 2388 "configure"
2385
2388
#include "confdefs.h"
2386
2389
#include <assert.h>
2389
2392
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2390
{ (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2393
{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2391
2394
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2392
2395
if test -z "$ac_err"; then
2398
2401
rm -rf conftest*
2399
2402
CPP="${CC-cc} -E -traditional-cpp"
2400
2403
cat > conftest.$ac_ext <<EOF
2401
#line 2402 "configure"
2404
#line 2405 "configure"
2402
2405
#include "confdefs.h"
2403
2406
#include <assert.h>
2406
2409
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2407
{ (eval echo configure:2408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2410
{ (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2408
2411
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2409
2412
if test -z "$ac_err"; then
2415
2418
rm -rf conftest*
2416
2419
CPP="${CC-cc} -nologo -E"
2417
2420
cat > conftest.$ac_ext <<EOF
2418
#line 2419 "configure"
2421
#line 2422 "configure"
2419
2422
#include "confdefs.h"
2420
2423
#include <assert.h>
2423
2426
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2424
{ (eval echo configure:2425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2427
{ (eval echo configure:2428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2425
2428
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2426
2429
if test -z "$ac_err"; then
2448
2451
# Extract the first word of "ranlib", so it can be a program name with args.
2449
2452
set dummy ranlib; ac_word=$2
2450
2453
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2451
echo "configure:2452: checking for $ac_word" >&5
2454
echo "configure:2455: checking for $ac_word" >&5
2452
2455
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2453
2456
echo $ac_n "(cached) $ac_c" 1>&6
2480
2483
# Extract the first word of "$ac_prog", so it can be a program name with args.
2481
2484
set dummy $ac_prog; ac_word=$2
2482
2485
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2483
echo "configure:2484: checking for $ac_word" >&5
2486
echo "configure:2487: checking for $ac_word" >&5
2484
2487
if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
2485
2488
echo $ac_n "(cached) $ac_c" 1>&6
2521
2524
# Extract the first word of "$ac_prog", so it can be a program name with args.
2522
2525
set dummy $ac_prog; ac_word=$2
2523
2526
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2524
echo "configure:2525: checking for $ac_word" >&5
2527
echo "configure:2528: checking for $ac_word" >&5
2525
2528
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
2526
2529
echo $ac_n "(cached) $ac_c" 1>&6
2562
2565
# Extract the first word of "$ac_prog", so it can be a program name with args.
2563
2566
set dummy $ac_prog; ac_word=$2
2564
2567
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2565
echo "configure:2566: checking for $ac_word" >&5
2568
echo "configure:2569: checking for $ac_word" >&5
2566
2569
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
2567
2570
echo $ac_n "(cached) $ac_c" 1>&6
2603
2606
# Extract the first word of "$ac_prog", so it can be a program name with args.
2604
2607
set dummy $ac_prog; ac_word=$2
2605
2608
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2606
echo "configure:2607: checking for $ac_word" >&5
2609
echo "configure:2610: checking for $ac_word" >&5
2607
2610
if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
2608
2611
echo $ac_n "(cached) $ac_c" 1>&6
2644
2647
# Extract the first word of "$ac_prog", so it can be a program name with args.
2645
2648
set dummy $ac_prog; ac_word=$2
2646
2649
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2647
echo "configure:2648: checking for $ac_word" >&5
2650
echo "configure:2651: checking for $ac_word" >&5
2648
2651
if eval "test \"`echo '$''{'ac_cv_path_WINDRES'+set}'`\" = set"; then
2649
2652
echo $ac_n "(cached) $ac_c" 1>&6
2714
2717
echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
2715
echo "configure:2716: checking for gcc -pipe support" >&5
2718
echo "configure:2719: checking for gcc -pipe support" >&5
2716
2719
if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
2717
2720
echo '#include <stdio.h>' > dummy-hello.c
2718
2721
echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c
2764
2767
CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction"
2766
2769
echo $ac_n "checking whether C compiler supports -fprofile-generate""... $ac_c" 1>&6
2767
echo "configure:2768: checking whether C compiler supports -fprofile-generate" >&5
2770
echo "configure:2771: checking whether C compiler supports -fprofile-generate" >&5
2768
2771
cat > conftest.$ac_ext <<EOF
2769
#line 2770 "configure"
2772
#line 2773 "configure"
2770
2773
#include "confdefs.h"
2776
if { (eval echo configure:2777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2779
if { (eval echo configure:2780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2777
2780
rm -rf conftest*
2778
2781
PROFILE_GEN_CFLAGS="-fprofile-generate"
2797
2800
if test "$GNU_CC"; then
2798
2801
echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
2799
echo "configure:2800: checking for visibility(hidden) attribute" >&5
2802
echo "configure:2803: checking for visibility(hidden) attribute" >&5
2800
2803
if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
2801
2804
echo $ac_n "(cached) $ac_c" 1>&6
2822
2825
echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
2823
echo "configure:2824: checking for visibility pragma support" >&5
2826
echo "configure:2827: checking for visibility pragma support" >&5
2824
2827
if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
2825
2828
echo $ac_n "(cached) $ac_c" 1>&6
2873
2876
# Extract the first word of "$ac_prog", so it can be a program name with args.
2874
2877
set dummy $ac_prog; ac_word=$2
2875
2878
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2876
echo "configure:2877: checking for $ac_word" >&5
2879
echo "configure:2880: checking for $ac_word" >&5
2877
2880
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
2878
2881
echo $ac_n "(cached) $ac_c" 1>&6
3109
3112
{ echo "configure: error: --enable-thumb2 is not supported for non-ARM CPU architectures" 1>&2; exit 1; }
3116
case "$target_cpu" in
3118
if test "$GNU_CC"; then
3119
CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -Wa, -march=armv5te -Wa, -mthumb-interwork"
3120
CXXFLAGS="$CXXFLAGS -march=armv5te -mthumb-interwork -Wa, -march=armv5te -Wa, -mthumb-interwork"
3121
ASFLAGS="$ASFLAGS -march=armv5te -mthumb-interwork"
3114
3127
case "$host" in
3149
3162
DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
3150
3163
ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
3151
3164
echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
3152
echo "configure:3153: checking for sys/atomic_op.h" >&5
3165
echo "configure:3166: checking for sys/atomic_op.h" >&5
3153
3166
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3154
3167
echo $ac_n "(cached) $ac_c" 1>&6
3156
3169
cat > conftest.$ac_ext <<EOF
3157
#line 3158 "configure"
3170
#line 3171 "configure"
3158
3171
#include "confdefs.h"
3159
3172
#include <sys/atomic_op.h>
3161
3174
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3162
{ (eval echo configure:3163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3175
{ (eval echo configure:3176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3163
3176
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3164
3177
if test -z "$ac_err"; then
3165
3178
rm -rf conftest*
3316
3329
_DEBUG_FLAGS='-gdwarf-2 -O0'
3317
3330
MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
3318
3331
echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
3319
echo "configure:3320: checking for gethostbyaddr in -lbind" >&5
3332
echo "configure:3333: checking for gethostbyaddr in -lbind" >&5
3320
3333
ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
3321
3334
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3322
3335
echo $ac_n "(cached) $ac_c" 1>&6
4231
4244
elif test $_CC_BUILD -ge 762; then
4232
4245
_USE_DYNAMICBASE=1
4247
cat >> confdefs.h <<\EOF
4248
#define _CRT_SECURE_NO_DEPRECATE 1
4251
cat >> confdefs.h <<\EOF
4252
#define _CRT_NONSTDC_NO_DEPRECATE 1
4234
4255
elif test $_CC_MAJOR_VERSION -ge 15; then
4235
4256
_USE_DYNAMICBASE=1
4257
cat >> confdefs.h <<\EOF
4258
#define _CRT_SECURE_NO_WARNINGS 1
4261
cat >> confdefs.h <<\EOF
4262
#define _CRT_NONSTDC_NO_WARNINGS 1
4238
4267
if test -n "$_USE_DYNAMICBASE"; then
4710
4739
_OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000"
4711
4740
ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
4712
4741
echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
4713
echo "configure:4714: checking for machine/builtins.h" >&5
4742
echo "configure:4743: checking for machine/builtins.h" >&5
4714
4743
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4715
4744
echo $ac_n "(cached) $ac_c" 1>&6
4717
4746
cat > conftest.$ac_ext <<EOF
4718
#line 4719 "configure"
4747
#line 4748 "configure"
4719
4748
#include "confdefs.h"
4720
4749
#include <machine/builtins.h>
4722
4751
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4723
{ (eval echo configure:4724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4752
{ (eval echo configure:4753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4724
4753
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4725
4754
if test -z "$ac_err"; then
4726
4755
rm -rf conftest*
5371
5400
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
5372
echo "configure:5373: checking for dlopen in -ldl" >&5
5401
echo "configure:5402: checking for dlopen in -ldl" >&5
5373
5402
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
5374
5403
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5375
5404
echo $ac_n "(cached) $ac_c" 1>&6
5405
5434
echo "$ac_t""yes" 1>&6
5406
5435
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
5407
5436
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
5408
echo "configure:5409: checking for dlfcn.h" >&5
5437
echo "configure:5438: checking for dlfcn.h" >&5
5409
5438
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5410
5439
echo $ac_n "(cached) $ac_c" 1>&6
5412
5441
cat > conftest.$ac_ext <<EOF
5413
#line 5414 "configure"
5442
#line 5443 "configure"
5414
5443
#include "confdefs.h"
5415
5444
#include <dlfcn.h>
5417
5446
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5418
{ (eval echo configure:5419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5447
{ (eval echo configure:5448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5419
5448
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5420
5449
if test -z "$ac_err"; then
5421
5450
rm -rf conftest*
5449
5478
if test $ac_cv_prog_gcc = yes; then
5450
5479
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5451
echo "configure:5452: checking whether ${CC-cc} needs -traditional" >&5
5480
echo "configure:5481: checking whether ${CC-cc} needs -traditional" >&5
5452
5481
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5453
5482
echo $ac_n "(cached) $ac_c" 1>&6
5455
5484
ac_pattern="Autoconf.*'x'"
5456
5485
cat > conftest.$ac_ext <<EOF
5457
#line 5458 "configure"
5486
#line 5487 "configure"
5458
5487
#include "confdefs.h"
5459
5488
#include <sgtty.h>
5460
5489
Autoconf TIOCGETP
5496
5525
for ac_func in lchown strerror
5498
5527
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5499
echo "configure:5500: checking for $ac_func" >&5
5528
echo "configure:5529: checking for $ac_func" >&5
5500
5529
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5501
5530
echo $ac_n "(cached) $ac_c" 1>&6
5503
5532
cat > conftest.$ac_ext <<EOF
5504
#line 5505 "configure"
5533
#line 5534 "configure"
5505
5534
#include "confdefs.h"
5506
5535
/* System header to define __stub macros and hopefully few prototypes,
5507
5536
which can conflict with char $ac_func(); below. */
5583
# Check whether --with-ccache or --without-ccache was given.
5584
if test "${with_ccache+set}" = set; then
5585
withval="$with_ccache"
5592
if test "$CCACHE" != "no"; then
5593
if test -n "$CCACHE"; then
5594
if test "$CCACHE" = "yes"; then
5597
if test ! -e "$CCACHE"; then
5598
{ echo "configure: error: $CCACHE not found" 1>&2; exit 1; }
5602
for ac_prog in $CCACHE ccache
5604
# Extract the first word of "$ac_prog", so it can be a program name with args.
5605
set dummy $ac_prog; ac_word=$2
5606
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5607
echo "configure:5608: checking for $ac_word" >&5
5608
if eval "test \"`echo '$''{'ac_cv_path_CCACHE'+set}'`\" = set"; then
5609
echo $ac_n "(cached) $ac_c" 1>&6
5613
ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path.
5616
ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a dos path.
5619
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5621
for ac_dir in $ac_dummy; do
5622
test -z "$ac_dir" && ac_dir=.
5623
if test -f $ac_dir/$ac_word; then
5624
ac_cv_path_CCACHE="$ac_dir/$ac_word"
5632
CCACHE="$ac_cv_path_CCACHE"
5633
if test -n "$CCACHE"; then
5634
echo "$ac_t""$CCACHE" 1>&6
5636
echo "$ac_t""no" 1>&6
5639
test -n "$CCACHE" && break
5642
if test -z "$CCACHE" -o "$CCACHE" = ":"; then
5643
{ echo "configure: error: ccache not found" 1>&2; exit 1; }
5644
elif test -x "$CCACHE"; then
5648
{ echo "configure: error: $CCACHE is not executable" 1>&2; exit 1; }
5554
5652
# Check whether --enable-strip or --disable-strip was given.
5555
5653
if test "${enable_strip+set}" = set; then
5556
5654
enableval="$enable_strip"
5565
5663
if test -z "$GNU_CC"; then
5567
5665
echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
5568
echo "configure:5569: checking for +Olit support" >&5
5666
echo "configure:5667: checking for +Olit support" >&5
5569
5667
if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
5570
5668
echo $ac_n "(cached) $ac_c" 1>&6
5609
5707
echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
5610
echo "configure:5611: checking for pthread_create in -lpthreads" >&5
5708
echo "configure:5709: checking for pthread_create in -lpthreads" >&5
5612
5710
#include <pthread.h>
5613
5711
void *foo(void *v) { return v; }
5629
5727
echo "$ac_t""no" 1>&6
5631
5729
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
5632
echo "configure:5633: checking for pthread_create in -lpthread" >&5
5730
echo "configure:5731: checking for pthread_create in -lpthread" >&5
5634
5732
#include <pthread.h>
5635
5733
void *foo(void *v) { return v; }
5651
5749
echo "$ac_t""no" 1>&6
5653
5751
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
5654
echo "configure:5655: checking for pthread_create in -lc_r" >&5
5752
echo "configure:5753: checking for pthread_create in -lc_r" >&5
5656
5754
#include <pthread.h>
5657
5755
void *foo(void *v) { return v; }
5673
5771
echo "$ac_t""no" 1>&6
5675
5773
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
5676
echo "configure:5677: checking for pthread_create in -lc" >&5
5774
echo "configure:5775: checking for pthread_create in -lc" >&5
5678
5776
#include <pthread.h>
5679
5777
void *foo(void *v) { return v; }
5791
# Check whether --enable-boehm or --disable-boehm was given.
5792
if test "${enable_boehm+set}" = set; then
5793
enableval="$enable_boehm"
5794
if test "$enableval" = "yes"; then
5795
cat >> confdefs.h <<\EOF
5796
#define GC_LEAK_DETECTOR 1
5804
5888
if test -n "$USE_PTHREADS"; then
5805
5889
rm -f conftest*
5806
5890
ac_cv_have_dash_pthread=no
5807
5891
echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
5808
echo "configure:5809: checking whether ${CC-cc} accepts -pthread" >&5
5892
echo "configure:5893: checking whether ${CC-cc} accepts -pthread" >&5
5809
5893
echo 'int main() { return 0; }' | cat > conftest.c
5810
5894
${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
5811
5895
if test $? -eq 0; then
5828
5912
ac_cv_have_dash_pthreads=no
5829
5913
if test "$ac_cv_have_dash_pthread" = "no"; then
5830
5914
echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
5831
echo "configure:5832: checking whether ${CC-cc} accepts -pthreads" >&5
5915
echo "configure:5916: checking whether ${CC-cc} accepts -pthreads" >&5
5832
5916
echo 'int main() { return 0; }' | cat > conftest.c
5833
5917
${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
5834
5918
if test $? -eq 0; then
6153
6237
if test -n "$_WRAP_MALLOC"; then
6154
6238
if test "$GNU_CC"; then
6155
WRAP_MALLOC_CFLAGS="${LDFLAGS} -Wl,--wrap -Wl,malloc -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,valloc -Wl,--wrap -Wl,free -Wl,--wrap -Wl,realloc -Wl,--wrap -Wl,memalign -Wl,--wrap -Wl,__builtin_new -Wl,--wrap -Wl,__builtin_vec_new -Wl,--wrap -Wl,__builtin_delete -Wl,--wrap -Wl,__builtin_vec_delete -Wl,--wrap -Wl,PR_Free -Wl,--wrap -Wl,PR_Malloc -Wl,--wrap -Wl,PR_Calloc -Wl,--wrap -Wl,PR_Realloc -Wl,--wrap -Wl,strdup -Wl,--wrap -Wl,strndup -Wl,--wrap -Wl,posix_memalign"
6239
WRAP_MALLOC_CFLAGS="${LDFLAGS} ${WRAP_MALLOC_CFLAGS} -Wl,--wrap -Wl,malloc -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,valloc -Wl,--wrap -Wl,free -Wl,--wrap -Wl,realloc -Wl,--wrap -Wl,memalign -Wl,--wrap -Wl,__builtin_new -Wl,--wrap -Wl,__builtin_vec_new -Wl,--wrap -Wl,__builtin_delete -Wl,--wrap -Wl,__builtin_vec_delete -Wl,--wrap -Wl,PR_Free -Wl,--wrap -Wl,PR_Malloc -Wl,--wrap -Wl,PR_Calloc -Wl,--wrap -Wl,PR_Realloc -Wl,--wrap -Wl,strdup -Wl,--wrap -Wl,strndup -Wl,--wrap -Wl,posix_memalign"
6156
6240
DSO_LDOPTS="$DSO_LDOPTS $WRAP_MALLOC_CFLAGS"
6158
6242
{ echo "configure: error: --enable-wrap-malloc is not supported for non-GNU toolchains" 1>&2; exit 1; }
6440
6523
cat >> $CONFIG_STATUS <<EOF
6442
6527
# Protect against being on the right side of a sed subst in config.status.
6443
6528
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6444
6529
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6514
6600
s%@USE_N32@%$USE_N32%g
6515
6601
s%@USE_64@%$USE_64%g
6516
6602
s%@OBJECT_MODE@%$OBJECT_MODE%g
6517
s%@GC_LEAK_DETECTOR@%$GC_LEAK_DETECTOR%g
6518
6603
s%@ENABLE_STRIP@%$ENABLE_STRIP%g
6519
6604
s%@USE_PTHREADS@%$USE_PTHREADS%g
6520
6605
s%@USE_BTHREADS@%$USE_BTHREADS%g
6648
6733
if test -z "$ac_dots"; then top_srcdir=.
6649
6734
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6650
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
6735
/* | ?:/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
6651
6736
*) # Relative path.
6652
6737
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6653
6738
top_srcdir="$ac_dots$ac_given_srcdir" ;;