~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to debian/patches/99_configure.patch

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-05-21 14:50:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080521145002-cr27w44je0vttvwb
Tags: 4.7.1+1.9-0ubuntu1
* New upstream release, picked from FIREFOX_3_0rc1_RELEASE cvs tag
  (LP: #233922)
* update diverged patches
  - update debian/patches/30_pkgconfig.patch
  - update debian/patches/81_sonames.patch
  - update debian/patches/99_configure.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 mozilla/nsprpub/configure |  255 +++++++++++++++++++++++++---------------------
3
3
 1 file changed, 144 insertions(+), 111 deletions(-)
4
4
 
5
 
Index: nspr-4.7.1~beta~~cvs20080310t1054/mozilla/nsprpub/configure
 
5
Index: nspr-4.7.1+1.9/mozilla/nsprpub/configure
6
6
===================================================================
7
 
--- nspr-4.7.1~beta~~cvs20080310t1054.orig/mozilla/nsprpub/configure
8
 
+++ nspr-4.7.1~beta~~cvs20080310t1054/mozilla/nsprpub/configure
9
 
@@ -36,7 +36,7 @@
 
7
--- nspr-4.7.1+1.9.orig/mozilla/nsprpub/configure
 
8
+++ nspr-4.7.1+1.9/mozilla/nsprpub/configure
 
9
@@ -31,17 +31,17 @@
 
10
 ac_help="$ac_help
 
11
   --enable-win32-target=\$t
 
12
                           Specify win32 flavor. (WIN95 or WINNT)"
 
13
 ac_help="$ac_help
 
14
   --enable-debug-rtl      Use the MSVC debug runtime library"
10
15
 ac_help="$ac_help
11
16
   --enable-n32            Enable n32 ABI support (IRIX only)"
12
17
 ac_help="$ac_help
15
20
 ac_help="$ac_help
16
21
   --enable-mdupdate       Enable use of certain compilers' mdupdate feature"
17
22
 ac_help="$ac_help
18
 
@@ -696,7 +696,7 @@
 
23
   --enable-cplus          Enable some c++ api routines"
 
24
 ac_help="$ac_help
 
25
   --with-arm-kuser        Use kuser helpers (Linux/ARM only)
 
26
                           (Requires kernel 2.6.13 or later)"
 
27
 ac_help="$ac_help
 
28
@@ -694,17 +694,17 @@
 
29
 MOD_MINOR_VERSION=7
 
30
 MOD_PATCH_VERSION=1
 
31
 NSPR_MODNAME=nspr20
 
32
 _HAVE_PTHREADS=
 
33
 USE_PTHREADS=
19
34
 USE_USER_PTHREADS=
20
35
 USE_NSPR_THREADS=
21
36
 USE_N32=
24
39
 USE_CPLUS=
25
40
 USE_IPV6=
26
41
 USE_MDUPDATE=
27
 
@@ -916,12 +916,44 @@
 
42
 _MACOSX_DEPLOYMENT_TARGET=
 
43
 _OPTIMIZE_FLAGS=-O
 
44
 _DEBUG_FLAGS=-g
 
45
 MOZ_DEBUG=1
 
46
 MOZ_OPTIMIZE=
 
47
@@ -915,22 +915,54 @@
 
48
       fi
 
49
     fi 
 
50
 fi
 
51
 
 
52
 
28
53
 # Check whether --enable-64bit or --disable-64bit was given.
29
54
 if test "${enable_64bit+set}" = set; then
30
55
   enableval="$enable_64bit"
39
64
 
40
65
+if test "${USE_64}"; then
41
66
+    echo $ac_n "checking for 64-bit OS""... $ac_c" 1>&6
42
 
+echo "configure:930: checking for 64-bit OS" >&5
 
67
+echo "configure:934: checking for 64-bit OS" >&5
43
68
+    cat > conftest.$ac_ext <<EOF
44
 
+#line 932 "configure"
 
69
+#line 936 "configure"
45
70
+#include "confdefs.h"
46
71
+
47
72
+int main() {
48
73
+int assert[(sizeof(long) == 8) ? 1: -1]
49
74
+; return 0; }
50
75
+EOF
51
 
+if { (eval echo configure:939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
76
+if { (eval echo configure:943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
52
77
+  rm -rf conftest*
53
78
+  result="yes"
54
79
+else
70
95
 # Check whether --enable-mdupdate or --disable-mdupdate was given.
71
96
 if test "${enable_mdupdate+set}" = set; then
72
97
   enableval="$enable_mdupdate"
73
 
@@ -1051,7 +1083,7 @@
 
98
    if test "$enableval" = "yes"; then
 
99
            USE_MDUPDATE=1
 
100
       fi 
 
101
 fi
 
102
 
 
103
@@ -1062,17 +1094,17 @@
 
104
 
 
105
     esac
 
106
 fi
 
107
 
 
108
 if test -z "$SKIP_PATH_CHECKS"; then
74
109
     # Extract the first word of "$WHOAMI whoami", so it can be a program name with args.
75
110
 set dummy $WHOAMI whoami; ac_word=$2
76
111
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
77
 
-echo "configure:1055: checking for $ac_word" >&5
78
 
+echo "configure:1087: checking for $ac_word" >&5
 
112
-echo "configure:1071: checking for $ac_word" >&5
 
113
+echo "configure:1103: checking for $ac_word" >&5
79
114
 if eval "test \"`echo '$''{'ac_cv_path_WHOAMI'+set}'`\" = set"; then
80
115
   echo $ac_n "(cached) $ac_c" 1>&6
81
116
 else
82
 
@@ -1122,13 +1154,13 @@
 
117
   case "$WHOAMI" in
 
118
   /*)
 
119
   ac_cv_path_WHOAMI="$WHOAMI" # Let the user override the test with a path.
 
120
   ;;
 
121
   ?:/*)                         
 
122
@@ -1133,23 +1165,23 @@
 
123
     echo "cross compiling from $host to $target"
 
124
     cross_compiling=yes
 
125
 
 
126
     _SAVE_CC="$CC"
 
127
     _SAVE_CFLAGS="$CFLAGS"
83
128
     _SAVE_LDFLAGS="$LDFLAGS"
84
129
 
85
130
     echo $ac_n "checking for $host compiler""... $ac_c" 1>&6
86
 
-echo "configure:1126: checking for $host compiler" >&5
87
 
+echo "configure:1158: checking for $host compiler" >&5
 
131
-echo "configure:1142: checking for $host compiler" >&5
 
132
+echo "configure:1174: checking for $host compiler" >&5
88
133
     for ac_prog in $HOST_CC gcc cc /usr/ucb/cc
89
134
 do
90
135
 # Extract the first word of "$ac_prog", so it can be a program name with args.
91
136
 set dummy $ac_prog; ac_word=$2
92
137
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
93
 
-echo "configure:1132: checking for $ac_word" >&5
94
 
+echo "configure:1164: checking for $ac_word" >&5
 
138
-echo "configure:1148: checking for $ac_word" >&5
 
139
+echo "configure:1180: checking for $ac_word" >&5
95
140
 if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
96
141
   echo $ac_n "(cached) $ac_c" 1>&6
97
142
 else
98
 
@@ -1174,16 +1206,16 @@
 
143
   if test -n "$HOST_CC"; then
 
144
   ac_cv_prog_HOST_CC="$HOST_CC" # Let the user override the test.
 
145
 else
 
146
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
147
   ac_dummy="$PATH"
 
148
@@ -1185,26 +1217,26 @@
 
149
         HOST_LDFLAGS="$LDFLAGS"
 
150
     fi
 
151
 
 
152
     CC="$HOST_CC"
 
153
     CFLAGS="$HOST_CFLAGS"
99
154
     LDFLAGS="$HOST_LDFLAGS"
100
155
 
101
156
     echo $ac_n "checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
102
 
-echo "configure:1178: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
103
 
+echo "configure:1210: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
 
157
-echo "configure:1194: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
 
158
+echo "configure:1226: checking whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
104
159
     cat > conftest.$ac_ext <<EOF
105
 
-#line 1180 "configure"
106
 
+#line 1212 "configure"
 
160
-#line 1196 "configure"
 
161
+#line 1228 "configure"
107
162
 #include "confdefs.h"
108
163
 
109
164
 int main() {
110
165
 return(0);
111
166
 ; return 0; }
112
167
 EOF
113
 
-if { (eval echo configure:1187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
114
 
+if { (eval echo configure:1219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
168
-if { (eval echo configure:1203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
169
+if { (eval echo configure:1235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
115
170
   rm -rf conftest*
116
171
   ac_cv_prog_host_cc_works=1 echo "$ac_t""yes" 1>&6
117
172
 else
118
 
@@ -1212,7 +1244,7 @@
 
173
   echo "configure: failed program was:" >&5
 
174
   cat conftest.$ac_ext >&5
 
175
   rm -rf conftest*
 
176
   { echo "configure: error: installation or configuration problem: $host compiler $HOST_CC cannot create executables." 1>&2; exit 1; } 
 
177
 fi
 
178
@@ -1223,17 +1255,17 @@
 
179
         ;;        
 
180
     esac            
 
181
 
 
182
     for ac_prog in $CC "${target_alias}-gcc" "${target}-gcc"
 
183
 do
119
184
 # Extract the first word of "$ac_prog", so it can be a program name with args.
120
185
 set dummy $ac_prog; ac_word=$2
121
186
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
122
 
-echo "configure:1216: checking for $ac_word" >&5
123
 
+echo "configure:1248: checking for $ac_word" >&5
 
187
-echo "configure:1232: checking for $ac_word" >&5
 
188
+echo "configure:1264: checking for $ac_word" >&5
124
189
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
125
190
   echo $ac_n "(cached) $ac_c" 1>&6
126
191
 else
127
 
@@ -1246,7 +1278,7 @@
 
192
   if test -n "$CC"; then
 
193
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
194
 else
 
195
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
196
   ac_dummy="$PATH"
 
197
@@ -1257,17 +1289,17 @@
 
198
 test -n "$CC" && break
 
199
 done
 
200
 test -n "$CC" || CC="echo"
 
201
 
 
202
     unset ac_cv_prog_CC
128
203
     # Extract the first word of "gcc", so it can be a program name with args.
129
204
 set dummy gcc; ac_word=$2
130
205
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
131
 
-echo "configure:1250: checking for $ac_word" >&5
132
 
+echo "configure:1282: checking for $ac_word" >&5
 
206
-echo "configure:1266: checking for $ac_word" >&5
 
207
+echo "configure:1298: checking for $ac_word" >&5
133
208
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
134
209
   echo $ac_n "(cached) $ac_c" 1>&6
135
210
 else
136
 
@@ -1276,7 +1308,7 @@
 
211
   if test -n "$CC"; then
 
212
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
213
 else
 
214
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
215
   ac_dummy="$PATH"
 
216
@@ -1287,17 +1319,17 @@
 
217
 else
 
218
   echo "$ac_t""no" 1>&6
 
219
 fi
 
220
 
 
221
 if test -z "$CC"; then
137
222
   # Extract the first word of "cc", so it can be a program name with args.
138
223
 set dummy cc; ac_word=$2
139
224
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
140
 
-echo "configure:1280: checking for $ac_word" >&5
141
 
+echo "configure:1312: checking for $ac_word" >&5
 
225
-echo "configure:1296: checking for $ac_word" >&5
 
226
+echo "configure:1328: checking for $ac_word" >&5
142
227
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
143
228
   echo $ac_n "(cached) $ac_c" 1>&6
144
229
 else
145
 
@@ -1327,7 +1359,7 @@
 
230
   if test -n "$CC"; then
 
231
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
232
 else
 
233
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
234
   ac_prog_rejected=no
 
235
@@ -1338,17 +1370,17 @@
 
236
 fi
 
237
 
 
238
   if test -z "$CC"; then
 
239
     case "`uname -s`" in
 
240
     *win32* | *WIN32*)
146
241
       # Extract the first word of "cl", so it can be a program name with args.
147
242
 set dummy cl; ac_word=$2
148
243
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
149
 
-echo "configure:1331: checking for $ac_word" >&5
150
 
+echo "configure:1363: checking for $ac_word" >&5
 
244
-echo "configure:1347: checking for $ac_word" >&5
 
245
+echo "configure:1379: checking for $ac_word" >&5
151
246
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
152
247
   echo $ac_n "(cached) $ac_c" 1>&6
153
248
 else
154
 
@@ -1359,7 +1391,7 @@
 
249
   if test -n "$CC"; then
 
250
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
251
 else
 
252
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
253
   ac_dummy="$PATH"
 
254
@@ -1370,33 +1402,33 @@
 
255
 fi
 
256
  ;;
 
257
     esac
 
258
   fi
 
259
   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
155
260
 fi
156
261
 
157
262
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
158
 
-echo "configure:1363: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
159
 
+echo "configure:1395: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
263
-echo "configure:1379: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
264
+echo "configure:1411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
160
265
 
161
266
 ac_ext=c
162
267
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
163
 
@@ -1370,12 +1402,12 @@
 
268
 ac_cpp='$CPP $CPPFLAGS'
 
269
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
270
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
271
 cross_compiling=$ac_cv_prog_cc_cross
164
272
 
165
273
 cat > conftest.$ac_ext << EOF
166
274
 
167
 
-#line 1374 "configure"
168
 
+#line 1406 "configure"
 
275
-#line 1390 "configure"
 
276
+#line 1422 "configure"
169
277
 #include "confdefs.h"
170
278
 
171
279
 main(){return(0);}
172
280
 EOF
173
 
-if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
174
 
+if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
281
-if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
282
+if { (eval echo configure:1427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
175
283
   ac_cv_prog_cc_works=yes
176
284
   # If we can't run a trivial program, we are probably using a cross compiler.
177
285
   if (./conftest; exit) 2>/dev/null; then
178
 
@@ -1401,12 +1433,12 @@
 
286
     ac_cv_prog_cc_cross=no
 
287
   else
 
288
     ac_cv_prog_cc_cross=yes
 
289
   fi
 
290
 else
 
291
@@ -1412,31 +1444,31 @@
 
292
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
293
 cross_compiling=$ac_cv_prog_cc_cross
 
294
 
 
295
 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
 
296
 if test $ac_cv_prog_cc_works = no; then
179
297
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
180
298
 fi
181
299
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
182
 
-echo "configure:1405: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
183
 
+echo "configure:1437: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
300
-echo "configure:1421: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
301
+echo "configure:1453: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
184
302
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
185
303
 cross_compiling=$ac_cv_prog_cc_cross
186
304
 
187
305
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
188
 
-echo "configure:1410: checking whether we are using GNU C" >&5
189
 
+echo "configure:1442: checking whether we are using GNU C" >&5
 
306
-echo "configure:1426: checking whether we are using GNU C" >&5
 
307
+echo "configure:1458: checking whether we are using GNU C" >&5
190
308
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
191
309
   echo $ac_n "(cached) $ac_c" 1>&6
192
310
 else
193
 
@@ -1415,7 +1447,7 @@
 
311
   cat > conftest.c <<EOF
 
312
 #ifdef __GNUC__
194
313
   yes;
195
314
 #endif
196
315
 EOF
197
 
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
198
 
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
316
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
317
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
199
318
   ac_cv_prog_gcc=yes
200
319
 else
201
320
   ac_cv_prog_gcc=no
202
 
@@ -1434,7 +1466,7 @@
 
321
 fi
 
322
 fi
 
323
 
 
324
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 
325
 
 
326
@@ -1445,17 +1477,17 @@
 
327
 else
 
328
   GCC=
 
329
 fi
 
330
 
 
331
 ac_test_CFLAGS="${CFLAGS+set}"
203
332
 ac_save_CFLAGS="$CFLAGS"
204
333
 CFLAGS=
205
334
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
206
 
-echo "configure:1438: checking whether ${CC-cc} accepts -g" >&5
207
 
+echo "configure:1470: checking whether ${CC-cc} accepts -g" >&5
 
335
-echo "configure:1454: checking whether ${CC-cc} accepts -g" >&5
 
336
+echo "configure:1486: checking whether ${CC-cc} accepts -g" >&5
208
337
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
209
338
   echo $ac_n "(cached) $ac_c" 1>&6
210
339
 else
211
 
@@ -1471,7 +1503,7 @@
212
 
 # Extract the first word of "$ac_prog", so it can be a program name with args.
213
 
 set dummy $ac_prog; ac_word=$2
214
 
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
215
 
-echo "configure:1475: checking for $ac_word" >&5
216
 
+echo "configure:1507: checking for $ac_word" >&5
217
 
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
218
 
   echo $ac_n "(cached) $ac_c" 1>&6
219
 
 else
220
 
@@ -1507,7 +1539,7 @@
221
 
 # Extract the first word of "$ac_prog", so it can be a program name with args.
222
 
 set dummy $ac_prog; ac_word=$2
223
 
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
224
 
-echo "configure:1511: checking for $ac_word" >&5
225
 
+echo "configure:1543: checking for $ac_word" >&5
226
 
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
227
 
   echo $ac_n "(cached) $ac_c" 1>&6
228
 
 else
229
 
@@ -1539,7 +1571,7 @@
 
340
   echo 'void f(){}' > conftest.c
 
341
 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 
342
   ac_cv_prog_cc_g=yes
 
343
 else
 
344
   ac_cv_prog_cc_g=no
 
345
@@ -1482,17 +1514,17 @@
 
346
 fi
 
347
 
 
348
     if test -n "$USE_CPLUS"; then
 
349
         for ac_prog in $CXX "${target_alias}-g++" "${target}-g++"
 
350
 do
 
351
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 
352
 set dummy $ac_prog; ac_word=$2
 
353
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
354
-echo "configure:1491: checking for $ac_word" >&5
 
355
+echo "configure:1523: checking for $ac_word" >&5
 
356
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
 
357
   echo $ac_n "(cached) $ac_c" 1>&6
 
358
 else
 
359
   if test -n "$CXX"; then
 
360
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
361
 else
 
362
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
363
   ac_dummy="$PATH"
 
364
@@ -1518,17 +1550,17 @@
 
365
 test -n "$CXX" || CXX="echo"
 
366
 
 
367
         unset ac_cv_prog_CXX
 
368
         for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 
369
 do
 
370
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 
371
 set dummy $ac_prog; ac_word=$2
 
372
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
373
-echo "configure:1527: checking for $ac_word" >&5
 
374
+echo "configure:1559: checking for $ac_word" >&5
 
375
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
 
376
   echo $ac_n "(cached) $ac_c" 1>&6
 
377
 else
 
378
   if test -n "$CXX"; then
 
379
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
380
 else
 
381
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
382
   ac_dummy="$PATH"
 
383
@@ -1550,33 +1582,33 @@
 
384
 fi
 
385
 
 
386
 test -n "$CXX" && break
 
387
 done
 
388
 test -n "$CXX" || CXX="gcc"
230
389
 
231
390
 
232
391
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
233
 
-echo "configure:1543: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
234
 
+echo "configure:1575: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
392
-echo "configure:1559: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
393
+echo "configure:1591: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
235
394
 
236
395
 ac_ext=C
237
396
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
238
 
@@ -1550,12 +1582,12 @@
 
397
 ac_cpp='$CXXCPP $CPPFLAGS'
 
398
 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
399
 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
400
 cross_compiling=$ac_cv_prog_cxx_cross
239
401
 
240
402
 cat > conftest.$ac_ext << EOF
241
403
 
242
 
-#line 1554 "configure"
243
 
+#line 1586 "configure"
 
404
-#line 1570 "configure"
 
405
+#line 1602 "configure"
244
406
 #include "confdefs.h"
245
407
 
246
408
 int main(){return(0);}
247
409
 EOF
248
 
-if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
249
 
+if { (eval echo configure:1591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
410
-if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
411
+if { (eval echo configure:1607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
250
412
   ac_cv_prog_cxx_works=yes
251
413
   # If we can't run a trivial program, we are probably using a cross compiler.
252
414
   if (./conftest; exit) 2>/dev/null; then
253
 
@@ -1581,12 +1613,12 @@
 
415
     ac_cv_prog_cxx_cross=no
 
416
   else
 
417
     ac_cv_prog_cxx_cross=yes
 
418
   fi
 
419
 else
 
420
@@ -1592,31 +1624,31 @@
 
421
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
422
 cross_compiling=$ac_cv_prog_cc_cross
 
423
 
 
424
 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
 
425
 if test $ac_cv_prog_cxx_works = no; then
254
426
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
255
427
 fi
256
428
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
257
 
-echo "configure:1585: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
258
 
+echo "configure:1617: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 
429
-echo "configure:1601: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 
430
+echo "configure:1633: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
259
431
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
260
432
 cross_compiling=$ac_cv_prog_cxx_cross
261
433
 
262
434
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
263
 
-echo "configure:1590: checking whether we are using GNU C++" >&5
264
 
+echo "configure:1622: checking whether we are using GNU C++" >&5
 
435
-echo "configure:1606: checking whether we are using GNU C++" >&5
 
436
+echo "configure:1638: checking whether we are using GNU C++" >&5
265
437
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
266
438
   echo $ac_n "(cached) $ac_c" 1>&6
267
439
 else
268
 
@@ -1595,7 +1627,7 @@
 
440
   cat > conftest.C <<EOF
 
441
 #ifdef __GNUC__
269
442
   yes;
270
443
 #endif
271
444
 EOF
272
 
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
273
 
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
445
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
446
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
274
447
   ac_cv_prog_gxx=yes
275
448
 else
276
449
   ac_cv_prog_gxx=no
277
 
@@ -1614,7 +1646,7 @@
 
450
 fi
 
451
 fi
 
452
 
 
453
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
 
454
 
 
455
@@ -1625,17 +1657,17 @@
 
456
 else
 
457
   GXX=
 
458
 fi
 
459
 
 
460
 ac_test_CXXFLAGS="${CXXFLAGS+set}"
278
461
 ac_save_CXXFLAGS="$CXXFLAGS"
279
462
 CXXFLAGS=
280
463
 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
281
 
-echo "configure:1618: checking whether ${CXX-g++} accepts -g" >&5
282
 
+echo "configure:1650: checking whether ${CXX-g++} accepts -g" >&5
 
464
-echo "configure:1634: checking whether ${CXX-g++} accepts -g" >&5
 
465
+echo "configure:1666: checking whether ${CXX-g++} accepts -g" >&5
283
466
 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
284
467
   echo $ac_n "(cached) $ac_c" 1>&6
285
468
 else
286
 
@@ -1659,7 +1691,7 @@
 
469
   echo 'void f(){}' > conftest.cc
 
470
 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
 
471
   ac_cv_prog_cxx_g=yes
 
472
 else
 
473
   ac_cv_prog_cxx_g=no
 
474
@@ -1670,17 +1702,17 @@
 
475
         ;;
 
476
     esac
 
477
 
 
478
     for ac_prog in $RANLIB "${target_alias}-ranlib" "${target}-ranlib"
 
479
 do
287
480
 # Extract the first word of "$ac_prog", so it can be a program name with args.
288
481
 set dummy $ac_prog; ac_word=$2
289
482
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
290
 
-echo "configure:1663: checking for $ac_word" >&5
291
 
+echo "configure:1695: checking for $ac_word" >&5
 
483
-echo "configure:1679: checking for $ac_word" >&5
 
484
+echo "configure:1711: checking for $ac_word" >&5
292
485
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
293
486
   echo $ac_n "(cached) $ac_c" 1>&6
294
487
 else
295
 
@@ -1694,7 +1726,7 @@
 
488
   if test -n "$RANLIB"; then
 
489
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
490
 else
 
491
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
492
   ac_dummy="$PATH"
 
493
@@ -1705,17 +1737,17 @@
 
494
 done
 
495
 test -n "$RANLIB" || RANLIB="echo"
 
496
 
 
497
     for ac_prog in $AR "${target_alias}-ar" "${target}-ar"
 
498
 do
296
499
 # Extract the first word of "$ac_prog", so it can be a program name with args.
297
500
 set dummy $ac_prog; ac_word=$2
298
501
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
299
 
-echo "configure:1698: checking for $ac_word" >&5
300
 
+echo "configure:1730: checking for $ac_word" >&5
 
502
-echo "configure:1714: checking for $ac_word" >&5
 
503
+echo "configure:1746: checking for $ac_word" >&5
301
504
 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
302
505
   echo $ac_n "(cached) $ac_c" 1>&6
303
506
 else
304
 
@@ -1729,7 +1761,7 @@
 
507
   if test -n "$AR"; then
 
508
   ac_cv_prog_AR="$AR" # Let the user override the test.
 
509
 else
 
510
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
511
   ac_dummy="$PATH"
 
512
@@ -1740,17 +1772,17 @@
 
513
 done
 
514
 test -n "$AR" || AR="echo"
 
515
 
 
516
     for ac_prog in $AS "${target_alias}-as" "${target}-as"
 
517
 do
305
518
 # Extract the first word of "$ac_prog", so it can be a program name with args.
306
519
 set dummy $ac_prog; ac_word=$2
307
520
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
308
 
-echo "configure:1733: checking for $ac_word" >&5
309
 
+echo "configure:1765: checking for $ac_word" >&5
 
521
-echo "configure:1749: checking for $ac_word" >&5
 
522
+echo "configure:1781: checking for $ac_word" >&5
310
523
 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
311
524
   echo $ac_n "(cached) $ac_c" 1>&6
312
525
 else
313
 
@@ -1764,7 +1796,7 @@
 
526
   if test -n "$AS"; then
 
527
   ac_cv_prog_AS="$AS" # Let the user override the test.
 
528
 else
 
529
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
530
   ac_dummy="$PATH"
 
531
@@ -1775,17 +1807,17 @@
 
532
 done
 
533
 test -n "$AS" || AS="echo"
 
534
 
 
535
     for ac_prog in $LD "${target_alias}-ld" "${target}-ld"
 
536
 do
314
537
 # Extract the first word of "$ac_prog", so it can be a program name with args.
315
538
 set dummy $ac_prog; ac_word=$2
316
539
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
317
 
-echo "configure:1768: checking for $ac_word" >&5
318
 
+echo "configure:1800: checking for $ac_word" >&5
 
540
-echo "configure:1784: checking for $ac_word" >&5
 
541
+echo "configure:1816: checking for $ac_word" >&5
319
542
 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
320
543
   echo $ac_n "(cached) $ac_c" 1>&6
321
544
 else
322
 
@@ -1799,7 +1831,7 @@
 
545
   if test -n "$LD"; then
 
546
   ac_cv_prog_LD="$LD" # Let the user override the test.
 
547
 else
 
548
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
549
   ac_dummy="$PATH"
 
550
@@ -1810,17 +1842,17 @@
 
551
 done
 
552
 test -n "$LD" || LD="echo"
 
553
 
 
554
     for ac_prog in $STRIP "${target_alias}-strip" "${target}-strip"
 
555
 do
323
556
 # Extract the first word of "$ac_prog", so it can be a program name with args.
324
557
 set dummy $ac_prog; ac_word=$2
325
558
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
326
 
-echo "configure:1803: checking for $ac_word" >&5
327
 
+echo "configure:1835: checking for $ac_word" >&5
 
559
-echo "configure:1819: checking for $ac_word" >&5
 
560
+echo "configure:1851: checking for $ac_word" >&5
328
561
 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
329
562
   echo $ac_n "(cached) $ac_c" 1>&6
330
563
 else
331
 
@@ -1834,7 +1866,7 @@
 
564
   if test -n "$STRIP"; then
 
565
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
566
 else
 
567
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
568
   ac_dummy="$PATH"
 
569
@@ -1845,17 +1877,17 @@
 
570
 done
 
571
 test -n "$STRIP" || STRIP="echo"
 
572
 
 
573
     for ac_prog in $WINDRES "${target_alias}-windres" "${target}-windres"
 
574
 do
332
575
 # Extract the first word of "$ac_prog", so it can be a program name with args.
333
576
 set dummy $ac_prog; ac_word=$2
334
577
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
335
 
-echo "configure:1838: checking for $ac_word" >&5
336
 
+echo "configure:1870: checking for $ac_word" >&5
 
578
-echo "configure:1854: checking for $ac_word" >&5
 
579
+echo "configure:1886: checking for $ac_word" >&5
337
580
 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
338
581
   echo $ac_n "(cached) $ac_c" 1>&6
339
582
 else
340
 
@@ -1869,7 +1901,7 @@
 
583
   if test -n "$WINDRES"; then
 
584
   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
 
585
 else
 
586
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
587
   ac_dummy="$PATH"
 
588
@@ -1880,17 +1912,17 @@
 
589
 done
 
590
 test -n "$WINDRES" || WINDRES="echo"
 
591
 
 
592
 
 
593
 else
341
594
     # Extract the first word of "gcc", so it can be a program name with args.
342
595
 set dummy gcc; ac_word=$2
343
596
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
344
 
-echo "configure:1873: checking for $ac_word" >&5
345
 
+echo "configure:1905: checking for $ac_word" >&5
 
597
-echo "configure:1889: checking for $ac_word" >&5
 
598
+echo "configure:1921: checking for $ac_word" >&5
346
599
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
347
600
   echo $ac_n "(cached) $ac_c" 1>&6
348
601
 else
349
 
@@ -1899,7 +1931,7 @@
 
602
   if test -n "$CC"; then
 
603
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
604
 else
 
605
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
606
   ac_dummy="$PATH"
 
607
@@ -1910,17 +1942,17 @@
 
608
 else
 
609
   echo "$ac_t""no" 1>&6
 
610
 fi
 
611
 
 
612
 if test -z "$CC"; then
350
613
   # Extract the first word of "cc", so it can be a program name with args.
351
614
 set dummy cc; ac_word=$2
352
615
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
353
 
-echo "configure:1903: checking for $ac_word" >&5
354
 
+echo "configure:1935: checking for $ac_word" >&5
 
616
-echo "configure:1919: checking for $ac_word" >&5
 
617
+echo "configure:1951: checking for $ac_word" >&5
355
618
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
356
619
   echo $ac_n "(cached) $ac_c" 1>&6
357
620
 else
358
 
@@ -1950,7 +1982,7 @@
 
621
   if test -n "$CC"; then
 
622
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
623
 else
 
624
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
625
   ac_prog_rejected=no
 
626
@@ -1961,17 +1993,17 @@
 
627
 fi
 
628
 
 
629
   if test -z "$CC"; then
 
630
     case "`uname -s`" in
 
631
     *win32* | *WIN32*)
359
632
       # Extract the first word of "cl", so it can be a program name with args.
360
633
 set dummy cl; ac_word=$2
361
634
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
362
 
-echo "configure:1954: checking for $ac_word" >&5
363
 
+echo "configure:1986: checking for $ac_word" >&5
 
635
-echo "configure:1970: checking for $ac_word" >&5
 
636
+echo "configure:2002: checking for $ac_word" >&5
364
637
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
365
638
   echo $ac_n "(cached) $ac_c" 1>&6
366
639
 else
367
 
@@ -1982,7 +2014,7 @@
 
640
   if test -n "$CC"; then
 
641
   ac_cv_prog_CC="$CC" # Let the user override the test.
 
642
 else
 
643
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
644
   ac_dummy="$PATH"
 
645
@@ -1993,33 +2025,33 @@
 
646
 fi
 
647
  ;;
 
648
     esac
 
649
   fi
 
650
   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
368
651
 fi
369
652
 
370
653
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
371
 
-echo "configure:1986: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
372
 
+echo "configure:2018: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
654
-echo "configure:2002: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
655
+echo "configure:2034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
373
656
 
374
657
 ac_ext=c
375
658
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
376
 
@@ -1993,12 +2025,12 @@
 
659
 ac_cpp='$CPP $CPPFLAGS'
 
660
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
661
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
662
 cross_compiling=$ac_cv_prog_cc_cross
377
663
 
378
664
 cat > conftest.$ac_ext << EOF
379
665
 
380
 
-#line 1997 "configure"
381
 
+#line 2029 "configure"
 
666
-#line 2013 "configure"
 
667
+#line 2045 "configure"
382
668
 #include "confdefs.h"
383
669
 
384
670
 main(){return(0);}
385
671
 EOF
386
 
-if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
387
 
+if { (eval echo configure:2034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
672
-if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
673
+if { (eval echo configure:2050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
388
674
   ac_cv_prog_cc_works=yes
389
675
   # If we can't run a trivial program, we are probably using a cross compiler.
390
676
   if (./conftest; exit) 2>/dev/null; then
391
 
@@ -2024,12 +2056,12 @@
 
677
     ac_cv_prog_cc_cross=no
 
678
   else
 
679
     ac_cv_prog_cc_cross=yes
 
680
   fi
 
681
 else
 
682
@@ -2035,31 +2067,31 @@
 
683
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
684
 cross_compiling=$ac_cv_prog_cc_cross
 
685
 
 
686
 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
 
687
 if test $ac_cv_prog_cc_works = no; then
392
688
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
393
689
 fi
394
690
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
395
 
-echo "configure:2028: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
396
 
+echo "configure:2060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
691
-echo "configure:2044: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 
692
+echo "configure:2076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
397
693
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
398
694
 cross_compiling=$ac_cv_prog_cc_cross
399
695
 
400
696
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
401
 
-echo "configure:2033: checking whether we are using GNU C" >&5
402
 
+echo "configure:2065: checking whether we are using GNU C" >&5
 
697
-echo "configure:2049: checking whether we are using GNU C" >&5
 
698
+echo "configure:2081: checking whether we are using GNU C" >&5
403
699
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
404
700
   echo $ac_n "(cached) $ac_c" 1>&6
405
701
 else
406
 
@@ -2038,7 +2070,7 @@
 
702
   cat > conftest.c <<EOF
 
703
 #ifdef __GNUC__
407
704
   yes;
408
705
 #endif
409
706
 EOF
410
 
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
411
 
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
707
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
708
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
412
709
   ac_cv_prog_gcc=yes
413
710
 else
414
711
   ac_cv_prog_gcc=no
415
 
@@ -2057,7 +2089,7 @@
 
712
 fi
 
713
 fi
 
714
 
 
715
 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 
716
 
 
717
@@ -2068,17 +2100,17 @@
 
718
 else
 
719
   GCC=
 
720
 fi
 
721
 
 
722
 ac_test_CFLAGS="${CFLAGS+set}"
416
723
 ac_save_CFLAGS="$CFLAGS"
417
724
 CFLAGS=
418
725
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
419
 
-echo "configure:2061: checking whether ${CC-cc} accepts -g" >&5
420
 
+echo "configure:2093: checking whether ${CC-cc} accepts -g" >&5
 
726
-echo "configure:2077: checking whether ${CC-cc} accepts -g" >&5
 
727
+echo "configure:2109: checking whether ${CC-cc} accepts -g" >&5
421
728
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
422
729
   echo $ac_n "(cached) $ac_c" 1>&6
423
730
 else
424
 
@@ -2097,7 +2129,7 @@
 
731
   echo 'void f(){}' > conftest.c
 
732
 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 
733
   ac_cv_prog_cc_g=yes
 
734
 else
 
735
   ac_cv_prog_cc_g=no
 
736
@@ -2108,17 +2140,17 @@
 
737
         if test "$CC" = "cl" -a -z "$CXX"; then
 
738
             CXX=$CC
 
739
         else        
 
740
             for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
 
741
 do
425
742
 # Extract the first word of "$ac_prog", so it can be a program name with args.
426
743
 set dummy $ac_prog; ac_word=$2
427
744
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
428
 
-echo "configure:2101: checking for $ac_word" >&5
429
 
+echo "configure:2133: checking for $ac_word" >&5
 
745
-echo "configure:2117: checking for $ac_word" >&5
 
746
+echo "configure:2149: checking for $ac_word" >&5
430
747
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
431
748
   echo $ac_n "(cached) $ac_c" 1>&6
432
749
 else
433
 
@@ -2129,7 +2161,7 @@
 
750
   if test -n "$CXX"; then
 
751
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
752
 else
 
753
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
754
   ac_dummy="$PATH"
 
755
@@ -2140,33 +2172,33 @@
 
756
 fi
 
757
 
 
758
 test -n "$CXX" && break
 
759
 done
 
760
 test -n "$CXX" || CXX="gcc"
434
761
 
435
762
 
436
763
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
437
 
-echo "configure:2133: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
438
 
+echo "configure:2165: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
764
-echo "configure:2149: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
 
765
+echo "configure:2181: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
439
766
 
440
767
 ac_ext=C
441
768
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
442
 
@@ -2140,12 +2172,12 @@
 
769
 ac_cpp='$CXXCPP $CPPFLAGS'
 
770
 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 
771
 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
772
 cross_compiling=$ac_cv_prog_cxx_cross
443
773
 
444
774
 cat > conftest.$ac_ext << EOF
445
775
 
446
 
-#line 2144 "configure"
447
 
+#line 2176 "configure"
 
776
-#line 2160 "configure"
 
777
+#line 2192 "configure"
448
778
 #include "confdefs.h"
449
779
 
450
780
 int main(){return(0);}
451
781
 EOF
452
 
-if { (eval echo configure:2149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
453
 
+if { (eval echo configure:2181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
782
-if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
783
+if { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
454
784
   ac_cv_prog_cxx_works=yes
455
785
   # If we can't run a trivial program, we are probably using a cross compiler.
456
786
   if (./conftest; exit) 2>/dev/null; then
457
 
@@ -2171,12 +2203,12 @@
 
787
     ac_cv_prog_cxx_cross=no
 
788
   else
 
789
     ac_cv_prog_cxx_cross=yes
 
790
   fi
 
791
 else
 
792
@@ -2182,31 +2214,31 @@
 
793
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 
794
 cross_compiling=$ac_cv_prog_cc_cross
 
795
 
 
796
 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
 
797
 if test $ac_cv_prog_cxx_works = no; then
458
798
   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
459
799
 fi
460
800
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
461
 
-echo "configure:2175: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
462
 
+echo "configure:2207: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 
801
-echo "configure:2191: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 
802
+echo "configure:2223: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
463
803
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
464
804
 cross_compiling=$ac_cv_prog_cxx_cross
465
805
 
466
806
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
467
 
-echo "configure:2180: checking whether we are using GNU C++" >&5
468
 
+echo "configure:2212: checking whether we are using GNU C++" >&5
 
807
-echo "configure:2196: checking whether we are using GNU C++" >&5
 
808
+echo "configure:2228: checking whether we are using GNU C++" >&5
469
809
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
470
810
   echo $ac_n "(cached) $ac_c" 1>&6
471
811
 else
472
 
@@ -2185,7 +2217,7 @@
 
812
   cat > conftest.C <<EOF
 
813
 #ifdef __GNUC__
473
814
   yes;
474
815
 #endif
475
816
 EOF
476
 
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
477
 
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
817
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 
818
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
478
819
   ac_cv_prog_gxx=yes
479
820
 else
480
821
   ac_cv_prog_gxx=no
481
 
@@ -2204,7 +2236,7 @@
 
822
 fi
 
823
 fi
 
824
 
 
825
 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
 
826
 
 
827
@@ -2215,17 +2247,17 @@
 
828
 else
 
829
   GXX=
 
830
 fi
 
831
 
 
832
 ac_test_CXXFLAGS="${CXXFLAGS+set}"
482
833
 ac_save_CXXFLAGS="$CXXFLAGS"
483
834
 CXXFLAGS=
484
835
 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
485
 
-echo "configure:2208: checking whether ${CXX-g++} accepts -g" >&5
486
 
+echo "configure:2240: checking whether ${CXX-g++} accepts -g" >&5
 
836
-echo "configure:2224: checking whether ${CXX-g++} accepts -g" >&5
 
837
+echo "configure:2256: checking whether ${CXX-g++} accepts -g" >&5
487
838
 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
488
839
   echo $ac_n "(cached) $ac_c" 1>&6
489
840
 else
490
 
@@ -2238,7 +2270,7 @@
 
841
   echo 'void f(){}' > conftest.cc
 
842
 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
 
843
   ac_cv_prog_cxx_g=yes
 
844
 else
 
845
   ac_cv_prog_cxx_g=no
 
846
@@ -2249,72 +2281,72 @@
 
847
   else
 
848
     CXXFLAGS=
 
849
   fi
 
850
 fi
 
851
 
491
852
         fi
492
853
     fi
493
854
     echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
494
 
-echo "configure:2242: checking how to run the C preprocessor" >&5
495
 
+echo "configure:2274: checking how to run the C preprocessor" >&5
 
855
-echo "configure:2258: checking how to run the C preprocessor" >&5
 
856
+echo "configure:2290: checking how to run the C preprocessor" >&5
496
857
 # On Suns, sometimes $CPP names a directory.
497
858
 if test -n "$CPP" && test -d "$CPP"; then
498
859
   CPP=
499
 
@@ -2253,13 +2285,13 @@
 
860
 fi
 
861
 if test -z "$CPP"; then
 
862
 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 
863
   echo $ac_n "(cached) $ac_c" 1>&6
 
864
 else
 
865
     # This must be in double quotes, not single quotes, because CPP may get
 
866
   # substituted into the Makefile and "${CC-cc}" will confuse make.
 
867
   CPP="${CC-cc} -E"
500
868
   # On the NeXT, cc -E runs the code through the compiler's parser,
501
869
   # not just through cpp.
502
870
   cat > conftest.$ac_ext <<EOF
503
 
-#line 2257 "configure"
504
 
+#line 2289 "configure"
 
871
-#line 2273 "configure"
 
872
+#line 2305 "configure"
505
873
 #include "confdefs.h"
506
874
 #include <assert.h>
507
875
 Syntax Error
508
876
 EOF
509
877
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
510
 
-{ (eval echo configure:2263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
511
 
+{ (eval echo configure:2295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
878
-{ (eval echo configure:2279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
879
+{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
512
880
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
513
881
 if test -z "$ac_err"; then
514
882
   :
515
 
@@ -2270,13 +2302,13 @@
 
883
 else
 
884
   echo "$ac_err" >&5
 
885
   echo "configure: failed program was:" >&5
 
886
   cat conftest.$ac_ext >&5
516
887
   rm -rf conftest*
517
888
   CPP="${CC-cc} -E -traditional-cpp"
518
889
   cat > conftest.$ac_ext <<EOF
519
 
-#line 2274 "configure"
520
 
+#line 2306 "configure"
 
890
-#line 2290 "configure"
 
891
+#line 2322 "configure"
521
892
 #include "confdefs.h"
522
893
 #include <assert.h>
523
894
 Syntax Error
524
895
 EOF
525
896
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
526
 
-{ (eval echo configure:2280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
527
 
+{ (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
897
-{ (eval echo configure:2296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
898
+{ (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
528
899
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
529
900
 if test -z "$ac_err"; then
530
901
   :
531
 
@@ -2287,13 +2319,13 @@
 
902
 else
 
903
   echo "$ac_err" >&5
 
904
   echo "configure: failed program was:" >&5
 
905
   cat conftest.$ac_ext >&5
532
906
   rm -rf conftest*
533
907
   CPP="${CC-cc} -nologo -E"
534
908
   cat > conftest.$ac_ext <<EOF
535
 
-#line 2291 "configure"
536
 
+#line 2323 "configure"
 
909
-#line 2307 "configure"
 
910
+#line 2339 "configure"
537
911
 #include "confdefs.h"
538
912
 #include <assert.h>
539
913
 Syntax Error
540
914
 EOF
541
915
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
542
 
-{ (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
543
 
+{ (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
916
-{ (eval echo configure:2313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
917
+{ (eval echo configure:2345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
544
918
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
545
919
 if test -z "$ac_err"; then
546
920
   :
547
 
@@ -2320,7 +2352,7 @@
 
921
 else
 
922
   echo "$ac_err" >&5
 
923
   echo "configure: failed program was:" >&5
 
924
   cat conftest.$ac_ext >&5
 
925
   rm -rf conftest*
 
926
@@ -2331,17 +2363,17 @@
 
927
 else
 
928
   ac_cv_prog_CPP="$CPP"
 
929
 fi
 
930
 echo "$ac_t""$CPP" 1>&6
 
931
 
548
932
     # Extract the first word of "ranlib", so it can be a program name with args.
549
933
 set dummy ranlib; ac_word=$2
550
934
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
551
 
-echo "configure:2324: checking for $ac_word" >&5
552
 
+echo "configure:2356: checking for $ac_word" >&5
 
935
-echo "configure:2340: checking for $ac_word" >&5
 
936
+echo "configure:2372: checking for $ac_word" >&5
553
937
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
554
938
   echo $ac_n "(cached) $ac_c" 1>&6
555
939
 else
556
 
@@ -2352,7 +2384,7 @@
 
940
   if test -n "$RANLIB"; then
 
941
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
942
 else
 
943
   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
 
944
   ac_dummy="$PATH"
 
945
@@ -2363,17 +2395,17 @@
 
946
   echo "$ac_t""no" 1>&6
 
947
 fi
 
948
 
 
949
     for ac_prog in as
 
950
 do
557
951
 # Extract the first word of "$ac_prog", so it can be a program name with args.
558
952
 set dummy $ac_prog; ac_word=$2
559
953
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
560
 
-echo "configure:2356: checking for $ac_word" >&5
561
 
+echo "configure:2388: checking for $ac_word" >&5
 
954
-echo "configure:2372: checking for $ac_word" >&5
 
955
+echo "configure:2404: checking for $ac_word" >&5
562
956
 if eval "test \"`echo '$''{'ac_cv_path_AS'+set}'`\" = set"; then
563
957
   echo $ac_n "(cached) $ac_c" 1>&6
564
958
 else
565
 
@@ -2393,7 +2425,7 @@
 
959
   case "$AS" in
 
960
   /*)
 
961
   ac_cv_path_AS="$AS" # Let the user override the test with a path.
 
962
   ;;
 
963
   ?:/*)                         
 
964
@@ -2404,17 +2436,17 @@
 
965
 done
 
966
 test -n "$AS" || AS="$CC"
 
967
 
 
968
     for ac_prog in ar
 
969
 do
566
970
 # Extract the first word of "$ac_prog", so it can be a program name with args.
567
971
 set dummy $ac_prog; ac_word=$2
568
972
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
569
 
-echo "configure:2397: checking for $ac_word" >&5
570
 
+echo "configure:2429: checking for $ac_word" >&5
 
973
-echo "configure:2413: checking for $ac_word" >&5
 
974
+echo "configure:2445: checking for $ac_word" >&5
571
975
 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
572
976
   echo $ac_n "(cached) $ac_c" 1>&6
573
977
 else
574
 
@@ -2434,7 +2466,7 @@
 
978
   case "$AR" in
 
979
   /*)
 
980
   ac_cv_path_AR="$AR" # Let the user override the test with a path.
 
981
   ;;
 
982
   ?:/*)                         
 
983
@@ -2445,17 +2477,17 @@
 
984
 done
 
985
 test -n "$AR" || AR="echo not_ar"
 
986
 
 
987
     for ac_prog in ld link
 
988
 do
575
989
 # Extract the first word of "$ac_prog", so it can be a program name with args.
576
990
 set dummy $ac_prog; ac_word=$2
577
991
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
578
 
-echo "configure:2438: checking for $ac_word" >&5
579
 
+echo "configure:2470: checking for $ac_word" >&5
 
992
-echo "configure:2454: checking for $ac_word" >&5
 
993
+echo "configure:2486: checking for $ac_word" >&5
580
994
 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
581
995
   echo $ac_n "(cached) $ac_c" 1>&6
582
996
 else
583
 
@@ -2475,7 +2507,7 @@
 
997
   case "$LD" in
 
998
   /*)
 
999
   ac_cv_path_LD="$LD" # Let the user override the test with a path.
 
1000
   ;;
 
1001
   ?:/*)                         
 
1002
@@ -2486,17 +2518,17 @@
 
1003
 done
 
1004
 test -n "$LD" || LD="echo not_ld"
 
1005
 
 
1006
     for ac_prog in strip
 
1007
 do
584
1008
 # Extract the first word of "$ac_prog", so it can be a program name with args.
585
1009
 set dummy $ac_prog; ac_word=$2
586
1010
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
587
 
-echo "configure:2479: checking for $ac_word" >&5
588
 
+echo "configure:2511: checking for $ac_word" >&5
 
1011
-echo "configure:2495: checking for $ac_word" >&5
 
1012
+echo "configure:2527: checking for $ac_word" >&5
589
1013
 if eval "test \"`echo '$''{'ac_cv_path_STRIP'+set}'`\" = set"; then
590
1014
   echo $ac_n "(cached) $ac_c" 1>&6
591
1015
 else
592
 
@@ -2516,7 +2548,7 @@
 
1016
   case "$STRIP" in
 
1017
   /*)
 
1018
   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
 
1019
   ;;
 
1020
   ?:/*)                         
 
1021
@@ -2527,17 +2559,17 @@
 
1022
 done
 
1023
 test -n "$STRIP" || STRIP="echo not_strip"
 
1024
 
 
1025
     for ac_prog in windres
 
1026
 do
593
1027
 # Extract the first word of "$ac_prog", so it can be a program name with args.
594
1028
 set dummy $ac_prog; ac_word=$2
595
1029
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
596
 
-echo "configure:2520: checking for $ac_word" >&5
597
 
+echo "configure:2552: checking for $ac_word" >&5
 
1030
-echo "configure:2536: checking for $ac_word" >&5
 
1031
+echo "configure:2568: checking for $ac_word" >&5
598
1032
 if eval "test \"`echo '$''{'ac_cv_path_WINDRES'+set}'`\" = set"; then
599
1033
   echo $ac_n "(cached) $ac_c" 1>&6
600
1034
 else
601
 
@@ -2584,7 +2616,7 @@
 
1035
   case "$WINDRES" in
 
1036
   /*)
 
1037
   ac_cv_path_WINDRES="$WINDRES" # Let the user override the test with a path.
 
1038
   ;;
 
1039
   ?:/*)                         
 
1040
@@ -2595,39 +2627,39 @@
 
1041
 
 
1042
 if test "$cross_compiling"  = "yes"; then
 
1043
     CROSS_COMPILE=1
 
1044
 else
 
1045
     CROSS_COMPILE=
602
1046
 fi
603
1047
 
604
1048
 echo $ac_n "checking for gcc -pipe support""... $ac_c" 1>&6
605
 
-echo "configure:2588: checking for gcc -pipe support" >&5
606
 
+echo "configure:2620: checking for gcc -pipe support" >&5
 
1049
-echo "configure:2604: checking for gcc -pipe support" >&5
 
1050
+echo "configure:2636: checking for gcc -pipe support" >&5
607
1051
 if test -n "$GNU_CC" && test -n "$GNU_CXX" && test -n "$GNU_AS"; then
608
1052
     echo '#include <stdio.h>' > dummy-hello.c
609
1053
     echo 'int main() { printf("Hello World\n"); return 0; }' >> dummy-hello.c
610
 
@@ -2599,14 +2631,14 @@
 
1054
     ${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
 
1055
     cat dummy-hello.s | ${AS} -o dummy-hello.S - 2>&5
 
1056
     if test $? = 0; then
 
1057
         _res_as_stdin="yes"
 
1058
     else
 
1059
         _res_as_stdin="no"
 
1060
     fi
 
1061
     if test "$_res_as_stdin" = "yes"; then
611
1062
         _SAVE_CFLAGS=$CFLAGS
612
1063
         CFLAGS="$CFLAGS -pipe"
613
1064
         cat > conftest.$ac_ext <<EOF
614
 
-#line 2603 "configure"
615
 
+#line 2635 "configure"
 
1065
-#line 2619 "configure"
 
1066
+#line 2651 "configure"
616
1067
 #include "confdefs.h"
617
1068
  #include <stdio.h> 
618
1069
 int main() {
619
1070
 printf("Hello World\n");
620
1071
 ; return 0; }
621
1072
 EOF
622
 
-if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
623
 
+if { (eval echo configure:2642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1073
-if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
1074
+if { (eval echo configure:2658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
624
1075
   rm -rf conftest*
625
1076
   _res_gcc_pipe="yes"
626
1077
 else
627
 
@@ -2633,7 +2665,7 @@
 
1078
   echo "configure: failed program was:" >&5
 
1079
   cat conftest.$ac_ext >&5
 
1080
   rm -rf conftest*
 
1081
   _res_gcc_pipe="no" 
 
1082
 fi
 
1083
@@ -2644,17 +2676,17 @@
 
1084
     rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out
 
1085
     echo "$ac_t""$_res" 1>&6
 
1086
 else
 
1087
     echo "$ac_t""no" 1>&6
 
1088
 fi
628
1089
 
629
1090
 if test "$GNU_CC"; then
630
1091
     echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
631
 
-echo "configure:2637: checking for visibility(hidden) attribute" >&5
632
 
+echo "configure:2669: checking for visibility(hidden) attribute" >&5
 
1092
-echo "configure:2653: checking for visibility(hidden) attribute" >&5
 
1093
+echo "configure:2685: checking for visibility(hidden) attribute" >&5
633
1094
 if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
634
1095
   echo $ac_n "(cached) $ac_c" 1>&6
635
1096
 else
636
 
@@ -2657,7 +2689,7 @@
 
1097
   cat > conftest.c <<EOF
 
1098
         int foo __attribute__ ((visibility ("hidden"))) = 1;
 
1099
 EOF
 
1100
         ac_cv_visibility_hidden=no
 
1101
         if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
 
1102
@@ -2668,17 +2700,17 @@
 
1103
 
 
1104
 echo "$ac_t""$ac_cv_visibility_hidden" 1>&6
 
1105
     if test "$ac_cv_visibility_hidden" = "yes"; then
 
1106
         cat >> confdefs.h <<\EOF
 
1107
 #define HAVE_VISIBILITY_HIDDEN_ATTRIBUTE 1
637
1108
 EOF
638
1109
 
639
1110
         echo $ac_n "checking for visibility pragma support""... $ac_c" 1>&6
640
 
-echo "configure:2661: checking for visibility pragma support" >&5
641
 
+echo "configure:2693: checking for visibility pragma support" >&5
 
1111
-echo "configure:2677: checking for visibility pragma support" >&5
 
1112
+echo "configure:2709: checking for visibility pragma support" >&5
642
1113
 if eval "test \"`echo '$''{'ac_cv_visibility_pragma'+set}'`\" = set"; then
643
1114
   echo $ac_n "(cached) $ac_c" 1>&6
644
1115
 else
645
 
@@ -2710,7 +2742,7 @@
 
1116
   cat > conftest.c <<EOF
 
1117
 #pragma GCC visibility push(hidden)
 
1118
             int foo_hidden = 1;
 
1119
 #pragma GCC visibility push(default)
 
1120
             int foo_default = 1;
 
1121
@@ -2721,17 +2753,17 @@
 
1122
 fi # SKIP_COMPILER_CHECKS
 
1123
 
 
1124
 if test -z "$SKIP_PATH_CHECKS"; then
 
1125
     for ac_prog in perl5 perl
 
1126
 do
646
1127
 # Extract the first word of "$ac_prog", so it can be a program name with args.
647
1128
 set dummy $ac_prog; ac_word=$2
648
1129
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
649
 
-echo "configure:2714: checking for $ac_word" >&5
650
 
+echo "configure:2746: checking for $ac_word" >&5
 
1130
-echo "configure:2730: checking for $ac_word" >&5
 
1131
+echo "configure:2762: checking for $ac_word" >&5
651
1132
 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
652
1133
   echo $ac_n "(cached) $ac_c" 1>&6
653
1134
 else
654
 
@@ -2967,17 +2999,17 @@
 
1135
   case "$PERL" in
 
1136
   /*)
 
1137
   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
 
1138
   ;;
 
1139
   ?:/*)                         
 
1140
@@ -2978,27 +3010,27 @@
 
1141
 
 
1142
     cat >> confdefs.h <<\EOF
 
1143
 #define SYSV 1
 
1144
 EOF
 
1145
 
655
1146
     DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib'
656
1147
     ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'`
657
1148
 echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6
658
 
-echo "configure:2971: checking for sys/atomic_op.h" >&5
659
 
+echo "configure:3003: checking for sys/atomic_op.h" >&5
 
1149
-echo "configure:2987: checking for sys/atomic_op.h" >&5
 
1150
+echo "configure:3019: checking for sys/atomic_op.h" >&5
660
1151
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
661
1152
   echo $ac_n "(cached) $ac_c" 1>&6
662
1153
 else
663
1154
   cat > conftest.$ac_ext <<EOF
664
 
-#line 2976 "configure"
665
 
+#line 3008 "configure"
 
1155
-#line 2992 "configure"
 
1156
+#line 3024 "configure"
666
1157
 #include "confdefs.h"
667
1158
 #include <sys/atomic_op.h>
668
1159
 EOF
669
1160
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
670
 
-{ (eval echo configure:2981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
671
 
+{ (eval echo configure:3013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1161
-{ (eval echo configure:2997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1162
+{ (eval echo configure:3029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
672
1163
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
673
1164
 if test -z "$ac_err"; then
674
1165
   rm -rf conftest*
675
 
@@ -3134,7 +3166,7 @@
 
1166
   eval "ac_cv_header_$ac_safe=yes"
 
1167
 else
 
1168
   echo "$ac_err" >&5
 
1169
   echo "configure: failed program was:" >&5
 
1170
   cat conftest.$ac_ext >&5
 
1171
@@ -3145,36 +3177,36 @@
 
1172
     PR_MD_ARCH_DIR=beos
 
1173
     RESOLVE_LINK_SYMBOLS=1
 
1174
     case "${target_cpu}" in
 
1175
     i*86)
 
1176
         _OPTIMIZE_FLAGS=-O2
676
1177
         _DEBUG_FLAGS='-gdwarf-2 -O0'
677
1178
         MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@'
678
1179
         echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6
679
 
-echo "configure:3138: checking for gethostbyaddr in -lbind" >&5
680
 
+echo "configure:3170: checking for gethostbyaddr in -lbind" >&5
 
1180
-echo "configure:3154: checking for gethostbyaddr in -lbind" >&5
 
1181
+echo "configure:3186: checking for gethostbyaddr in -lbind" >&5
681
1182
 ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'`
682
1183
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
683
1184
   echo $ac_n "(cached) $ac_c" 1>&6
684
 
@@ -3142,7 +3174,7 @@
 
1185
 else
685
1186
   ac_save_LIBS="$LIBS"
686
1187
 LIBS="-lbind  $LIBS"
687
1188
 cat > conftest.$ac_ext <<EOF
688
 
-#line 3146 "configure"
689
 
+#line 3178 "configure"
 
1189
-#line 3162 "configure"
 
1190
+#line 3194 "configure"
690
1191
 #include "confdefs.h"
691
1192
 /* Override any gcc2 internal prototype to avoid an error.  */
692
1193
 /* We use char because int might match the return type of a gcc2
693
 
@@ -3153,7 +3185,7 @@
 
1194
     builtin and then its argument prototype would still apply.  */
 
1195
 char gethostbyaddr();
 
1196
 
 
1197
 int main() {
694
1198
 gethostbyaddr()
695
1199
 ; return 0; }
696
1200
 EOF
697
 
-if { (eval echo configure:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
698
 
+if { (eval echo configure:3189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1201
-if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1202
+if { (eval echo configure:3205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
699
1203
   rm -rf conftest*
700
1204
   eval "ac_cv_lib_$ac_lib_var=yes"
701
1205
 else
702
 
@@ -3279,7 +3311,7 @@
 
1206
   echo "configure: failed program was:" >&5
 
1207
   cat conftest.$ac_ext >&5
 
1208
   rm -rf conftest*
 
1209
   eval "ac_cv_lib_$ac_lib_var=no"
 
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
703
1217
 
704
1218
         MKSHLIB='$(CC) -o $@ $(DSO_LDOPTS)'
705
1219
         DSO_CFLAGS=-fPIC
708
1222
         STRIP="$STRIP -d"
709
1223
         case "$target_os" in
710
1224
         bsdi4.2* | bsdi4.3* | bsdi5.*)
711
 
@@ -3508,7 +3540,7 @@
 
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
712
1236
     fi
713
1237
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
714
1238
     DSO_CFLAGS=-fPIC
717
1241
     MDCPUCFG_H=_freebsd.cfg
718
1242
     PR_MD_CSRCS=freebsd.c
719
1243
     ;;
720
 
@@ -3538,7 +3570,7 @@
 
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
721
1255
 #define _USE_BIG_FDS 1
722
1256
 EOF
723
1257
 
726
1260
     PR_MD_CSRCS=hpux.c
727
1261
     if test "$OS_TEST" = "ia64"; then
728
1262
         DLL_SUFFIX=so
729
 
@@ -3892,7 +3924,7 @@
 
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
730
1274
     PR_MD_CSRCS=linux.c
731
1275
     MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
732
1276
     DSO_CFLAGS=-fPIC
735
1279
     _OPTIMIZE_FLAGS=-O2
736
1280
     _DEBUG_FLAGS="-g -fno-inline"  # most people on linux use gcc/gdb, and that
737
1281
                                    # combo is not yet good at debugging inlined
738
 
@@ -4298,7 +4330,7 @@
 
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'
739
1293
         else
740
1294
             OBJECT_FMT=ELF
741
1295
             DLL_SUFFIX=so
744
1298
         fi
745
1299
     fi
746
1300
 
747
 
@@ -4389,7 +4421,7 @@
 
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
748
1312
 
749
1313
     MDCPUCFG_H=_nto.cfg
750
1314
     PR_MD_CSRCS=nto.c
753
1317
     DSO_CFLAGS=-fPIC
754
1318
     DSO_LDOPTS=-shared
755
1319
     OS_LIBS="$OS_LIBS -lsocket"
756
 
@@ -4488,17 +4520,17 @@
 
1320
     _OPTIMIZE_FLAGS="-O1"
 
1321
     _DEBUG_FLAGS="-gstabs"
 
1322
        ;;
 
1323
 
 
1324
 *-openbsd*)
 
1325
@@ -4499,27 +4531,27 @@
 
1326
     if test -z "$GNU_CC"; then
 
1327
         CC="$CC -std1 -ieee_with_inexact"
 
1328
         if test "$OS_RELEASE" != "V2.0"; then
 
1329
             CC="$CC -readonly_strings"
 
1330
         fi
757
1331
         _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000"
758
1332
         ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'`
759
1333
 echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6
760
 
-echo "configure:4492: checking for machine/builtins.h" >&5
761
 
+echo "configure:4524: checking for machine/builtins.h" >&5
 
1334
-echo "configure:4508: checking for machine/builtins.h" >&5
 
1335
+echo "configure:4540: checking for machine/builtins.h" >&5
762
1336
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
763
1337
   echo $ac_n "(cached) $ac_c" 1>&6
764
1338
 else
765
1339
   cat > conftest.$ac_ext <<EOF
766
 
-#line 4497 "configure"
767
 
+#line 4529 "configure"
 
1340
-#line 4513 "configure"
 
1341
+#line 4545 "configure"
768
1342
 #include "confdefs.h"
769
1343
 #include <machine/builtins.h>
770
1344
 EOF
771
1345
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
772
 
-{ (eval echo configure:4502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
773
 
+{ (eval echo configure:4534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
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; }
774
1348
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
775
1349
 if test -z "$ac_err"; then
776
1350
   rm -rf conftest*
777
 
@@ -4548,7 +4580,7 @@
 
1351
   eval "ac_cv_header_$ac_safe=yes"
 
1352
 else
 
1353
   echo "$ac_err" >&5
 
1354
   echo "configure: failed program was:" >&5
 
1355
   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
778
1362
 EOF
779
1363
 
780
1364
     fi
783
1367
     MDCPUCFG_H=_osf1.cfg
784
1368
     PR_MD_CSRCS=osf1.c
785
1369
     ;;
786
 
@@ -4671,7 +4703,7 @@
 
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'
787
1381
         _OPTIMIZE_FLAGS='-O -F Olimit,4000'
788
1382
     fi
789
1383
 
792
1386
 
793
1387
     if test "$OS_RELEASE" = "5.43"; then
794
1388
         cat >> confdefs.h <<\EOF
795
 
@@ -4757,10 +4789,10 @@
 
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
796
1400
         if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
797
1401
             GCC_USE_GNU_LD=1
798
1402
         fi
805
1409
     fi
806
1410
     if test -n "$GNU_CC"; then
807
1411
         CFLAGS="$CFLAGS -Wall"
808
 
@@ -5068,7 +5100,7 @@
 
1412
         CXXFLAGS="$CXXFLAGS -Wall"
 
1413
         if test -n "$USE_MDUPDATE"; then
 
1414
             CFLAGS="$CFLAGS -MDupdate \$(DEPENDENCIES)"
 
1415
             CXXFLAGS="$CXXFLAGS -MDupdate \$(DEPENDENCIES)"
 
1416
         fi
 
1417
@@ -5079,63 +5111,63 @@
 
1418
 
 
1419
 
 
1420
 
 
1421
 case $target in
 
1422
 *-darwin*|*-beos*)
809
1423
     ;;
810
1424
 *)
811
1425
     echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
812
 
-echo "configure:5072: checking for dlopen in -ldl" >&5
813
 
+echo "configure:5104: checking for dlopen in -ldl" >&5
 
1426
-echo "configure:5088: checking for dlopen in -ldl" >&5
 
1427
+echo "configure:5120: checking for dlopen in -ldl" >&5
814
1428
 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
815
1429
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
816
1430
   echo $ac_n "(cached) $ac_c" 1>&6
817
 
@@ -5076,7 +5108,7 @@
 
1431
 else
818
1432
   ac_save_LIBS="$LIBS"
819
1433
 LIBS="-ldl  $LIBS"
820
1434
 cat > conftest.$ac_ext <<EOF
821
 
-#line 5080 "configure"
822
 
+#line 5112 "configure"
 
1435
-#line 5096 "configure"
 
1436
+#line 5128 "configure"
823
1437
 #include "confdefs.h"
824
1438
 /* Override any gcc2 internal prototype to avoid an error.  */
825
1439
 /* We use char because int might match the return type of a gcc2
826
 
@@ -5087,7 +5119,7 @@
 
1440
     builtin and then its argument prototype would still apply.  */
 
1441
 char dlopen();
 
1442
 
 
1443
 int main() {
827
1444
 dlopen()
828
1445
 ; return 0; }
829
1446
 EOF
830
 
-if { (eval echo configure:5091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
831
 
+if { (eval echo configure:5123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1447
-if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1448
+if { (eval echo configure:5139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
832
1449
   rm -rf conftest*
833
1450
   eval "ac_cv_lib_$ac_lib_var=yes"
834
1451
 else
835
 
@@ -5104,17 +5136,17 @@
 
1452
   echo "configure: failed program was:" >&5
 
1453
   cat conftest.$ac_ext >&5
 
1454
   rm -rf conftest*
 
1455
   eval "ac_cv_lib_$ac_lib_var=no"
 
1456
 fi
 
1457
 rm -f conftest*
 
1458
 LIBS="$ac_save_LIBS"
 
1459
 
 
1460
 fi
 
1461
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
836
1462
   echo "$ac_t""yes" 1>&6
837
1463
   ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
838
1464
 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
839
 
-echo "configure:5108: checking for dlfcn.h" >&5
840
 
+echo "configure:5140: checking for dlfcn.h" >&5
 
1465
-echo "configure:5124: checking for dlfcn.h" >&5
 
1466
+echo "configure:5156: checking for dlfcn.h" >&5
841
1467
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
842
1468
   echo $ac_n "(cached) $ac_c" 1>&6
843
1469
 else
844
1470
   cat > conftest.$ac_ext <<EOF
845
 
-#line 5113 "configure"
846
 
+#line 5145 "configure"
 
1471
-#line 5129 "configure"
 
1472
+#line 5161 "configure"
847
1473
 #include "confdefs.h"
848
1474
 #include <dlfcn.h>
849
1475
 EOF
850
1476
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
851
 
-{ (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
852
 
+{ (eval echo configure:5150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1477
-{ (eval echo configure:5134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
1478
+{ (eval echo configure:5166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
853
1479
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
854
1480
 if test -z "$ac_err"; then
855
1481
   rm -rf conftest*
856
 
@@ -5147,13 +5179,13 @@
 
1482
   eval "ac_cv_header_$ac_safe=yes"
 
1483
 else
 
1484
   echo "$ac_err" >&5
 
1485
   echo "configure: failed program was:" >&5
 
1486
   cat conftest.$ac_ext >&5
 
1487
@@ -5158,23 +5190,23 @@
 
1488
     ;;
 
1489
 esac
 
1490
 
 
1491
 
 
1492
 
857
1493
 
858
1494
 if test $ac_cv_prog_gcc = yes; then
859
1495
     echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
860
 
-echo "configure:5151: checking whether ${CC-cc} needs -traditional" >&5
861
 
+echo "configure:5183: checking whether ${CC-cc} needs -traditional" >&5
 
1496
-echo "configure:5167: checking whether ${CC-cc} needs -traditional" >&5
 
1497
+echo "configure:5199: checking whether ${CC-cc} needs -traditional" >&5
862
1498
 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
863
1499
   echo $ac_n "(cached) $ac_c" 1>&6
864
1500
 else
865
1501
     ac_pattern="Autoconf.*'x'"
866
1502
   cat > conftest.$ac_ext <<EOF
867
 
-#line 5157 "configure"
868
 
+#line 5189 "configure"
 
1503
-#line 5173 "configure"
 
1504
+#line 5205 "configure"
869
1505
 #include "confdefs.h"
870
1506
 #include <sgtty.h>
871
1507
 Autoconf TIOCGETP
872
 
@@ -5171,7 +5203,7 @@
 
1508
 EOF
 
1509
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
1510
   egrep "$ac_pattern" >/dev/null 2>&1; then
 
1511
   rm -rf conftest*
 
1512
   ac_cv_prog_gcc_traditional=yes
 
1513
@@ -5182,17 +5214,17 @@
 
1514
   rm -rf conftest*
 
1515
   ac_cv_prog_gcc_traditional=no
 
1516
 fi
 
1517
 rm -f conftest*
 
1518
 
873
1519
 
874
1520
   if test $ac_cv_prog_gcc_traditional = no; then
875
1521
     cat > conftest.$ac_ext <<EOF
876
 
-#line 5175 "configure"
877
 
+#line 5207 "configure"
 
1522
-#line 5191 "configure"
 
1523
+#line 5223 "configure"
878
1524
 #include "confdefs.h"
879
1525
 #include <termio.h>
880
1526
 Autoconf TCGETA
881
 
@@ -5195,12 +5227,12 @@
 
1527
 EOF
 
1528
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
1529
   egrep "$ac_pattern" >/dev/null 2>&1; then
 
1530
   rm -rf conftest*
 
1531
   ac_cv_prog_gcc_traditional=yes
 
1532
@@ -5206,22 +5238,22 @@
 
1533
   if test $ac_cv_prog_gcc_traditional = yes; then
 
1534
     CC="$CC -traditional"
 
1535
   fi
 
1536
 fi
 
1537
 
882
1538
 for ac_func in lchown strerror
883
1539
 do
884
1540
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
885
 
-echo "configure:5199: checking for $ac_func" >&5
886
 
+echo "configure:5231: checking for $ac_func" >&5
 
1541
-echo "configure:5215: checking for $ac_func" >&5
 
1542
+echo "configure:5247: checking for $ac_func" >&5
887
1543
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
888
1544
   echo $ac_n "(cached) $ac_c" 1>&6
889
1545
 else
890
1546
   cat > conftest.$ac_ext <<EOF
891
 
-#line 5204 "configure"
892
 
+#line 5236 "configure"
 
1547
-#line 5220 "configure"
 
1548
+#line 5252 "configure"
893
1549
 #include "confdefs.h"
894
1550
 /* System header to define __stub macros and hopefully few prototypes,
895
1551
     which can conflict with char $ac_func(); below.  */
896
 
@@ -5223,7 +5255,7 @@
 
1552
 #include <assert.h>
 
1553
 /* Override any gcc2 internal prototype to avoid an error.  */
 
1554
 /* We use char because int might match the return type of a gcc2
 
1555
     builtin and then its argument prototype would still apply.  */
 
1556
 char $ac_func();
 
1557
@@ -5234,17 +5266,17 @@
 
1558
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
1559
 choke me
 
1560
 #else
 
1561
 $ac_func();
 
1562
 #endif
897
1563
 
898
1564
 ; return 0; }
899
1565
 EOF
900
 
-if { (eval echo configure:5227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
901
 
+if { (eval echo configure:5259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1566
-if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
1567
+if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
902
1568
   rm -rf conftest*
903
1569
   eval "ac_cv_func_$ac_func=yes"
904
1570
 else
905
 
@@ -5264,7 +5296,7 @@
 
1571
   echo "configure: failed program was:" >&5
 
1572
   cat conftest.$ac_ext >&5
 
1573
   rm -rf conftest*
 
1574
   eval "ac_cv_func_$ac_func=no"
 
1575
 fi
 
1576
@@ -5275,17 +5307,17 @@
 
1577
 fi
 
1578
 
 
1579
 
 
1580
 case "${target_os}" in
 
1581
 hpux*)
906
1582
 if test -z "$GNU_CC"; then
907
1583
 
908
1584
     echo $ac_n "checking for +Olit support""... $ac_c" 1>&6
909
 
-echo "configure:5268: checking for +Olit support" >&5
910
 
+echo "configure:5300: checking for +Olit support" >&5
 
1585
-echo "configure:5284: checking for +Olit support" >&5
 
1586
+echo "configure:5316: checking for +Olit support" >&5
911
1587
 if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then
912
1588
   echo $ac_n "(cached) $ac_c" 1>&6
913
1589
 else
914
 
@@ -5303,7 +5335,7 @@
 
1590
                   ac_cv_hpux_usable_olit_option=no
 
1591
         rm -f conftest*
 
1592
         echo 'int main() { return 0; }' | cat > conftest.c
 
1593
         ${CC-cc} ${CFLAGS} +Olit=all -o conftest conftest.c > conftest.out 2>&1
 
1594
         if test $? -eq 0; then
 
1595
@@ -5314,17 +5346,17 @@
 
1596
 
 
1597
 case "$target_os" in
 
1598
 darwin*)
 
1599
     _HAVE_PTHREADS=1
 
1600
     ;;
915
1601
 *)
916
1602
     
917
1603
 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
918
 
-echo "configure:5307: checking for pthread_create in -lpthreads" >&5
919
 
+echo "configure:5339: checking for pthread_create in -lpthreads" >&5
 
1604
-echo "configure:5323: checking for pthread_create in -lpthreads" >&5
 
1605
+echo "configure:5355: checking for pthread_create in -lpthreads" >&5
920
1606
 echo "
921
1607
     #include <pthread.h> 
922
1608
     void *foo(void *v) { return v; } 
923
 
@@ -5325,7 +5357,7 @@
 
1609
     int main() { 
 
1610
         pthread_t t;
 
1611
         if (!pthread_create(&t, 0, &foo, 0)) {
 
1612
             pthread_join(t, 0);
 
1613
         }
 
1614
@@ -5336,17 +5368,17 @@
 
1615
     rm -f dummy.c dummy${ac_exeext} ;
 
1616
     if test "$_res" = "0"; then
 
1617
         echo "$ac_t""yes" 1>&6
 
1618
         _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads"
 
1619
     else
924
1620
         echo "$ac_t""no" 1>&6
925
1621
         
926
1622
 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
927
 
-echo "configure:5329: checking for pthread_create in -lpthread" >&5
928
 
+echo "configure:5361: checking for pthread_create in -lpthread" >&5
 
1623
-echo "configure:5345: checking for pthread_create in -lpthread" >&5
 
1624
+echo "configure:5377: checking for pthread_create in -lpthread" >&5
929
1625
 echo "
930
1626
     #include <pthread.h> 
931
1627
     void *foo(void *v) { return v; } 
932
 
@@ -5347,7 +5379,7 @@
 
1628
     int main() { 
 
1629
         pthread_t t;
 
1630
         if (!pthread_create(&t, 0, &foo, 0)) {
 
1631
             pthread_join(t, 0);
 
1632
         }
 
1633
@@ -5358,17 +5390,17 @@
 
1634
     rm -f dummy.c dummy${ac_exeext} ;
 
1635
     if test "$_res" = "0"; then
 
1636
         echo "$ac_t""yes" 1>&6
 
1637
         _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread"
 
1638
     else
933
1639
         echo "$ac_t""no" 1>&6
934
1640
         
935
1641
 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
936
 
-echo "configure:5351: checking for pthread_create in -lc_r" >&5
937
 
+echo "configure:5383: checking for pthread_create in -lc_r" >&5
 
1642
-echo "configure:5367: checking for pthread_create in -lc_r" >&5
 
1643
+echo "configure:5399: checking for pthread_create in -lc_r" >&5
938
1644
 echo "
939
1645
     #include <pthread.h> 
940
1646
     void *foo(void *v) { return v; } 
941
 
@@ -5369,7 +5401,7 @@
 
1647
     int main() { 
 
1648
         pthread_t t;
 
1649
         if (!pthread_create(&t, 0, &foo, 0)) {
 
1650
             pthread_join(t, 0);
 
1651
         }
 
1652
@@ -5380,17 +5412,17 @@
 
1653
     rm -f dummy.c dummy${ac_exeext} ;
 
1654
     if test "$_res" = "0"; then
 
1655
         echo "$ac_t""yes" 1>&6
 
1656
         _HAVE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r"
 
1657
     else
942
1658
         echo "$ac_t""no" 1>&6
943
1659
         
944
1660
 echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
945
 
-echo "configure:5373: checking for pthread_create in -lc" >&5
946
 
+echo "configure:5405: checking for pthread_create in -lc" >&5
 
1661
-echo "configure:5389: checking for pthread_create in -lc" >&5
 
1662
+echo "configure:5421: checking for pthread_create in -lc" >&5
947
1663
 echo "
948
1664
     #include <pthread.h> 
949
1665
     void *foo(void *v) { return v; } 
950
 
@@ -5514,7 +5546,7 @@
 
1666
     int main() { 
 
1667
         pthread_t t;
 
1668
         if (!pthread_create(&t, 0, &foo, 0)) {
 
1669
             pthread_join(t, 0);
 
1670
         }
 
1671
@@ -5525,17 +5557,17 @@
 
1672
     fi
 
1673
 fi
 
1674
 
 
1675
 
 
1676
 if test -n "$USE_PTHREADS"; then
951
1677
       rm -f conftest*
952
1678
    ac_cv_have_dash_pthread=no
953
1679
    echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6
954
 
-echo "configure:5518: checking whether ${CC-cc} accepts -pthread" >&5
955
 
+echo "configure:5550: checking whether ${CC-cc} accepts -pthread" >&5
 
1680
-echo "configure:5534: checking whether ${CC-cc} accepts -pthread" >&5
 
1681
+echo "configure:5566: checking whether ${CC-cc} accepts -pthread" >&5
956
1682
    echo 'int main() { return 0; }' | cat > conftest.c
957
1683
    ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
958
1684
    if test $? -eq 0; then
959
 
@@ -5537,7 +5569,7 @@
 
1685
        if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
 
1686
            ac_cv_have_dash_pthread=yes
 
1687
                case "$target_os" in
 
1688
            freebsd*)
 
1689
 # Freebsd doesn't use -pthread for compiles, it uses them for linking
 
1690
@@ -5548,17 +5580,17 @@
 
1691
        fi
 
1692
     fi
 
1693
     rm -f conftest*
 
1694
     echo "$ac_t""$ac_cv_have_dash_pthread" 1>&6
 
1695
 
960
1696
                            ac_cv_have_dash_pthreads=no
961
1697
     if test "$ac_cv_have_dash_pthread" = "no"; then
962
1698
            echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6
963
 
-echo "configure:5541: checking whether ${CC-cc} accepts -pthreads" >&5
964
 
+echo "configure:5573: checking whether ${CC-cc} accepts -pthreads" >&5
 
1699
-echo "configure:5557: checking whether ${CC-cc} accepts -pthreads" >&5
 
1700
+echo "configure:5589: checking whether ${CC-cc} accepts -pthreads" >&5
965
1701
        echo 'int main() { return 0; }' | cat > conftest.c
966
1702
            ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
967
1703
        if test $? -eq 0; then
968
 
@@ -5964,6 +5996,7 @@
 
1704
                if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthreads`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
 
1705
                            ac_cv_have_dash_pthreads=yes
 
1706
                            CFLAGS="$CFLAGS -pthreads"
 
1707
                            CXXFLAGS="$CXXFLAGS -pthreads"
 
1708
                    fi
 
1709
@@ -5975,16 +6007,17 @@
 
1710
 
 
1711
 MAKEFILES="
 
1712
 Makefile 
 
1713
 config/Makefile
 
1714
 config/autoconf.mk
969
1715
 config/nsprincl.mk
970
1716
 config/nsprincl.sh
971
1717
 config/nspr-config
973
1719
 lib/Makefile 
974
1720
 lib/ds/Makefile 
975
1721
 lib/libc/Makefile 
976
 
@@ -6081,7 +6114,7 @@
 
1722
 lib/libc/include/Makefile 
 
1723
 lib/libc/src/Makefile 
 
1724
 lib/tests/Makefile
 
1725
 pkg/Makefile
 
1726
 pkg/linux/Makefile
 
1727
@@ -6092,17 +6125,17 @@
 
1728
 # Protect against Makefile macro expansion.
 
1729
 cat > conftest.defs <<\EOF
 
1730
 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
 
1731
 s%[    `~#$^&*(){}\\|;'"<>?]%\\&%g
 
1732
 s%\[%\\&%g
977
1733
 s%\]%\\&%g
978
1734
 s%\$%$$%g
979
1735
 EOF
982
1738
 rm -f conftest.defs
983
1739
 
984
1740
 
 
1741
 # Without the "./", some shells look in PATH for config.status.
 
1742
 : ${CONFIG_STATUS=./config.status}
 
1743
 
 
1744
 echo creating $CONFIG_STATUS
 
1745
 rm -f $CONFIG_STATUS