~ubuntu-branches/ubuntu/precise/nspr/precise-proposed

« back to all changes in this revision

Viewing changes to debian/patches/99_configure.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack, Fabien Tassin, Alexander Sack
  • Date: 2009-01-11 13:50:07 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090111135007-butxlx6upwjcakod
Tags: 4.7.3-0ubuntu1
* New upstream version: 4.7.3 from NSPR_4_7_3_RTM tag

[ Fabien Tassin <fta@ubuntu.com> ]
* LP: #269188 - use /dev/urandom for better entropy on LTSP environments
* update diverged patches:
  - update debian/patches/30_pkgconfig.patch
  - update debian/patches/81_sonames.patch
  - update debian/patches/99_configure.patch

[ Alexander Sack <asac@ubuntu.com> ]
Drop debian soname patch for full upstream compatibility
* eliminate soname patch
  - delete debian/patches/81_sonames.patch
  - update debian/patches/series
* refresh configure patch to reflect dropped soname patch
  - update debian/patches/99_configure.patch
* install unversioned .so files
  - update debian/libnspr4-0d.install
* .so.0d links are not created without the soname patch. we create
  backlinks to the unversioned .so libs using debhelper; also we
  cannot dh_install the .0d versioned libs anymore and we drop
  them from .install accordingly
  - add debian/libnspr4-0d.links
  - update debian/libnspr4-0d.install
* implement link shuffeling transition (with abort cases) in
  maintainer scripts; affected libs: libnspr4.so libplc4.so libplds4.so
  - add debian/libnspr4-0d.postinst
  - add debian/libnspr4-0d.postrm
  - add debian/libnspr4-0d.preinst
  - add debian/libnspr4-0d.prerm
* drop soname version suffix from symbol files and reflect this fact by
  adjusting minimum version to this package version (4.7.3-0ubuntu1~)
  - update debian/libnspr4-0d.symbols
  - update debian/libnspr4-0d.symbols.amd64
  - update debian/libnspr4-0d.symbols.i386
  - update debian/libnspr4-0d.symbols.ia64
  - update debian/libnspr4-0d.symbols.lpia
  - update debian/libnspr4-0d.symbols.powerpc
* bump lower shlibs version constraint to 4.7.1+1.9-0ubuntu5~
  - update debian/rules
* rerun autoconf2.13 to apply dropped 81_sonames.patch to configure
  - update debian/patches/99_configure.patch
* explitly define libnspr4_0d_EXPORTED_LIBS and pass those manually
  to dpkg-gensymbols to workaround uncommon SONAME used by nspr libs
  - update debian/rules
* don't pretend to create shlibs-control file anymore; add binary
  lintian override for that
  - update debian/rules
* add #DEBHELPER# token to maintainer scripts
  - update debian/libnspr4-0d.postinst
  - update debian/libnspr4-0d.postrm
  - update debian/libnspr4-0d.preinst
  - update debian/libnspr4-0d.prerm

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
---
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(-)
4
4
 
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
9
9
@@ -31,17 +31,17 @@
10
10
 ac_help="$ac_help
11
11
   --enable-win32-target=\$t
25
25
   --with-arm-kuser        Use kuser helpers (Linux/ARM only)
26
26
                           (Requires kernel 2.6.13 or later)"
27
27
 ac_help="$ac_help
28
 
@@ -694,17 +694,17 @@
 
28
@@ -691,17 +691,17 @@
29
29
 MOD_MINOR_VERSION=7
30
 
 MOD_PATCH_VERSION=1
 
30
 MOD_PATCH_VERSION=3
31
31
 NSPR_MODNAME=nspr20
32
32
 _HAVE_PTHREADS=
33
33
 USE_PTHREADS=
44
44
 _DEBUG_FLAGS=-g
45
45
 MOZ_DEBUG=1
46
46
 MOZ_OPTIMIZE=
47
 
@@ -915,22 +915,54 @@
 
47
@@ -912,22 +912,54 @@
48
48
       fi
49
49
     fi 
50
50
 fi
64
64
 
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"
71
71
+
72
72
+int main() {
73
73
+int assert[(sizeof(long) == 8) ? 1: -1]
74
74
+; return 0; }
75
75
+EOF
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
77
77
+  rm -rf conftest*
78
78
+  result="yes"
79
79
+else
100
100
       fi 
101
101
 fi
102
102
 
103
 
@@ -1062,17 +1094,17 @@
 
103
@@ -1059,17 +1091,17 @@
104
104
 
105
105
     esac
106
106
 fi
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
116
116
 else
119
119
   ac_cv_path_WHOAMI="$WHOAMI" # Let the user override the test with a path.
120
120
   ;;
121
121
   ?:/*)                         
122
 
@@ -1133,23 +1165,23 @@
 
122
@@ -1130,23 +1162,23 @@
123
123
     echo "cross compiling from $host to $target"
124
124
     cross_compiling=yes
125
125
 
128
128
     _SAVE_LDFLAGS="$LDFLAGS"
129
129
 
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
134
134
 do
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
142
142
 else
145
145
 else
146
146
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
147
147
   ac_dummy="$PATH"
148
 
@@ -1185,26 +1217,26 @@
 
148
@@ -1182,26 +1214,26 @@
149
149
         HOST_LDFLAGS="$LDFLAGS"
150
150
     fi
151
151
 
154
154
     LDFLAGS="$HOST_LDFLAGS"
155
155
 
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"
163
163
 
164
164
 int main() {
165
165
 return(0);
166
166
 ; return 0; }
167
167
 EOF
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
170
170
   rm -rf conftest*
171
171
   ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6
172
172
 else
175
175
   rm -rf conftest*
176
176
   { echo "configure: error: installation or configuration problem: $host compiler $HOST_CC cannot create executables." 1>&2; exit 1; } 
177
177
 fi
178
 
@@ -1223,17 +1255,17 @@
 
178
@@ -1220,17 +1252,17 @@
179
179
         ;;        
180
180
     esac            
181
181
 
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
191
191
 else
194
194
 else
195
195
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
196
196
   ac_dummy="$PATH"
197
 
@@ -1257,17 +1289,17 @@
 
197
@@ -1254,17 +1286,17 @@
198
198
 test -n "$CC" && break
199
199
 done
200
200
 test -n "$CC" || CC="echo"
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
210
210
 else
213
213
 else
214
214
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
215
215
   ac_dummy="$PATH"
216
 
@@ -1287,17 +1319,17 @@
 
216
@@ -1284,17 +1316,17 @@
217
217
 else
218
218
   echo "$ac_t""no" 1>&6
219
219
 fi
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
229
229
 else
232
232
 else
233
233
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
234
234
   ac_prog_rejected=no
235
 
@@ -1338,17 +1370,17 @@
 
235
@@ -1335,17 +1367,17 @@
236
236
 fi
237
237
 
238
238
   if test -z "$CC"; then
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
248
248
 else
251
251
 else
252
252
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
253
253
   ac_dummy="$PATH"
254
 
@@ -1370,33 +1402,33 @@
 
254
@@ -1367,33 +1399,33 @@
255
255
 fi
256
256
  ;;
257
257
     esac
260
260
 fi
261
261
 
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
265
265
 
266
266
 ac_ext=c
267
267
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
272
272
 
273
273
 cat > conftest.$ac_ext << EOF
274
274
 
275
 
-#line 1390 "configure"
276
 
+#line 1422 "configure"
 
275
-#line 1387 "configure"
 
276
+#line 1419 "configure"
277
277
 #include "confdefs.h"
278
278
 
279
279
 main(){return(0);}
280
280
 EOF
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
288
288
     ac_cv_prog_cc_cross=yes
289
289
   fi
290
290
 else
291
 
@@ -1412,31 +1444,31 @@
 
291
@@ -1409,31 +1441,31 @@
292
292
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
293
293
 cross_compiling=$ac_cv_prog_cc_cross
294
294
 
297
297
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
298
298
 fi
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
304
304
 
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
310
310
 else
313
313
   yes;
314
314
 #endif
315
315
 EOF
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
 
316
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1432: \"$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:1464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
318
318
   ac_cv_prog_gcc=yes
319
319
 else
320
320
   ac_cv_prog_gcc=no
323
323
 
324
324
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
325
325
 
326
 
@@ -1445,17 +1477,17 @@
 
326
@@ -1442,17 +1474,17 @@
327
327
 else
328
328
   GCC=
329
329
 fi
332
332
 ac_save_CFLAGS="$CFLAGS"
333
333
 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
339
339
 else
342
342
   ac_cv_prog_cc_g=yes
343
343
 else
344
344
   ac_cv_prog_cc_g=no
345
 
@@ -1482,17 +1514,17 @@
 
345
@@ -1479,17 +1511,17 @@
346
346
 fi
347
347
 
348
348
     if test -n "$USE_CPLUS"; then
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
358
358
 else
361
361
 else
362
362
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
363
363
   ac_dummy="$PATH"
364
 
@@ -1518,17 +1550,17 @@
 
364
@@ -1515,17 +1547,17 @@
365
365
 test -n "$CXX" || CXX="echo"
366
366
 
367
367
         unset ac_cv_prog_CXX
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
377
377
 else
380
380
 else
381
381
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
382
382
   ac_dummy="$PATH"
383
 
@@ -1550,33 +1582,33 @@
 
383
@@ -1547,33 +1579,33 @@
384
384
 fi
385
385
 
386
386
 test -n "$CXX" && break
389
389
 
390
390
 
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
394
394
 
395
395
 ac_ext=C
396
396
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
401
401
 
402
402
 cat > conftest.$ac_ext << EOF
403
403
 
404
 
-#line 1570 "configure"
405
 
+#line 1602 "configure"
 
404
-#line 1567 "configure"
 
405
+#line 1599 "configure"
406
406
 #include "confdefs.h"
407
407
 
408
408
 int main(){return(0);}
409
409
 EOF
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
417
417
     ac_cv_prog_cxx_cross=yes
418
418
   fi
419
419
 else
420
 
@@ -1592,31 +1624,31 @@
 
420
@@ -1589,31 +1621,31 @@
421
421
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
422
422
 cross_compiling=$ac_cv_prog_cc_cross
423
423
 
426
426
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
427
427
 fi
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
433
433
 
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
439
439
 else
442
442
   yes;
443
443
 #endif
444
444
 EOF
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
 
445
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1612: \"$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:1644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
447
447
   ac_cv_prog_gxx=yes
448
448
 else
449
449
   ac_cv_prog_gxx=no
452
452
 
453
453
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
454
454
 
455
 
@@ -1625,17 +1657,17 @@
 
455
@@ -1622,17 +1654,17 @@
456
456
 else
457
457
   GXX=
458
458
 fi
461
461
 ac_save_CXXFLAGS="$CXXFLAGS"
462
462
 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
468
468
 else
471
471
   ac_cv_prog_cxx_g=yes
472
472
 else
473
473
   ac_cv_prog_cxx_g=no
474
 
@@ -1670,17 +1702,17 @@
 
474
@@ -1667,17 +1699,17 @@
475
475
         ;;
476
476
     esac
477
477
 
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
487
487
 else
490
490
 else
491
491
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
492
492
   ac_dummy="$PATH"
493
 
@@ -1705,17 +1737,17 @@
 
493
@@ -1702,17 +1734,17 @@
494
494
 done
495
495
 test -n "$RANLIB" || RANLIB="echo"
496
496
 
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
506
506
 else
509
509
 else
510
510
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
511
511
   ac_dummy="$PATH"
512
 
@@ -1740,17 +1772,17 @@
 
512
@@ -1737,17 +1769,17 @@
513
513
 done
514
514
 test -n "$AR" || AR="echo"
515
515
 
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
525
525
 else
528
528
 else
529
529
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
530
530
   ac_dummy="$PATH"
531
 
@@ -1775,17 +1807,17 @@
 
531
@@ -1772,17 +1804,17 @@
532
532
 done
533
533
 test -n "$AS" || AS="echo"
534
534
 
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
544
544
 else
547
547
 else
548
548
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
549
549
   ac_dummy="$PATH"
550
 
@@ -1810,17 +1842,17 @@
 
550
@@ -1807,17 +1839,17 @@
551
551
 done
552
552
 test -n "$LD" || LD="echo"
553
553
 
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
563
563
 else
566
566
 else
567
567
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
568
568
   ac_dummy="$PATH"
569
 
@@ -1845,17 +1877,17 @@
 
569
@@ -1842,17 +1874,17 @@
570
570
 done
571
571
 test -n "$STRIP" || STRIP="echo"
572
572
 
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
582
582
 else
585
585
 else
586
586
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
587
587
   ac_dummy="$PATH"
588
 
@@ -1880,17 +1912,17 @@
 
588
@@ -1877,17 +1909,17 @@
589
589
 done
590
590
 test -n "$WINDRES" || WINDRES="echo"
591
591
 
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
601
601
 else
604
604
 else
605
605
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
606
606
   ac_dummy="$PATH"
607
 
@@ -1910,17 +1942,17 @@
 
607
@@ -1907,17 +1939,17 @@
608
608
 else
609
609
   echo "$ac_t""no" 1>&6
610
610
 fi
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
620
620
 else
623
623
 else
624
624
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
625
625
   ac_prog_rejected=no
626
 
@@ -1961,17 +1993,17 @@
 
626
@@ -1958,17 +1990,17 @@
627
627
 fi
628
628
 
629
629
   if test -z "$CC"; then
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
639
639
 else
642
642
 else
643
643
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
644
644
   ac_dummy="$PATH"
645
 
@@ -1993,33 +2025,33 @@
 
645
@@ -1990,33 +2022,33 @@
646
646
 fi
647
647
  ;;
648
648
     esac
651
651
 fi
652
652
 
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
656
656
 
657
657
 ac_ext=c
658
658
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
663
663
 
664
664
 cat > conftest.$ac_ext << EOF
665
665
 
666
 
-#line 2013 "configure"
667
 
+#line 2045 "configure"
 
666
-#line 2010 "configure"
 
667
+#line 2042 "configure"
668
668
 #include "confdefs.h"
669
669
 
670
670
 main(){return(0);}
671
671
 EOF
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
679
679
     ac_cv_prog_cc_cross=yes
680
680
   fi
681
681
 else
682
 
@@ -2035,31 +2067,31 @@
 
682
@@ -2032,31 +2064,31 @@
683
683
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
684
684
 cross_compiling=$ac_cv_prog_cc_cross
685
685
 
688
688
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
689
689
 fi
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
695
695
 
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
701
701
 else
704
704
   yes;
705
705
 #endif
706
706
 EOF
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
 
707
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2055: \"$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:2087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
709
709
   ac_cv_prog_gcc=yes
710
710
 else
711
711
   ac_cv_prog_gcc=no
714
714
 
715
715
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
716
716
 
717
 
@@ -2068,17 +2100,17 @@
 
717
@@ -2065,17 +2097,17 @@
718
718
 else
719
719
   GCC=
720
720
 fi
723
723
 ac_save_CFLAGS="$CFLAGS"
724
724
 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
730
730
 else
733
733
   ac_cv_prog_cc_g=yes
734
734
 else
735
735
   ac_cv_prog_cc_g=no
736
 
@@ -2108,17 +2140,17 @@
 
736
@@ -2105,17 +2137,17 @@
737
737
         if test "$CC" = "cl" -a -z "$CXX"; then
738
738
             CXX=$CC
739
739
         else        
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
749
749
 else
752
752
 else
753
753
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
754
754
   ac_dummy="$PATH"
755
 
@@ -2140,33 +2172,33 @@
 
755
@@ -2137,33 +2169,33 @@
756
756
 fi
757
757
 
758
758
 test -n "$CXX" && break
761
761
 
762
762
 
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
766
766
 
767
767
 ac_ext=C
768
768
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
773
773
 
774
774
 cat > conftest.$ac_ext << EOF
775
775
 
776
 
-#line 2160 "configure"
777
 
+#line 2192 "configure"
 
776
-#line 2157 "configure"
 
777
+#line 2189 "configure"
778
778
 #include "confdefs.h"
779
779
 
780
780
 int main(){return(0);}
781
781
 EOF
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
789
789
     ac_cv_prog_cxx_cross=yes
790
790
   fi
791
791
 else
792
 
@@ -2182,31 +2214,31 @@
 
792
@@ -2179,31 +2211,31 @@
793
793
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794
794
 cross_compiling=$ac_cv_prog_cc_cross
795
795
 
798
798
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
799
799
 fi
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
805
805
 
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
811
811
 else
814
814
   yes;
815
815
 #endif
816
816
 EOF
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
 
817
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2202: \"$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:2234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
819
819
   ac_cv_prog_gxx=yes
820
820
 else
821
821
   ac_cv_prog_gxx=no
824
824
 
825
825
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
826
826
 
827
 
@@ -2215,17 +2247,17 @@
 
827
@@ -2212,17 +2244,17 @@
828
828
 else
829
829
   GXX=
830
830
 fi
833
833
 ac_save_CXXFLAGS="$CXXFLAGS"
834
834
 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
840
840
 else
843
843
   ac_cv_prog_cxx_g=yes
844
844
 else
845
845
   ac_cv_prog_cxx_g=no
846
 
@@ -2249,72 +2281,72 @@
 
846
@@ -2246,72 +2278,72 @@
847
847
   else
848
848
     CXXFLAGS=
849
849
   fi
852
852
         fi
853
853
     fi
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
859
859
   CPP=
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>
875
875
 Syntax Error
876
876
 EOF
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
882
882
   :
887
887
   rm -rf conftest*
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>
894
894
 Syntax Error
895
895
 EOF
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
901
901
   :
906
906
   rm -rf conftest*
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>
913
913
 Syntax Error
914
914
 EOF
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
920
920
   :
923
923
   echo "configure: failed program was:" >&5
924
924
   cat conftest.$ac_ext >&5
925
925
   rm -rf conftest*
926
 
@@ -2331,17 +2363,17 @@
 
926
@@ -2328,17 +2360,17 @@
927
927
 else
928
928
   ac_cv_prog_CPP="$CPP"
929
929
 fi
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
939
939
 else
942
942
 else
943
943
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
944
944
   ac_dummy="$PATH"
945
 
@@ -2363,17 +2395,17 @@
 
945
@@ -2360,17 +2392,17 @@
946
946
   echo "$ac_t""no" 1>&6
947
947
 fi
948
948
 
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
958
958
 else
961
961
   ac_cv_path_AS="$AS" # Let the user override the test with a path.
962
962
   ;;
963
963
   ?:/*)                         
964
 
@@ -2404,17 +2436,17 @@
 
964
@@ -2401,17 +2433,17 @@
965
965
 done
966
966
 test -n "$AS" || AS="$CC"
967
967
 
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
977
977
 else
980
980
   ac_cv_path_AR="$AR" # Let the user override the test with a path.
981
981
   ;;
982
982
   ?:/*)                         
983
 
@@ -2445,17 +2477,17 @@
 
983
@@ -2442,17 +2474,17 @@
984
984
 done
985
985
 test -n "$AR" || AR="echo not_ar"
986
986
 
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
996
996
 else
999
999
   ac_cv_path_LD="$LD" # Let the user override the test with a path.
1000
1000
   ;;
1001
1001
   ?:/*)                         
1002
 
@@ -2486,17 +2518,17 @@
 
1002
@@ -2483,17 +2515,17 @@
1003
1003
 done
1004
1004
 test -n "$LD" || LD="echo not_ld"
1005
1005
 
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
1015
1015
 else
1018
1018
   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
1019
1019
   ;;
1020
1020
   ?:/*)                         
1021
 
@@ -2527,17 +2559,17 @@
 
1021
@@ -2524,17 +2556,17 @@
1022
1022
 done
1023
1023
 test -n "$STRIP" || STRIP="echo not_strip"
1024
1024
 
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
1034
1034
 else
1037
1037
   ac_cv_path_WINDRES="$WINDRES" # Let the user override the test with a path.
1038
1038
   ;;
1039
1039
   ?:/*)                         
1040
 
@@ -2595,39 +2627,39 @@
 
1040
@@ -2592,39 +2624,39 @@
1041
1041
 
1042
1042
 if test "$cross_compiling"  = "yes"; then
1043
1043
     CROSS_COMPILE=1
1046
1046
 fi
1047
1047
 
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
1062
1062
         _SAVE_CFLAGS=$CFLAGS
1063
1063
         CFLAGS="$CFLAGS -pipe"
1064
1064
         cat > conftest.$ac_ext <<EOF
1065
 
-#line 2619 "configure"
1066
 
+#line 2651 "configure"
 
1065
-#line 2616 "configure"
 
1066
+#line 2648 "configure"
1067
1067
 #include "confdefs.h"
1068
1068
  #include <stdio.h> 
1069
1069
 int main() {
1070
1070
 printf("Hello World\n");
1071
1071
 ; return 0; }
1072
1072
 EOF
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
 
1073
-if { (eval echo configure:2623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1074
+if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1075
1075
   rm -rf conftest*
1076
1076
   _res_gcc_pipe="yes"
1077
1077
 else
1080
1080
   rm -rf conftest*
1081
1081
   _res_gcc_pipe="no" 
1082
1082
 fi
1083
 
@@ -2644,17 +2676,17 @@
 
1083
@@ -2641,17 +2673,17 @@
1084
1084
     rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out
1085
1085
     echo "$ac_t""$_res" 1>&6
1086
1086
 else
1089
1089
 
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
1096
1096
 else
1099
1099
 EOF
1100
1100
         ac_cv_visibility_hidden=no
1101
1101
         if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
1102
 
@@ -2668,17 +2700,17 @@
 
1102
@@ -2665,17 +2697,17 @@
1103
1103
 
1104
1104
 echo "$ac_t""$ac_cv_visibility_hidden" 1>&6
1105
1105
     if test "$ac_cv_visibility_hidden" = "yes"; then
1108
1108
 EOF
1109
1109
 
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
1115
1115
 else
1118
1118
             int foo_hidden = 1;
1119
1119
 #pragma GCC visibility push(default)
1120
1120
             int foo_default = 1;
1121
 
@@ -2721,17 +2753,17 @@
 
1121
@@ -2718,17 +2750,17 @@
1122
1122
 fi # SKIP_COMPILER_CHECKS
1123
1123
 
1124
1124
 if test -z "$SKIP_PATH_CHECKS"; then
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
1134
1134
 else
1137
1137
   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1138
1138
   ;;
1139
1139
   ?:/*)                         
1140
 
@@ -2978,27 +3010,27 @@
 
1140
@@ -2975,27 +3007,27 @@
1141
1141
 
1142
1142
     cat >> confdefs.h <<\EOF
1143
1143
 #define SYSV 1
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
1153
1153
 else
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>
1159
1159
 EOF
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*
1168
1168
   echo "$ac_err" >&5
1169
1169
   echo "configure: failed program was:" >&5
1170
1170
   cat conftest.$ac_ext >&5
1171
 
@@ -3145,36 +3177,36 @@
 
1171
@@ -3142,36 +3174,36 @@
1172
1172
     PR_MD_ARCH_DIR=beos
1173
1173
     RESOLVE_LINK_SYMBOLS=1
1174
1174
     case "${target_cpu}" in
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
1186
1186
   ac_save_LIBS="$LIBS"
1187
1187
 LIBS="-lbind  $LIBS"
1188
1188
 cat > conftest.$ac_ext <<EOF
1189
 
-#line 3162 "configure"
1190
 
+#line 3194 "configure"
 
1189
-#line 3159 "configure"
 
1190
+#line 3191 "configure"
1191
1191
 #include "confdefs.h"
1192
1192
 /* Override any gcc2 internal prototype to avoid an error.  */
1193
1193
 /* We use char because int might match the return type of a gcc2
1198
1198
 gethostbyaddr()
1199
1199
 ; return 0; }
1200
1200
 EOF
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
 
1201
-if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1202
+if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1203
1203
   rm -rf conftest*
1204
1204
   eval "ac_cv_lib_$ac_lib_var=yes"
1205
1205
 else
1208
1208
   rm -rf conftest*
1209
1209
   eval "ac_cv_lib_$ac_lib_var=no"
1210
1210
 fi
1211
 
@@ -3290,17 +3322,17 @@
1212
 
 EOF
1213
 
 
1214
 
         cat >> confdefs.h <<\EOF
1215
 
 #define _PR_STAT_HAS_ST_ATIMESPEC 1
1216
 
 EOF
1217
 
 
1218
 
         MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)'
1219
 
         DSO_CFLAGS=-fPIC
1220
 
-        DSO_LDOPTS='-shared -Wl,-soname,$(@:$(OBJDIR)/%.so=%.so)'
1221
 
+        DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)'
1222
 
         STRIP="$STRIP -d"
1223
 
         case "$target_os" in
1224
 
         bsdi4.2* | bsdi4.3* | bsdi5.*)
1225
 
             cat >> confdefs.h <<\EOF
1226
 
 #define _PR_HAVE_GETPROTO_R 1
1227
 
 EOF
1228
 
 
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
1233
 
         DLL_SUFFIX=so
1234
 
     else
1235
 
         DLL_SUFFIX=so.1.0
1236
 
     fi
1237
 
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1238
 
     DSO_CFLAGS=-fPIC
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
1243
 
     ;;
1244
 
 
1245
 
 *-hpux*)
1246
 
     cat >> confdefs.h <<\EOF
1247
 
 #define XP_UNIX 1
1248
 
 EOF
1249
 
@@ -3549,17 +3581,17 @@
1250
 
     cat >> confdefs.h <<\EOF
1251
 
 #define _PR_POLL_WITH_SELECT 1
1252
 
 EOF
1253
 
 
1254
 
     cat >> confdefs.h <<\EOF
1255
 
 #define _USE_BIG_FDS 1
1256
 
 EOF
1257
 
 
1258
 
-    DSO_LDOPTS='-b +h $(notdir $@)'
1259
 
+    DSO_LDOPTS='-b +h $(SONAME)'
1260
 
     PR_MD_CSRCS=hpux.c
1261
 
     if test "$OS_TEST" = "ia64"; then
1262
 
         DLL_SUFFIX=so
1263
 
         DSO_LDOPTS="$DSO_LDOPTS +b '\$\$ORIGIN'"
1264
 
         CPU_ARCH_TAG=_$OS_TEST 
1265
 
         if test -z "$USE_64"; then
1266
 
             COMPILER_TAG=_32
1267
 
         fi
1268
 
@@ -3903,17 +3935,17 @@
1269
 
         ;;
1270
 
     esac
1271
 
     CFLAGS="$CFLAGS -Wall"
1272
 
     CXXFLAGS="$CXXFLAGS -Wall"
1273
 
     MDCPUCFG_H=_linux.cfg
1274
 
     PR_MD_CSRCS=linux.c
1275
 
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1276
 
     DSO_CFLAGS=-fPIC
1277
 
-    DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
1278
 
+    DSO_LDOPTS='-shared -Wl,-soname -Wl,$(SONAME)'
1279
 
     _OPTIMIZE_FLAGS=-O2
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
1283
 
                                    # debugging format)
1284
 
     COMPILER_TAG=_glibc
1285
 
     if echo "$OS_TEST" | grep -c 86 >/dev/null; then
1286
 
         CPU_ARCH=x86
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
1290
 
             OBJECT_FMT=a.out
1291
 
             DLL_SUFFIX=so.1.0
1292
 
             DSO_LDOPTS='-shared'
1293
 
         else
1294
 
             OBJECT_FMT=ELF
1295
 
             DLL_SUFFIX=so
1296
 
-            DSO_LDOPTS='-shared -Wl,-soname,$(notdir $@)'
1297
 
+            DSO_LDOPTS='-shared -Wl,-soname,$(SONAME)'
1298
 
         fi
1299
 
     fi
1300
 
 
1301
 
     if test "$LIBRUNPATH"; then
1302
 
         DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
1303
 
     fi
1304
 
     ;;
1305
 
 
1306
 
@@ -4400,17 +4432,17 @@
1307
 
 EOF
1308
 
 
1309
 
     cat >> confdefs.h <<\EOF
1310
 
 #define HAVE_POINTER_LOCALTIME_R 1
1311
 
 EOF
1312
 
 
1313
 
     MDCPUCFG_H=_nto.cfg
1314
 
     PR_MD_CSRCS=nto.c
1315
 
-    MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(notdir $@) -o $@'
1316
 
+    MKSHLIB='$(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(SONAME) -o $@'
1317
 
     DSO_CFLAGS=-fPIC
1318
 
     DSO_LDOPTS=-shared
1319
 
     OS_LIBS="$OS_LIBS -lsocket"
1320
 
     _OPTIMIZE_FLAGS="-O1"
1321
 
     _DEBUG_FLAGS="-gstabs"
1322
 
        ;;
1323
 
 
1324
 
 *-openbsd*)
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
1338
1224
 else
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>
1344
1230
 EOF
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 @@
1357
 
 
1358
 
     fi
1359
 
     if echo $OS_RELEASE | grep -c V4.0 >/dev/null; then
1360
 
         cat >> confdefs.h <<\EOF
1361
 
 #define OSF1V4_MAP_PRIVATE_BUG 1
1362
 
 EOF
1363
 
 
1364
 
     fi
1365
 
-    DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(notdir $@)'
1366
 
+    DSO_LDOPTS='-shared -all -expect_unresolved "*" -soname $(SONAME)'
1367
 
     MDCPUCFG_H=_osf1.cfg
1368
 
     PR_MD_CSRCS=osf1.c
1369
 
     ;;
1370
 
 
1371
 
 *-qnx*)
1372
 
     cat >> confdefs.h <<\EOF
1373
 
 #define XP_UNIX 1
1374
 
 EOF
1375
 
@@ -4682,17 +4714,17 @@
1376
 
             LD=gld
1377
 
         fi
1378
 
         CFLAGS="$CFLAGS -Wall -Wno-format"
1379
 
     else
1380
 
         AS='/usr/bin/cc'
1381
 
         _OPTIMIZE_FLAGS='-O -F Olimit,4000'
1382
 
     fi
1383
 
 
1384
 
-    DSO_LDOPTS='-G -z defs -h $(@:$(OBJDIR)/%.so=%.so)'
1385
 
+    DSO_LDOPTS='-G -z defs -h $(SONAME)'
1386
 
 
1387
 
     if test "$OS_RELEASE" = "5.43"; then
1388
 
         cat >> confdefs.h <<\EOF
1389
 
 #define IP_MULTICAST 1
1390
 
 EOF
1391
 
 
1392
 
     fi
1393
 
 
1394
 
@@ -4768,20 +4800,20 @@
1395
 
     LD=/usr/ccs/bin/ld
1396
 
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
1397
 
     RESOLVE_LINK_SYMBOLS=1
1398
 
     if test -n "$GNU_CC"; then
1399
 
         DSO_CFLAGS=-fPIC
1400
 
         if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
1401
 
             GCC_USE_GNU_LD=1
1402
 
         fi
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'
1405
 
     else
1406
 
         DSO_CFLAGS=-KPIC
1407
 
-        DSO_LDOPTS='-G -h $(notdir $@) -z combreloc -z defs -z ignore'
1408
 
+        DSO_LDOPTS='-G -h $(SONAME) -z combreloc -z defs -z ignore'
1409
 
     fi
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)"
1416
 
         fi
1417
 
@@ -5079,63 +5111,63 @@
 
1242
@@ -5022,63 +5054,63 @@
1418
1243
 
1419
1244
 
1420
1245
 
1423
1248
     ;;
1424
1249
 *)
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
1432
1257
   ac_save_LIBS="$LIBS"
1433
1258
 LIBS="-ldl  $LIBS"
1434
1259
 cat > conftest.$ac_ext <<EOF
1435
 
-#line 5096 "configure"
1436
 
+#line 5128 "configure"
 
1260
-#line 5039 "configure"
 
1261
+#line 5071 "configure"
1437
1262
 #include "confdefs.h"
1438
1263
 /* Override any gcc2 internal prototype to avoid an error.  */
1439
1264
 /* We use char because int might match the return type of a gcc2
1444
1269
 dlopen()
1445
1270
 ; return 0; }
1446
1271
 EOF
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
 
1272
-if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1273
+if { (eval echo configure:5082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1449
1274
   rm -rf conftest*
1450
1275
   eval "ac_cv_lib_$ac_lib_var=yes"
1451
1276
 else
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
1469
1294
 else
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>
1475
1300
 EOF
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*
1484
1309
   echo "$ac_err" >&5
1485
1310
   echo "configure: failed program was:" >&5
1486
1311
   cat conftest.$ac_ext >&5
1487
 
@@ -5158,23 +5190,23 @@
 
1312
@@ -5101,23 +5133,23 @@
1488
1313
     ;;
1489
1314
 esac
1490
1315
 
1493
1318
 
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
1500
1325
 else
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
1510
1335
   egrep "$ac_pattern" >/dev/null 2>&1; then
1511
1336
   rm -rf conftest*
1512
1337
   ac_cv_prog_gcc_traditional=yes
1513
 
@@ -5182,17 +5214,17 @@
 
1338
@@ -5125,17 +5157,17 @@
1514
1339
   rm -rf conftest*
1515
1340
   ac_cv_prog_gcc_traditional=no
1516
1341
 fi
1519
1344
 
1520
1345
   if test $ac_cv_prog_gcc_traditional = no; then
1521
1346
     cat > conftest.$ac_ext <<EOF
1522
 
-#line 5191 "configure"
1523
 
+#line 5223 "configure"
 
1347
-#line 5134 "configure"
 
1348
+#line 5166 "configure"
1524
1349
 #include "confdefs.h"
1525
1350
 #include <termio.h>
1526
1351
 Autoconf TCGETA
1529
1354
   egrep "$ac_pattern" >/dev/null 2>&1; then
1530
1355
   rm -rf conftest*
1531
1356
   ac_cv_prog_gcc_traditional=yes
1532
 
@@ -5206,22 +5238,22 @@
 
1357
@@ -5149,22 +5181,22 @@
1533
1358
   if test $ac_cv_prog_gcc_traditional = yes; then
1534
1359
     CC="$CC -traditional"
1535
1360
   fi
1538
1363
 for ac_func in lchown strerror
1539
1364
 do
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
1545
1370
 else
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.  */
1554
1379
 /* We use char because int might match the return type of a gcc2
1555
1380
     builtin and then its argument prototype would still apply.  */
1556
1381
 char $ac_func();
1557
 
@@ -5234,17 +5266,17 @@
 
1382
@@ -5177,17 +5209,17 @@
1558
1383
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1559
1384
 choke me
1560
1385
 #else
1563
1388
 
1564
1389
 ; return 0; }
1565
1390
 EOF
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
 
1391
-if { (eval echo configure:5186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1392
+if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1568
1393
   rm -rf conftest*
1569
1394
   eval "ac_cv_func_$ac_func=yes"
1570
1395
 else
1573
1398
   rm -rf conftest*
1574
1399
   eval "ac_cv_func_$ac_func=no"
1575
1400
 fi
1576
 
@@ -5275,17 +5307,17 @@
 
1401
@@ -5218,17 +5250,17 @@
1577
1402
 fi
1578
1403
 
1579
1404
 
1582
1407
 if test -z "$GNU_CC"; then
1583
1408
 
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
1589
1414
 else
1592
1417
         echo 'int main() { return 0; }' | cat > conftest.c
1593
1418
         ${CC-cc} ${CFLAGS} +Olit=all -o conftest conftest.c > conftest.out 2>&1
1594
1419
         if test $? -eq 0; then
1595
 
@@ -5314,17 +5346,17 @@
 
1420
@@ -5257,17 +5289,17 @@
1596
1421
 
1597
1422
 case "$target_os" in
1598
1423
 darwin*)
1601
1426
 *)
1602
1427
     
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
1606
1431
 echo "
1607
1432
     #include <pthread.h> 
1608
1433
     void *foo(void *v) { return v; } 
1611
1436
         if (!pthread_create(&t, 0, &foo, 0)) {
1612
1437
             pthread_join(t, 0);
1613
1438
         }
1614
 
@@ -5336,17 +5368,17 @@
 
1439
@@ -5279,17 +5311,17 @@
1615
1440
     rm -f dummy.c dummy${ac_exeext} ;
1616
1441
     if test "$_res" = "0"; then
1617
1442
         echo "$ac_t""yes" 1>&6
1620
1445
         echo "$ac_t""no" 1>&6
1621
1446
         
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
1625
1450
 echo "
1626
1451
     #include <pthread.h> 
1627
1452
     void *foo(void *v) { return v; } 
1630
1455
         if (!pthread_create(&t, 0, &foo, 0)) {
1631
1456
             pthread_join(t, 0);
1632
1457
         }
1633
 
@@ -5358,17 +5390,17 @@
 
1458
@@ -5301,17 +5333,17 @@
1634
1459
     rm -f dummy.c dummy${ac_exeext} ;
1635
1460
     if test "$_res" = "0"; then
1636
1461
         echo "$ac_t""yes" 1>&6
1639
1464
         echo "$ac_t""no" 1>&6
1640
1465
         
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
1644
1469
 echo "
1645
1470
     #include <pthread.h> 
1646
1471
     void *foo(void *v) { return v; } 
1649
1474
         if (!pthread_create(&t, 0, &foo, 0)) {
1650
1475
             pthread_join(t, 0);
1651
1476
         }
1652
 
@@ -5380,17 +5412,17 @@
 
1477
@@ -5323,17 +5355,17 @@
1653
1478
     rm -f dummy.c dummy${ac_exeext} ;
1654
1479
     if test "$_res" = "0"; then
1655
1480
         echo "$ac_t""yes" 1>&6
1658
1483
         echo "$ac_t""no" 1>&6
1659
1484
         
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
1663
1488
 echo "
1664
1489
     #include <pthread.h> 
1665
1490
     void *foo(void *v) { return v; } 
1668
1493
         if (!pthread_create(&t, 0, &foo, 0)) {
1669
1494
             pthread_join(t, 0);
1670
1495
         }
1671
 
@@ -5525,17 +5557,17 @@
 
1496
@@ -5455,17 +5487,17 @@
1672
1497
     fi
1673
1498
 fi
1674
1499
 
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
1687
1512
                case "$target_os" in
1688
1513
            freebsd*)
1689
1514
 # Freebsd doesn't use -pthread for compiles, it uses them for linking
1690
 
@@ -5548,17 +5580,17 @@
 
1515
@@ -5478,17 +5510,17 @@
1691
1516
        fi
1692
1517
     fi
1693
1518
     rm -f conftest*
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
1706
1531
                            CFLAGS="$CFLAGS -pthreads"
1707
1532
                            CXXFLAGS="$CXXFLAGS -pthreads"
1708
1533
                    fi
1709
 
@@ -5975,16 +6007,17 @@
 
1534
@@ -5894,16 +5926,17 @@
1710
1535
 
1711
1536
 MAKEFILES="
1712
1537
 Makefile 
1724
1549
 lib/tests/Makefile
1725
1550
 pkg/Makefile
1726
1551
 pkg/linux/Makefile
1727
 
@@ -6092,17 +6125,17 @@
 
1552
@@ -6011,17 +6044,17 @@
1728
1553
 # Protect against Makefile macro expansion.
1729
1554
 cat > conftest.defs <<\EOF
1730
1555
 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g