fix use of RE_W{START,STOP} in wide char version
[nvi.git] / db-3.1.14-Bsymbolic-patch
blob9fa18ec90411e05b25bf7e2d68b1cc847464ac66
1 diff -ruN db-3.1.14/dist/configure ../db-3.1.14/dist/configure
2 --- db-3.1.14/dist/configure    Wed Jun  7 16:14:16 2000
3 +++ ../db-3.1.14/dist/configure Sun Jun 25 20:48:44 2000
4 @@ -1584,6 +1584,7 @@
5  fi
6  
7  export CC CCC
8 +CC="$CC -Wl,-Bsymbolic"
9  CCC=CXX
11  LIBDB_ARGS="libdb.a"
12 @@ -1596,7 +1597,7 @@
14         # Configure libtool.
15         echo $ac_n "checking libtool configuration""... $ac_c" 1>&6
16 -echo "configure:1600: checking libtool configuration" >&5
17 +echo "configure:1601: checking libtool configuration" >&5
18         echo "$ac_t""" 1>&6
19         ${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \
20                 --no-verify $srcdir/ltmain.sh \
21 @@ -1639,7 +1640,7 @@
22         # Extract the first word of "javac", so it can be a program name with args.
23  set dummy javac; ac_word=$2
24  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
25 -echo "configure:1643: checking for $ac_word" >&5
26 +echo "configure:1644: checking for $ac_word" >&5
27  if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
28    echo $ac_n "(cached) $ac_c" 1>&6
29  else
30 @@ -1672,7 +1673,7 @@
31         # Extract the first word of "javac", so it can be a program name with args.
32  set dummy javac; ac_word=$2
33  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
34 -echo "configure:1676: checking for $ac_word" >&5
35 +echo "configure:1677: checking for $ac_word" >&5
36  if eval "test \"`echo '$''{'ac_cv_path_JAVACABS'+set}'`\" = set"; then
37    echo $ac_n "(cached) $ac_c" 1>&6
38  else
39 @@ -1711,7 +1712,7 @@
41         while ls -ld "$JAVACABS" 2>/dev/null | grep " -> " >/dev/null; do
42                 echo $ac_n "checking symlink for $JAVACABS""... $ac_c" 1>&6
43 -echo "configure:1715: checking symlink for $JAVACABS" >&5
44 +echo "configure:1716: checking symlink for $JAVACABS" >&5
45                 JAVACLINK=`ls -ld $JAVACABS | sed 's/.* -> //'`
46                 case "$JAVACLINK" in
47                 /*) JAVACABS="$JAVACLINK";;
48 @@ -1758,7 +1759,7 @@
50         case "$host_os" in
51         solaris*)       echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
52 -echo "configure:1762: checking for main in -lnsl" >&5
53 +echo "configure:1763: checking for main in -lnsl" >&5
54  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
55  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
56    echo $ac_n "(cached) $ac_c" 1>&6
57 @@ -1766,14 +1767,14 @@
58    ac_save_LIBS="$LIBS"
59  LIBS="-lnsl  $LIBS"
60  cat > conftest.$ac_ext <<EOF
61 -#line 1770 "configure"
62 +#line 1771 "configure"
63  #include "confdefs.h"
65  int main() {
66  main()
67  ; return 0; }
68  EOF
69 -if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
70 +if { (eval echo configure:1778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
71    rm -rf conftest*
72    eval "ac_cv_lib_$ac_lib_var=yes"
73  else
74 @@ -1794,7 +1795,7 @@
75  fi
76  ;;
77         hpux*)          echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
78 -echo "configure:1798: checking for main in -lnsl" >&5
79 +echo "configure:1799: checking for main in -lnsl" >&5
80  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
81  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
82    echo $ac_n "(cached) $ac_c" 1>&6
83 @@ -1802,14 +1803,14 @@
84    ac_save_LIBS="$LIBS"
85  LIBS="-lnsl  $LIBS"
86  cat > conftest.$ac_ext <<EOF
87 -#line 1806 "configure"
88 +#line 1807 "configure"
89  #include "confdefs.h"
91  int main() {
92  main()
93  ; return 0; }
94  EOF
95 -if { (eval echo configure:1813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
96 +if { (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
97    rm -rf conftest*
98    eval "ac_cv_lib_$ac_lib_var=yes"
99  else
100 @@ -1906,7 +1907,7 @@
102         
103         echo $ac_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh""... $ac_c" 1>&6
104 -echo "configure:1910: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
105 +echo "configure:1911: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
107         if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
108                 echo "$ac_t""loading" 1>&6
109 @@ -1950,7 +1951,7 @@
110  fi
112  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
113 -echo "configure:1954: checking for pthread_create in -lpthread" >&5
114 +echo "configure:1955: checking for pthread_create in -lpthread" >&5
115  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
116  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
117    echo $ac_n "(cached) $ac_c" 1>&6
118 @@ -1958,7 +1959,7 @@
119    ac_save_LIBS="$LIBS"
120  LIBS="-lpthread  $LIBS"
121  cat > conftest.$ac_ext <<EOF
122 -#line 1962 "configure"
123 +#line 1963 "configure"
124  #include "confdefs.h"
125  /* Override any gcc2 internal prototype to avoid an error.  */
126  /* We use char because int might match the return type of a gcc2
127 @@ -1969,7 +1970,7 @@
128  pthread_create()
129  ; return 0; }
130  EOF
131 -if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
132 +if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
133    rm -rf conftest*
134    eval "ac_cv_lib_$ac_lib_var=yes"
135  else
136 @@ -1991,14 +1992,14 @@
139  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
140 -echo "configure:1995: checking whether byte ordering is bigendian" >&5
141 +echo "configure:1996: checking whether byte ordering is bigendian" >&5
142  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
143    echo $ac_n "(cached) $ac_c" 1>&6
144  else
145    ac_cv_c_bigendian=unknown
146  # See if sys/param.h defines the BYTE_ORDER macro.
147  cat > conftest.$ac_ext <<EOF
148 -#line 2002 "configure"
149 +#line 2003 "configure"
150  #include "confdefs.h"
151  #include <sys/types.h>
152  #include <sys/param.h>
153 @@ -2009,11 +2010,11 @@
154  #endif
155  ; return 0; }
156  EOF
157 -if { (eval echo configure:2013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
158 +if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
159    rm -rf conftest*
160    # It does; now see whether it defined to BIG_ENDIAN or not.
161  cat > conftest.$ac_ext <<EOF
162 -#line 2017 "configure"
163 +#line 2018 "configure"
164  #include "confdefs.h"
165  #include <sys/types.h>
166  #include <sys/param.h>
167 @@ -2024,7 +2025,7 @@
168  #endif
169  ; return 0; }
170  EOF
171 -if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
172 +if { (eval echo configure:2029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
173    rm -rf conftest*
174    ac_cv_c_bigendian=yes
175  else
176 @@ -2044,7 +2045,7 @@
177      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
178  else
179    cat > conftest.$ac_ext <<EOF
180 -#line 2048 "configure"
181 +#line 2049 "configure"
182  #include "confdefs.h"
183  main () {
184    /* Are we little or big endian?  From Harbison&Steele.  */
185 @@ -2057,7 +2058,7 @@
186    exit (u.c[sizeof (long) - 1] == 1);
188  EOF
189 -if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
190 +if { (eval echo configure:2062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
191  then
192    ac_cv_c_bigendian=no
193  else
194 @@ -2081,12 +2082,12 @@
195  fi
197  echo $ac_n "checking for working const""... $ac_c" 1>&6
198 -echo "configure:2085: checking for working const" >&5
199 +echo "configure:2086: checking for working const" >&5
200  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
201    echo $ac_n "(cached) $ac_c" 1>&6
202  else
203    cat > conftest.$ac_ext <<EOF
204 -#line 2090 "configure"
205 +#line 2091 "configure"
206  #include "confdefs.h"
208  int main() {
209 @@ -2135,7 +2136,7 @@
211  ; return 0; }
212  EOF
213 -if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
214 +if { (eval echo configure:2140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
215    rm -rf conftest*
216    ac_cv_c_const=yes
217  else
218 @@ -2156,7 +2157,7 @@
219  fi
221  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
222 -echo "configure:2160: checking how to run the C preprocessor" >&5
223 +echo "configure:2161: checking how to run the C preprocessor" >&5
224  # On Suns, sometimes $CPP names a directory.
225  if test -n "$CPP" && test -d "$CPP"; then
226    CPP=
227 @@ -2171,13 +2172,13 @@
228    # On the NeXT, cc -E runs the code through the compiler's parser,
229    # not just through cpp.
230    cat > conftest.$ac_ext <<EOF
231 -#line 2175 "configure"
232 +#line 2176 "configure"
233  #include "confdefs.h"
234  #include <assert.h>
235  Syntax Error
236  EOF
237  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
238 -{ (eval echo configure:2181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
239 +{ (eval echo configure:2182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
240  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
241  if test -z "$ac_err"; then
242    :
243 @@ -2188,13 +2189,13 @@
244    rm -rf conftest*
245    CPP="${CC-cc} -E -traditional-cpp"
246    cat > conftest.$ac_ext <<EOF
247 -#line 2192 "configure"
248 +#line 2193 "configure"
249  #include "confdefs.h"
250  #include <assert.h>
251  Syntax Error
252  EOF
253  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
254 -{ (eval echo configure:2198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
255 +{ (eval echo configure:2199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
256  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
257  if test -z "$ac_err"; then
258    :
259 @@ -2205,13 +2206,13 @@
260    rm -rf conftest*
261    CPP="${CC-cc} -nologo -E"
262    cat > conftest.$ac_ext <<EOF
263 -#line 2209 "configure"
264 +#line 2210 "configure"
265  #include "confdefs.h"
266  #include <assert.h>
267  Syntax Error
268  EOF
269  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
270 -{ (eval echo configure:2215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
271 +{ (eval echo configure:2216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
272  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
273  if test -z "$ac_err"; then
274    :
275 @@ -2236,12 +2237,12 @@
276  echo "$ac_t""$CPP" 1>&6
278  echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
279 -echo "configure:2240: checking whether stat file-mode macros are broken" >&5
280 +echo "configure:2241: checking whether stat file-mode macros are broken" >&5
281  if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
282    echo $ac_n "(cached) $ac_c" 1>&6
283  else
284    cat > conftest.$ac_ext <<EOF
285 -#line 2245 "configure"
286 +#line 2246 "configure"
287  #include "confdefs.h"
288  #include <sys/types.h>
289  #include <sys/stat.h>
290 @@ -2292,12 +2293,12 @@
291  fi
293  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
294 -echo "configure:2296: checking whether time.h and sys/time.h may both be included" >&5
295 +echo "configure:2297: checking whether time.h and sys/time.h may both be included" >&5
296  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
297    echo $ac_n "(cached) $ac_c" 1>&6
298  else
299    cat > conftest.$ac_ext <<EOF
300 -#line 2301 "configure"
301 +#line 2302 "configure"
302  #include "confdefs.h"
303  #include <sys/types.h>
304  #include <sys/time.h>
305 @@ -2306,7 +2307,7 @@
306  struct tm *tp;
307  ; return 0; }
308  EOF
309 -if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
310 +if { (eval echo configure:2311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
311    rm -rf conftest*
312    ac_cv_header_time=yes
313  else
314 @@ -2327,12 +2328,12 @@
315  fi
317  echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
318 -echo "configure:2331: checking for st_blksize in struct stat" >&5
319 +echo "configure:2332: checking for st_blksize in struct stat" >&5
320  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
321    echo $ac_n "(cached) $ac_c" 1>&6
322  else
323    cat > conftest.$ac_ext <<EOF
324 -#line 2336 "configure"
325 +#line 2337 "configure"
326  #include "confdefs.h"
327  #include <sys/types.h>
328  #include <sys/stat.h>
329 @@ -2340,7 +2341,7 @@
330  struct stat s; s.st_blksize;
331  ; return 0; }
332  EOF
333 -if { (eval echo configure:2344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
334 +if { (eval echo configure:2345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
335    rm -rf conftest*
336    ac_cv_struct_st_blksize=yes
337  else
338 @@ -2361,12 +2362,12 @@
339  fi
341  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
342 -echo "configure:2365: checking for ANSI C header files" >&5
343 +echo "configure:2366: checking for ANSI C header files" >&5
344  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
345    echo $ac_n "(cached) $ac_c" 1>&6
346  else
347    cat > conftest.$ac_ext <<EOF
348 -#line 2370 "configure"
349 +#line 2371 "configure"
350  #include "confdefs.h"
351  #include <stdlib.h>
352  #include <stdarg.h>
353 @@ -2374,7 +2375,7 @@
354  #include <float.h>
355  EOF
356  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
357 -{ (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
358 +{ (eval echo configure:2379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
359  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
360  if test -z "$ac_err"; then
361    rm -rf conftest*
362 @@ -2391,7 +2392,7 @@
363  if test $ac_cv_header_stdc = yes; then
364    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
365  cat > conftest.$ac_ext <<EOF
366 -#line 2395 "configure"
367 +#line 2396 "configure"
368  #include "confdefs.h"
369  #include <string.h>
370  EOF
371 @@ -2409,7 +2410,7 @@
372  if test $ac_cv_header_stdc = yes; then
373    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
374  cat > conftest.$ac_ext <<EOF
375 -#line 2413 "configure"
376 +#line 2414 "configure"
377  #include "confdefs.h"
378  #include <stdlib.h>
379  EOF
380 @@ -2430,7 +2431,7 @@
381    :
382  else
383    cat > conftest.$ac_ext <<EOF
384 -#line 2434 "configure"
385 +#line 2435 "configure"
386  #include "confdefs.h"
387  #include <ctype.h>
388  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
389 @@ -2441,7 +2442,7 @@
390  exit (0); }
392  EOF
393 -if { (eval echo configure:2445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
394 +if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
395  then
396    :
397  else
398 @@ -2465,12 +2466,12 @@
399  fi
401  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
402 -echo "configure:2469: checking for mode_t" >&5
403 +echo "configure:2470: checking for mode_t" >&5
404  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
405    echo $ac_n "(cached) $ac_c" 1>&6
406  else
407    cat > conftest.$ac_ext <<EOF
408 -#line 2474 "configure"
409 +#line 2475 "configure"
410  #include "confdefs.h"
411  #include <sys/types.h>
412  #if STDC_HEADERS
413 @@ -2498,12 +2499,12 @@
414  fi
416  echo $ac_n "checking for off_t""... $ac_c" 1>&6
417 -echo "configure:2502: checking for off_t" >&5
418 +echo "configure:2503: checking for off_t" >&5
419  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
420    echo $ac_n "(cached) $ac_c" 1>&6
421  else
422    cat > conftest.$ac_ext <<EOF
423 -#line 2507 "configure"
424 +#line 2508 "configure"
425  #include "confdefs.h"
426  #include <sys/types.h>
427  #if STDC_HEADERS
428 @@ -2531,12 +2532,12 @@
429  fi
431  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
432 -echo "configure:2535: checking for pid_t" >&5
433 +echo "configure:2536: checking for pid_t" >&5
434  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
435    echo $ac_n "(cached) $ac_c" 1>&6
436  else
437    cat > conftest.$ac_ext <<EOF
438 -#line 2540 "configure"
439 +#line 2541 "configure"
440  #include "confdefs.h"
441  #include <sys/types.h>
442  #if STDC_HEADERS
443 @@ -2564,12 +2565,12 @@
444  fi
446  echo $ac_n "checking for size_t""... $ac_c" 1>&6
447 -echo "configure:2568: checking for size_t" >&5
448 +echo "configure:2569: checking for size_t" >&5
449  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
450    echo $ac_n "(cached) $ac_c" 1>&6
451  else
452    cat > conftest.$ac_ext <<EOF
453 -#line 2573 "configure"
454 +#line 2574 "configure"
455  #include "confdefs.h"
456  #include <sys/types.h>
457  #if STDC_HEADERS
458 @@ -2600,19 +2601,19 @@
461  echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
462 -echo "configure:2604: checking for ssize_t" >&5
463 +echo "configure:2605: checking for ssize_t" >&5
464  if eval "test \"`echo '$''{'db_cv_ssize_t'+set}'`\" = set"; then
465    echo $ac_n "(cached) $ac_c" 1>&6
466  else
467    cat > conftest.$ac_ext <<EOF
468 -#line 2609 "configure"
469 +#line 2610 "configure"
470  #include "confdefs.h"
471  #include <sys/types.h>
472  int main() {
473  ssize_t foo;
474  ; return 0; }
475  EOF
476 -if { (eval echo configure:2616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
477 +if { (eval echo configure:2617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
478    rm -rf conftest*
479    db_cv_ssize_t=yes
480  else
481 @@ -2631,19 +2632,19 @@
484  echo $ac_n "checking for u_char""... $ac_c" 1>&6
485 -echo "configure:2635: checking for u_char" >&5
486 +echo "configure:2636: checking for u_char" >&5
487  if eval "test \"`echo '$''{'db_cv_uchar'+set}'`\" = set"; then
488    echo $ac_n "(cached) $ac_c" 1>&6
489  else
490    cat > conftest.$ac_ext <<EOF
491 -#line 2640 "configure"
492 +#line 2641 "configure"
493  #include "confdefs.h"
494  #include <sys/types.h>
495  int main() {
496  u_char foo;
497  ; return 0; }
498  EOF
499 -if { (eval echo configure:2647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
500 +if { (eval echo configure:2648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
501    rm -rf conftest*
502    db_cv_uchar=yes
503  else
504 @@ -2662,19 +2663,19 @@
507  echo $ac_n "checking for u_short""... $ac_c" 1>&6
508 -echo "configure:2666: checking for u_short" >&5
509 +echo "configure:2667: checking for u_short" >&5
510  if eval "test \"`echo '$''{'db_cv_ushort'+set}'`\" = set"; then
511    echo $ac_n "(cached) $ac_c" 1>&6
512  else
513    cat > conftest.$ac_ext <<EOF
514 -#line 2671 "configure"
515 +#line 2672 "configure"
516  #include "confdefs.h"
517  #include <sys/types.h>
518  int main() {
519  u_short foo;
520  ; return 0; }
521  EOF
522 -if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
523 +if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
524    rm -rf conftest*
525    db_cv_ushort=yes
526  else
527 @@ -2693,19 +2694,19 @@
530  echo $ac_n "checking for u_int""... $ac_c" 1>&6
531 -echo "configure:2697: checking for u_int" >&5
532 +echo "configure:2698: checking for u_int" >&5
533  if eval "test \"`echo '$''{'db_cv_uint'+set}'`\" = set"; then
534    echo $ac_n "(cached) $ac_c" 1>&6
535  else
536    cat > conftest.$ac_ext <<EOF
537 -#line 2702 "configure"
538 +#line 2703 "configure"
539  #include "confdefs.h"
540  #include <sys/types.h>
541  int main() {
542  u_int foo;
543  ; return 0; }
544  EOF
545 -if { (eval echo configure:2709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
546 +if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
547    rm -rf conftest*
548    db_cv_uint=yes
549  else
550 @@ -2724,19 +2725,19 @@
553  echo $ac_n "checking for u_long""... $ac_c" 1>&6
554 -echo "configure:2728: checking for u_long" >&5
555 +echo "configure:2729: checking for u_long" >&5
556  if eval "test \"`echo '$''{'db_cv_ulong'+set}'`\" = set"; then
557    echo $ac_n "(cached) $ac_c" 1>&6
558  else
559    cat > conftest.$ac_ext <<EOF
560 -#line 2733 "configure"
561 +#line 2734 "configure"
562  #include "confdefs.h"
563  #include <sys/types.h>
564  int main() {
565  u_long foo;
566  ; return 0; }
567  EOF
568 -if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
569 +if { (eval echo configure:2741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
570    rm -rf conftest*
571    db_cv_ulong=yes
572  else
573 @@ -2755,19 +2756,19 @@
576  echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6
577 -echo "configure:2759: checking for u_int8_t" >&5
578 +echo "configure:2760: checking for u_int8_t" >&5
579  if eval "test \"`echo '$''{'db_cv_uint8'+set}'`\" = set"; then
580    echo $ac_n "(cached) $ac_c" 1>&6
581  else
582    cat > conftest.$ac_ext <<EOF
583 -#line 2764 "configure"
584 +#line 2765 "configure"
585  #include "confdefs.h"
586  #include <sys/types.h>
587  int main() {
588  u_int8_t foo;
589  ; return 0; }
590  EOF
591 -if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
592 +if { (eval echo configure:2772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
593    rm -rf conftest*
594    db_cv_uint8=yes
595  else
596 @@ -2778,11 +2779,11 @@
597      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
598  else
599    cat > conftest.$ac_ext <<EOF
600 -#line 2782 "configure"
601 +#line 2783 "configure"
602  #include "confdefs.h"
603  main(){exit(sizeof(unsigned char) != 1);}
604  EOF
605 -if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
606 +if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
607  then
608    db_cv_uint8="unsigned char"
609  else
610 @@ -2808,19 +2809,19 @@
613  echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
614 -echo "configure:2812: checking for u_int16_t" >&5
615 +echo "configure:2813: checking for u_int16_t" >&5
616  if eval "test \"`echo '$''{'db_cv_uint16'+set}'`\" = set"; then
617    echo $ac_n "(cached) $ac_c" 1>&6
618  else
619    cat > conftest.$ac_ext <<EOF
620 -#line 2817 "configure"
621 +#line 2818 "configure"
622  #include "confdefs.h"
623  #include <sys/types.h>
624  int main() {
625  u_int16_t foo;
626  ; return 0; }
627  EOF
628 -if { (eval echo configure:2824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
629 +if { (eval echo configure:2825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
630    rm -rf conftest*
631    db_cv_uint16=yes
632  else
633 @@ -2831,11 +2832,11 @@
634      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
635  else
636    cat > conftest.$ac_ext <<EOF
637 -#line 2835 "configure"
638 +#line 2836 "configure"
639  #include "confdefs.h"
640  main(){exit(sizeof(unsigned short) != 2);}
641  EOF
642 -if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
643 +if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
644  then
645    db_cv_uint16="unsigned short"
646  else
647 @@ -2846,11 +2847,11 @@
648      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
649  else
650    cat > conftest.$ac_ext <<EOF
651 -#line 2850 "configure"
652 +#line 2851 "configure"
653  #include "confdefs.h"
654  main(){exit(sizeof(unsigned int) != 2);}
655  EOF
656 -if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
657 +if { (eval echo configure:2855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
658  then
659    db_cv_uint16="unsigned int"
660  else
661 @@ -2880,19 +2881,19 @@
664  echo $ac_n "checking for int16_t""... $ac_c" 1>&6
665 -echo "configure:2884: checking for int16_t" >&5
666 +echo "configure:2885: checking for int16_t" >&5
667  if eval "test \"`echo '$''{'db_cv_int16'+set}'`\" = set"; then
668    echo $ac_n "(cached) $ac_c" 1>&6
669  else
670    cat > conftest.$ac_ext <<EOF
671 -#line 2889 "configure"
672 +#line 2890 "configure"
673  #include "confdefs.h"
674  #include <sys/types.h>
675  int main() {
676  int16_t foo;
677  ; return 0; }
678  EOF
679 -if { (eval echo configure:2896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
680 +if { (eval echo configure:2897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
681    rm -rf conftest*
682    db_cv_int16=yes
683  else
684 @@ -2903,11 +2904,11 @@
685      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
686  else
687    cat > conftest.$ac_ext <<EOF
688 -#line 2907 "configure"
689 +#line 2908 "configure"
690  #include "confdefs.h"
691  main(){exit(sizeof(short) != 2);}
692  EOF
693 -if { (eval echo configure:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
694 +if { (eval echo configure:2912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
695  then
696    db_cv_int16="short"
697  else
698 @@ -2918,11 +2919,11 @@
699      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
700  else
701    cat > conftest.$ac_ext <<EOF
702 -#line 2922 "configure"
703 +#line 2923 "configure"
704  #include "confdefs.h"
705  main(){exit(sizeof(int) != 2);}
706  EOF
707 -if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
708 +if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
709  then
710    db_cv_int16="int"
711  else
712 @@ -2952,19 +2953,19 @@
715  echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
716 -echo "configure:2956: checking for u_int32_t" >&5
717 +echo "configure:2957: checking for u_int32_t" >&5
718  if eval "test \"`echo '$''{'db_cv_uint32'+set}'`\" = set"; then
719    echo $ac_n "(cached) $ac_c" 1>&6
720  else
721    cat > conftest.$ac_ext <<EOF
722 -#line 2961 "configure"
723 +#line 2962 "configure"
724  #include "confdefs.h"
725  #include <sys/types.h>
726  int main() {
727  u_int32_t foo;
728  ; return 0; }
729  EOF
730 -if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
731 +if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
732    rm -rf conftest*
733    db_cv_uint32=yes
734  else
735 @@ -2975,11 +2976,11 @@
736      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
737  else
738    cat > conftest.$ac_ext <<EOF
739 -#line 2979 "configure"
740 +#line 2980 "configure"
741  #include "confdefs.h"
742  main(){exit(sizeof(unsigned int) != 4);}
743  EOF
744 -if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
745 +if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
746  then
747    db_cv_uint32="unsigned int"
748  else
749 @@ -2990,11 +2991,11 @@
750      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
751  else
752    cat > conftest.$ac_ext <<EOF
753 -#line 2994 "configure"
754 +#line 2995 "configure"
755  #include "confdefs.h"
756  main(){exit(sizeof(unsigned long) != 4);}
757  EOF
758 -if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
759 +if { (eval echo configure:2999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
760  then
761    db_cv_uint32="unsigned long"
762  else
763 @@ -3024,19 +3025,19 @@
766  echo $ac_n "checking for int32_t""... $ac_c" 1>&6
767 -echo "configure:3028: checking for int32_t" >&5
768 +echo "configure:3029: checking for int32_t" >&5
769  if eval "test \"`echo '$''{'db_cv_int32'+set}'`\" = set"; then
770    echo $ac_n "(cached) $ac_c" 1>&6
771  else
772    cat > conftest.$ac_ext <<EOF
773 -#line 3033 "configure"
774 +#line 3034 "configure"
775  #include "confdefs.h"
776  #include <sys/types.h>
777  int main() {
778  int32_t foo;
779  ; return 0; }
780  EOF
781 -if { (eval echo configure:3040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
782 +if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
783    rm -rf conftest*
784    db_cv_int32=yes
785  else
786 @@ -3047,11 +3048,11 @@
787      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
788  else
789    cat > conftest.$ac_ext <<EOF
790 -#line 3051 "configure"
791 +#line 3052 "configure"
792  #include "confdefs.h"
793  main(){exit(sizeof(int) != 4);}
794  EOF
795 -if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
796 +if { (eval echo configure:3056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
797  then
798    db_cv_int32="int"
799  else
800 @@ -3062,11 +3063,11 @@
801      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
802  else
803    cat > conftest.$ac_ext <<EOF
804 -#line 3066 "configure"
805 +#line 3067 "configure"
806  #include "confdefs.h"
807  main(){exit(sizeof(long) != 4);}
808  EOF
809 -if { (eval echo configure:3070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
810 +if { (eval echo configure:3071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
811  then
812    db_cv_int32="long"
813  else
814 @@ -3096,19 +3097,19 @@
817  echo $ac_n "checking for largest integral type""... $ac_c" 1>&6
818 -echo "configure:3100: checking for largest integral type" >&5
819 +echo "configure:3101: checking for largest integral type" >&5
820  if eval "test \"`echo '$''{'db_cv_align_t'+set}'`\" = set"; then
821    echo $ac_n "(cached) $ac_c" 1>&6
822  else
823    cat > conftest.$ac_ext <<EOF
824 -#line 3105 "configure"
825 +#line 3106 "configure"
826  #include "confdefs.h"
827  #include <sys/types.h>
828  int main() {
829  long long foo;
830  ; return 0; }
831  EOF
832 -if { (eval echo configure:3112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
833 +if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
834    rm -rf conftest*
835    db_cv_align_t="unsigned long long"
836  else
837 @@ -3125,7 +3126,7 @@
840  echo $ac_n "checking for integral type equal to pointer size""... $ac_c" 1>&6
841 -echo "configure:3129: checking for integral type equal to pointer size" >&5
842 +echo "configure:3130: checking for integral type equal to pointer size" >&5
843  if eval "test \"`echo '$''{'db_cv_alignp_t'+set}'`\" = set"; then
844    echo $ac_n "(cached) $ac_c" 1>&6
845  else
846 @@ -3134,11 +3135,11 @@
847      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
848  else
849    cat > conftest.$ac_ext <<EOF
850 -#line 3138 "configure"
851 +#line 3139 "configure"
852  #include "confdefs.h"
853  main(){exit(sizeof(unsigned int) != sizeof(char *));}
854  EOF
855 -if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
856 +if { (eval echo configure:3143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
857  then
858    db_cv_alignp_t="unsigned int"
859  else
860 @@ -3152,11 +3153,11 @@
861      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
862  else
863    cat > conftest.$ac_ext <<EOF
864 -#line 3156 "configure"
865 +#line 3157 "configure"
866  #include "confdefs.h"
867  main(){exit(sizeof(unsigned long) != sizeof(char *));}
868  EOF
869 -if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
870 +if { (eval echo configure:3161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
871  then
872    db_cv_alignp_t="unsigned long"
873  else
874 @@ -3170,11 +3171,11 @@
875      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
876  else
877    cat > conftest.$ac_ext <<EOF
878 -#line 3174 "configure"
879 +#line 3175 "configure"
880  #include "confdefs.h"
881  main(){exit(sizeof(unsigned long long) != sizeof(char *));}
882  EOF
883 -if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
884 +if { (eval echo configure:3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
885  then
886    db_cv_alignp_t="unsigned long long"
887  else
888 @@ -3196,12 +3197,12 @@
889  do
890  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
891  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
892 -echo "configure:3200: checking for $ac_hdr that defines DIR" >&5
893 +echo "configure:3201: checking for $ac_hdr that defines DIR" >&5
894  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
895    echo $ac_n "(cached) $ac_c" 1>&6
896  else
897    cat > conftest.$ac_ext <<EOF
898 -#line 3205 "configure"
899 +#line 3206 "configure"
900  #include "confdefs.h"
901  #include <sys/types.h>
902  #include <$ac_hdr>
903 @@ -3209,7 +3210,7 @@
904  DIR *dirp = 0;
905  ; return 0; }
906  EOF
907 -if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
908 +if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
909    rm -rf conftest*
910    eval "ac_cv_header_dirent_$ac_safe=yes"
911  else
912 @@ -3234,7 +3235,7 @@
913  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
914  if test $ac_header_dirent = dirent.h; then
915  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
916 -echo "configure:3238: checking for opendir in -ldir" >&5
917 +echo "configure:3239: checking for opendir in -ldir" >&5
918  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
919  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
920    echo $ac_n "(cached) $ac_c" 1>&6
921 @@ -3242,7 +3243,7 @@
922    ac_save_LIBS="$LIBS"
923  LIBS="-ldir  $LIBS"
924  cat > conftest.$ac_ext <<EOF
925 -#line 3246 "configure"
926 +#line 3247 "configure"
927  #include "confdefs.h"
928  /* Override any gcc2 internal prototype to avoid an error.  */
929  /* We use char because int might match the return type of a gcc2
930 @@ -3253,7 +3254,7 @@
931  opendir()
932  ; return 0; }
933  EOF
934 -if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
935 +if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
936    rm -rf conftest*
937    eval "ac_cv_lib_$ac_lib_var=yes"
938  else
939 @@ -3275,7 +3276,7 @@
941  else
942  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
943 -echo "configure:3279: checking for opendir in -lx" >&5
944 +echo "configure:3280: checking for opendir in -lx" >&5
945  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
946  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
947    echo $ac_n "(cached) $ac_c" 1>&6
948 @@ -3283,7 +3284,7 @@
949    ac_save_LIBS="$LIBS"
950  LIBS="-lx  $LIBS"
951  cat > conftest.$ac_ext <<EOF
952 -#line 3287 "configure"
953 +#line 3288 "configure"
954  #include "confdefs.h"
955  /* Override any gcc2 internal prototype to avoid an error.  */
956  /* We use char because int might match the return type of a gcc2
957 @@ -3294,7 +3295,7 @@
958  opendir()
959  ; return 0; }
960  EOF
961 -if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
962 +if { (eval echo configure:3299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
963    rm -rf conftest*
964    eval "ac_cv_lib_$ac_lib_var=yes"
965  else
966 @@ -3320,17 +3321,17 @@
967  do
968  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
969  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
970 -echo "configure:3324: checking for $ac_hdr" >&5
971 +echo "configure:3325: checking for $ac_hdr" >&5
972  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
973    echo $ac_n "(cached) $ac_c" 1>&6
974  else
975    cat > conftest.$ac_ext <<EOF
976 -#line 3329 "configure"
977 +#line 3330 "configure"
978  #include "confdefs.h"
979  #include <$ac_hdr>
980  EOF
981  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
982 -{ (eval echo configure:3334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
983 +{ (eval echo configure:3335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
984  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
985  if test -z "$ac_err"; then
986    rm -rf conftest*
987 @@ -3360,17 +3361,17 @@
988  do
989  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
990  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
991 -echo "configure:3364: checking for $ac_hdr" >&5
992 +echo "configure:3365: checking for $ac_hdr" >&5
993  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
994    echo $ac_n "(cached) $ac_c" 1>&6
995  else
996    cat > conftest.$ac_ext <<EOF
997 -#line 3369 "configure"
998 +#line 3370 "configure"
999  #include "confdefs.h"
1000  #include <$ac_hdr>
1001  EOF
1002  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1003 -{ (eval echo configure:3374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1004 +{ (eval echo configure:3375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1005  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1006  if test -z "$ac_err"; then
1007    rm -rf conftest*
1008 @@ -3400,7 +3401,7 @@
1011  echo $ac_n "checking for mutexes""... $ac_c" 1>&6
1012 -echo "configure:3404: checking for mutexes" >&5
1013 +echo "configure:3405: checking for mutexes" >&5
1014  if eval "test \"`echo '$''{'db_cv_mutex'+set}'`\" = set"; then
1015    echo $ac_n "(cached) $ac_c" 1>&6
1016  else
1017 @@ -3421,7 +3422,7 @@
1018      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1019  else
1020    cat > conftest.$ac_ext <<EOF
1021 -#line 3425 "configure"
1022 +#line 3426 "configure"
1023  #include "confdefs.h"
1025  #include <synch.h>
1026 @@ -3435,7 +3436,7 @@
1027         _lwp_mutex_unlock(&mutex));
1029  EOF
1030 -if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1031 +if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1032  then
1033    db_cv_mutex="Solaris/lwp"
1034  else
1035 @@ -3453,7 +3454,7 @@
1036      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1037  else
1038    cat > conftest.$ac_ext <<EOF
1039 -#line 3457 "configure"
1040 +#line 3458 "configure"
1041  #include "confdefs.h"
1043  #include <thread.h>
1044 @@ -3469,7 +3470,7 @@
1045         mutex_unlock(&mutex));
1047  EOF
1048 -if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1049 +if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1050  then
1051    db_cv_mutex="UI/threads/library"
1052  else
1053 @@ -3486,7 +3487,7 @@
1054      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1055  else
1056    cat > conftest.$ac_ext <<EOF
1057 -#line 3490 "configure"
1058 +#line 3491 "configure"
1059  #include "confdefs.h"
1061  #include <thread.h>
1062 @@ -3502,7 +3503,7 @@
1063         mutex_unlock(&mutex));
1065  EOF
1066 -if { (eval echo configure:3506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1067 +if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1068  then
1069    db_cv_mutex="UI/threads"
1070  else
1071 @@ -3519,7 +3520,7 @@
1072      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1073  else
1074    cat > conftest.$ac_ext <<EOF
1075 -#line 3523 "configure"
1076 +#line 3524 "configure"
1077  #include "confdefs.h"
1079  #include <pthread.h>
1080 @@ -3543,7 +3544,7 @@
1081         pthread_mutexattr_destroy(&mutexattr));
1083  EOF
1084 -if { (eval echo configure:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1085 +if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1086  then
1087    db_cv_mutex="POSIX/pthreads"
1088  else
1089 @@ -3560,7 +3561,7 @@
1090      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1091  else
1092    cat > conftest.$ac_ext <<EOF
1093 -#line 3564 "configure"
1094 +#line 3565 "configure"
1095  #include "confdefs.h"
1097  #include <pthread.h>
1098 @@ -3584,7 +3585,7 @@
1099         pthread_mutexattr_destroy(&mutexattr));
1101  EOF
1102 -if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1103 +if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1104  then
1105    db_cv_mutex="POSIX/pthreads/library"
1106  else
1107 @@ -3602,7 +3603,7 @@
1108      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1109  else
1110    cat > conftest.$ac_ext <<EOF
1111 -#line 3606 "configure"
1112 +#line 3607 "configure"
1113  #include "confdefs.h"
1115  #include <sys/mman.h>
1116 @@ -3619,7 +3620,7 @@
1117  #endif
1119  EOF
1120 -if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1121 +if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1122  then
1123    db_cv_mutex="HP/msem_init"
1124  else
1125 @@ -3636,7 +3637,7 @@
1126      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1127  else
1128    cat > conftest.$ac_ext <<EOF
1129 -#line 3640 "configure"
1130 +#line 3641 "configure"
1131  #include "confdefs.h"
1133  #include <sys/types.h>
1134 @@ -3650,7 +3651,7 @@
1135         exit(0);
1137  EOF
1138 -if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1139 +if { (eval echo configure:3655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1140  then
1141    db_cv_mutex="UNIX/msem_init"
1142  else
1143 @@ -3665,7 +3666,7 @@
1144  if test "$db_cv_mutex" = no; then
1145  LIBS="$LIBS -lmproc"
1146  cat > conftest.$ac_ext <<EOF
1147 -#line 3669 "configure"
1148 +#line 3670 "configure"
1149  #include "confdefs.h"
1150  #include <ulocks.h>
1151  int main() {
1152 @@ -3673,7 +3674,7 @@
1153  spinlock_t x; initspin(&x, 1); cspinlock(&x); spinunlock(&x);
1154  ; return 0; }
1155  EOF
1156 -if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1157 +if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1158    rm -rf conftest*
1159    db_cv_mutex="ReliantUNIX/initspin"
1160  else
1161 @@ -3689,7 +3690,7 @@
1162      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1163  else
1164    cat > conftest.$ac_ext <<EOF
1165 -#line 3693 "configure"
1166 +#line 3694 "configure"
1167  #include "confdefs.h"
1169  main(){
1170 @@ -3699,7 +3700,7 @@
1171         exit(1);
1173  EOF
1174 -if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1175 +if { (eval echo configure:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1176  then
1177    db_cv_mutex="SCO/x86/cc-assembly"
1178  else
1179 @@ -3713,7 +3714,7 @@
1181  if test "$db_cv_mutex" = no; then
1182  cat > conftest.$ac_ext <<EOF
1183 -#line 3717 "configure"
1184 +#line 3718 "configure"
1185  #include "confdefs.h"
1186  #include <abi_mutex.h>
1187  int main() {
1188 @@ -3721,7 +3722,7 @@
1189  abilock_t x; init_lock(&x); acquire_lock(&x); release_lock(&x);
1190  ; return 0; }
1191  EOF
1192 -if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1193 +if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1194    rm -rf conftest*
1195    db_cv_mutex="SGI/init_lock"
1196  else
1197 @@ -3733,7 +3734,7 @@
1199  if test "$db_cv_mutex" = DOESNT_WORK; then
1200  cat > conftest.$ac_ext <<EOF
1201 -#line 3737 "configure"
1202 +#line 3738 "configure"
1203  #include "confdefs.h"
1204  #include <synch.h>
1205  int main() {
1206 @@ -3742,7 +3743,7 @@
1207   sema_init(&x, 1, USYNC_PROCESS, NULL); sema_wait(&x); sema_post(&x);
1208  ; return 0; }
1209  EOF
1210 -if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1211 +if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1212    rm -rf conftest*
1213    db_cv_mutex="UNIX/sema_init"
1214  else
1215 @@ -3754,7 +3755,7 @@
1217  if test "$db_cv_mutex" = no; then
1218  cat > conftest.$ac_ext <<EOF
1219 -#line 3758 "configure"
1220 +#line 3759 "configure"
1221  #include "confdefs.h"
1222  #include <sys/machlock.h>
1223  int main() {
1224 @@ -3763,7 +3764,7 @@
1225   _lock_try(&x); _lock_clear(&x);
1226  ; return 0; }
1227  EOF
1228 -if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1229 +if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1230    rm -rf conftest*
1231    db_cv_mutex="Solaris/_lock_try"
1232  else
1233 @@ -3775,14 +3776,14 @@
1235  if test "$db_cv_mutex" = no; then
1236  cat > conftest.$ac_ext <<EOF
1237 -#line 3779 "configure"
1238 +#line 3780 "configure"
1239  #include "confdefs.h"
1240  #include <sys/atomic_op.h>
1241  int main() {
1242  int x; _check_lock(&x,0,1); _clear_lock(&x,0);
1243  ; return 0; }
1244  EOF
1245 -if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1246 +if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1247    rm -rf conftest*
1248    db_cv_mutex="AIX/_check_lock"
1249  else
1250 @@ -3797,7 +3798,7 @@
1251      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1252  else
1253    cat > conftest.$ac_ext <<EOF
1254 -#line 3801 "configure"
1255 +#line 3802 "configure"
1256  #include "confdefs.h"
1257  main(){
1258  #if defined(__alpha)
1259 @@ -3807,7 +3808,7 @@
1260  #endif
1261  exit(1);}
1262  EOF
1263 -if { (eval echo configure:3811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1264 +if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1265  then
1266    db_cv_mutex="ALPHA/gcc-assembly"
1267  else
1268 @@ -3824,7 +3825,7 @@
1269      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1270  else
1271    cat > conftest.$ac_ext <<EOF
1272 -#line 3828 "configure"
1273 +#line 3829 "configure"
1274  #include "confdefs.h"
1275  main(){
1276  #if defined(__hppa)
1277 @@ -3834,7 +3835,7 @@
1278  #endif
1279  exit(1);}
1280  EOF
1281 -if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1282 +if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1283  then
1284    db_cv_mutex="HPPA/gcc-assembly"
1285  else
1286 @@ -3851,7 +3852,7 @@
1287      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1288  else
1289    cat > conftest.$ac_ext <<EOF
1290 -#line 3855 "configure"
1291 +#line 3856 "configure"
1292  #include "confdefs.h"
1293  main(){
1294  #if defined(__sparc__)
1295 @@ -3862,7 +3863,7 @@
1296         exit(1);
1298  EOF
1299 -if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1300 +if { (eval echo configure:3867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1301  then
1302    db_cv_mutex="Sparc/gcc-assembly"
1303  else
1304 @@ -3879,7 +3880,7 @@
1305      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1306  else
1307    cat > conftest.$ac_ext <<EOF
1308 -#line 3883 "configure"
1309 +#line 3884 "configure"
1310  #include "confdefs.h"
1311  main(){
1312  #if (defined(mc68020) || defined(sun3))
1313 @@ -3890,7 +3891,7 @@
1314         exit(1);
1316  EOF
1317 -if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1318 +if { (eval echo configure:3895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1319  then
1320    db_cv_mutex="68K/gcc-assembly"
1321  else
1322 @@ -3907,7 +3908,7 @@
1323      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1324  else
1325    cat > conftest.$ac_ext <<EOF
1326 -#line 3911 "configure"
1327 +#line 3912 "configure"
1328  #include "confdefs.h"
1329  main(){
1330  #if defined(i386)
1331 @@ -3918,7 +3919,7 @@
1332         exit(1);
1334  EOF
1335 -if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1336 +if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1337  then
1338    db_cv_mutex="x86/gcc-assembly"
1339  else
1340 @@ -3935,7 +3936,7 @@
1341      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1342  else
1343    cat > conftest.$ac_ext <<EOF
1344 -#line 3939 "configure"
1345 +#line 3940 "configure"
1346  #include "confdefs.h"
1347  main(){
1348  #if defined(__ia64)
1349 @@ -3946,7 +3947,7 @@
1350         exit(1);
1352  EOF
1353 -if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1354 +if { (eval echo configure:3951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1355  then
1356    db_cv_mutex="ia64/gcc-assembly"
1357  else
1358 @@ -3963,7 +3964,7 @@
1359      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1360  else
1361    cat > conftest.$ac_ext <<EOF
1362 -#line 3967 "configure"
1363 +#line 3968 "configure"
1364  #include "confdefs.h"
1365  main(){
1366  #if defined(_UTS)
1367 @@ -3972,7 +3973,7 @@
1368         exit(1);
1370  EOF
1371 -if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1372 +if { (eval echo configure:3977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1373  then
1374    db_cv_mutex="UTS/cc-assembly"
1375  else
1376 @@ -4108,12 +4109,12 @@
1377  for ac_func in getcwd getopt memcmp memcpy memmove
1378  do
1379  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1380 -echo "configure:4112: checking for $ac_func" >&5
1381 +echo "configure:4113: checking for $ac_func" >&5
1382  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1383    echo $ac_n "(cached) $ac_c" 1>&6
1384  else
1385    cat > conftest.$ac_ext <<EOF
1386 -#line 4117 "configure"
1387 +#line 4118 "configure"
1388  #include "confdefs.h"
1389  /* System header to define __stub macros and hopefully few prototypes,
1390      which can conflict with char $ac_func(); below.  */
1391 @@ -4136,7 +4137,7 @@
1393  ; return 0; }
1394  EOF
1395 -if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1396 +if { (eval echo configure:4141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1397    rm -rf conftest*
1398    eval "ac_cv_func_$ac_func=yes"
1399  else
1400 @@ -4165,12 +4166,12 @@
1401  for ac_func in raise snprintf strcasecmp strerror vsnprintf
1402  do
1403  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1404 -echo "configure:4169: checking for $ac_func" >&5
1405 +echo "configure:4170: checking for $ac_func" >&5
1406  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1407    echo $ac_n "(cached) $ac_c" 1>&6
1408  else
1409    cat > conftest.$ac_ext <<EOF
1410 -#line 4174 "configure"
1411 +#line 4175 "configure"
1412  #include "confdefs.h"
1413  /* System header to define __stub macros and hopefully few prototypes,
1414      which can conflict with char $ac_func(); below.  */
1415 @@ -4193,7 +4194,7 @@
1417  ; return 0; }
1418  EOF
1419 -if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1420 +if { (eval echo configure:4198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1421    rm -rf conftest*
1422    eval "ac_cv_func_$ac_func=yes"
1423  else
1424 @@ -4226,12 +4227,12 @@
1425  for ac_func in getuid pstat_getdynamic sysconf sched_yield strtoul yield
1426  do
1427  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1428 -echo "configure:4230: checking for $ac_func" >&5
1429 +echo "configure:4231: checking for $ac_func" >&5
1430  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1431    echo $ac_n "(cached) $ac_c" 1>&6
1432  else
1433    cat > conftest.$ac_ext <<EOF
1434 -#line 4235 "configure"
1435 +#line 4236 "configure"
1436  #include "confdefs.h"
1437  /* System header to define __stub macros and hopefully few prototypes,
1438      which can conflict with char $ac_func(); below.  */
1439 @@ -4254,7 +4255,7 @@
1441  ; return 0; }
1442  EOF
1443 -if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1444 +if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1445    rm -rf conftest*
1446    eval "ac_cv_func_$ac_func=yes"
1447  else
1448 @@ -4285,12 +4286,12 @@
1449  *)     for ac_func in pread pwrite
1450  do
1451  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1452 -echo "configure:4289: checking for $ac_func" >&5
1453 +echo "configure:4290: checking for $ac_func" >&5
1454  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1455    echo $ac_n "(cached) $ac_c" 1>&6
1456  else
1457    cat > conftest.$ac_ext <<EOF
1458 -#line 4294 "configure"
1459 +#line 4295 "configure"
1460  #include "confdefs.h"
1461  /* System header to define __stub macros and hopefully few prototypes,
1462      which can conflict with char $ac_func(); below.  */
1463 @@ -4313,7 +4314,7 @@
1465  ; return 0; }
1466  EOF
1467 -if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1468 +if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1469    rm -rf conftest*
1470    eval "ac_cv_func_$ac_func=yes"
1471  else
1472 @@ -4340,7 +4341,7 @@
1473  esac
1475  echo $ac_n "checking for fcntl/F_SETFD""... $ac_c" 1>&6
1476 -echo "configure:4344: checking for fcntl/F_SETFD" >&5
1477 +echo "configure:4345: checking for fcntl/F_SETFD" >&5
1478  if eval "test \"`echo '$''{'db_cv_fcntl_f_setfd'+set}'`\" = set"; then
1479    echo $ac_n "(cached) $ac_c" 1>&6
1480  else
1481 @@ -4348,14 +4349,14 @@
1482      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1483  else
1484    cat > conftest.$ac_ext <<EOF
1485 -#line 4352 "configure"
1486 +#line 4353 "configure"
1487  #include "confdefs.h"
1489  #include <sys/types.h>
1490  #include <fcntl.h>
1491  main(){exit(fcntl(1, F_SETFD, 1) == -1);}
1492  EOF
1493 -if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1494 +if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1495  then
1496    db_cv_fcntl_f_setfd=yes
1497  else
1498 @@ -4385,12 +4386,12 @@
1499  for ac_func in qsort
1500  do
1501  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1502 -echo "configure:4389: checking for $ac_func" >&5
1503 +echo "configure:4390: checking for $ac_func" >&5
1504  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1505    echo $ac_n "(cached) $ac_c" 1>&6
1506  else
1507    cat > conftest.$ac_ext <<EOF
1508 -#line 4394 "configure"
1509 +#line 4395 "configure"
1510  #include "confdefs.h"
1511  /* System header to define __stub macros and hopefully few prototypes,
1512      which can conflict with char $ac_func(); below.  */
1513 @@ -4413,7 +4414,7 @@
1515  ; return 0; }
1516  EOF
1517 -if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1518 +if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1519    rm -rf conftest*
1520    eval "ac_cv_func_$ac_func=yes"
1521  else
1522 @@ -4441,12 +4442,12 @@
1523  for ac_func in select
1524  do
1525  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1526 -echo "configure:4445: checking for $ac_func" >&5
1527 +echo "configure:4446: checking for $ac_func" >&5
1528  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1529    echo $ac_n "(cached) $ac_c" 1>&6
1530  else
1531    cat > conftest.$ac_ext <<EOF
1532 -#line 4450 "configure"
1533 +#line 4451 "configure"
1534  #include "confdefs.h"
1535  /* System header to define __stub macros and hopefully few prototypes,
1536      which can conflict with char $ac_func(); below.  */
1537 @@ -4469,7 +4470,7 @@
1539  ; return 0; }
1540  EOF
1541 -if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1542 +if { (eval echo configure:4474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1543    rm -rf conftest*
1544    eval "ac_cv_func_$ac_func=yes"
1545  else
1546 @@ -4496,7 +4497,7 @@
1549  echo $ac_n "checking for int type sprintf return value""... $ac_c" 1>&6
1550 -echo "configure:4500: checking for int type sprintf return value" >&5
1551 +echo "configure:4501: checking for int type sprintf return value" >&5
1552  if eval "test \"`echo '$''{'db_cv_sprintf_count'+set}'`\" = set"; then
1553    echo $ac_n "(cached) $ac_c" 1>&6
1554  else
1555 @@ -4504,11 +4505,11 @@
1556      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1557  else
1558    cat > conftest.$ac_ext <<EOF
1559 -#line 4508 "configure"
1560 +#line 4509 "configure"
1561  #include "confdefs.h"
1562  main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
1563  EOF
1564 -if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1565 +if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1566  then
1567    db_cv_sprintf_count=yes
1568  else
1569 @@ -4558,12 +4559,12 @@
1570         for ac_func in mmap munmap
1571  do
1572  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1573 -echo "configure:4562: checking for $ac_func" >&5
1574 +echo "configure:4563: checking for $ac_func" >&5
1575  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1576    echo $ac_n "(cached) $ac_c" 1>&6
1577  else
1578    cat > conftest.$ac_ext <<EOF
1579 -#line 4567 "configure"
1580 +#line 4568 "configure"
1581  #include "confdefs.h"
1582  /* System header to define __stub macros and hopefully few prototypes,
1583      which can conflict with char $ac_func(); below.  */
1584 @@ -4586,7 +4587,7 @@
1586  ; return 0; }
1587  EOF
1588 -if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1589 +if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1590    rm -rf conftest*
1591    eval "ac_cv_func_$ac_func=yes"
1592  else
1593 @@ -4618,12 +4619,12 @@
1594         for ac_func in mlock munlock
1595  do
1596  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1597 -echo "configure:4622: checking for $ac_func" >&5
1598 +echo "configure:4623: checking for $ac_func" >&5
1599  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1600    echo $ac_n "(cached) $ac_c" 1>&6
1601  else
1602    cat > conftest.$ac_ext <<EOF
1603 -#line 4627 "configure"
1604 +#line 4628 "configure"
1605  #include "confdefs.h"
1606  /* System header to define __stub macros and hopefully few prototypes,
1607      which can conflict with char $ac_func(); below.  */
1608 @@ -4646,7 +4647,7 @@
1610  ; return 0; }
1611  EOF
1612 -if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1613 +if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1614    rm -rf conftest*
1615    eval "ac_cv_func_$ac_func=yes"
1616  else
1617 @@ -4673,12 +4674,12 @@
1618         for ac_func in mmap munmap
1619  do
1620  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1621 -echo "configure:4677: checking for $ac_func" >&5
1622 +echo "configure:4678: checking for $ac_func" >&5
1623  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1624    echo $ac_n "(cached) $ac_c" 1>&6
1625  else
1626    cat > conftest.$ac_ext <<EOF
1627 -#line 4682 "configure"
1628 +#line 4683 "configure"
1629  #include "confdefs.h"
1630  /* System header to define __stub macros and hopefully few prototypes,
1631      which can conflict with char $ac_func(); below.  */
1632 @@ -4701,7 +4702,7 @@
1634  ; return 0; }
1635  EOF
1636 -if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1637 +if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1638    rm -rf conftest*
1639    eval "ac_cv_func_$ac_func=yes"
1640  else
1641 @@ -4737,12 +4738,12 @@
1642         for ac_func in shmget
1643  do
1644  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1645 -echo "configure:4741: checking for $ac_func" >&5
1646 +echo "configure:4742: checking for $ac_func" >&5
1647  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1648    echo $ac_n "(cached) $ac_c" 1>&6
1649  else
1650    cat > conftest.$ac_ext <<EOF
1651 -#line 4746 "configure"
1652 +#line 4747 "configure"
1653  #include "confdefs.h"
1654  /* System header to define __stub macros and hopefully few prototypes,
1655      which can conflict with char $ac_func(); below.  */
1656 @@ -4765,7 +4766,7 @@
1658  ; return 0; }
1659  EOF
1660 -if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1661 +if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1662    rm -rf conftest*
1663    eval "ac_cv_func_$ac_func=yes"
1664  else
1665 @@ -4801,7 +4802,7 @@
1666  # Extract the first word of "ar", so it can be a program name with args.
1667  set dummy ar; ac_word=$2
1668  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1669 -echo "configure:4805: checking for $ac_word" >&5
1670 +echo "configure:4806: checking for $ac_word" >&5
1671  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ar'+set}'`\" = set"; then
1672    echo $ac_n "(cached) $ac_c" 1>&6
1673  else
1674 @@ -4840,7 +4841,7 @@
1675  # Extract the first word of "chmod", so it can be a program name with args.
1676  set dummy chmod; ac_word=$2
1677  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1678 -echo "configure:4844: checking for $ac_word" >&5
1679 +echo "configure:4845: checking for $ac_word" >&5
1680  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_chmod'+set}'`\" = set"; then
1681    echo $ac_n "(cached) $ac_c" 1>&6
1682  else
1683 @@ -4879,7 +4880,7 @@
1684  # Extract the first word of "cp", so it can be a program name with args.
1685  set dummy cp; ac_word=$2
1686  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1687 -echo "configure:4883: checking for $ac_word" >&5
1688 +echo "configure:4884: checking for $ac_word" >&5
1689  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_cp'+set}'`\" = set"; then
1690    echo $ac_n "(cached) $ac_c" 1>&6
1691  else
1692 @@ -4918,7 +4919,7 @@
1693  # Extract the first word of "ln", so it can be a program name with args.
1694  set dummy ln; ac_word=$2
1695  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1696 -echo "configure:4922: checking for $ac_word" >&5
1697 +echo "configure:4923: checking for $ac_word" >&5
1698  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ln'+set}'`\" = set"; then
1699    echo $ac_n "(cached) $ac_c" 1>&6
1700  else
1701 @@ -4957,7 +4958,7 @@
1702  # Extract the first word of "mkdir", so it can be a program name with args.
1703  set dummy mkdir; ac_word=$2
1704  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1705 -echo "configure:4961: checking for $ac_word" >&5
1706 +echo "configure:4962: checking for $ac_word" >&5
1707  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_mkdir'+set}'`\" = set"; then
1708    echo $ac_n "(cached) $ac_c" 1>&6
1709  else
1710 @@ -4996,7 +4997,7 @@
1711  # Extract the first word of "ranlib", so it can be a program name with args.
1712  set dummy ranlib; ac_word=$2
1713  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1714 -echo "configure:5000: checking for $ac_word" >&5
1715 +echo "configure:5001: checking for $ac_word" >&5
1716  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ranlib'+set}'`\" = set"; then
1717    echo $ac_n "(cached) $ac_c" 1>&6
1718  else
1719 @@ -5032,7 +5033,7 @@
1720  # Extract the first word of "rm", so it can be a program name with args.
1721  set dummy rm; ac_word=$2
1722  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1723 -echo "configure:5036: checking for $ac_word" >&5
1724 +echo "configure:5037: checking for $ac_word" >&5
1725  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_rm'+set}'`\" = set"; then
1726    echo $ac_n "(cached) $ac_c" 1>&6
1727  else
1728 @@ -5071,7 +5072,7 @@
1729  # Extract the first word of "sh", so it can be a program name with args.
1730  set dummy sh; ac_word=$2
1731  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1732 -echo "configure:5075: checking for $ac_word" >&5
1733 +echo "configure:5076: checking for $ac_word" >&5
1734  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sh'+set}'`\" = set"; then
1735    echo $ac_n "(cached) $ac_c" 1>&6
1736  else
1737 @@ -5110,7 +5111,7 @@
1738  # Extract the first word of "strip", so it can be a program name with args.
1739  set dummy strip; ac_word=$2
1740  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1741 -echo "configure:5114: checking for $ac_word" >&5
1742 +echo "configure:5115: checking for $ac_word" >&5
1743  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_strip'+set}'`\" = set"; then
1744    echo $ac_n "(cached) $ac_c" 1>&6
1745  else
1746 @@ -5151,7 +5152,7 @@
1747         # Extract the first word of "kill", so it can be a program name with args.
1748  set dummy kill; ac_word=$2
1749  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1750 -echo "configure:5155: checking for $ac_word" >&5
1751 +echo "configure:5156: checking for $ac_word" >&5
1752  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_kill'+set}'`\" = set"; then
1753    echo $ac_n "(cached) $ac_c" 1>&6
1754  else
1755 diff -ruN db-3.1.14/dist/configure.in ../db-3.1.14/dist/configure.in
1756 --- db-3.1.14/dist/configure.in Wed May 17 20:24:32 2000
1757 +++ ../db-3.1.14/dist/configure.in      Sun Jun 25 20:48:40 2000
1758 @@ -186,6 +186,7 @@
1760  dnl Export our compiler preferences for the libtool configuration.
1761  export CC CCC
1762 +CC="$CC -Wl,-Bsymbolic"
1763  CCC=CXX
1765  dnl Dynamic library and libtool configuration; optional, but required for