move a bit of code
[nvi.git] / db-3.0.55-Bsymbolic-patch
blob93b86f20c512c93b73c5b8fe20849056789add5f
1 diff -ruN db-3.0.55/dist/configure ../db-3.0.55/dist/configure
2 --- db-3.0.55/dist/configure    Mon Nov 15 20:21:03 1999
3 +++ ../db-3.0.55/dist/configure Wed Feb  2 13:43:03 2000
4 @@ -1481,6 +1481,26 @@
5         LIBDB_ARGS="\$(libso_linkname)"
6         LIBTOOL="\$(SHELL) ./libtool"
7  
8 +       save_LDFLAGS="$LDFLAGS"
9 +       LDFLAGS="-Wl,-Bsymbolic $LDFLAGS"
10 +       cat > conftest.$ac_ext <<EOF
11 +#line 1488 "configure"
12 +#include "confdefs.h"
14 +int main() {
16 +; return 0; }
17 +EOF
18 +if { (eval echo configure:1495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19 +  rm -rf conftest*
20 +  SYFLAG="-Wl,-Bsymbolic"
21 +else
22 +  echo "configure: failed program was:" >&5
23 +  cat conftest.$ac_ext >&5
24 +fi
25 +rm -f conftest*
26 +       LDFLAGS="$save_LDFLAGS"
28         MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${SAVE_CC}"
29         MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${SAVE_CXX}"
30         MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
31 @@ -1488,7 +1508,7 @@
32         INSTALLER="\$(LIBTOOL) --mode=install cp"
33         POSTLINK="\$(LIBTOOL) --mode=execute true"
34         SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
35 -       SOFLAGS="-rpath \$(libdir)"
36 +       SOFLAGS="$SYFLAG -rpath \$(libdir)"
37         o=".lo"
38  fi
40 @@ -1510,7 +1530,7 @@
41         # Extract the first word of "javac", so it can be a program name with args.
42  set dummy javac; ac_word=$2
43  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
44 -echo "configure:1514: checking for $ac_word" >&5
45 +echo "configure:1534: checking for $ac_word" >&5
46  if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
47    echo $ac_n "(cached) $ac_c" 1>&6
48  else
49 @@ -1543,7 +1563,7 @@
50         # Extract the first word of "javac", so it can be a program name with args.
51  set dummy javac; ac_word=$2
52  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
53 -echo "configure:1547: checking for $ac_word" >&5
54 +echo "configure:1567: checking for $ac_word" >&5
55  if eval "test \"`echo '$''{'ac_cv_path_JAVACABS'+set}'`\" = set"; then
56    echo $ac_n "(cached) $ac_c" 1>&6
57  else
58 @@ -1610,7 +1630,7 @@
59         
61  echo $ac_n "checking for Tcl libraries""... $ac_c" 1>&6
62 -echo "configure:1614: checking for Tcl libraries" >&5
63 +echo "configure:1634: checking for Tcl libraries" >&5
64  if eval "test \"`echo '$''{'db_cv_tcllibs'+set}'`\" = set"; then
65    echo $ac_n "(cached) $ac_c" 1>&6
66  else
67 @@ -1618,14 +1638,14 @@
69  if test "$db_cv_tcllibs" = no; then
70         cat > conftest.$ac_ext <<EOF
71 -#line 1622 "configure"
72 +#line 1642 "configure"
73  #include "confdefs.h"
74  #include <tcl.h>
75  int main() {
76  Tcl_Init(0);
77  ; return 0; }
78  EOF
79 -if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
80 +if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
81    rm -rf conftest*
82    db_cv_tcllibs="yes"
83  else
84 @@ -1639,14 +1659,14 @@
85         saved_libs="$LIBS";
86         LIBS="$LIBS -ltcl"
87         cat > conftest.$ac_ext <<EOF
88 -#line 1643 "configure"
89 +#line 1663 "configure"
90  #include "confdefs.h"
91  #include <tcl.h>
92  int main() {
93  Tcl_Init(0);
94  ; return 0; }
95  EOF
96 -if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
97 +if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
98    rm -rf conftest*
99    db_cv_tcllibs="-ltcl"
100  else
101 @@ -1661,14 +1681,14 @@
102         saved_libs="$LIBS";
103         LIBS="$LIBS -ltcl -ldl"
104         cat > conftest.$ac_ext <<EOF
105 -#line 1665 "configure"
106 +#line 1685 "configure"
107  #include "confdefs.h"
108  #include <tcl.h>
109  int main() {
110  Tcl_Init(0);
111  ; return 0; }
112  EOF
113 -if { (eval echo configure:1672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
114 +if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
115    rm -rf conftest*
116    db_cv_tcllibs="-ltcl -ldl"
117  else
118 @@ -1683,14 +1703,14 @@
119         saved_libs="$LIBS";
120         LIBS="$LIBS -ltcl -ldl -lm"
121         cat > conftest.$ac_ext <<EOF
122 -#line 1687 "configure"
123 +#line 1707 "configure"
124  #include "confdefs.h"
125  #include <tcl.h>
126  int main() {
127  Tcl_Init(0);
128  ; return 0; }
129  EOF
130 -if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
131 +if { (eval echo configure:1714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
132    rm -rf conftest*
133    db_cv_tcllibs="-ltcl -ldl -lm"
134  else
135 @@ -1705,14 +1725,14 @@
136         saved_libs="$LIBS";
137         LIBS="$LIBS -ltcl -lsocket -ldl -lm -lnsl"
138         cat > conftest.$ac_ext <<EOF
139 -#line 1709 "configure"
140 +#line 1729 "configure"
141  #include "confdefs.h"
142  #include <tcl.h>
143  int main() {
144  Tcl_Init(0);
145  ; return 0; }
146  EOF
147 -if { (eval echo configure:1716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
148 +if { (eval echo configure:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
149    rm -rf conftest*
150    db_cv_tcllibs="-ltcl -lsocket -ldl -lm -lnsl"
151  else
152 @@ -1750,14 +1770,14 @@
153  fi
155  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
156 -echo "configure:1754: checking whether byte ordering is bigendian" >&5
157 +echo "configure:1774: checking whether byte ordering is bigendian" >&5
158  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
159    echo $ac_n "(cached) $ac_c" 1>&6
160  else
161    ac_cv_c_bigendian=unknown
162  # See if sys/param.h defines the BYTE_ORDER macro.
163  cat > conftest.$ac_ext <<EOF
164 -#line 1761 "configure"
165 +#line 1781 "configure"
166  #include "confdefs.h"
167  #include <sys/types.h>
168  #include <sys/param.h>
169 @@ -1768,11 +1788,11 @@
170  #endif
171  ; return 0; }
172  EOF
173 -if { (eval echo configure:1772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
174 +if { (eval echo configure:1792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
175    rm -rf conftest*
176    # It does; now see whether it defined to BIG_ENDIAN or not.
177  cat > conftest.$ac_ext <<EOF
178 -#line 1776 "configure"
179 +#line 1796 "configure"
180  #include "confdefs.h"
181  #include <sys/types.h>
182  #include <sys/param.h>
183 @@ -1783,7 +1803,7 @@
184  #endif
185  ; return 0; }
186  EOF
187 -if { (eval echo configure:1787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
188 +if { (eval echo configure:1807: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
189    rm -rf conftest*
190    ac_cv_c_bigendian=yes
191  else
192 @@ -1803,7 +1823,7 @@
193      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
194  else
195    cat > conftest.$ac_ext <<EOF
196 -#line 1807 "configure"
197 +#line 1827 "configure"
198  #include "confdefs.h"
199  main () {
200    /* Are we little or big endian?  From Harbison&Steele.  */
201 @@ -1816,7 +1836,7 @@
202    exit (u.c[sizeof (long) - 1] == 1);
204  EOF
205 -if { (eval echo configure:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
206 +if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
207  then
208    ac_cv_c_bigendian=no
209  else
210 @@ -1840,12 +1860,12 @@
211  fi
213  echo $ac_n "checking for working const""... $ac_c" 1>&6
214 -echo "configure:1844: checking for working const" >&5
215 +echo "configure:1864: checking for working const" >&5
216  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
217    echo $ac_n "(cached) $ac_c" 1>&6
218  else
219    cat > conftest.$ac_ext <<EOF
220 -#line 1849 "configure"
221 +#line 1869 "configure"
222  #include "confdefs.h"
224  int main() {
225 @@ -1894,7 +1914,7 @@
227  ; return 0; }
228  EOF
229 -if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
230 +if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
231    rm -rf conftest*
232    ac_cv_c_const=yes
233  else
234 @@ -1915,7 +1935,7 @@
235  fi
237  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
238 -echo "configure:1919: checking how to run the C preprocessor" >&5
239 +echo "configure:1939: checking how to run the C preprocessor" >&5
240  # On Suns, sometimes $CPP names a directory.
241  if test -n "$CPP" && test -d "$CPP"; then
242    CPP=
243 @@ -1930,13 +1950,13 @@
244    # On the NeXT, cc -E runs the code through the compiler's parser,
245    # not just through cpp.
246    cat > conftest.$ac_ext <<EOF
247 -#line 1934 "configure"
248 +#line 1954 "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:1940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
255 +{ (eval echo configure:1960: \"$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 @@ -1947,13 +1967,13 @@
260    rm -rf conftest*
261    CPP="${CC-cc} -E -traditional-cpp"
262    cat > conftest.$ac_ext <<EOF
263 -#line 1951 "configure"
264 +#line 1971 "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:1957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
271 +{ (eval echo configure:1977: \"$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 @@ -1964,13 +1984,13 @@
276    rm -rf conftest*
277    CPP="${CC-cc} -nologo -E"
278    cat > conftest.$ac_ext <<EOF
279 -#line 1968 "configure"
280 +#line 1988 "configure"
281  #include "confdefs.h"
282  #include <assert.h>
283  Syntax Error
284  EOF
285  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
286 -{ (eval echo configure:1974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
287 +{ (eval echo configure:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
288  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
289  if test -z "$ac_err"; then
290    :
291 @@ -1995,12 +2015,12 @@
292  echo "$ac_t""$CPP" 1>&6
294  echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
295 -echo "configure:1999: checking whether stat file-mode macros are broken" >&5
296 +echo "configure:2019: checking whether stat file-mode macros are broken" >&5
297  if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
298    echo $ac_n "(cached) $ac_c" 1>&6
299  else
300    cat > conftest.$ac_ext <<EOF
301 -#line 2004 "configure"
302 +#line 2024 "configure"
303  #include "confdefs.h"
304  #include <sys/types.h>
305  #include <sys/stat.h>
306 @@ -2051,12 +2071,12 @@
307  fi
309  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
310 -echo "configure:2055: checking whether time.h and sys/time.h may both be included" >&5
311 +echo "configure:2075: checking whether time.h and sys/time.h may both be included" >&5
312  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
313    echo $ac_n "(cached) $ac_c" 1>&6
314  else
315    cat > conftest.$ac_ext <<EOF
316 -#line 2060 "configure"
317 +#line 2080 "configure"
318  #include "confdefs.h"
319  #include <sys/types.h>
320  #include <sys/time.h>
321 @@ -2065,7 +2085,7 @@
322  struct tm *tp;
323  ; return 0; }
324  EOF
325 -if { (eval echo configure:2069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
326 +if { (eval echo configure:2089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
327    rm -rf conftest*
328    ac_cv_header_time=yes
329  else
330 @@ -2086,12 +2106,12 @@
331  fi
333  echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
334 -echo "configure:2090: checking for st_blksize in struct stat" >&5
335 +echo "configure:2110: checking for st_blksize in struct stat" >&5
336  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
337    echo $ac_n "(cached) $ac_c" 1>&6
338  else
339    cat > conftest.$ac_ext <<EOF
340 -#line 2095 "configure"
341 +#line 2115 "configure"
342  #include "confdefs.h"
343  #include <sys/types.h>
344  #include <sys/stat.h>
345 @@ -2099,7 +2119,7 @@
346  struct stat s; s.st_blksize;
347  ; return 0; }
348  EOF
349 -if { (eval echo configure:2103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
350 +if { (eval echo configure:2123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
351    rm -rf conftest*
352    ac_cv_struct_st_blksize=yes
353  else
354 @@ -2120,12 +2140,12 @@
355  fi
357  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
358 -echo "configure:2124: checking for ANSI C header files" >&5
359 +echo "configure:2144: checking for ANSI C header files" >&5
360  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
361    echo $ac_n "(cached) $ac_c" 1>&6
362  else
363    cat > conftest.$ac_ext <<EOF
364 -#line 2129 "configure"
365 +#line 2149 "configure"
366  #include "confdefs.h"
367  #include <stdlib.h>
368  #include <stdarg.h>
369 @@ -2133,7 +2153,7 @@
370  #include <float.h>
371  EOF
372  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
373 -{ (eval echo configure:2137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
374 +{ (eval echo configure:2157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
375  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
376  if test -z "$ac_err"; then
377    rm -rf conftest*
378 @@ -2150,7 +2170,7 @@
379  if test $ac_cv_header_stdc = yes; then
380    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
381  cat > conftest.$ac_ext <<EOF
382 -#line 2154 "configure"
383 +#line 2174 "configure"
384  #include "confdefs.h"
385  #include <string.h>
386  EOF
387 @@ -2168,7 +2188,7 @@
388  if test $ac_cv_header_stdc = yes; then
389    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
390  cat > conftest.$ac_ext <<EOF
391 -#line 2172 "configure"
392 +#line 2192 "configure"
393  #include "confdefs.h"
394  #include <stdlib.h>
395  EOF
396 @@ -2189,7 +2209,7 @@
397    :
398  else
399    cat > conftest.$ac_ext <<EOF
400 -#line 2193 "configure"
401 +#line 2213 "configure"
402  #include "confdefs.h"
403  #include <ctype.h>
404  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
405 @@ -2200,7 +2220,7 @@
406  exit (0); }
408  EOF
409 -if { (eval echo configure:2204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
410 +if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
411  then
412    :
413  else
414 @@ -2224,12 +2244,12 @@
415  fi
417  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
418 -echo "configure:2228: checking for mode_t" >&5
419 +echo "configure:2248: checking for mode_t" >&5
420  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
421    echo $ac_n "(cached) $ac_c" 1>&6
422  else
423    cat > conftest.$ac_ext <<EOF
424 -#line 2233 "configure"
425 +#line 2253 "configure"
426  #include "confdefs.h"
427  #include <sys/types.h>
428  #if STDC_HEADERS
429 @@ -2257,12 +2277,12 @@
430  fi
432  echo $ac_n "checking for off_t""... $ac_c" 1>&6
433 -echo "configure:2261: checking for off_t" >&5
434 +echo "configure:2281: checking for off_t" >&5
435  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
436    echo $ac_n "(cached) $ac_c" 1>&6
437  else
438    cat > conftest.$ac_ext <<EOF
439 -#line 2266 "configure"
440 +#line 2286 "configure"
441  #include "confdefs.h"
442  #include <sys/types.h>
443  #if STDC_HEADERS
444 @@ -2290,12 +2310,12 @@
445  fi
447  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
448 -echo "configure:2294: checking for pid_t" >&5
449 +echo "configure:2314: checking for pid_t" >&5
450  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
451    echo $ac_n "(cached) $ac_c" 1>&6
452  else
453    cat > conftest.$ac_ext <<EOF
454 -#line 2299 "configure"
455 +#line 2319 "configure"
456  #include "confdefs.h"
457  #include <sys/types.h>
458  #if STDC_HEADERS
459 @@ -2323,12 +2343,12 @@
460  fi
462  echo $ac_n "checking for size_t""... $ac_c" 1>&6
463 -echo "configure:2327: checking for size_t" >&5
464 +echo "configure:2347: checking for size_t" >&5
465  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
466    echo $ac_n "(cached) $ac_c" 1>&6
467  else
468    cat > conftest.$ac_ext <<EOF
469 -#line 2332 "configure"
470 +#line 2352 "configure"
471  #include "confdefs.h"
472  #include <sys/types.h>
473  #if STDC_HEADERS
474 @@ -2359,19 +2379,19 @@
477  echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
478 -echo "configure:2363: checking for ssize_t" >&5
479 +echo "configure:2383: checking for ssize_t" >&5
480  if eval "test \"`echo '$''{'db_cv_ssize_t'+set}'`\" = set"; then
481    echo $ac_n "(cached) $ac_c" 1>&6
482  else
483    cat > conftest.$ac_ext <<EOF
484 -#line 2368 "configure"
485 +#line 2388 "configure"
486  #include "confdefs.h"
487  #include <sys/types.h>
488  int main() {
489  ssize_t foo;
490  ; return 0; }
491  EOF
492 -if { (eval echo configure:2375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
493 +if { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
494    rm -rf conftest*
495    db_cv_ssize_t=yes
496  else
497 @@ -2390,19 +2410,19 @@
500  echo $ac_n "checking for u_char""... $ac_c" 1>&6
501 -echo "configure:2394: checking for u_char" >&5
502 +echo "configure:2414: checking for u_char" >&5
503  if eval "test \"`echo '$''{'db_cv_uchar'+set}'`\" = set"; then
504    echo $ac_n "(cached) $ac_c" 1>&6
505  else
506    cat > conftest.$ac_ext <<EOF
507 -#line 2399 "configure"
508 +#line 2419 "configure"
509  #include "confdefs.h"
510  #include <sys/types.h>
511  int main() {
512  u_char foo;
513  ; return 0; }
514  EOF
515 -if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
516 +if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
517    rm -rf conftest*
518    db_cv_uchar=yes
519  else
520 @@ -2421,19 +2441,19 @@
523  echo $ac_n "checking for u_short""... $ac_c" 1>&6
524 -echo "configure:2425: checking for u_short" >&5
525 +echo "configure:2445: checking for u_short" >&5
526  if eval "test \"`echo '$''{'db_cv_ushort'+set}'`\" = set"; then
527    echo $ac_n "(cached) $ac_c" 1>&6
528  else
529    cat > conftest.$ac_ext <<EOF
530 -#line 2430 "configure"
531 +#line 2450 "configure"
532  #include "confdefs.h"
533  #include <sys/types.h>
534  int main() {
535  u_short foo;
536  ; return 0; }
537  EOF
538 -if { (eval echo configure:2437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
539 +if { (eval echo configure:2457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
540    rm -rf conftest*
541    db_cv_ushort=yes
542  else
543 @@ -2452,19 +2472,19 @@
546  echo $ac_n "checking for u_int""... $ac_c" 1>&6
547 -echo "configure:2456: checking for u_int" >&5
548 +echo "configure:2476: checking for u_int" >&5
549  if eval "test \"`echo '$''{'db_cv_uint'+set}'`\" = set"; then
550    echo $ac_n "(cached) $ac_c" 1>&6
551  else
552    cat > conftest.$ac_ext <<EOF
553 -#line 2461 "configure"
554 +#line 2481 "configure"
555  #include "confdefs.h"
556  #include <sys/types.h>
557  int main() {
558  u_int foo;
559  ; return 0; }
560  EOF
561 -if { (eval echo configure:2468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
562 +if { (eval echo configure:2488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
563    rm -rf conftest*
564    db_cv_uint=yes
565  else
566 @@ -2483,19 +2503,19 @@
569  echo $ac_n "checking for u_long""... $ac_c" 1>&6
570 -echo "configure:2487: checking for u_long" >&5
571 +echo "configure:2507: checking for u_long" >&5
572  if eval "test \"`echo '$''{'db_cv_ulong'+set}'`\" = set"; then
573    echo $ac_n "(cached) $ac_c" 1>&6
574  else
575    cat > conftest.$ac_ext <<EOF
576 -#line 2492 "configure"
577 +#line 2512 "configure"
578  #include "confdefs.h"
579  #include <sys/types.h>
580  int main() {
581  u_long foo;
582  ; return 0; }
583  EOF
584 -if { (eval echo configure:2499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
585 +if { (eval echo configure:2519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
586    rm -rf conftest*
587    db_cv_ulong=yes
588  else
589 @@ -2514,19 +2534,19 @@
592  echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6
593 -echo "configure:2518: checking for u_int8_t" >&5
594 +echo "configure:2538: checking for u_int8_t" >&5
595  if eval "test \"`echo '$''{'db_cv_uint8'+set}'`\" = set"; then
596    echo $ac_n "(cached) $ac_c" 1>&6
597  else
598    cat > conftest.$ac_ext <<EOF
599 -#line 2523 "configure"
600 +#line 2543 "configure"
601  #include "confdefs.h"
602  #include <sys/types.h>
603  int main() {
604  u_int8_t foo;
605  ; return 0; }
606  EOF
607 -if { (eval echo configure:2530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
608 +if { (eval echo configure:2550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
609    rm -rf conftest*
610    db_cv_uint8=yes
611  else
612 @@ -2537,11 +2557,11 @@
613      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
614  else
615    cat > conftest.$ac_ext <<EOF
616 -#line 2541 "configure"
617 +#line 2561 "configure"
618  #include "confdefs.h"
619  main(){exit(sizeof(unsigned char) != 1);}
620  EOF
621 -if { (eval echo configure:2545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
622 +if { (eval echo configure:2565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
623  then
624    db_cv_uint8="unsigned char"
625  else
626 @@ -2567,19 +2587,19 @@
629  echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
630 -echo "configure:2571: checking for u_int16_t" >&5
631 +echo "configure:2591: checking for u_int16_t" >&5
632  if eval "test \"`echo '$''{'db_cv_uint16'+set}'`\" = set"; then
633    echo $ac_n "(cached) $ac_c" 1>&6
634  else
635    cat > conftest.$ac_ext <<EOF
636 -#line 2576 "configure"
637 +#line 2596 "configure"
638  #include "confdefs.h"
639  #include <sys/types.h>
640  int main() {
641  u_int16_t foo;
642  ; return 0; }
643  EOF
644 -if { (eval echo configure:2583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
645 +if { (eval echo configure:2603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
646    rm -rf conftest*
647    db_cv_uint16=yes
648  else
649 @@ -2590,11 +2610,11 @@
650      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
651  else
652    cat > conftest.$ac_ext <<EOF
653 -#line 2594 "configure"
654 +#line 2614 "configure"
655  #include "confdefs.h"
656  main(){exit(sizeof(unsigned short) != 2);}
657  EOF
658 -if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
659 +if { (eval echo configure:2618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
660  then
661    db_cv_uint16="unsigned short"
662  else
663 @@ -2605,11 +2625,11 @@
664      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
665  else
666    cat > conftest.$ac_ext <<EOF
667 -#line 2609 "configure"
668 +#line 2629 "configure"
669  #include "confdefs.h"
670  main(){exit(sizeof(unsigned int) != 2);}
671  EOF
672 -if { (eval echo configure:2613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
673 +if { (eval echo configure:2633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
674  then
675    db_cv_uint16="unsigned int"
676  else
677 @@ -2639,19 +2659,19 @@
680  echo $ac_n "checking for int16_t""... $ac_c" 1>&6
681 -echo "configure:2643: checking for int16_t" >&5
682 +echo "configure:2663: checking for int16_t" >&5
683  if eval "test \"`echo '$''{'db_cv_int16'+set}'`\" = set"; then
684    echo $ac_n "(cached) $ac_c" 1>&6
685  else
686    cat > conftest.$ac_ext <<EOF
687 -#line 2648 "configure"
688 +#line 2668 "configure"
689  #include "confdefs.h"
690  #include <sys/types.h>
691  int main() {
692  int16_t foo;
693  ; return 0; }
694  EOF
695 -if { (eval echo configure:2655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
696 +if { (eval echo configure:2675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
697    rm -rf conftest*
698    db_cv_int16=yes
699  else
700 @@ -2662,11 +2682,11 @@
701      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
702  else
703    cat > conftest.$ac_ext <<EOF
704 -#line 2666 "configure"
705 +#line 2686 "configure"
706  #include "confdefs.h"
707  main(){exit(sizeof(short) != 2);}
708  EOF
709 -if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
710 +if { (eval echo configure:2690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
711  then
712    db_cv_int16="short"
713  else
714 @@ -2677,11 +2697,11 @@
715      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
716  else
717    cat > conftest.$ac_ext <<EOF
718 -#line 2681 "configure"
719 +#line 2701 "configure"
720  #include "confdefs.h"
721  main(){exit(sizeof(int) != 2);}
722  EOF
723 -if { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
724 +if { (eval echo configure:2705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
725  then
726    db_cv_int16="int"
727  else
728 @@ -2711,19 +2731,19 @@
731  echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
732 -echo "configure:2715: checking for u_int32_t" >&5
733 +echo "configure:2735: checking for u_int32_t" >&5
734  if eval "test \"`echo '$''{'db_cv_uint32'+set}'`\" = set"; then
735    echo $ac_n "(cached) $ac_c" 1>&6
736  else
737    cat > conftest.$ac_ext <<EOF
738 -#line 2720 "configure"
739 +#line 2740 "configure"
740  #include "confdefs.h"
741  #include <sys/types.h>
742  int main() {
743  u_int32_t foo;
744  ; return 0; }
745  EOF
746 -if { (eval echo configure:2727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
747 +if { (eval echo configure:2747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
748    rm -rf conftest*
749    db_cv_uint32=yes
750  else
751 @@ -2734,11 +2754,11 @@
752      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
753  else
754    cat > conftest.$ac_ext <<EOF
755 -#line 2738 "configure"
756 +#line 2758 "configure"
757  #include "confdefs.h"
758  main(){exit(sizeof(unsigned int) != 4);}
759  EOF
760 -if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
761 +if { (eval echo configure:2762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
762  then
763    db_cv_uint32="unsigned int"
764  else
765 @@ -2749,11 +2769,11 @@
766      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
767  else
768    cat > conftest.$ac_ext <<EOF
769 -#line 2753 "configure"
770 +#line 2773 "configure"
771  #include "confdefs.h"
772  main(){exit(sizeof(unsigned long) != 4);}
773  EOF
774 -if { (eval echo configure:2757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
775 +if { (eval echo configure:2777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
776  then
777    db_cv_uint32="unsigned long"
778  else
779 @@ -2783,19 +2803,19 @@
782  echo $ac_n "checking for int32_t""... $ac_c" 1>&6
783 -echo "configure:2787: checking for int32_t" >&5
784 +echo "configure:2807: checking for int32_t" >&5
785  if eval "test \"`echo '$''{'db_cv_int32'+set}'`\" = set"; then
786    echo $ac_n "(cached) $ac_c" 1>&6
787  else
788    cat > conftest.$ac_ext <<EOF
789 -#line 2792 "configure"
790 +#line 2812 "configure"
791  #include "confdefs.h"
792  #include <sys/types.h>
793  int main() {
794  int32_t foo;
795  ; return 0; }
796  EOF
797 -if { (eval echo configure:2799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
798 +if { (eval echo configure:2819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
799    rm -rf conftest*
800    db_cv_int32=yes
801  else
802 @@ -2806,11 +2826,11 @@
803      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
804  else
805    cat > conftest.$ac_ext <<EOF
806 -#line 2810 "configure"
807 +#line 2830 "configure"
808  #include "confdefs.h"
809  main(){exit(sizeof(int) != 4);}
810  EOF
811 -if { (eval echo configure:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
812 +if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
813  then
814    db_cv_int32="int"
815  else
816 @@ -2821,11 +2841,11 @@
817      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
818  else
819    cat > conftest.$ac_ext <<EOF
820 -#line 2825 "configure"
821 +#line 2845 "configure"
822  #include "confdefs.h"
823  main(){exit(sizeof(long) != 4);}
824  EOF
825 -if { (eval echo configure:2829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
826 +if { (eval echo configure:2849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
827  then
828    db_cv_int32="long"
829  else
830 @@ -2859,12 +2879,12 @@
831  do
832  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
833  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
834 -echo "configure:2863: checking for $ac_hdr that defines DIR" >&5
835 +echo "configure:2883: checking for $ac_hdr that defines DIR" >&5
836  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
837    echo $ac_n "(cached) $ac_c" 1>&6
838  else
839    cat > conftest.$ac_ext <<EOF
840 -#line 2868 "configure"
841 +#line 2888 "configure"
842  #include "confdefs.h"
843  #include <sys/types.h>
844  #include <$ac_hdr>
845 @@ -2872,7 +2892,7 @@
846  DIR *dirp = 0;
847  ; return 0; }
848  EOF
849 -if { (eval echo configure:2876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
850 +if { (eval echo configure:2896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
851    rm -rf conftest*
852    eval "ac_cv_header_dirent_$ac_safe=yes"
853  else
854 @@ -2897,7 +2917,7 @@
855  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
856  if test $ac_header_dirent = dirent.h; then
857  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
858 -echo "configure:2901: checking for opendir in -ldir" >&5
859 +echo "configure:2921: checking for opendir in -ldir" >&5
860  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
861  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
862    echo $ac_n "(cached) $ac_c" 1>&6
863 @@ -2905,7 +2925,7 @@
864    ac_save_LIBS="$LIBS"
865  LIBS="-ldir  $LIBS"
866  cat > conftest.$ac_ext <<EOF
867 -#line 2909 "configure"
868 +#line 2929 "configure"
869  #include "confdefs.h"
870  /* Override any gcc2 internal prototype to avoid an error.  */
871  /* We use char because int might match the return type of a gcc2
872 @@ -2916,7 +2936,7 @@
873  opendir()
874  ; return 0; }
875  EOF
876 -if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
877 +if { (eval echo configure:2940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
878    rm -rf conftest*
879    eval "ac_cv_lib_$ac_lib_var=yes"
880  else
881 @@ -2938,7 +2958,7 @@
883  else
884  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
885 -echo "configure:2942: checking for opendir in -lx" >&5
886 +echo "configure:2962: checking for opendir in -lx" >&5
887  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
888  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
889    echo $ac_n "(cached) $ac_c" 1>&6
890 @@ -2946,7 +2966,7 @@
891    ac_save_LIBS="$LIBS"
892  LIBS="-lx  $LIBS"
893  cat > conftest.$ac_ext <<EOF
894 -#line 2950 "configure"
895 +#line 2970 "configure"
896  #include "confdefs.h"
897  /* Override any gcc2 internal prototype to avoid an error.  */
898  /* We use char because int might match the return type of a gcc2
899 @@ -2957,7 +2977,7 @@
900  opendir()
901  ; return 0; }
902  EOF
903 -if { (eval echo configure:2961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
904 +if { (eval echo configure:2981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
905    rm -rf conftest*
906    eval "ac_cv_lib_$ac_lib_var=yes"
907  else
908 @@ -2983,17 +3003,17 @@
909  do
910  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
911  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
912 -echo "configure:2987: checking for $ac_hdr" >&5
913 +echo "configure:3007: checking for $ac_hdr" >&5
914  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
915    echo $ac_n "(cached) $ac_c" 1>&6
916  else
917    cat > conftest.$ac_ext <<EOF
918 -#line 2992 "configure"
919 +#line 3012 "configure"
920  #include "confdefs.h"
921  #include <$ac_hdr>
922  EOF
923  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
924 -{ (eval echo configure:2997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
925 +{ (eval echo configure:3017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
926  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
927  if test -z "$ac_err"; then
928    rm -rf conftest*
929 @@ -3023,17 +3043,17 @@
930  do
931  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
932  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
933 -echo "configure:3027: checking for $ac_hdr" >&5
934 +echo "configure:3047: checking for $ac_hdr" >&5
935  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
936    echo $ac_n "(cached) $ac_c" 1>&6
937  else
938    cat > conftest.$ac_ext <<EOF
939 -#line 3032 "configure"
940 +#line 3052 "configure"
941  #include "confdefs.h"
942  #include <$ac_hdr>
943  EOF
944  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
945 -{ (eval echo configure:3037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
946 +{ (eval echo configure:3057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
947  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
948  if test -z "$ac_err"; then
949    rm -rf conftest*
950 @@ -3063,7 +3083,7 @@
953  echo $ac_n "checking for mutexes""... $ac_c" 1>&6
954 -echo "configure:3067: checking for mutexes" >&5
955 +echo "configure:3087: checking for mutexes" >&5
956  if eval "test \"`echo '$''{'db_cv_mutex'+set}'`\" = set"; then
957    echo $ac_n "(cached) $ac_c" 1>&6
958  else
959 @@ -3084,7 +3104,7 @@
960      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
961  else
962    cat > conftest.$ac_ext <<EOF
963 -#line 3088 "configure"
964 +#line 3108 "configure"
965  #include "confdefs.h"
967  #include <synch.h>
968 @@ -3098,7 +3118,7 @@
969         _lwp_mutex_unlock(&mutex));
971  EOF
972 -if { (eval echo configure:3102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
973 +if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
974  then
975    db_cv_mutex="Solaris/lwp"
976  else
977 @@ -3116,7 +3136,7 @@
978      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
979  else
980    cat > conftest.$ac_ext <<EOF
981 -#line 3120 "configure"
982 +#line 3140 "configure"
983  #include "confdefs.h"
985  #include <thread.h>
986 @@ -3132,7 +3152,7 @@
987         mutex_unlock(&mutex));
989  EOF
990 -if { (eval echo configure:3136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
991 +if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
992  then
993    db_cv_mutex="UI/threads/library"
994  else
995 @@ -3149,7 +3169,7 @@
996      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
997  else
998    cat > conftest.$ac_ext <<EOF
999 -#line 3153 "configure"
1000 +#line 3173 "configure"
1001  #include "confdefs.h"
1003  #include <thread.h>
1004 @@ -3165,7 +3185,7 @@
1005         mutex_unlock(&mutex));
1007  EOF
1008 -if { (eval echo configure:3169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1009 +if { (eval echo configure:3189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1010  then
1011    db_cv_mutex="UI/threads"
1012  else
1013 @@ -3182,7 +3202,7 @@
1014      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1015  else
1016    cat > conftest.$ac_ext <<EOF
1017 -#line 3186 "configure"
1018 +#line 3206 "configure"
1019  #include "confdefs.h"
1021  #include <pthread.h>
1022 @@ -3206,7 +3226,7 @@
1023         pthread_mutexattr_destroy(&mutexattr));
1025  EOF
1026 -if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1027 +if { (eval echo configure:3230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1028  then
1029    db_cv_mutex="POSIX/pthreads"
1030  else
1031 @@ -3223,7 +3243,7 @@
1032      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1033  else
1034    cat > conftest.$ac_ext <<EOF
1035 -#line 3227 "configure"
1036 +#line 3247 "configure"
1037  #include "confdefs.h"
1039  #include <pthread.h>
1040 @@ -3247,7 +3267,7 @@
1041         pthread_mutexattr_destroy(&mutexattr));
1043  EOF
1044 -if { (eval echo configure:3251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1045 +if { (eval echo configure:3271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1046  then
1047    db_cv_mutex="POSIX/pthreads/library"
1048  else
1049 @@ -3265,7 +3285,7 @@
1050      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1051  else
1052    cat > conftest.$ac_ext <<EOF
1053 -#line 3269 "configure"
1054 +#line 3289 "configure"
1055  #include "confdefs.h"
1057  #include <sys/mman.h>
1058 @@ -3282,7 +3302,7 @@
1059  #endif
1061  EOF
1062 -if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1063 +if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1064  then
1065    db_cv_mutex="HP/msem_init"
1066  else
1067 @@ -3299,7 +3319,7 @@
1068      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1069  else
1070    cat > conftest.$ac_ext <<EOF
1071 -#line 3303 "configure"
1072 +#line 3323 "configure"
1073  #include "confdefs.h"
1075  #include <sys/types.h>
1076 @@ -3313,7 +3333,7 @@
1077         exit(0);
1079  EOF
1080 -if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1081 +if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1082  then
1083    db_cv_mutex="UNIX/msem_init"
1084  else
1085 @@ -3328,7 +3348,7 @@
1086  if test "$db_cv_mutex" = no; then
1087  LIBS="$LIBS -lmproc"
1088  cat > conftest.$ac_ext <<EOF
1089 -#line 3332 "configure"
1090 +#line 3352 "configure"
1091  #include "confdefs.h"
1092  #include <ulocks.h>
1093  int main() {
1094 @@ -3336,7 +3356,7 @@
1095  spinlock_t x; initspin(&x, 1); cspinlock(&x); spinunlock(&x);
1096  ; return 0; }
1097  EOF
1098 -if { (eval echo configure:3340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1099 +if { (eval echo configure:3360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1100    rm -rf conftest*
1101    db_cv_mutex="ReliantUNIX/initspin"
1102  else
1103 @@ -3352,7 +3372,7 @@
1104      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1105  else
1106    cat > conftest.$ac_ext <<EOF
1107 -#line 3356 "configure"
1108 +#line 3376 "configure"
1109  #include "confdefs.h"
1111  main(){
1112 @@ -3362,7 +3382,7 @@
1113         exit(1);
1115  EOF
1116 -if { (eval echo configure:3366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1117 +if { (eval echo configure:3386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1118  then
1119    db_cv_mutex="SCO/x86/cc-assembly"
1120  else
1121 @@ -3376,7 +3396,7 @@
1123  if test "$db_cv_mutex" = no; then
1124  cat > conftest.$ac_ext <<EOF
1125 -#line 3380 "configure"
1126 +#line 3400 "configure"
1127  #include "confdefs.h"
1128  #include <abi_mutex.h>
1129  int main() {
1130 @@ -3384,7 +3404,7 @@
1131  abilock_t x; init_lock(&x); acquire_lock(&x); release_lock(&x);
1132  ; return 0; }
1133  EOF
1134 -if { (eval echo configure:3388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1135 +if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1136    rm -rf conftest*
1137    db_cv_mutex="SGI/init_lock"
1138  else
1139 @@ -3396,7 +3416,7 @@
1141  if test "$db_cv_mutex" = DOESNT_WORK; then
1142  cat > conftest.$ac_ext <<EOF
1143 -#line 3400 "configure"
1144 +#line 3420 "configure"
1145  #include "confdefs.h"
1146  #include <synch.h>
1147  int main() {
1148 @@ -3405,7 +3425,7 @@
1149   sema_init(&x, 1, USYNC_PROCESS, NULL); sema_wait(&x); sema_post(&x);
1150  ; return 0; }
1151  EOF
1152 -if { (eval echo configure:3409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1153 +if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1154    rm -rf conftest*
1155    db_cv_mutex="UNIX/sema_init"
1156  else
1157 @@ -3417,7 +3437,7 @@
1159  if test "$db_cv_mutex" = no; then
1160  cat > conftest.$ac_ext <<EOF
1161 -#line 3421 "configure"
1162 +#line 3441 "configure"
1163  #include "confdefs.h"
1164  #include <sys/machlock.h>
1165  int main() {
1166 @@ -3426,7 +3446,7 @@
1167   _lock_try(&x); _lock_clear(&x);
1168  ; return 0; }
1169  EOF
1170 -if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1171 +if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1172    rm -rf conftest*
1173    db_cv_mutex="Solaris/_lock_try"
1174  else
1175 @@ -3438,14 +3458,14 @@
1177  if test "$db_cv_mutex" = no; then
1178  cat > conftest.$ac_ext <<EOF
1179 -#line 3442 "configure"
1180 +#line 3462 "configure"
1181  #include "confdefs.h"
1182  #include <sys/atomic_op.h>
1183  int main() {
1184  int x; _check_lock(x,0,1); _clear_lock(x,0);
1185  ; return 0; }
1186  EOF
1187 -if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1188 +if { (eval echo configure:3469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1189    rm -rf conftest*
1190    db_cv_mutex="AIX/_check_lock"
1191  else
1192 @@ -3460,7 +3480,7 @@
1193      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1194  else
1195    cat > conftest.$ac_ext <<EOF
1196 -#line 3464 "configure"
1197 +#line 3484 "configure"
1198  #include "confdefs.h"
1199  main(){
1200  #if defined(__alpha)
1201 @@ -3470,7 +3490,7 @@
1202  #endif
1203  exit(1);}
1204  EOF
1205 -if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1206 +if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1207  then
1208    db_cv_mutex="ALPHA/gcc-assembly"
1209  else
1210 @@ -3487,7 +3507,7 @@
1211      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1212  else
1213    cat > conftest.$ac_ext <<EOF
1214 -#line 3491 "configure"
1215 +#line 3511 "configure"
1216  #include "confdefs.h"
1217  main(){
1218  #if defined(__hppa)
1219 @@ -3497,7 +3517,7 @@
1220  #endif
1221  exit(1);}
1222  EOF
1223 -if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1224 +if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1225  then
1226    db_cv_mutex="HPPA/gcc-assembly"
1227  else
1228 @@ -3514,7 +3534,7 @@
1229      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1230  else
1231    cat > conftest.$ac_ext <<EOF
1232 -#line 3518 "configure"
1233 +#line 3538 "configure"
1234  #include "confdefs.h"
1235  main(){
1236  #if defined(__sparc__)
1237 @@ -3525,7 +3545,7 @@
1238         exit(1);
1240  EOF
1241 -if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1242 +if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1243  then
1244    db_cv_mutex="Sparc/gcc-assembly"
1245  else
1246 @@ -3542,7 +3562,7 @@
1247      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1248  else
1249    cat > conftest.$ac_ext <<EOF
1250 -#line 3546 "configure"
1251 +#line 3566 "configure"
1252  #include "confdefs.h"
1253  main(){
1254  #if (defined(mc68020) || defined(sun3))
1255 @@ -3553,7 +3573,7 @@
1256         exit(1);
1258  EOF
1259 -if { (eval echo configure:3557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1260 +if { (eval echo configure:3577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1261  then
1262    db_cv_mutex="68K/gcc-assembly"
1263  else
1264 @@ -3570,7 +3590,7 @@
1265      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1266  else
1267    cat > conftest.$ac_ext <<EOF
1268 -#line 3574 "configure"
1269 +#line 3594 "configure"
1270  #include "confdefs.h"
1271  main(){
1272  #if defined(i386)
1273 @@ -3581,7 +3601,7 @@
1274         exit(1);
1276  EOF
1277 -if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1278 +if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1279  then
1280    db_cv_mutex="x86/gcc-assembly"
1281  else
1282 @@ -3598,7 +3618,7 @@
1283      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1284  else
1285    cat > conftest.$ac_ext <<EOF
1286 -#line 3602 "configure"
1287 +#line 3622 "configure"
1288  #include "confdefs.h"
1289  main(){
1290  #if defined(_UTS)
1291 @@ -3607,7 +3627,7 @@
1292         exit(1);
1294  EOF
1295 -if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1296 +if { (eval echo configure:3631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1297  then
1298    db_cv_mutex="UTS/cc-assembly"
1299  else
1300 @@ -3738,12 +3758,12 @@
1301  for ac_func in getcwd getopt memcmp memcpy memmove
1302  do
1303  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1304 -echo "configure:3742: checking for $ac_func" >&5
1305 +echo "configure:3762: checking for $ac_func" >&5
1306  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1307    echo $ac_n "(cached) $ac_c" 1>&6
1308  else
1309    cat > conftest.$ac_ext <<EOF
1310 -#line 3747 "configure"
1311 +#line 3767 "configure"
1312  #include "confdefs.h"
1313  /* System header to define __stub macros and hopefully few prototypes,
1314      which can conflict with char $ac_func(); below.  */
1315 @@ -3766,7 +3786,7 @@
1317  ; return 0; }
1318  EOF
1319 -if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1320 +if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1321    rm -rf conftest*
1322    eval "ac_cv_func_$ac_func=yes"
1323  else
1324 @@ -3795,12 +3815,12 @@
1325  for ac_func in raise snprintf strerror vsnprintf
1326  do
1327  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1328 -echo "configure:3799: checking for $ac_func" >&5
1329 +echo "configure:3819: checking for $ac_func" >&5
1330  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1331    echo $ac_n "(cached) $ac_c" 1>&6
1332  else
1333    cat > conftest.$ac_ext <<EOF
1334 -#line 3804 "configure"
1335 +#line 3824 "configure"
1336  #include "confdefs.h"
1337  /* System header to define __stub macros and hopefully few prototypes,
1338      which can conflict with char $ac_func(); below.  */
1339 @@ -3823,7 +3843,7 @@
1341  ; return 0; }
1342  EOF
1343 -if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1344 +if { (eval echo configure:3847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1345    rm -rf conftest*
1346    eval "ac_cv_func_$ac_func=yes"
1347  else
1348 @@ -3856,12 +3876,12 @@
1349  for ac_func in getuid pread pstat_getdynamic sysconf
1350  do
1351  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1352 -echo "configure:3860: checking for $ac_func" >&5
1353 +echo "configure:3880: checking for $ac_func" >&5
1354  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1355    echo $ac_n "(cached) $ac_c" 1>&6
1356  else
1357    cat > conftest.$ac_ext <<EOF
1358 -#line 3865 "configure"
1359 +#line 3885 "configure"
1360  #include "confdefs.h"
1361  /* System header to define __stub macros and hopefully few prototypes,
1362      which can conflict with char $ac_func(); below.  */
1363 @@ -3884,7 +3904,7 @@
1365  ; return 0; }
1366  EOF
1367 -if { (eval echo configure:3888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1368 +if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1369    rm -rf conftest*
1370    eval "ac_cv_func_$ac_func=yes"
1371  else
1372 @@ -3911,12 +3931,12 @@
1373  for ac_func in sched_yield yield
1374  do
1375  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1376 -echo "configure:3915: checking for $ac_func" >&5
1377 +echo "configure:3935: checking for $ac_func" >&5
1378  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1379    echo $ac_n "(cached) $ac_c" 1>&6
1380  else
1381    cat > conftest.$ac_ext <<EOF
1382 -#line 3920 "configure"
1383 +#line 3940 "configure"
1384  #include "confdefs.h"
1385  /* System header to define __stub macros and hopefully few prototypes,
1386      which can conflict with char $ac_func(); below.  */
1387 @@ -3939,7 +3959,7 @@
1389  ; return 0; }
1390  EOF
1391 -if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1392 +if { (eval echo configure:3963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1393    rm -rf conftest*
1394    eval "ac_cv_func_$ac_func=yes"
1395  else
1396 @@ -3965,19 +3985,19 @@
1399  echo $ac_n "checking for sigfillset""... $ac_c" 1>&6
1400 -echo "configure:3969: checking for sigfillset" >&5
1401 +echo "configure:3989: checking for sigfillset" >&5
1402  if eval "test \"`echo '$''{'db_cv_have_sigfillset'+set}'`\" = set"; then
1403    echo $ac_n "(cached) $ac_c" 1>&6
1404  else
1405    cat > conftest.$ac_ext <<EOF
1406 -#line 3974 "configure"
1407 +#line 3994 "configure"
1408  #include "confdefs.h"
1409  #include <signal.h>
1410  int main() {
1411  sigset_t set; sigfillset(&set);
1412  ; return 0; }
1413  EOF
1414 -if { (eval echo configure:3981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1415 +if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1416    rm -rf conftest*
1417    db_cv_have_sigfillset=yes
1418  else
1419 @@ -3998,7 +4018,7 @@
1420  fi
1422  echo $ac_n "checking for fcntl/F_SETFD""... $ac_c" 1>&6
1423 -echo "configure:4002: checking for fcntl/F_SETFD" >&5
1424 +echo "configure:4022: checking for fcntl/F_SETFD" >&5
1425  if eval "test \"`echo '$''{'db_cv_fcntl_f_setfd'+set}'`\" = set"; then
1426    echo $ac_n "(cached) $ac_c" 1>&6
1427  else
1428 @@ -4006,14 +4026,14 @@
1429      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1430  else
1431    cat > conftest.$ac_ext <<EOF
1432 -#line 4010 "configure"
1433 +#line 4030 "configure"
1434  #include "confdefs.h"
1436  #include <sys/types.h>
1437  #include <fcntl.h>
1438  main(){exit(fcntl(1, F_SETFD, 1) == -1);}
1439  EOF
1440 -if { (eval echo configure:4017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1441 +if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1442  then
1443    db_cv_fcntl_f_setfd=yes
1444  else
1445 @@ -4043,12 +4063,12 @@
1446  for ac_func in qsort
1447  do
1448  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1449 -echo "configure:4047: checking for $ac_func" >&5
1450 +echo "configure:4067: checking for $ac_func" >&5
1451  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1452    echo $ac_n "(cached) $ac_c" 1>&6
1453  else
1454    cat > conftest.$ac_ext <<EOF
1455 -#line 4052 "configure"
1456 +#line 4072 "configure"
1457  #include "confdefs.h"
1458  /* System header to define __stub macros and hopefully few prototypes,
1459      which can conflict with char $ac_func(); below.  */
1460 @@ -4071,7 +4091,7 @@
1462  ; return 0; }
1463  EOF
1464 -if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1465 +if { (eval echo configure:4095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1466    rm -rf conftest*
1467    eval "ac_cv_func_$ac_func=yes"
1468  else
1469 @@ -4099,12 +4119,12 @@
1470  for ac_func in select
1471  do
1472  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1473 -echo "configure:4103: checking for $ac_func" >&5
1474 +echo "configure:4123: checking for $ac_func" >&5
1475  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1476    echo $ac_n "(cached) $ac_c" 1>&6
1477  else
1478    cat > conftest.$ac_ext <<EOF
1479 -#line 4108 "configure"
1480 +#line 4128 "configure"
1481  #include "confdefs.h"
1482  /* System header to define __stub macros and hopefully few prototypes,
1483      which can conflict with char $ac_func(); below.  */
1484 @@ -4127,7 +4147,7 @@
1486  ; return 0; }
1487  EOF
1488 -if { (eval echo configure:4131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1489 +if { (eval echo configure:4151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1490    rm -rf conftest*
1491    eval "ac_cv_func_$ac_func=yes"
1492  else
1493 @@ -4154,7 +4174,7 @@
1496  echo $ac_n "checking for int type sprintf return value""... $ac_c" 1>&6
1497 -echo "configure:4158: checking for int type sprintf return value" >&5
1498 +echo "configure:4178: checking for int type sprintf return value" >&5
1499  if eval "test \"`echo '$''{'db_cv_sprintf_count'+set}'`\" = set"; then
1500    echo $ac_n "(cached) $ac_c" 1>&6
1501  else
1502 @@ -4162,11 +4182,11 @@
1503      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1504  else
1505    cat > conftest.$ac_ext <<EOF
1506 -#line 4166 "configure"
1507 +#line 4186 "configure"
1508  #include "confdefs.h"
1509  main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
1510  EOF
1511 -if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1512 +if { (eval echo configure:4190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1513  then
1514    db_cv_sprintf_count=yes
1515  else
1516 @@ -4207,12 +4227,12 @@
1517         for ac_func in mmap munmap
1518  do
1519  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1520 -echo "configure:4211: checking for $ac_func" >&5
1521 +echo "configure:4231: checking for $ac_func" >&5
1522  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1523    echo $ac_n "(cached) $ac_c" 1>&6
1524  else
1525    cat > conftest.$ac_ext <<EOF
1526 -#line 4216 "configure"
1527 +#line 4236 "configure"
1528  #include "confdefs.h"
1529  /* System header to define __stub macros and hopefully few prototypes,
1530      which can conflict with char $ac_func(); below.  */
1531 @@ -4235,7 +4255,7 @@
1533  ; return 0; }
1534  EOF
1535 -if { (eval echo configure:4239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1536 +if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1537    rm -rf conftest*
1538    eval "ac_cv_func_$ac_func=yes"
1539  else
1540 @@ -4265,12 +4285,12 @@
1541         for ac_func in mlock munlock
1542  do
1543  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1544 -echo "configure:4269: checking for $ac_func" >&5
1545 +echo "configure:4289: checking for $ac_func" >&5
1546  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1547    echo $ac_n "(cached) $ac_c" 1>&6
1548  else
1549    cat > conftest.$ac_ext <<EOF
1550 -#line 4274 "configure"
1551 +#line 4294 "configure"
1552  #include "confdefs.h"
1553  /* System header to define __stub macros and hopefully few prototypes,
1554      which can conflict with char $ac_func(); below.  */
1555 @@ -4293,7 +4313,7 @@
1557  ; return 0; }
1558  EOF
1559 -if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1560 +if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1561    rm -rf conftest*
1562    eval "ac_cv_func_$ac_func=yes"
1563  else
1564 @@ -4320,12 +4340,12 @@
1565         for ac_func in mmap munmap
1566  do
1567  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1568 -echo "configure:4324: checking for $ac_func" >&5
1569 +echo "configure:4344: checking for $ac_func" >&5
1570  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1571    echo $ac_n "(cached) $ac_c" 1>&6
1572  else
1573    cat > conftest.$ac_ext <<EOF
1574 -#line 4329 "configure"
1575 +#line 4349 "configure"
1576  #include "confdefs.h"
1577  /* System header to define __stub macros and hopefully few prototypes,
1578      which can conflict with char $ac_func(); below.  */
1579 @@ -4348,7 +4368,7 @@
1581  ; return 0; }
1582  EOF
1583 -if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1584 +if { (eval echo configure:4372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1585    rm -rf conftest*
1586    eval "ac_cv_func_$ac_func=yes"
1587  else
1588 @@ -4384,12 +4404,12 @@
1589         for ac_func in shmget
1590  do
1591  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1592 -echo "configure:4388: checking for $ac_func" >&5
1593 +echo "configure:4408: checking for $ac_func" >&5
1594  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1595    echo $ac_n "(cached) $ac_c" 1>&6
1596  else
1597    cat > conftest.$ac_ext <<EOF
1598 -#line 4393 "configure"
1599 +#line 4413 "configure"
1600  #include "confdefs.h"
1601  /* System header to define __stub macros and hopefully few prototypes,
1602      which can conflict with char $ac_func(); below.  */
1603 @@ -4412,7 +4432,7 @@
1605  ; return 0; }
1606  EOF
1607 -if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1608 +if { (eval echo configure:4436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1609    rm -rf conftest*
1610    eval "ac_cv_func_$ac_func=yes"
1611  else
1612 @@ -4448,7 +4468,7 @@
1613  # Extract the first word of "ar", so it can be a program name with args.
1614  set dummy ar; ac_word=$2
1615  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1616 -echo "configure:4452: checking for $ac_word" >&5
1617 +echo "configure:4472: checking for $ac_word" >&5
1618  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ar'+set}'`\" = set"; then
1619    echo $ac_n "(cached) $ac_c" 1>&6
1620  else
1621 @@ -4487,7 +4507,7 @@
1622  # Extract the first word of "chmod", so it can be a program name with args.
1623  set dummy chmod; ac_word=$2
1624  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1625 -echo "configure:4491: checking for $ac_word" >&5
1626 +echo "configure:4511: checking for $ac_word" >&5
1627  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_chmod'+set}'`\" = set"; then
1628    echo $ac_n "(cached) $ac_c" 1>&6
1629  else
1630 @@ -4526,7 +4546,7 @@
1631  # Extract the first word of "cp", so it can be a program name with args.
1632  set dummy cp; ac_word=$2
1633  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1634 -echo "configure:4530: checking for $ac_word" >&5
1635 +echo "configure:4550: checking for $ac_word" >&5
1636  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_cp'+set}'`\" = set"; then
1637    echo $ac_n "(cached) $ac_c" 1>&6
1638  else
1639 @@ -4565,7 +4585,7 @@
1640  # Extract the first word of "ln", so it can be a program name with args.
1641  set dummy ln; ac_word=$2
1642  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1643 -echo "configure:4569: checking for $ac_word" >&5
1644 +echo "configure:4589: checking for $ac_word" >&5
1645  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ln'+set}'`\" = set"; then
1646    echo $ac_n "(cached) $ac_c" 1>&6
1647  else
1648 @@ -4604,7 +4624,7 @@
1649  # Extract the first word of "mkdir", so it can be a program name with args.
1650  set dummy mkdir; ac_word=$2
1651  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1652 -echo "configure:4608: checking for $ac_word" >&5
1653 +echo "configure:4628: checking for $ac_word" >&5
1654  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_mkdir'+set}'`\" = set"; then
1655    echo $ac_n "(cached) $ac_c" 1>&6
1656  else
1657 @@ -4643,7 +4663,7 @@
1658  # Extract the first word of "ranlib", so it can be a program name with args.
1659  set dummy ranlib; ac_word=$2
1660  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1661 -echo "configure:4647: checking for $ac_word" >&5
1662 +echo "configure:4667: checking for $ac_word" >&5
1663  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ranlib'+set}'`\" = set"; then
1664    echo $ac_n "(cached) $ac_c" 1>&6
1665  else
1666 @@ -4679,7 +4699,7 @@
1667  # Extract the first word of "rm", so it can be a program name with args.
1668  set dummy rm; ac_word=$2
1669  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1670 -echo "configure:4683: checking for $ac_word" >&5
1671 +echo "configure:4703: checking for $ac_word" >&5
1672  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_rm'+set}'`\" = set"; then
1673    echo $ac_n "(cached) $ac_c" 1>&6
1674  else
1675 @@ -4718,7 +4738,7 @@
1676  # Extract the first word of "sh", so it can be a program name with args.
1677  set dummy sh; ac_word=$2
1678  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1679 -echo "configure:4722: checking for $ac_word" >&5
1680 +echo "configure:4742: checking for $ac_word" >&5
1681  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sh'+set}'`\" = set"; then
1682    echo $ac_n "(cached) $ac_c" 1>&6
1683  else
1684 @@ -4757,7 +4777,7 @@
1685  # Extract the first word of "strip", so it can be a program name with args.
1686  set dummy strip; ac_word=$2
1687  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1688 -echo "configure:4761: checking for $ac_word" >&5
1689 +echo "configure:4781: checking for $ac_word" >&5
1690  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_strip'+set}'`\" = set"; then
1691    echo $ac_n "(cached) $ac_c" 1>&6
1692  else
1693 @@ -4798,7 +4818,7 @@
1694         # Extract the first word of "cmp", so it can be a program name with args.
1695  set dummy cmp; ac_word=$2
1696  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1697 -echo "configure:4802: checking for $ac_word" >&5
1698 +echo "configure:4822: checking for $ac_word" >&5
1699  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_cmp'+set}'`\" = set"; then
1700    echo $ac_n "(cached) $ac_c" 1>&6
1701  else
1702 @@ -4837,7 +4857,7 @@
1703         # Extract the first word of "grep", so it can be a program name with args.
1704  set dummy grep; ac_word=$2
1705  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1706 -echo "configure:4841: checking for $ac_word" >&5
1707 +echo "configure:4861: checking for $ac_word" >&5
1708  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_grep'+set}'`\" = set"; then
1709    echo $ac_n "(cached) $ac_c" 1>&6
1710  else
1711 @@ -4876,7 +4896,7 @@
1712         # Extract the first word of "kill", so it can be a program name with args.
1713  set dummy kill; ac_word=$2
1714  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1715 -echo "configure:4880: checking for $ac_word" >&5
1716 +echo "configure:4900: checking for $ac_word" >&5
1717  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_kill'+set}'`\" = set"; then
1718    echo $ac_n "(cached) $ac_c" 1>&6
1719  else
1720 @@ -4915,7 +4935,7 @@
1721         # Extract the first word of "mv", so it can be a program name with args.
1722  set dummy mv; ac_word=$2
1723  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1724 -echo "configure:4919: checking for $ac_word" >&5
1725 +echo "configure:4939: checking for $ac_word" >&5
1726  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_mv'+set}'`\" = set"; then
1727    echo $ac_n "(cached) $ac_c" 1>&6
1728  else
1729 @@ -4954,7 +4974,7 @@
1730         # Extract the first word of "sed", so it can be a program name with args.
1731  set dummy sed; ac_word=$2
1732  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1733 -echo "configure:4958: checking for $ac_word" >&5
1734 +echo "configure:4978: checking for $ac_word" >&5
1735  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sed'+set}'`\" = set"; then
1736    echo $ac_n "(cached) $ac_c" 1>&6
1737  else
1738 @@ -4993,7 +5013,7 @@
1739         # Extract the first word of "sleep", so it can be a program name with args.
1740  set dummy sleep; ac_word=$2
1741  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1742 -echo "configure:4997: checking for $ac_word" >&5
1743 +echo "configure:5017: checking for $ac_word" >&5
1744  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sleep'+set}'`\" = set"; then
1745    echo $ac_n "(cached) $ac_c" 1>&6
1746  else
1747 @@ -5032,7 +5052,7 @@
1748         # Extract the first word of "sort", so it can be a program name with args.
1749  set dummy sort; ac_word=$2
1750  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1751 -echo "configure:5036: checking for $ac_word" >&5
1752 +echo "configure:5056: checking for $ac_word" >&5
1753  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sort'+set}'`\" = set"; then
1754    echo $ac_n "(cached) $ac_c" 1>&6
1755  else
1756 @@ -5071,7 +5091,7 @@
1757         # Extract the first word of "tr", so it can be a program name with args.
1758  set dummy tr; ac_word=$2
1759  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1760 -echo "configure:5075: checking for $ac_word" >&5
1761 +echo "configure:5095: checking for $ac_word" >&5
1762  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_tr'+set}'`\" = set"; then
1763    echo $ac_n "(cached) $ac_c" 1>&6
1764  else
1765 @@ -5111,7 +5131,7 @@
1766                 # Extract the first word of "diff", so it can be a program name with args.
1767  set dummy diff; ac_word=$2
1768  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1769 -echo "configure:5115: checking for $ac_word" >&5
1770 +echo "configure:5135: checking for $ac_word" >&5
1771  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_diff'+set}'`\" = set"; then
1772    echo $ac_n "(cached) $ac_c" 1>&6
1773  else
1774 @@ -5146,7 +5166,7 @@
1775         # Extract the first word of "perl5", so it can be a program name with args.
1776  set dummy perl5; ac_word=$2
1777  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1778 -echo "configure:5150: checking for $ac_word" >&5
1779 +echo "configure:5170: checking for $ac_word" >&5
1780  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_perl5'+set}'`\" = set"; then
1781    echo $ac_n "(cached) $ac_c" 1>&6
1782  else
1783 diff -ruN db-3.0.55/dist/configure.in ../db-3.0.55/dist/configure.in
1784 --- db-3.0.55/dist/configure.in Thu Nov 11 17:09:48 1999
1785 +++ ../db-3.0.55/dist/configure.in      Wed Feb  2 13:41:02 2000
1786 @@ -198,6 +198,11 @@
1787         LIBDB_ARGS="\$(libso_linkname)"
1788         LIBTOOL="\$(SHELL) ./libtool"
1790 +       save_LDFLAGS="$LDFLAGS"
1791 +       LDFLAGS="-Wl,-Bsymbolic $LDFLAGS"
1792 +       AC_TRY_COMPILE([],[],[SYFLAG="-Wl,-Bsymbolic"])
1793 +       LDFLAGS="$save_LDFLAGS"
1795         MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${SAVE_CC}"
1796         MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${SAVE_CXX}"
1797         MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
1798 @@ -205,7 +210,7 @@
1799         INSTALLER="\$(LIBTOOL) --mode=install cp"
1800         POSTLINK="\$(LIBTOOL) --mode=execute true"
1801         SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
1802 -       SOFLAGS="-rpath \$(libdir)"
1803 +       SOFLAGS="$SYFLAG -rpath \$(libdir)"
1804         o=".lo"
1805  fi