The big one; window introduction
[nvi.git] / db-3.1.14-Bsymbolic-patch
blobca07b46701b9923b668aa01411063fed92d39049
1 Common subdirectories: ./aclocal and ../../../db-3.1.14/dist/aclocal
2 Common subdirectories: ./build and ../../../db-3.1.14/dist/build
3 diff -u ./configure ../../../db-3.1.14/dist/configure
4 --- ./configure Wed Jun  7 16:14:16 2000
5 +++ ../../../db-3.1.14/dist/configure   Wed Jun 21 16:42:58 2000
6 @@ -740,7 +740,7 @@
7  
8  DB_VERSION_PATCH=14
9  
10 -DB_VERSION_STRING="\"Sleepycat Software: Berkeley DB 3.1.14: (June  7, 2000)\""
11 +DB_VERSION_STRING="\"Sleepycat Software: Berkeley DB 3.1.14: (June 21, 2000)\""
15 @@ -1610,6 +1610,26 @@
16         LIBDB_ARGS="\$(libso_linkname)"
17         LIBTOOL="\$(SHELL) ./libtool"
19 +       save_LDFLAGS="$LDFLAGS"
20 +       LDFLAGS="-Wl,-Bsymbolic $LDFLAGS"
21 +       cat > conftest.$ac_ext <<EOF
22 +#line 1617 "configure"
23 +#include "confdefs.h"
25 +int main() {
27 +; return 0; }
28 +EOF
29 +if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
30 +  rm -rf conftest*
31 +  SYFLAG="-Wl,-Bsymbolic"
32 +else
33 +  echo "configure: failed program was:" >&5
34 +  cat conftest.$ac_ext >&5
35 +fi
36 +rm -f conftest*
37 +       LDFLAGS="$save_LDFLAGS"
39         MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${SAVE_CC}"
40         MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${SAVE_CXX}"
41         MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
42 @@ -1617,7 +1637,7 @@
43         INSTALLER="\$(LIBTOOL) --mode=install cp"
44         POSTLINK="\$(LIBTOOL) --mode=execute true"
45         SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
46 -       SOFLAGS="-rpath \$(libdir)"
47 +       SOFLAGS="$SYFLAG -rpath \$(libdir)"
48         o=".lo"
49  fi
51 @@ -1639,7 +1659,7 @@
52         # Extract the first word of "javac", so it can be a program name with args.
53  set dummy javac; ac_word=$2
54  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
55 -echo "configure:1643: checking for $ac_word" >&5
56 +echo "configure:1663: checking for $ac_word" >&5
57  if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then
58    echo $ac_n "(cached) $ac_c" 1>&6
59  else
60 @@ -1672,7 +1692,7 @@
61         # Extract the first word of "javac", so it can be a program name with args.
62  set dummy javac; ac_word=$2
63  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
64 -echo "configure:1676: checking for $ac_word" >&5
65 +echo "configure:1696: checking for $ac_word" >&5
66  if eval "test \"`echo '$''{'ac_cv_path_JAVACABS'+set}'`\" = set"; then
67    echo $ac_n "(cached) $ac_c" 1>&6
68  else
69 @@ -1711,7 +1731,7 @@
71         while ls -ld "$JAVACABS" 2>/dev/null | grep " -> " >/dev/null; do
72                 echo $ac_n "checking symlink for $JAVACABS""... $ac_c" 1>&6
73 -echo "configure:1715: checking symlink for $JAVACABS" >&5
74 +echo "configure:1735: checking symlink for $JAVACABS" >&5
75                 JAVACLINK=`ls -ld $JAVACABS | sed 's/.* -> //'`
76                 case "$JAVACLINK" in
77                 /*) JAVACABS="$JAVACLINK";;
78 @@ -1758,7 +1778,7 @@
80         case "$host_os" in
81         solaris*)       echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
82 -echo "configure:1762: checking for main in -lnsl" >&5
83 +echo "configure:1782: checking for main in -lnsl" >&5
84  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
85  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
86    echo $ac_n "(cached) $ac_c" 1>&6
87 @@ -1766,14 +1786,14 @@
88    ac_save_LIBS="$LIBS"
89  LIBS="-lnsl  $LIBS"
90  cat > conftest.$ac_ext <<EOF
91 -#line 1770 "configure"
92 +#line 1790 "configure"
93  #include "confdefs.h"
95  int main() {
96  main()
97  ; return 0; }
98  EOF
99 -if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
100 +if { (eval echo configure:1797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
101    rm -rf conftest*
102    eval "ac_cv_lib_$ac_lib_var=yes"
103  else
104 @@ -1794,7 +1814,7 @@
105  fi
106  ;;
107         hpux*)          echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
108 -echo "configure:1798: checking for main in -lnsl" >&5
109 +echo "configure:1818: checking for main in -lnsl" >&5
110  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
111  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
112    echo $ac_n "(cached) $ac_c" 1>&6
113 @@ -1802,14 +1822,14 @@
114    ac_save_LIBS="$LIBS"
115  LIBS="-lnsl  $LIBS"
116  cat > conftest.$ac_ext <<EOF
117 -#line 1806 "configure"
118 +#line 1826 "configure"
119  #include "confdefs.h"
121  int main() {
122  main()
123  ; return 0; }
124  EOF
125 -if { (eval echo configure:1813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
126 +if { (eval echo configure:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
127    rm -rf conftest*
128    eval "ac_cv_lib_$ac_lib_var=yes"
129  else
130 @@ -1906,7 +1926,7 @@
132         
133         echo $ac_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh""... $ac_c" 1>&6
134 -echo "configure:1910: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
135 +echo "configure:1930: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5
137         if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then
138                 echo "$ac_t""loading" 1>&6
139 @@ -1950,7 +1970,7 @@
140  fi
142  echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
143 -echo "configure:1954: checking for pthread_create in -lpthread" >&5
144 +echo "configure:1974: checking for pthread_create in -lpthread" >&5
145  ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
146  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
147    echo $ac_n "(cached) $ac_c" 1>&6
148 @@ -1958,7 +1978,7 @@
149    ac_save_LIBS="$LIBS"
150  LIBS="-lpthread  $LIBS"
151  cat > conftest.$ac_ext <<EOF
152 -#line 1962 "configure"
153 +#line 1982 "configure"
154  #include "confdefs.h"
155  /* Override any gcc2 internal prototype to avoid an error.  */
156  /* We use char because int might match the return type of a gcc2
157 @@ -1969,7 +1989,7 @@
158  pthread_create()
159  ; return 0; }
160  EOF
161 -if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
162 +if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
163    rm -rf conftest*
164    eval "ac_cv_lib_$ac_lib_var=yes"
165  else
166 @@ -1991,14 +2011,14 @@
169  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
170 -echo "configure:1995: checking whether byte ordering is bigendian" >&5
171 +echo "configure:2015: checking whether byte ordering is bigendian" >&5
172  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
173    echo $ac_n "(cached) $ac_c" 1>&6
174  else
175    ac_cv_c_bigendian=unknown
176  # See if sys/param.h defines the BYTE_ORDER macro.
177  cat > conftest.$ac_ext <<EOF
178 -#line 2002 "configure"
179 +#line 2022 "configure"
180  #include "confdefs.h"
181  #include <sys/types.h>
182  #include <sys/param.h>
183 @@ -2009,11 +2029,11 @@
184  #endif
185  ; return 0; }
186  EOF
187 -if { (eval echo configure:2013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
188 +if { (eval echo configure:2033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
189    rm -rf conftest*
190    # It does; now see whether it defined to BIG_ENDIAN or not.
191  cat > conftest.$ac_ext <<EOF
192 -#line 2017 "configure"
193 +#line 2037 "configure"
194  #include "confdefs.h"
195  #include <sys/types.h>
196  #include <sys/param.h>
197 @@ -2024,7 +2044,7 @@
198  #endif
199  ; return 0; }
200  EOF
201 -if { (eval echo configure:2028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
202 +if { (eval echo configure:2048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
203    rm -rf conftest*
204    ac_cv_c_bigendian=yes
205  else
206 @@ -2044,7 +2064,7 @@
207      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
208  else
209    cat > conftest.$ac_ext <<EOF
210 -#line 2048 "configure"
211 +#line 2068 "configure"
212  #include "confdefs.h"
213  main () {
214    /* Are we little or big endian?  From Harbison&Steele.  */
215 @@ -2057,7 +2077,7 @@
216    exit (u.c[sizeof (long) - 1] == 1);
218  EOF
219 -if { (eval echo configure:2061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
220 +if { (eval echo configure:2081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
221  then
222    ac_cv_c_bigendian=no
223  else
224 @@ -2081,12 +2101,12 @@
225  fi
227  echo $ac_n "checking for working const""... $ac_c" 1>&6
228 -echo "configure:2085: checking for working const" >&5
229 +echo "configure:2105: checking for working const" >&5
230  if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
231    echo $ac_n "(cached) $ac_c" 1>&6
232  else
233    cat > conftest.$ac_ext <<EOF
234 -#line 2090 "configure"
235 +#line 2110 "configure"
236  #include "confdefs.h"
238  int main() {
239 @@ -2135,7 +2155,7 @@
241  ; return 0; }
242  EOF
243 -if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
244 +if { (eval echo configure:2159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
245    rm -rf conftest*
246    ac_cv_c_const=yes
247  else
248 @@ -2156,7 +2176,7 @@
249  fi
251  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
252 -echo "configure:2160: checking how to run the C preprocessor" >&5
253 +echo "configure:2180: checking how to run the C preprocessor" >&5
254  # On Suns, sometimes $CPP names a directory.
255  if test -n "$CPP" && test -d "$CPP"; then
256    CPP=
257 @@ -2171,13 +2191,13 @@
258    # On the NeXT, cc -E runs the code through the compiler's parser,
259    # not just through cpp.
260    cat > conftest.$ac_ext <<EOF
261 -#line 2175 "configure"
262 +#line 2195 "configure"
263  #include "confdefs.h"
264  #include <assert.h>
265  Syntax Error
266  EOF
267  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
268 -{ (eval echo configure:2181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
269 +{ (eval echo configure:2201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
270  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
271  if test -z "$ac_err"; then
272    :
273 @@ -2188,13 +2208,13 @@
274    rm -rf conftest*
275    CPP="${CC-cc} -E -traditional-cpp"
276    cat > conftest.$ac_ext <<EOF
277 -#line 2192 "configure"
278 +#line 2212 "configure"
279  #include "confdefs.h"
280  #include <assert.h>
281  Syntax Error
282  EOF
283  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
284 -{ (eval echo configure:2198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
285 +{ (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
286  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
287  if test -z "$ac_err"; then
288    :
289 @@ -2205,13 +2225,13 @@
290    rm -rf conftest*
291    CPP="${CC-cc} -nologo -E"
292    cat > conftest.$ac_ext <<EOF
293 -#line 2209 "configure"
294 +#line 2229 "configure"
295  #include "confdefs.h"
296  #include <assert.h>
297  Syntax Error
298  EOF
299  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
300 -{ (eval echo configure:2215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
301 +{ (eval echo configure:2235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
302  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
303  if test -z "$ac_err"; then
304    :
305 @@ -2236,12 +2256,12 @@
306  echo "$ac_t""$CPP" 1>&6
308  echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
309 -echo "configure:2240: checking whether stat file-mode macros are broken" >&5
310 +echo "configure:2260: checking whether stat file-mode macros are broken" >&5
311  if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
312    echo $ac_n "(cached) $ac_c" 1>&6
313  else
314    cat > conftest.$ac_ext <<EOF
315 -#line 2245 "configure"
316 +#line 2265 "configure"
317  #include "confdefs.h"
318  #include <sys/types.h>
319  #include <sys/stat.h>
320 @@ -2292,12 +2312,12 @@
321  fi
323  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
324 -echo "configure:2296: checking whether time.h and sys/time.h may both be included" >&5
325 +echo "configure:2316: checking whether time.h and sys/time.h may both be included" >&5
326  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
327    echo $ac_n "(cached) $ac_c" 1>&6
328  else
329    cat > conftest.$ac_ext <<EOF
330 -#line 2301 "configure"
331 +#line 2321 "configure"
332  #include "confdefs.h"
333  #include <sys/types.h>
334  #include <sys/time.h>
335 @@ -2306,7 +2326,7 @@
336  struct tm *tp;
337  ; return 0; }
338  EOF
339 -if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
340 +if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
341    rm -rf conftest*
342    ac_cv_header_time=yes
343  else
344 @@ -2327,12 +2347,12 @@
345  fi
347  echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
348 -echo "configure:2331: checking for st_blksize in struct stat" >&5
349 +echo "configure:2351: checking for st_blksize in struct stat" >&5
350  if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
351    echo $ac_n "(cached) $ac_c" 1>&6
352  else
353    cat > conftest.$ac_ext <<EOF
354 -#line 2336 "configure"
355 +#line 2356 "configure"
356  #include "confdefs.h"
357  #include <sys/types.h>
358  #include <sys/stat.h>
359 @@ -2340,7 +2360,7 @@
360  struct stat s; s.st_blksize;
361  ; return 0; }
362  EOF
363 -if { (eval echo configure:2344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
364 +if { (eval echo configure:2364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
365    rm -rf conftest*
366    ac_cv_struct_st_blksize=yes
367  else
368 @@ -2361,12 +2381,12 @@
369  fi
371  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
372 -echo "configure:2365: checking for ANSI C header files" >&5
373 +echo "configure:2385: checking for ANSI C header files" >&5
374  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
375    echo $ac_n "(cached) $ac_c" 1>&6
376  else
377    cat > conftest.$ac_ext <<EOF
378 -#line 2370 "configure"
379 +#line 2390 "configure"
380  #include "confdefs.h"
381  #include <stdlib.h>
382  #include <stdarg.h>
383 @@ -2374,7 +2394,7 @@
384  #include <float.h>
385  EOF
386  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
387 -{ (eval echo configure:2378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
388 +{ (eval echo configure:2398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
389  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
390  if test -z "$ac_err"; then
391    rm -rf conftest*
392 @@ -2391,7 +2411,7 @@
393  if test $ac_cv_header_stdc = yes; then
394    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
395  cat > conftest.$ac_ext <<EOF
396 -#line 2395 "configure"
397 +#line 2415 "configure"
398  #include "confdefs.h"
399  #include <string.h>
400  EOF
401 @@ -2409,7 +2429,7 @@
402  if test $ac_cv_header_stdc = yes; then
403    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
404  cat > conftest.$ac_ext <<EOF
405 -#line 2413 "configure"
406 +#line 2433 "configure"
407  #include "confdefs.h"
408  #include <stdlib.h>
409  EOF
410 @@ -2430,7 +2450,7 @@
411    :
412  else
413    cat > conftest.$ac_ext <<EOF
414 -#line 2434 "configure"
415 +#line 2454 "configure"
416  #include "confdefs.h"
417  #include <ctype.h>
418  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
419 @@ -2441,7 +2461,7 @@
420  exit (0); }
422  EOF
423 -if { (eval echo configure:2445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
424 +if { (eval echo configure:2465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
425  then
426    :
427  else
428 @@ -2465,12 +2485,12 @@
429  fi
431  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
432 -echo "configure:2469: checking for mode_t" >&5
433 +echo "configure:2489: checking for mode_t" >&5
434  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
435    echo $ac_n "(cached) $ac_c" 1>&6
436  else
437    cat > conftest.$ac_ext <<EOF
438 -#line 2474 "configure"
439 +#line 2494 "configure"
440  #include "confdefs.h"
441  #include <sys/types.h>
442  #if STDC_HEADERS
443 @@ -2498,12 +2518,12 @@
444  fi
446  echo $ac_n "checking for off_t""... $ac_c" 1>&6
447 -echo "configure:2502: checking for off_t" >&5
448 +echo "configure:2522: checking for off_t" >&5
449  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
450    echo $ac_n "(cached) $ac_c" 1>&6
451  else
452    cat > conftest.$ac_ext <<EOF
453 -#line 2507 "configure"
454 +#line 2527 "configure"
455  #include "confdefs.h"
456  #include <sys/types.h>
457  #if STDC_HEADERS
458 @@ -2531,12 +2551,12 @@
459  fi
461  echo $ac_n "checking for pid_t""... $ac_c" 1>&6
462 -echo "configure:2535: checking for pid_t" >&5
463 +echo "configure:2555: checking for pid_t" >&5
464  if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
465    echo $ac_n "(cached) $ac_c" 1>&6
466  else
467    cat > conftest.$ac_ext <<EOF
468 -#line 2540 "configure"
469 +#line 2560 "configure"
470  #include "confdefs.h"
471  #include <sys/types.h>
472  #if STDC_HEADERS
473 @@ -2564,12 +2584,12 @@
474  fi
476  echo $ac_n "checking for size_t""... $ac_c" 1>&6
477 -echo "configure:2568: checking for size_t" >&5
478 +echo "configure:2588: checking for size_t" >&5
479  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
480    echo $ac_n "(cached) $ac_c" 1>&6
481  else
482    cat > conftest.$ac_ext <<EOF
483 -#line 2573 "configure"
484 +#line 2593 "configure"
485  #include "confdefs.h"
486  #include <sys/types.h>
487  #if STDC_HEADERS
488 @@ -2600,19 +2620,19 @@
491  echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
492 -echo "configure:2604: checking for ssize_t" >&5
493 +echo "configure:2624: checking for ssize_t" >&5
494  if eval "test \"`echo '$''{'db_cv_ssize_t'+set}'`\" = set"; then
495    echo $ac_n "(cached) $ac_c" 1>&6
496  else
497    cat > conftest.$ac_ext <<EOF
498 -#line 2609 "configure"
499 +#line 2629 "configure"
500  #include "confdefs.h"
501  #include <sys/types.h>
502  int main() {
503  ssize_t foo;
504  ; return 0; }
505  EOF
506 -if { (eval echo configure:2616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
507 +if { (eval echo configure:2636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
508    rm -rf conftest*
509    db_cv_ssize_t=yes
510  else
511 @@ -2631,19 +2651,19 @@
514  echo $ac_n "checking for u_char""... $ac_c" 1>&6
515 -echo "configure:2635: checking for u_char" >&5
516 +echo "configure:2655: checking for u_char" >&5
517  if eval "test \"`echo '$''{'db_cv_uchar'+set}'`\" = set"; then
518    echo $ac_n "(cached) $ac_c" 1>&6
519  else
520    cat > conftest.$ac_ext <<EOF
521 -#line 2640 "configure"
522 +#line 2660 "configure"
523  #include "confdefs.h"
524  #include <sys/types.h>
525  int main() {
526  u_char foo;
527  ; return 0; }
528  EOF
529 -if { (eval echo configure:2647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
530 +if { (eval echo configure:2667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
531    rm -rf conftest*
532    db_cv_uchar=yes
533  else
534 @@ -2662,19 +2682,19 @@
537  echo $ac_n "checking for u_short""... $ac_c" 1>&6
538 -echo "configure:2666: checking for u_short" >&5
539 +echo "configure:2686: checking for u_short" >&5
540  if eval "test \"`echo '$''{'db_cv_ushort'+set}'`\" = set"; then
541    echo $ac_n "(cached) $ac_c" 1>&6
542  else
543    cat > conftest.$ac_ext <<EOF
544 -#line 2671 "configure"
545 +#line 2691 "configure"
546  #include "confdefs.h"
547  #include <sys/types.h>
548  int main() {
549  u_short foo;
550  ; return 0; }
551  EOF
552 -if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
553 +if { (eval echo configure:2698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
554    rm -rf conftest*
555    db_cv_ushort=yes
556  else
557 @@ -2693,19 +2713,19 @@
560  echo $ac_n "checking for u_int""... $ac_c" 1>&6
561 -echo "configure:2697: checking for u_int" >&5
562 +echo "configure:2717: checking for u_int" >&5
563  if eval "test \"`echo '$''{'db_cv_uint'+set}'`\" = set"; then
564    echo $ac_n "(cached) $ac_c" 1>&6
565  else
566    cat > conftest.$ac_ext <<EOF
567 -#line 2702 "configure"
568 +#line 2722 "configure"
569  #include "confdefs.h"
570  #include <sys/types.h>
571  int main() {
572  u_int foo;
573  ; return 0; }
574  EOF
575 -if { (eval echo configure:2709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
576 +if { (eval echo configure:2729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
577    rm -rf conftest*
578    db_cv_uint=yes
579  else
580 @@ -2724,19 +2744,19 @@
583  echo $ac_n "checking for u_long""... $ac_c" 1>&6
584 -echo "configure:2728: checking for u_long" >&5
585 +echo "configure:2748: checking for u_long" >&5
586  if eval "test \"`echo '$''{'db_cv_ulong'+set}'`\" = set"; then
587    echo $ac_n "(cached) $ac_c" 1>&6
588  else
589    cat > conftest.$ac_ext <<EOF
590 -#line 2733 "configure"
591 +#line 2753 "configure"
592  #include "confdefs.h"
593  #include <sys/types.h>
594  int main() {
595  u_long foo;
596  ; return 0; }
597  EOF
598 -if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
599 +if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
600    rm -rf conftest*
601    db_cv_ulong=yes
602  else
603 @@ -2755,19 +2775,19 @@
606  echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6
607 -echo "configure:2759: checking for u_int8_t" >&5
608 +echo "configure:2779: checking for u_int8_t" >&5
609  if eval "test \"`echo '$''{'db_cv_uint8'+set}'`\" = set"; then
610    echo $ac_n "(cached) $ac_c" 1>&6
611  else
612    cat > conftest.$ac_ext <<EOF
613 -#line 2764 "configure"
614 +#line 2784 "configure"
615  #include "confdefs.h"
616  #include <sys/types.h>
617  int main() {
618  u_int8_t foo;
619  ; return 0; }
620  EOF
621 -if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
622 +if { (eval echo configure:2791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
623    rm -rf conftest*
624    db_cv_uint8=yes
625  else
626 @@ -2778,11 +2798,11 @@
627      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
628  else
629    cat > conftest.$ac_ext <<EOF
630 -#line 2782 "configure"
631 +#line 2802 "configure"
632  #include "confdefs.h"
633  main(){exit(sizeof(unsigned char) != 1);}
634  EOF
635 -if { (eval echo configure:2786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
636 +if { (eval echo configure:2806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
637  then
638    db_cv_uint8="unsigned char"
639  else
640 @@ -2808,19 +2828,19 @@
643  echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
644 -echo "configure:2812: checking for u_int16_t" >&5
645 +echo "configure:2832: checking for u_int16_t" >&5
646  if eval "test \"`echo '$''{'db_cv_uint16'+set}'`\" = set"; then
647    echo $ac_n "(cached) $ac_c" 1>&6
648  else
649    cat > conftest.$ac_ext <<EOF
650 -#line 2817 "configure"
651 +#line 2837 "configure"
652  #include "confdefs.h"
653  #include <sys/types.h>
654  int main() {
655  u_int16_t foo;
656  ; return 0; }
657  EOF
658 -if { (eval echo configure:2824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
659 +if { (eval echo configure:2844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
660    rm -rf conftest*
661    db_cv_uint16=yes
662  else
663 @@ -2831,11 +2851,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 2835 "configure"
668 +#line 2855 "configure"
669  #include "confdefs.h"
670  main(){exit(sizeof(unsigned short) != 2);}
671  EOF
672 -if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
673 +if { (eval echo configure:2859: \"$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 short"
676  else
677 @@ -2846,11 +2866,11 @@
678      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
679  else
680    cat > conftest.$ac_ext <<EOF
681 -#line 2850 "configure"
682 +#line 2870 "configure"
683  #include "confdefs.h"
684  main(){exit(sizeof(unsigned int) != 2);}
685  EOF
686 -if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
687 +if { (eval echo configure:2874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
688  then
689    db_cv_uint16="unsigned int"
690  else
691 @@ -2880,19 +2900,19 @@
694  echo $ac_n "checking for int16_t""... $ac_c" 1>&6
695 -echo "configure:2884: checking for int16_t" >&5
696 +echo "configure:2904: checking for int16_t" >&5
697  if eval "test \"`echo '$''{'db_cv_int16'+set}'`\" = set"; then
698    echo $ac_n "(cached) $ac_c" 1>&6
699  else
700    cat > conftest.$ac_ext <<EOF
701 -#line 2889 "configure"
702 +#line 2909 "configure"
703  #include "confdefs.h"
704  #include <sys/types.h>
705  int main() {
706  int16_t foo;
707  ; return 0; }
708  EOF
709 -if { (eval echo configure:2896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
710 +if { (eval echo configure:2916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
711    rm -rf conftest*
712    db_cv_int16=yes
713  else
714 @@ -2903,11 +2923,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 2907 "configure"
719 +#line 2927 "configure"
720  #include "confdefs.h"
721  main(){exit(sizeof(short) != 2);}
722  EOF
723 -if { (eval echo configure:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
724 +if { (eval echo configure:2931: \"$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="short"
727  else
728 @@ -2918,11 +2938,11 @@
729      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
730  else
731    cat > conftest.$ac_ext <<EOF
732 -#line 2922 "configure"
733 +#line 2942 "configure"
734  #include "confdefs.h"
735  main(){exit(sizeof(int) != 2);}
736  EOF
737 -if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
738 +if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
739  then
740    db_cv_int16="int"
741  else
742 @@ -2952,19 +2972,19 @@
745  echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
746 -echo "configure:2956: checking for u_int32_t" >&5
747 +echo "configure:2976: checking for u_int32_t" >&5
748  if eval "test \"`echo '$''{'db_cv_uint32'+set}'`\" = set"; then
749    echo $ac_n "(cached) $ac_c" 1>&6
750  else
751    cat > conftest.$ac_ext <<EOF
752 -#line 2961 "configure"
753 +#line 2981 "configure"
754  #include "confdefs.h"
755  #include <sys/types.h>
756  int main() {
757  u_int32_t foo;
758  ; return 0; }
759  EOF
760 -if { (eval echo configure:2968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
761 +if { (eval echo configure:2988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
762    rm -rf conftest*
763    db_cv_uint32=yes
764  else
765 @@ -2975,11 +2995,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 2979 "configure"
770 +#line 2999 "configure"
771  #include "confdefs.h"
772  main(){exit(sizeof(unsigned int) != 4);}
773  EOF
774 -if { (eval echo configure:2983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
775 +if { (eval echo configure:3003: \"$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 int"
778  else
779 @@ -2990,11 +3010,11 @@
780      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
781  else
782    cat > conftest.$ac_ext <<EOF
783 -#line 2994 "configure"
784 +#line 3014 "configure"
785  #include "confdefs.h"
786  main(){exit(sizeof(unsigned long) != 4);}
787  EOF
788 -if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
789 +if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
790  then
791    db_cv_uint32="unsigned long"
792  else
793 @@ -3024,19 +3044,19 @@
796  echo $ac_n "checking for int32_t""... $ac_c" 1>&6
797 -echo "configure:3028: checking for int32_t" >&5
798 +echo "configure:3048: checking for int32_t" >&5
799  if eval "test \"`echo '$''{'db_cv_int32'+set}'`\" = set"; then
800    echo $ac_n "(cached) $ac_c" 1>&6
801  else
802    cat > conftest.$ac_ext <<EOF
803 -#line 3033 "configure"
804 +#line 3053 "configure"
805  #include "confdefs.h"
806  #include <sys/types.h>
807  int main() {
808  int32_t foo;
809  ; return 0; }
810  EOF
811 -if { (eval echo configure:3040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
812 +if { (eval echo configure:3060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
813    rm -rf conftest*
814    db_cv_int32=yes
815  else
816 @@ -3047,11 +3067,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 3051 "configure"
821 +#line 3071 "configure"
822  #include "confdefs.h"
823  main(){exit(sizeof(int) != 4);}
824  EOF
825 -if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
826 +if { (eval echo configure:3075: \"$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="int"
829  else
830 @@ -3062,11 +3082,11 @@
831      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
832  else
833    cat > conftest.$ac_ext <<EOF
834 -#line 3066 "configure"
835 +#line 3086 "configure"
836  #include "confdefs.h"
837  main(){exit(sizeof(long) != 4);}
838  EOF
839 -if { (eval echo configure:3070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
840 +if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
841  then
842    db_cv_int32="long"
843  else
844 @@ -3096,19 +3116,19 @@
847  echo $ac_n "checking for largest integral type""... $ac_c" 1>&6
848 -echo "configure:3100: checking for largest integral type" >&5
849 +echo "configure:3120: checking for largest integral type" >&5
850  if eval "test \"`echo '$''{'db_cv_align_t'+set}'`\" = set"; then
851    echo $ac_n "(cached) $ac_c" 1>&6
852  else
853    cat > conftest.$ac_ext <<EOF
854 -#line 3105 "configure"
855 +#line 3125 "configure"
856  #include "confdefs.h"
857  #include <sys/types.h>
858  int main() {
859  long long foo;
860  ; return 0; }
861  EOF
862 -if { (eval echo configure:3112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
863 +if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
864    rm -rf conftest*
865    db_cv_align_t="unsigned long long"
866  else
867 @@ -3125,7 +3145,7 @@
870  echo $ac_n "checking for integral type equal to pointer size""... $ac_c" 1>&6
871 -echo "configure:3129: checking for integral type equal to pointer size" >&5
872 +echo "configure:3149: checking for integral type equal to pointer size" >&5
873  if eval "test \"`echo '$''{'db_cv_alignp_t'+set}'`\" = set"; then
874    echo $ac_n "(cached) $ac_c" 1>&6
875  else
876 @@ -3134,11 +3154,11 @@
877      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
878  else
879    cat > conftest.$ac_ext <<EOF
880 -#line 3138 "configure"
881 +#line 3158 "configure"
882  #include "confdefs.h"
883  main(){exit(sizeof(unsigned int) != sizeof(char *));}
884  EOF
885 -if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
886 +if { (eval echo configure:3162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
887  then
888    db_cv_alignp_t="unsigned int"
889  else
890 @@ -3152,11 +3172,11 @@
891      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
892  else
893    cat > conftest.$ac_ext <<EOF
894 -#line 3156 "configure"
895 +#line 3176 "configure"
896  #include "confdefs.h"
897  main(){exit(sizeof(unsigned long) != sizeof(char *));}
898  EOF
899 -if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
900 +if { (eval echo configure:3180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
901  then
902    db_cv_alignp_t="unsigned long"
903  else
904 @@ -3170,11 +3190,11 @@
905      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
906  else
907    cat > conftest.$ac_ext <<EOF
908 -#line 3174 "configure"
909 +#line 3194 "configure"
910  #include "confdefs.h"
911  main(){exit(sizeof(unsigned long long) != sizeof(char *));}
912  EOF
913 -if { (eval echo configure:3178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
914 +if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
915  then
916    db_cv_alignp_t="unsigned long long"
917  else
918 @@ -3196,12 +3216,12 @@
919  do
920  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
921  echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
922 -echo "configure:3200: checking for $ac_hdr that defines DIR" >&5
923 +echo "configure:3220: checking for $ac_hdr that defines DIR" >&5
924  if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
925    echo $ac_n "(cached) $ac_c" 1>&6
926  else
927    cat > conftest.$ac_ext <<EOF
928 -#line 3205 "configure"
929 +#line 3225 "configure"
930  #include "confdefs.h"
931  #include <sys/types.h>
932  #include <$ac_hdr>
933 @@ -3209,7 +3229,7 @@
934  DIR *dirp = 0;
935  ; return 0; }
936  EOF
937 -if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
938 +if { (eval echo configure:3233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
939    rm -rf conftest*
940    eval "ac_cv_header_dirent_$ac_safe=yes"
941  else
942 @@ -3234,7 +3254,7 @@
943  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
944  if test $ac_header_dirent = dirent.h; then
945  echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
946 -echo "configure:3238: checking for opendir in -ldir" >&5
947 +echo "configure:3258: checking for opendir in -ldir" >&5
948  ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
949  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
950    echo $ac_n "(cached) $ac_c" 1>&6
951 @@ -3242,7 +3262,7 @@
952    ac_save_LIBS="$LIBS"
953  LIBS="-ldir  $LIBS"
954  cat > conftest.$ac_ext <<EOF
955 -#line 3246 "configure"
956 +#line 3266 "configure"
957  #include "confdefs.h"
958  /* Override any gcc2 internal prototype to avoid an error.  */
959  /* We use char because int might match the return type of a gcc2
960 @@ -3253,7 +3273,7 @@
961  opendir()
962  ; return 0; }
963  EOF
964 -if { (eval echo configure:3257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
965 +if { (eval echo configure:3277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
966    rm -rf conftest*
967    eval "ac_cv_lib_$ac_lib_var=yes"
968  else
969 @@ -3275,7 +3295,7 @@
971  else
972  echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
973 -echo "configure:3279: checking for opendir in -lx" >&5
974 +echo "configure:3299: checking for opendir in -lx" >&5
975  ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
976  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
977    echo $ac_n "(cached) $ac_c" 1>&6
978 @@ -3283,7 +3303,7 @@
979    ac_save_LIBS="$LIBS"
980  LIBS="-lx  $LIBS"
981  cat > conftest.$ac_ext <<EOF
982 -#line 3287 "configure"
983 +#line 3307 "configure"
984  #include "confdefs.h"
985  /* Override any gcc2 internal prototype to avoid an error.  */
986  /* We use char because int might match the return type of a gcc2
987 @@ -3294,7 +3314,7 @@
988  opendir()
989  ; return 0; }
990  EOF
991 -if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
992 +if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
993    rm -rf conftest*
994    eval "ac_cv_lib_$ac_lib_var=yes"
995  else
996 @@ -3320,17 +3340,17 @@
997  do
998  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
999  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1000 -echo "configure:3324: checking for $ac_hdr" >&5
1001 +echo "configure:3344: checking for $ac_hdr" >&5
1002  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1003    echo $ac_n "(cached) $ac_c" 1>&6
1004  else
1005    cat > conftest.$ac_ext <<EOF
1006 -#line 3329 "configure"
1007 +#line 3349 "configure"
1008  #include "confdefs.h"
1009  #include <$ac_hdr>
1010  EOF
1011  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1012 -{ (eval echo configure:3334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1013 +{ (eval echo configure:3354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1014  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1015  if test -z "$ac_err"; then
1016    rm -rf conftest*
1017 @@ -3360,17 +3380,17 @@
1018  do
1019  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1020  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1021 -echo "configure:3364: checking for $ac_hdr" >&5
1022 +echo "configure:3384: checking for $ac_hdr" >&5
1023  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1024    echo $ac_n "(cached) $ac_c" 1>&6
1025  else
1026    cat > conftest.$ac_ext <<EOF
1027 -#line 3369 "configure"
1028 +#line 3389 "configure"
1029  #include "confdefs.h"
1030  #include <$ac_hdr>
1031  EOF
1032  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1033 -{ (eval echo configure:3374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1034 +{ (eval echo configure:3394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1035  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1036  if test -z "$ac_err"; then
1037    rm -rf conftest*
1038 @@ -3400,7 +3420,7 @@
1041  echo $ac_n "checking for mutexes""... $ac_c" 1>&6
1042 -echo "configure:3404: checking for mutexes" >&5
1043 +echo "configure:3424: checking for mutexes" >&5
1044  if eval "test \"`echo '$''{'db_cv_mutex'+set}'`\" = set"; then
1045    echo $ac_n "(cached) $ac_c" 1>&6
1046  else
1047 @@ -3421,7 +3441,7 @@
1048      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1049  else
1050    cat > conftest.$ac_ext <<EOF
1051 -#line 3425 "configure"
1052 +#line 3445 "configure"
1053  #include "confdefs.h"
1055  #include <synch.h>
1056 @@ -3435,7 +3455,7 @@
1057         _lwp_mutex_unlock(&mutex));
1059  EOF
1060 -if { (eval echo configure:3439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1061 +if { (eval echo configure:3459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1062  then
1063    db_cv_mutex="Solaris/lwp"
1064  else
1065 @@ -3453,7 +3473,7 @@
1066      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1067  else
1068    cat > conftest.$ac_ext <<EOF
1069 -#line 3457 "configure"
1070 +#line 3477 "configure"
1071  #include "confdefs.h"
1073  #include <thread.h>
1074 @@ -3469,7 +3489,7 @@
1075         mutex_unlock(&mutex));
1077  EOF
1078 -if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1079 +if { (eval echo configure:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1080  then
1081    db_cv_mutex="UI/threads/library"
1082  else
1083 @@ -3486,7 +3506,7 @@
1084      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1085  else
1086    cat > conftest.$ac_ext <<EOF
1087 -#line 3490 "configure"
1088 +#line 3510 "configure"
1089  #include "confdefs.h"
1091  #include <thread.h>
1092 @@ -3502,7 +3522,7 @@
1093         mutex_unlock(&mutex));
1095  EOF
1096 -if { (eval echo configure:3506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1097 +if { (eval echo configure:3526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1098  then
1099    db_cv_mutex="UI/threads"
1100  else
1101 @@ -3519,7 +3539,7 @@
1102      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1103  else
1104    cat > conftest.$ac_ext <<EOF
1105 -#line 3523 "configure"
1106 +#line 3543 "configure"
1107  #include "confdefs.h"
1109  #include <pthread.h>
1110 @@ -3543,7 +3563,7 @@
1111         pthread_mutexattr_destroy(&mutexattr));
1113  EOF
1114 -if { (eval echo configure:3547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1115 +if { (eval echo configure:3567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1116  then
1117    db_cv_mutex="POSIX/pthreads"
1118  else
1119 @@ -3560,7 +3580,7 @@
1120      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1121  else
1122    cat > conftest.$ac_ext <<EOF
1123 -#line 3564 "configure"
1124 +#line 3584 "configure"
1125  #include "confdefs.h"
1127  #include <pthread.h>
1128 @@ -3584,7 +3604,7 @@
1129         pthread_mutexattr_destroy(&mutexattr));
1131  EOF
1132 -if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1133 +if { (eval echo configure:3608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1134  then
1135    db_cv_mutex="POSIX/pthreads/library"
1136  else
1137 @@ -3602,7 +3622,7 @@
1138      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1139  else
1140    cat > conftest.$ac_ext <<EOF
1141 -#line 3606 "configure"
1142 +#line 3626 "configure"
1143  #include "confdefs.h"
1145  #include <sys/mman.h>
1146 @@ -3619,7 +3639,7 @@
1147  #endif
1149  EOF
1150 -if { (eval echo configure:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1151 +if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1152  then
1153    db_cv_mutex="HP/msem_init"
1154  else
1155 @@ -3636,7 +3656,7 @@
1156      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1157  else
1158    cat > conftest.$ac_ext <<EOF
1159 -#line 3640 "configure"
1160 +#line 3660 "configure"
1161  #include "confdefs.h"
1163  #include <sys/types.h>
1164 @@ -3650,7 +3670,7 @@
1165         exit(0);
1167  EOF
1168 -if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1169 +if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1170  then
1171    db_cv_mutex="UNIX/msem_init"
1172  else
1173 @@ -3665,7 +3685,7 @@
1174  if test "$db_cv_mutex" = no; then
1175  LIBS="$LIBS -lmproc"
1176  cat > conftest.$ac_ext <<EOF
1177 -#line 3669 "configure"
1178 +#line 3689 "configure"
1179  #include "confdefs.h"
1180  #include <ulocks.h>
1181  int main() {
1182 @@ -3673,7 +3693,7 @@
1183  spinlock_t x; initspin(&x, 1); cspinlock(&x); spinunlock(&x);
1184  ; return 0; }
1185  EOF
1186 -if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1187 +if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1188    rm -rf conftest*
1189    db_cv_mutex="ReliantUNIX/initspin"
1190  else
1191 @@ -3689,7 +3709,7 @@
1192      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1193  else
1194    cat > conftest.$ac_ext <<EOF
1195 -#line 3693 "configure"
1196 +#line 3713 "configure"
1197  #include "confdefs.h"
1199  main(){
1200 @@ -3699,7 +3719,7 @@
1201         exit(1);
1203  EOF
1204 -if { (eval echo configure:3703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1205 +if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1206  then
1207    db_cv_mutex="SCO/x86/cc-assembly"
1208  else
1209 @@ -3713,7 +3733,7 @@
1211  if test "$db_cv_mutex" = no; then
1212  cat > conftest.$ac_ext <<EOF
1213 -#line 3717 "configure"
1214 +#line 3737 "configure"
1215  #include "confdefs.h"
1216  #include <abi_mutex.h>
1217  int main() {
1218 @@ -3721,7 +3741,7 @@
1219  abilock_t x; init_lock(&x); acquire_lock(&x); release_lock(&x);
1220  ; return 0; }
1221  EOF
1222 -if { (eval echo configure:3725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1223 +if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1224    rm -rf conftest*
1225    db_cv_mutex="SGI/init_lock"
1226  else
1227 @@ -3733,7 +3753,7 @@
1229  if test "$db_cv_mutex" = DOESNT_WORK; then
1230  cat > conftest.$ac_ext <<EOF
1231 -#line 3737 "configure"
1232 +#line 3757 "configure"
1233  #include "confdefs.h"
1234  #include <synch.h>
1235  int main() {
1236 @@ -3742,7 +3762,7 @@
1237   sema_init(&x, 1, USYNC_PROCESS, NULL); sema_wait(&x); sema_post(&x);
1238  ; return 0; }
1239  EOF
1240 -if { (eval echo configure:3746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1241 +if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1242    rm -rf conftest*
1243    db_cv_mutex="UNIX/sema_init"
1244  else
1245 @@ -3754,7 +3774,7 @@
1247  if test "$db_cv_mutex" = no; then
1248  cat > conftest.$ac_ext <<EOF
1249 -#line 3758 "configure"
1250 +#line 3778 "configure"
1251  #include "confdefs.h"
1252  #include <sys/machlock.h>
1253  int main() {
1254 @@ -3763,7 +3783,7 @@
1255   _lock_try(&x); _lock_clear(&x);
1256  ; return 0; }
1257  EOF
1258 -if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1259 +if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1260    rm -rf conftest*
1261    db_cv_mutex="Solaris/_lock_try"
1262  else
1263 @@ -3775,14 +3795,14 @@
1265  if test "$db_cv_mutex" = no; then
1266  cat > conftest.$ac_ext <<EOF
1267 -#line 3779 "configure"
1268 +#line 3799 "configure"
1269  #include "confdefs.h"
1270  #include <sys/atomic_op.h>
1271  int main() {
1272  int x; _check_lock(&x,0,1); _clear_lock(&x,0);
1273  ; return 0; }
1274  EOF
1275 -if { (eval echo configure:3786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1276 +if { (eval echo configure:3806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1277    rm -rf conftest*
1278    db_cv_mutex="AIX/_check_lock"
1279  else
1280 @@ -3797,7 +3817,7 @@
1281      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1282  else
1283    cat > conftest.$ac_ext <<EOF
1284 -#line 3801 "configure"
1285 +#line 3821 "configure"
1286  #include "confdefs.h"
1287  main(){
1288  #if defined(__alpha)
1289 @@ -3807,7 +3827,7 @@
1290  #endif
1291  exit(1);}
1292  EOF
1293 -if { (eval echo configure:3811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1294 +if { (eval echo configure:3831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1295  then
1296    db_cv_mutex="ALPHA/gcc-assembly"
1297  else
1298 @@ -3824,7 +3844,7 @@
1299      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1300  else
1301    cat > conftest.$ac_ext <<EOF
1302 -#line 3828 "configure"
1303 +#line 3848 "configure"
1304  #include "confdefs.h"
1305  main(){
1306  #if defined(__hppa)
1307 @@ -3834,7 +3854,7 @@
1308  #endif
1309  exit(1);}
1310  EOF
1311 -if { (eval echo configure:3838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1312 +if { (eval echo configure:3858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1313  then
1314    db_cv_mutex="HPPA/gcc-assembly"
1315  else
1316 @@ -3851,7 +3871,7 @@
1317      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1318  else
1319    cat > conftest.$ac_ext <<EOF
1320 -#line 3855 "configure"
1321 +#line 3875 "configure"
1322  #include "confdefs.h"
1323  main(){
1324  #if defined(__sparc__)
1325 @@ -3862,7 +3882,7 @@
1326         exit(1);
1328  EOF
1329 -if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1330 +if { (eval echo configure:3886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1331  then
1332    db_cv_mutex="Sparc/gcc-assembly"
1333  else
1334 @@ -3879,7 +3899,7 @@
1335      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1336  else
1337    cat > conftest.$ac_ext <<EOF
1338 -#line 3883 "configure"
1339 +#line 3903 "configure"
1340  #include "confdefs.h"
1341  main(){
1342  #if (defined(mc68020) || defined(sun3))
1343 @@ -3890,7 +3910,7 @@
1344         exit(1);
1346  EOF
1347 -if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1348 +if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1349  then
1350    db_cv_mutex="68K/gcc-assembly"
1351  else
1352 @@ -3907,7 +3927,7 @@
1353      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1354  else
1355    cat > conftest.$ac_ext <<EOF
1356 -#line 3911 "configure"
1357 +#line 3931 "configure"
1358  #include "confdefs.h"
1359  main(){
1360  #if defined(i386)
1361 @@ -3918,7 +3938,7 @@
1362         exit(1);
1364  EOF
1365 -if { (eval echo configure:3922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1366 +if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1367  then
1368    db_cv_mutex="x86/gcc-assembly"
1369  else
1370 @@ -3935,7 +3955,7 @@
1371      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1372  else
1373    cat > conftest.$ac_ext <<EOF
1374 -#line 3939 "configure"
1375 +#line 3959 "configure"
1376  #include "confdefs.h"
1377  main(){
1378  #if defined(__ia64)
1379 @@ -3946,7 +3966,7 @@
1380         exit(1);
1382  EOF
1383 -if { (eval echo configure:3950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1384 +if { (eval echo configure:3970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1385  then
1386    db_cv_mutex="ia64/gcc-assembly"
1387  else
1388 @@ -3963,7 +3983,7 @@
1389      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1390  else
1391    cat > conftest.$ac_ext <<EOF
1392 -#line 3967 "configure"
1393 +#line 3987 "configure"
1394  #include "confdefs.h"
1395  main(){
1396  #if defined(_UTS)
1397 @@ -3972,7 +3992,7 @@
1398         exit(1);
1400  EOF
1401 -if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1402 +if { (eval echo configure:3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1403  then
1404    db_cv_mutex="UTS/cc-assembly"
1405  else
1406 @@ -4108,12 +4128,12 @@
1407  for ac_func in getcwd getopt memcmp memcpy memmove
1408  do
1409  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1410 -echo "configure:4112: checking for $ac_func" >&5
1411 +echo "configure:4132: checking for $ac_func" >&5
1412  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1413    echo $ac_n "(cached) $ac_c" 1>&6
1414  else
1415    cat > conftest.$ac_ext <<EOF
1416 -#line 4117 "configure"
1417 +#line 4137 "configure"
1418  #include "confdefs.h"
1419  /* System header to define __stub macros and hopefully few prototypes,
1420      which can conflict with char $ac_func(); below.  */
1421 @@ -4136,7 +4156,7 @@
1423  ; return 0; }
1424  EOF
1425 -if { (eval echo configure:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1426 +if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1427    rm -rf conftest*
1428    eval "ac_cv_func_$ac_func=yes"
1429  else
1430 @@ -4165,12 +4185,12 @@
1431  for ac_func in raise snprintf strcasecmp strerror vsnprintf
1432  do
1433  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1434 -echo "configure:4169: checking for $ac_func" >&5
1435 +echo "configure:4189: checking for $ac_func" >&5
1436  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1437    echo $ac_n "(cached) $ac_c" 1>&6
1438  else
1439    cat > conftest.$ac_ext <<EOF
1440 -#line 4174 "configure"
1441 +#line 4194 "configure"
1442  #include "confdefs.h"
1443  /* System header to define __stub macros and hopefully few prototypes,
1444      which can conflict with char $ac_func(); below.  */
1445 @@ -4193,7 +4213,7 @@
1447  ; return 0; }
1448  EOF
1449 -if { (eval echo configure:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1450 +if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1451    rm -rf conftest*
1452    eval "ac_cv_func_$ac_func=yes"
1453  else
1454 @@ -4226,12 +4246,12 @@
1455  for ac_func in getuid pstat_getdynamic sysconf sched_yield strtoul yield
1456  do
1457  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1458 -echo "configure:4230: checking for $ac_func" >&5
1459 +echo "configure:4250: checking for $ac_func" >&5
1460  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1461    echo $ac_n "(cached) $ac_c" 1>&6
1462  else
1463    cat > conftest.$ac_ext <<EOF
1464 -#line 4235 "configure"
1465 +#line 4255 "configure"
1466  #include "confdefs.h"
1467  /* System header to define __stub macros and hopefully few prototypes,
1468      which can conflict with char $ac_func(); below.  */
1469 @@ -4254,7 +4274,7 @@
1471  ; return 0; }
1472  EOF
1473 -if { (eval echo configure:4258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1474 +if { (eval echo configure:4278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1475    rm -rf conftest*
1476    eval "ac_cv_func_$ac_func=yes"
1477  else
1478 @@ -4285,12 +4305,12 @@
1479  *)     for ac_func in pread pwrite
1480  do
1481  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1482 -echo "configure:4289: checking for $ac_func" >&5
1483 +echo "configure:4309: checking for $ac_func" >&5
1484  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1485    echo $ac_n "(cached) $ac_c" 1>&6
1486  else
1487    cat > conftest.$ac_ext <<EOF
1488 -#line 4294 "configure"
1489 +#line 4314 "configure"
1490  #include "confdefs.h"
1491  /* System header to define __stub macros and hopefully few prototypes,
1492      which can conflict with char $ac_func(); below.  */
1493 @@ -4313,7 +4333,7 @@
1495  ; return 0; }
1496  EOF
1497 -if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1498 +if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1499    rm -rf conftest*
1500    eval "ac_cv_func_$ac_func=yes"
1501  else
1502 @@ -4340,7 +4360,7 @@
1503  esac
1505  echo $ac_n "checking for fcntl/F_SETFD""... $ac_c" 1>&6
1506 -echo "configure:4344: checking for fcntl/F_SETFD" >&5
1507 +echo "configure:4364: checking for fcntl/F_SETFD" >&5
1508  if eval "test \"`echo '$''{'db_cv_fcntl_f_setfd'+set}'`\" = set"; then
1509    echo $ac_n "(cached) $ac_c" 1>&6
1510  else
1511 @@ -4348,14 +4368,14 @@
1512      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1513  else
1514    cat > conftest.$ac_ext <<EOF
1515 -#line 4352 "configure"
1516 +#line 4372 "configure"
1517  #include "confdefs.h"
1519  #include <sys/types.h>
1520  #include <fcntl.h>
1521  main(){exit(fcntl(1, F_SETFD, 1) == -1);}
1522  EOF
1523 -if { (eval echo configure:4359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1524 +if { (eval echo configure:4379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1525  then
1526    db_cv_fcntl_f_setfd=yes
1527  else
1528 @@ -4385,12 +4405,12 @@
1529  for ac_func in qsort
1530  do
1531  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1532 -echo "configure:4389: checking for $ac_func" >&5
1533 +echo "configure:4409: checking for $ac_func" >&5
1534  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1535    echo $ac_n "(cached) $ac_c" 1>&6
1536  else
1537    cat > conftest.$ac_ext <<EOF
1538 -#line 4394 "configure"
1539 +#line 4414 "configure"
1540  #include "confdefs.h"
1541  /* System header to define __stub macros and hopefully few prototypes,
1542      which can conflict with char $ac_func(); below.  */
1543 @@ -4413,7 +4433,7 @@
1545  ; return 0; }
1546  EOF
1547 -if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1548 +if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1549    rm -rf conftest*
1550    eval "ac_cv_func_$ac_func=yes"
1551  else
1552 @@ -4441,12 +4461,12 @@
1553  for ac_func in select
1554  do
1555  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1556 -echo "configure:4445: checking for $ac_func" >&5
1557 +echo "configure:4465: checking for $ac_func" >&5
1558  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1559    echo $ac_n "(cached) $ac_c" 1>&6
1560  else
1561    cat > conftest.$ac_ext <<EOF
1562 -#line 4450 "configure"
1563 +#line 4470 "configure"
1564  #include "confdefs.h"
1565  /* System header to define __stub macros and hopefully few prototypes,
1566      which can conflict with char $ac_func(); below.  */
1567 @@ -4469,7 +4489,7 @@
1569  ; return 0; }
1570  EOF
1571 -if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1572 +if { (eval echo configure:4493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1573    rm -rf conftest*
1574    eval "ac_cv_func_$ac_func=yes"
1575  else
1576 @@ -4496,7 +4516,7 @@
1579  echo $ac_n "checking for int type sprintf return value""... $ac_c" 1>&6
1580 -echo "configure:4500: checking for int type sprintf return value" >&5
1581 +echo "configure:4520: checking for int type sprintf return value" >&5
1582  if eval "test \"`echo '$''{'db_cv_sprintf_count'+set}'`\" = set"; then
1583    echo $ac_n "(cached) $ac_c" 1>&6
1584  else
1585 @@ -4504,11 +4524,11 @@
1586      { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
1587  else
1588    cat > conftest.$ac_ext <<EOF
1589 -#line 4508 "configure"
1590 +#line 4528 "configure"
1591  #include "confdefs.h"
1592  main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
1593  EOF
1594 -if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1595 +if { (eval echo configure:4532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1596  then
1597    db_cv_sprintf_count=yes
1598  else
1599 @@ -4558,12 +4578,12 @@
1600         for ac_func in mmap munmap
1601  do
1602  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1603 -echo "configure:4562: checking for $ac_func" >&5
1604 +echo "configure:4582: checking for $ac_func" >&5
1605  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1606    echo $ac_n "(cached) $ac_c" 1>&6
1607  else
1608    cat > conftest.$ac_ext <<EOF
1609 -#line 4567 "configure"
1610 +#line 4587 "configure"
1611  #include "confdefs.h"
1612  /* System header to define __stub macros and hopefully few prototypes,
1613      which can conflict with char $ac_func(); below.  */
1614 @@ -4586,7 +4606,7 @@
1616  ; return 0; }
1617  EOF
1618 -if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1619 +if { (eval echo configure:4610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1620    rm -rf conftest*
1621    eval "ac_cv_func_$ac_func=yes"
1622  else
1623 @@ -4618,12 +4638,12 @@
1624         for ac_func in mlock munlock
1625  do
1626  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1627 -echo "configure:4622: checking for $ac_func" >&5
1628 +echo "configure:4642: checking for $ac_func" >&5
1629  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1630    echo $ac_n "(cached) $ac_c" 1>&6
1631  else
1632    cat > conftest.$ac_ext <<EOF
1633 -#line 4627 "configure"
1634 +#line 4647 "configure"
1635  #include "confdefs.h"
1636  /* System header to define __stub macros and hopefully few prototypes,
1637      which can conflict with char $ac_func(); below.  */
1638 @@ -4646,7 +4666,7 @@
1640  ; return 0; }
1641  EOF
1642 -if { (eval echo configure:4650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1643 +if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1644    rm -rf conftest*
1645    eval "ac_cv_func_$ac_func=yes"
1646  else
1647 @@ -4673,12 +4693,12 @@
1648         for ac_func in mmap munmap
1649  do
1650  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1651 -echo "configure:4677: checking for $ac_func" >&5
1652 +echo "configure:4697: checking for $ac_func" >&5
1653  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1654    echo $ac_n "(cached) $ac_c" 1>&6
1655  else
1656    cat > conftest.$ac_ext <<EOF
1657 -#line 4682 "configure"
1658 +#line 4702 "configure"
1659  #include "confdefs.h"
1660  /* System header to define __stub macros and hopefully few prototypes,
1661      which can conflict with char $ac_func(); below.  */
1662 @@ -4701,7 +4721,7 @@
1664  ; return 0; }
1665  EOF
1666 -if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1667 +if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1668    rm -rf conftest*
1669    eval "ac_cv_func_$ac_func=yes"
1670  else
1671 @@ -4737,12 +4757,12 @@
1672         for ac_func in shmget
1673  do
1674  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1675 -echo "configure:4741: checking for $ac_func" >&5
1676 +echo "configure:4761: checking for $ac_func" >&5
1677  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1678    echo $ac_n "(cached) $ac_c" 1>&6
1679  else
1680    cat > conftest.$ac_ext <<EOF
1681 -#line 4746 "configure"
1682 +#line 4766 "configure"
1683  #include "confdefs.h"
1684  /* System header to define __stub macros and hopefully few prototypes,
1685      which can conflict with char $ac_func(); below.  */
1686 @@ -4765,7 +4785,7 @@
1688  ; return 0; }
1689  EOF
1690 -if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1691 +if { (eval echo configure:4789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1692    rm -rf conftest*
1693    eval "ac_cv_func_$ac_func=yes"
1694  else
1695 @@ -4801,7 +4821,7 @@
1696  # Extract the first word of "ar", so it can be a program name with args.
1697  set dummy ar; ac_word=$2
1698  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1699 -echo "configure:4805: checking for $ac_word" >&5
1700 +echo "configure:4825: checking for $ac_word" >&5
1701  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ar'+set}'`\" = set"; then
1702    echo $ac_n "(cached) $ac_c" 1>&6
1703  else
1704 @@ -4840,7 +4860,7 @@
1705  # Extract the first word of "chmod", so it can be a program name with args.
1706  set dummy chmod; ac_word=$2
1707  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1708 -echo "configure:4844: checking for $ac_word" >&5
1709 +echo "configure:4864: checking for $ac_word" >&5
1710  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_chmod'+set}'`\" = set"; then
1711    echo $ac_n "(cached) $ac_c" 1>&6
1712  else
1713 @@ -4879,7 +4899,7 @@
1714  # Extract the first word of "cp", so it can be a program name with args.
1715  set dummy cp; ac_word=$2
1716  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1717 -echo "configure:4883: checking for $ac_word" >&5
1718 +echo "configure:4903: checking for $ac_word" >&5
1719  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_cp'+set}'`\" = set"; then
1720    echo $ac_n "(cached) $ac_c" 1>&6
1721  else
1722 @@ -4918,7 +4938,7 @@
1723  # Extract the first word of "ln", so it can be a program name with args.
1724  set dummy ln; ac_word=$2
1725  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1726 -echo "configure:4922: checking for $ac_word" >&5
1727 +echo "configure:4942: checking for $ac_word" >&5
1728  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ln'+set}'`\" = set"; then
1729    echo $ac_n "(cached) $ac_c" 1>&6
1730  else
1731 @@ -4957,7 +4977,7 @@
1732  # Extract the first word of "mkdir", so it can be a program name with args.
1733  set dummy mkdir; ac_word=$2
1734  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1735 -echo "configure:4961: checking for $ac_word" >&5
1736 +echo "configure:4981: checking for $ac_word" >&5
1737  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_mkdir'+set}'`\" = set"; then
1738    echo $ac_n "(cached) $ac_c" 1>&6
1739  else
1740 @@ -4996,7 +5016,7 @@
1741  # Extract the first word of "ranlib", so it can be a program name with args.
1742  set dummy ranlib; ac_word=$2
1743  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1744 -echo "configure:5000: checking for $ac_word" >&5
1745 +echo "configure:5020: checking for $ac_word" >&5
1746  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ranlib'+set}'`\" = set"; then
1747    echo $ac_n "(cached) $ac_c" 1>&6
1748  else
1749 @@ -5032,7 +5052,7 @@
1750  # Extract the first word of "rm", so it can be a program name with args.
1751  set dummy rm; ac_word=$2
1752  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1753 -echo "configure:5036: checking for $ac_word" >&5
1754 +echo "configure:5056: checking for $ac_word" >&5
1755  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_rm'+set}'`\" = set"; then
1756    echo $ac_n "(cached) $ac_c" 1>&6
1757  else
1758 @@ -5071,7 +5091,7 @@
1759  # Extract the first word of "sh", so it can be a program name with args.
1760  set dummy sh; ac_word=$2
1761  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1762 -echo "configure:5075: checking for $ac_word" >&5
1763 +echo "configure:5095: checking for $ac_word" >&5
1764  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sh'+set}'`\" = set"; then
1765    echo $ac_n "(cached) $ac_c" 1>&6
1766  else
1767 @@ -5110,7 +5130,7 @@
1768  # Extract the first word of "strip", so it can be a program name with args.
1769  set dummy strip; ac_word=$2
1770  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1771 -echo "configure:5114: checking for $ac_word" >&5
1772 +echo "configure:5134: checking for $ac_word" >&5
1773  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_strip'+set}'`\" = set"; then
1774    echo $ac_n "(cached) $ac_c" 1>&6
1775  else
1776 @@ -5151,7 +5171,7 @@
1777         # Extract the first word of "kill", so it can be a program name with args.
1778  set dummy kill; ac_word=$2
1779  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1780 -echo "configure:5155: checking for $ac_word" >&5
1781 +echo "configure:5175: checking for $ac_word" >&5
1782  if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_kill'+set}'`\" = set"; then
1783    echo $ac_n "(cached) $ac_c" 1>&6
1784  else
1785 diff -u ./configure.in ../../../db-3.1.14/dist/configure.in
1786 --- ./configure.in      Wed May 17 20:24:32 2000
1787 +++ ../../../db-3.1.14/dist/configure.in        Wed Jun 21 16:42:53 2000
1788 @@ -213,6 +213,11 @@
1789         LIBDB_ARGS="\$(libso_linkname)"
1790         LIBTOOL="\$(SHELL) ./libtool"
1792 +       save_LDFLAGS="$LDFLAGS"
1793 +       LDFLAGS="-Wl,-Bsymbolic $LDFLAGS"
1794 +       AC_TRY_COMPILE([],[],[SYFLAG="-Wl,-Bsymbolic"])
1795 +       LDFLAGS="$save_LDFLAGS"
1797         MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${SAVE_CC}"
1798         MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${SAVE_CXX}"
1799         MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${SAVE_CC}"
1800 @@ -220,7 +225,7 @@
1801         INSTALLER="\$(LIBTOOL) --mode=install cp"
1802         POSTLINK="\$(LIBTOOL) --mode=execute true"
1803         SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
1804 -       SOFLAGS="-rpath \$(libdir)"
1805 +       SOFLAGS="$SYFLAG -rpath \$(libdir)"
1806         o=".lo"
1807  fi
1809 Common subdirectories: ./template and ../../../db-3.1.14/dist/template