Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B72036D.5C5C61E3@windriver.com> Date: Wed, 08 Aug 2001 20:28:45 -0700 From: Doru Carastan Organization: Wind River, Inc. X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jason Tishler CC: Cygwin Subject: Re: [Fwd: -qa / -qi problem] References: <20010808225128 DOT G223 AT dothill DOT com> Content-Type: multipart/mixed; boundary="------------B6A0DCE878243199BCDE8A30" --------------B6A0DCE878243199BCDE8A30 Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Sure. I tried to send it first to this board but the attachments were bigger than 100K. I reviewed the db-3.1.17 patch and now it is much smaller. I'm currently checking the rpm-4.0.2 one. For those interested here is the db-3.1.17 patch. The db 3.1.17 patch helps build db for Cygwin as a standalone platform - different than Unix - and fixes the broken make install command. After untaring and applying the patch cd to db-3.1.17/build_cygwin and run ../dist/configure --prefix=/usr/local and make. It appears that sleepycat.com doesn't have a bug/patch submission mechanism in place so I will have to limit myself to the RPM and Cygwin lists. I welcome anyone's review. Doru Carastan Jason Tishler wrote: > > Doru, > > On Wed, Aug 08, 2001 at 07:44:43PM -0700, Doru Carastan wrote: > > No problem. Your initial patch and your analysis were very useful. Thank > > you for the feedback. > > You're welcome. > > Will you be submitting your Cygwin rpm and db patches to the appropriate > places? > > Thanks, > Jason > > -- > Jason Tishler > Director, Software Engineering Phone: 732.264.8770 x235 > Dot Hill Systems Corp. Fax: 732.264.8798 > 82 Bethany Road, Suite 7 Email: jason AT tishler DOT net > Hazlet, NJ 07730 USA WWW: http://www.dothill.com --------------B6A0DCE878243199BCDE8A30 Content-Type: text/plain; charset=x-user-defined; name="db-3.1.17-cygwin-wr3.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="db-3.1.17-cygwin-wr3.patch" diff -uNr db-3.1.17.orig/build_cygwin/.IGNORE_ME db-3.1.17/build_cygwin/.IGNORE_ME --- db-3.1.17.orig/build_cygwin/.IGNORE_ME Wed Dec 31 16:00:00 1969 +++ db-3.1.17/build_cygwin/.IGNORE_ME Wed Nov 17 09:40:30 1999 @@ -0,0 +1,3 @@ +Some combinations of the gzip and tar archive exploders found +on Linux systems ignore directories that don't have any files +(other than symbolic links) in them. So, here's a file. diff -uNr db-3.1.17.orig/dist/Makefile.in db-3.1.17/dist/Makefile.in --- db-3.1.17.orig/dist/Makefile.in Tue Jul 18 08:37:57 2000 +++ db-3.1.17/dist/Makefile.in Tue Jul 24 13:06:18 2001 @@ -15,7 +15,8 @@ CXX= @MAKEFILE_CXX@ INSTALLER= @INSTALLER@ - +EXEEXT= @EXEEXT@ + LDFLAGS= @LDFLAGS@ LIBDB_ARGS= @LIBDB_ARGS@ LIBJSO_LIBS= @LIBJSO_LIBS@ @@ -188,8 +189,12 @@ db_dump AT o@ db_load AT o@ db_printlog AT o@ db_recover AT o@ db_stat AT o@ \ db_upgrade AT o@ db_verify AT o@ util_log AT o@ util_sig AT o@ -PROGS= @ADDITIONAL_PROGS@ db_archive db_checkpoint db_deadlock \ - db_dump db_load db_printlog db_recover db_stat db_upgrade db_verify +PROGS= @ADDITIONAL_PROGS@ db_archive$(EXEEXT) db_checkpoint$(EXEEXT) db_deadlock$(EXEEXT) \ + db_dump$(EXEEXT) db_load$(EXEEXT) db_printlog$(EXEEXT) db_recover$(EXEEXT) db_stat$(EXEEXT) db_upgrade$(EXEEXT) db_verify$(EXEEXT) + +EXAMPLES= ex_access AT EXEEXT@ ex_btrec AT EXEEXT@ ex_dbclient AT EXEEXT@ \ + ex_env AT EXEEXT@ ex_lock AT EXEEXT@ ex_mpool AT EXEEXT@ ex_thread AT EXEEXT@ \ + ex_tpcb AT EXEEXT@ JAVA_DBSRCS=\ $(JAVA_DBDIR)/Db.java $(JAVA_DBDIR)/DbBtreeStat.java \ @@ -222,7 +227,9 @@ # To build both static and dynamic libraries, create two separate build # directories, and configure and build them separately. ################################################## -all: @DEFAULT_LIB@ @ADDITIONAL_LIBS@ @ADDITIONAL_LANG@ $(PROGS) +all: @DEFAULT_LIB@ @ADDITIONAL_LIBS@ @ADDITIONAL_LANG@ $(PROGS) + +examples: $(EXAMPLES) $(libdb): $(OBJS) $(ar) $@ $(OBJS) @@ -266,57 +273,57 @@ ################################################## # Utilities ################################################## -berkeley_db_svc: $(RPC_SRV) util_log AT o@ @DEFAULT_LIB@ +berkeley_db_svc AT EXEEXT@: $(RPC_SRV) util_log AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) $(RPC_SRV) util_log AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_archive: db_archive AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_archive AT EXEEXT@: db_archive AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_archive AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_checkpoint: db_checkpoint AT o@ util_log AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_checkpoint AT EXEEXT@: db_checkpoint AT o@ util_log AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_checkpoint AT o@ util_log AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_deadlock: db_deadlock AT o@ util_log AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_deadlock AT EXEEXT@: db_deadlock AT o@ util_log AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_deadlock AT o@ util_log AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_dump: db_dump AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_dump AT EXEEXT@: db_dump AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) db_dump AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_dump185: db_dump185 AT o@ @LIBOBJS@ +db_dump185 AT EXEEXT@: db_dump185 AT o@ @LIBOBJS@ $(CCLINK) -o $@ $(LDFLAGS) db_dump185 AT o@ @LIBOBJS@ $(DB185LIB) $(POSTLINK) $@ -db_load: db_load AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_load AT EXEEXT@: db_load AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) db_load AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_printlog: db_printlog AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_printlog AT EXEEXT@: db_printlog AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_printlog AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_recover: db_recover AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_recover AT EXEEXT@: db_recover AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_recover AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_stat: db_stat AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_stat AT EXEEXT@: db_stat AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) db_stat AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_upgrade: db_upgrade AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_upgrade AT EXEEXT@: db_upgrade AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_upgrade AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -db_verify: db_verify AT o@ util_sig AT o@ @DEFAULT_LIB@ +db_verify AT EXEEXT@: db_verify AT o@ util_sig AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) \ db_verify AT o@ util_sig AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ @@ -324,35 +331,35 @@ ################################################## # Example programs ################################################## -ex_access: ex_access AT o@ @DEFAULT_LIB@ +ex_access AT EXEEXT@: ex_access AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_access AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_btrec: ex_btrec AT o@ @DEFAULT_LIB@ +ex_btrec AT EXEEXT@: ex_btrec AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_btrec AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_dbclient: ex_dbclient AT o@ @DEFAULT_LIB@ +ex_dbclient AT EXEEXT@: ex_dbclient AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_dbclient AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_env: ex_env AT o@ @DEFAULT_LIB@ +ex_env AT EXEEXT@: ex_env AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_env AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_lock: ex_lock AT o@ @DEFAULT_LIB@ +ex_lock AT EXEEXT@: ex_lock AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_lock AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_mpool: ex_mpool AT o@ @DEFAULT_LIB@ +ex_mpool AT EXEEXT@: ex_mpool AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_mpool AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_thread: ex_thread AT o@ @DEFAULT_LIB@ +ex_thread AT EXEEXT@: ex_thread AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_thread AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ -ex_tpcb: ex_tpcb AT o@ @DEFAULT_LIB@ +ex_tpcb AT EXEEXT@: ex_tpcb AT o@ @DEFAULT_LIB@ $(CCLINK) -o $@ $(LDFLAGS) ex_tpcb AT o@ $(LIBDB_ARGS) $(LIBS) $(POSTLINK) $@ @@ -366,8 +373,9 @@ ################################################## # Standard Makefile targets. ################################################## -RMLIST= berkeley_db_svc db_dump185 dbs ex_access ex_btrec ex_dbclient \ - ex_env ex_lock ex_mpool ex_thread ex_tpcb +RMLIST= berkeley_db_svc AT EXEEXT@ db_dump185 AT EXEEXT@ dbs ex_access AT EXEEXT@ \ + ex_btrec AT EXEEXT@ ex_dbclient AT EXEEXT@ ex_env AT EXEEXT@ ex_lock AT EXEEXT@ \ + ex_mpool AT EXEEXT@ ex_thread AT EXEEXT@ ex_tpcb AT EXEEXT@ clean: $(rm) -f $(OBJS) $(rm) -f $(COBJS) $(DBSOBJS) $(EOBJS) $(CEOBJS) $(JOBJS) diff -uNr db-3.1.17.orig/dist/configure db-3.1.17/dist/configure --- db-3.1.17.orig/dist/configure Mon Jul 31 09:58:18 2000 +++ db-3.1.17/dist/configure Tue Jul 24 13:08:12 2001 @@ -740,7 +740,7 @@ DB_VERSION_PATCH=17 -DB_VERSION_STRING="\"Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)\"" +DB_VERSION_STRING="\"Sleepycat Software: Berkeley DB 3.1.17: (July 24, 2001)\"" @@ -1278,6 +1278,101 @@ fi fi +echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 +echo "configure:1283: checking for Cygwin environment" >&5 +if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_cygwin=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_cygwin=no +fi +rm -f conftest* +rm -f conftest* +fi + +echo "$ac_t""$ac_cv_cygwin" 1>&6 +CYGWIN= +test "$ac_cv_cygwin" = yes && CYGWIN=yes +echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 +echo "configure:1316: checking for mingw32 environment" >&5 +if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_mingw32=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_mingw32=no +fi +rm -f conftest* +rm -f conftest* +fi + +echo "$ac_t""$ac_cv_mingw32" 1>&6 +MINGW32= +test "$ac_cv_mingw32" = yes && MINGW32=yes + + +echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 +echo "configure:1347: checking for executable suffix" >&5 +if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + if test "$CYGWIN" = yes || test "$MINGW32" = yes; then + ac_cv_exeext=.exe +else + rm -f conftest* + echo 'int main () { return 0; }' > conftest.$ac_ext + ac_cv_exeext= + if { (eval echo configure:1357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + for file in conftest.*; do + case $file in + *.c | *.o | *.obj) ;; + *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; + esac + done + else + { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } + fi + rm -f conftest* + test x"${ac_cv_exeext}" = x && ac_cv_exeext=no +fi +fi + +EXEEXT="" +test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} +echo "$ac_t""${ac_cv_exeext}" 1>&6 +ac_exeext=$EXEEXT + MAKEFILE_CC=${CC} MAKEFILE_CCLINK="\$(CC)" @@ -1314,7 +1409,7 @@ aix*) # Extract the first word of "xlC_r", so it can be a program name with args. set dummy xlC_r; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1318: checking for $ac_word" >&5 +echo "configure:1413: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1343,7 +1438,7 @@ hpux*) # Extract the first word of "aCC", so it can be a program name with args. set dummy aCC; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1347: checking for $ac_word" >&5 +echo "configure:1442: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1372,7 +1467,7 @@ osf*) # Extract the first word of "cxx", so it can be a program name with args. set dummy cxx; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1376: checking for $ac_word" >&5 +echo "configure:1471: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1401,7 +1496,7 @@ solaris*) # Extract the first word of "CC", so it can be a program name with args. set dummy CC; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1405: checking for $ac_word" >&5 +echo "configure:1500: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CCC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1434,7 +1529,7 @@ # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1438: checking for $ac_word" >&5 +echo "configure:1533: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1466,7 +1561,7 @@ echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1470: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 +echo "configure:1565: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1477,12 +1572,12 @@ cat > conftest.$ac_ext << EOF -#line 1481 "configure" +#line 1576 "configure" #include "confdefs.h" int main(){return(0);} EOF -if { (eval echo configure:1486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cxx_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1508,12 +1603,12 @@ { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1512: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1607: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 cross_compiling=$ac_cv_prog_cxx_cross echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 -echo "configure:1517: checking whether we are using GNU C++" >&5 +echo "configure:1612: checking whether we are using GNU C++" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1522,7 +1617,7 @@ yes; #endif EOF -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gxx=yes else ac_cv_prog_gxx=no @@ -1541,7 +1636,7 @@ ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS= echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 -echo "configure:1545: checking whether ${CXX-g++} accepts -g" >&5 +echo "configure:1640: checking whether ${CXX-g++} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1597,7 +1692,7 @@ # Configure libtool. echo $ac_n "checking libtool configuration""... $ac_c" 1>&6 -echo "configure:1601: checking libtool configuration" >&5 +echo "configure:1696: checking libtool configuration" >&5 echo "$ac_t""" 1>&6 ${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \ --no-verify $srcdir/ltmain.sh \ @@ -1640,7 +1735,7 @@ # Extract the first word of "javac", so it can be a program name with args. set dummy javac; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1644: checking for $ac_word" >&5 +echo "configure:1739: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_JAVAC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1673,7 +1768,7 @@ # Extract the first word of "javac", so it can be a program name with args. set dummy javac; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1677: checking for $ac_word" >&5 +echo "configure:1772: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_JAVACABS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1712,7 +1807,7 @@ while ls -ld "$JAVACABS" 2>/dev/null | grep " -> " >/dev/null; do echo $ac_n "checking symlink for $JAVACABS""... $ac_c" 1>&6 -echo "configure:1716: checking symlink for $JAVACABS" >&5 +echo "configure:1811: checking symlink for $JAVACABS" >&5 JAVACLINK=`ls -ld $JAVACABS | sed 's/.* -> //'` case "$JAVACLINK" in /*) JAVACABS="$JAVACLINK";; @@ -1755,11 +1850,11 @@ RPC_OBJS="\$(RPC_OBJS)" - ADDITIONAL_PROGS="berkeley_db_svc $ADDITIONAL_PROGS" + ADDITIONAL_PROGS="berkeley_db_svc${ac_exeext} $ADDITIONAL_PROGS" case "$host_os" in solaris*) echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 -echo "configure:1763: checking for main in -lnsl" >&5 +echo "configure:1858: checking for main in -lnsl" >&5 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1767,14 +1862,14 @@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1795,7 +1890,7 @@ fi ;; hpux*) echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6 -echo "configure:1799: checking for main in -lnsl" >&5 +echo "configure:1894: checking for main in -lnsl" >&5 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1803,14 +1898,14 @@ ac_save_LIBS="$LIBS" LIBS="-lnsl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1907,7 +2002,7 @@ echo $ac_n "checking for existence of $TCL_BIN_DIR/tclConfig.sh""... $ac_c" 1>&6 -echo "configure:1911: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5 +echo "configure:2006: checking for existence of $TCL_BIN_DIR/tclConfig.sh" >&5 if test -f "$TCL_BIN_DIR/tclConfig.sh" ; then echo "$ac_t""loading" 1>&6 @@ -1947,11 +2042,11 @@ fi if test "$db_cv_dump185" = "yes"; then - ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS" + ADDITIONAL_PROGS="db_dump185${ac_exeext} $ADDITIONAL_PROGS" fi echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:1955: checking for pthread_create in -lpthread" >&5 +echo "configure:2050: checking for pthread_create in -lpthread" >&5 ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1959,7 +2054,7 @@ ac_save_LIBS="$LIBS" LIBS="-lpthread $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1992,14 +2087,14 @@ echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:1996: checking whether byte ordering is bigendian" >&5 +echo "configure:2091: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -2010,11 +2105,11 @@ #endif ; return 0; } EOF -if { (eval echo configure:2014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -2025,7 +2120,7 @@ #endif ; return 0; } EOF -if { (eval echo configure:2029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -2045,7 +2140,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -2082,12 +2177,12 @@ fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:2086: checking for working const" >&5 +echo "configure:2181: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -2157,7 +2252,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:2161: checking how to run the C preprocessor" >&5 +echo "configure:2256: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -2172,13 +2267,13 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2189,13 +2284,13 @@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2206,13 +2301,13 @@ rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -2237,12 +2332,12 @@ echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6 -echo "configure:2241: checking whether stat file-mode macros are broken" >&5 +echo "configure:2336: checking whether stat file-mode macros are broken" >&5 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2293,12 +2388,12 @@ fi echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:2297: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:2392: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2307,7 +2402,7 @@ struct tm *tp; ; return 0; } EOF -if { (eval echo configure:2311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -2328,12 +2423,12 @@ fi echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 -echo "configure:2332: checking for st_blksize in struct stat" >&5 +echo "configure:2427: checking for st_blksize in struct stat" >&5 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2341,7 +2436,7 @@ struct stat s; s.st_blksize; ; return 0; } EOF -if { (eval echo configure:2345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_st_blksize=yes else @@ -2362,12 +2457,12 @@ fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2366: checking for ANSI C header files" >&5 +echo "configure:2461: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2375,7 +2470,7 @@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -2392,7 +2487,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2410,7 +2505,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2431,7 +2526,7 @@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2442,7 +2537,7 @@ exit (0); } EOF -if { (eval echo configure:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -2466,12 +2561,12 @@ fi echo $ac_n "checking for mode_t""... $ac_c" 1>&6 -echo "configure:2470: checking for mode_t" >&5 +echo "configure:2565: checking for mode_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2499,12 +2594,12 @@ fi echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:2503: checking for off_t" >&5 +echo "configure:2598: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2532,12 +2627,12 @@ fi echo $ac_n "checking for pid_t""... $ac_c" 1>&6 -echo "configure:2536: checking for pid_t" >&5 +echo "configure:2631: checking for pid_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2565,12 +2660,12 @@ fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:2569: checking for size_t" >&5 +echo "configure:2664: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -2601,19 +2696,19 @@ echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 -echo "configure:2605: checking for ssize_t" >&5 +echo "configure:2700: checking for ssize_t" >&5 if eval "test \"`echo '$''{'db_cv_ssize_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { ssize_t foo; ; return 0; } EOF -if { (eval echo configure:2617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_ssize_t=yes else @@ -2632,19 +2727,19 @@ echo $ac_n "checking for u_char""... $ac_c" 1>&6 -echo "configure:2636: checking for u_char" >&5 +echo "configure:2731: checking for u_char" >&5 if eval "test \"`echo '$''{'db_cv_uchar'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_char foo; ; return 0; } EOF -if { (eval echo configure:2648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_uchar=yes else @@ -2663,19 +2758,19 @@ echo $ac_n "checking for u_short""... $ac_c" 1>&6 -echo "configure:2667: checking for u_short" >&5 +echo "configure:2762: checking for u_short" >&5 if eval "test \"`echo '$''{'db_cv_ushort'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_short foo; ; return 0; } EOF -if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_ushort=yes else @@ -2694,19 +2789,19 @@ echo $ac_n "checking for u_int""... $ac_c" 1>&6 -echo "configure:2698: checking for u_int" >&5 +echo "configure:2793: checking for u_int" >&5 if eval "test \"`echo '$''{'db_cv_uint'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_int foo; ; return 0; } EOF -if { (eval echo configure:2710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_uint=yes else @@ -2725,19 +2820,19 @@ echo $ac_n "checking for u_long""... $ac_c" 1>&6 -echo "configure:2729: checking for u_long" >&5 +echo "configure:2824: checking for u_long" >&5 if eval "test \"`echo '$''{'db_cv_ulong'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_long foo; ; return 0; } EOF -if { (eval echo configure:2741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_ulong=yes else @@ -2756,19 +2851,19 @@ echo $ac_n "checking for u_int8_t""... $ac_c" 1>&6 -echo "configure:2760: checking for u_int8_t" >&5 +echo "configure:2855: checking for u_int8_t" >&5 if eval "test \"`echo '$''{'db_cv_uint8'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_int8_t foo; ; return 0; } EOF -if { (eval echo configure:2772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_uint8=yes else @@ -2779,11 +2874,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_uint8="unsigned char" else @@ -2809,19 +2904,19 @@ echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6 -echo "configure:2813: checking for u_int16_t" >&5 +echo "configure:2908: checking for u_int16_t" >&5 if eval "test \"`echo '$''{'db_cv_uint16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_int16_t foo; ; return 0; } EOF -if { (eval echo configure:2825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_uint16=yes else @@ -2832,11 +2927,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_uint16="unsigned short" else @@ -2847,11 +2942,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_uint16="unsigned int" else @@ -2881,19 +2976,19 @@ echo $ac_n "checking for int16_t""... $ac_c" 1>&6 -echo "configure:2885: checking for int16_t" >&5 +echo "configure:2980: checking for int16_t" >&5 if eval "test \"`echo '$''{'db_cv_int16'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { int16_t foo; ; return 0; } EOF -if { (eval echo configure:2897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_int16=yes else @@ -2904,11 +2999,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_int16="short" else @@ -2919,11 +3014,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_int16="int" else @@ -2953,19 +3048,19 @@ echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6 -echo "configure:2957: checking for u_int32_t" >&5 +echo "configure:3052: checking for u_int32_t" >&5 if eval "test \"`echo '$''{'db_cv_uint32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { u_int32_t foo; ; return 0; } EOF -if { (eval echo configure:2969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_uint32=yes else @@ -2976,11 +3071,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_uint32="unsigned int" else @@ -2991,11 +3086,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_uint32="unsigned long" else @@ -3025,19 +3120,19 @@ echo $ac_n "checking for int32_t""... $ac_c" 1>&6 -echo "configure:3029: checking for int32_t" >&5 +echo "configure:3124: checking for int32_t" >&5 if eval "test \"`echo '$''{'db_cv_int32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { int32_t foo; ; return 0; } EOF -if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_int32=yes else @@ -3048,11 +3143,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_int32="int" else @@ -3063,11 +3158,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_int32="long" else @@ -3097,19 +3192,19 @@ echo $ac_n "checking for largest integral type""... $ac_c" 1>&6 -echo "configure:3101: checking for largest integral type" >&5 +echo "configure:3196: checking for largest integral type" >&5 if eval "test \"`echo '$''{'db_cv_align_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { long long foo; ; return 0; } EOF -if { (eval echo configure:3113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* db_cv_align_t="unsigned long long" else @@ -3126,7 +3221,7 @@ echo $ac_n "checking for integral type equal to pointer size""... $ac_c" 1>&6 -echo "configure:3130: checking for integral type equal to pointer size" >&5 +echo "configure:3225: checking for integral type equal to pointer size" >&5 if eval "test \"`echo '$''{'db_cv_alignp_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3135,11 +3230,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_alignp_t="unsigned int" else @@ -3153,11 +3248,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_alignp_t="unsigned long" else @@ -3171,11 +3266,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_alignp_t="unsigned long long" else @@ -3197,12 +3292,12 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 -echo "configure:3201: checking for $ac_hdr that defines DIR" >&5 +echo "configure:3296: checking for $ac_hdr that defines DIR" >&5 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include <$ac_hdr> @@ -3210,7 +3305,7 @@ DIR *dirp = 0; ; return 0; } EOF -if { (eval echo configure:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* eval "ac_cv_header_dirent_$ac_safe=yes" else @@ -3235,7 +3330,7 @@ # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 -echo "configure:3239: checking for opendir in -ldir" >&5 +echo "configure:3334: checking for opendir in -ldir" >&5 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3243,7 +3338,7 @@ ac_save_LIBS="$LIBS" LIBS="-ldir $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3276,7 +3371,7 @@ else echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 -echo "configure:3280: checking for opendir in -lx" >&5 +echo "configure:3375: checking for opendir in -lx" >&5 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3284,7 +3379,7 @@ ac_save_LIBS="$LIBS" LIBS="-lx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3321,17 +3416,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3325: checking for $ac_hdr" >&5 +echo "configure:3420: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3361,17 +3456,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3365: checking for $ac_hdr" >&5 +echo "configure:3460: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3401,7 +3496,7 @@ echo $ac_n "checking for mutexes""... $ac_c" 1>&6 -echo "configure:3405: checking for mutexes" >&5 +echo "configure:3500: checking for mutexes" >&5 if eval "test \"`echo '$''{'db_cv_mutex'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3422,7 +3517,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3436,7 +3531,7 @@ _lwp_mutex_unlock(&mutex)); } EOF -if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="Solaris/lwp" else @@ -3454,7 +3549,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3470,7 +3565,7 @@ mutex_unlock(&mutex)); } EOF -if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="UI/threads/library" else @@ -3487,7 +3582,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3503,7 +3598,7 @@ mutex_unlock(&mutex)); } EOF -if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="UI/threads" else @@ -3520,7 +3615,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3544,7 +3639,7 @@ pthread_mutexattr_destroy(&mutexattr)); } EOF -if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="POSIX/pthreads" else @@ -3561,7 +3656,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3585,7 +3680,7 @@ pthread_mutexattr_destroy(&mutexattr)); } EOF -if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="POSIX/pthreads/library" else @@ -3603,7 +3698,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3620,7 +3715,7 @@ #endif } EOF -if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="HP/msem_init" else @@ -3637,7 +3732,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < @@ -3651,7 +3746,7 @@ exit(0); } EOF -if { (eval echo configure:3655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="UNIX/msem_init" else @@ -3666,7 +3761,7 @@ if test "$db_cv_mutex" = no; then LIBS="$LIBS -lmproc" cat > conftest.$ac_ext < int main() { @@ -3674,7 +3769,7 @@ spinlock_t x; initspin(&x, 1); cspinlock(&x); spinunlock(&x); ; return 0; } EOF -if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* db_cv_mutex="ReliantUNIX/initspin" else @@ -3690,7 +3785,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="SCO/x86/cc-assembly" else @@ -3714,7 +3809,7 @@ if test "$db_cv_mutex" = no; then cat > conftest.$ac_ext < int main() { @@ -3722,7 +3817,7 @@ abilock_t x; init_lock(&x); acquire_lock(&x); release_lock(&x); ; return 0; } EOF -if { (eval echo configure:3726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* db_cv_mutex="SGI/init_lock" else @@ -3734,7 +3829,7 @@ if test "$db_cv_mutex" = DOESNT_WORK; then cat > conftest.$ac_ext < int main() { @@ -3743,7 +3838,7 @@ sema_init(&x, 1, USYNC_PROCESS, NULL); sema_wait(&x); sema_post(&x); ; return 0; } EOF -if { (eval echo configure:3747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* db_cv_mutex="UNIX/sema_init" else @@ -3755,7 +3850,7 @@ if test "$db_cv_mutex" = no; then cat > conftest.$ac_ext < int main() { @@ -3764,7 +3859,7 @@ _lock_try(&x); _lock_clear(&x); ; return 0; } EOF -if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* db_cv_mutex="Solaris/_lock_try" else @@ -3776,14 +3871,14 @@ if test "$db_cv_mutex" = no; then cat > conftest.$ac_ext < int main() { int x; _check_lock(&x,0,1); _clear_lock(&x,0); ; return 0; } EOF -if { (eval echo configure:3787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* db_cv_mutex="AIX/_check_lock" else @@ -3798,7 +3893,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="ALPHA/gcc-assembly" else @@ -3825,7 +3920,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="HPPA/gcc-assembly" else @@ -3852,7 +3947,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="Sparc/gcc-assembly" else @@ -3880,7 +3975,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="68K/gcc-assembly" else @@ -3908,7 +4003,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="x86/gcc-assembly" else @@ -3936,7 +4031,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="ia64/gcc-assembly" else @@ -3964,7 +4059,7 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_mutex="UTS/cc-assembly" else @@ -4109,12 +4204,12 @@ for ac_func in getcwd getopt memcmp memcpy memmove do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4113: checking for $ac_func" >&5 +echo "configure:4208: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4166,12 +4261,12 @@ for ac_func in raise snprintf strcasecmp strerror vsnprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4170: checking for $ac_func" >&5 +echo "configure:4265: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4227,12 +4322,12 @@ for ac_func in getuid pstat_getdynamic sysconf sched_yield strtoul yield do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4231: checking for $ac_func" >&5 +echo "configure:4326: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4286,12 +4381,12 @@ *) for ac_func in pread pwrite do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4290: checking for $ac_func" >&5 +echo "configure:4385: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4341,7 +4436,7 @@ esac echo $ac_n "checking for fcntl/F_SETFD""... $ac_c" 1>&6 -echo "configure:4345: checking for fcntl/F_SETFD" >&5 +echo "configure:4440: checking for fcntl/F_SETFD" >&5 if eval "test \"`echo '$''{'db_cv_fcntl_f_setfd'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4349,14 +4444,14 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < #include main(){exit(fcntl(1, F_SETFD, 1) == -1);} EOF -if { (eval echo configure:4360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_fcntl_f_setfd=yes else @@ -4386,12 +4481,12 @@ for ac_func in qsort do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4390: checking for $ac_func" >&5 +echo "configure:4485: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4442,12 +4537,12 @@ for ac_func in select do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4446: checking for $ac_func" >&5 +echo "configure:4541: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4497,7 +4592,7 @@ echo $ac_n "checking for int type sprintf return value""... $ac_c" 1>&6 -echo "configure:4501: checking for int type sprintf return value" >&5 +echo "configure:4596: checking for int type sprintf return value" >&5 if eval "test \"`echo '$''{'db_cv_sprintf_count'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4505,11 +4600,11 @@ { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then db_cv_sprintf_count=yes else @@ -4559,12 +4654,12 @@ for ac_func in mmap munmap do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4563: checking for $ac_func" >&5 +echo "configure:4658: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4619,12 +4714,12 @@ for ac_func in mlock munlock do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4623: checking for $ac_func" >&5 +echo "configure:4718: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4674,12 +4769,12 @@ for ac_func in mmap munmap do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4678: checking for $ac_func" >&5 +echo "configure:4773: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4738,12 +4833,12 @@ for ac_func in shmget do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4742: checking for $ac_func" >&5 +echo "configure:4837: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4802,7 +4897,7 @@ # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4806: checking for $ac_word" >&5 +echo "configure:4901: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ar'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4841,7 +4936,7 @@ # Extract the first word of "chmod", so it can be a program name with args. set dummy chmod; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4845: checking for $ac_word" >&5 +echo "configure:4940: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_chmod'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4880,7 +4975,7 @@ # Extract the first word of "cp", so it can be a program name with args. set dummy cp; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4884: checking for $ac_word" >&5 +echo "configure:4979: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_cp'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4919,7 +5014,7 @@ # Extract the first word of "ln", so it can be a program name with args. set dummy ln; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4923: checking for $ac_word" >&5 +echo "configure:5018: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ln'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4958,7 +5053,7 @@ # Extract the first word of "mkdir", so it can be a program name with args. set dummy mkdir; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4962: checking for $ac_word" >&5 +echo "configure:5057: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_mkdir'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4997,7 +5092,7 @@ # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5001: checking for $ac_word" >&5 +echo "configure:5096: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_ranlib'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5033,7 +5128,7 @@ # Extract the first word of "rm", so it can be a program name with args. set dummy rm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5037: checking for $ac_word" >&5 +echo "configure:5132: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_rm'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5072,7 +5167,7 @@ # Extract the first word of "sh", so it can be a program name with args. set dummy sh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5076: checking for $ac_word" >&5 +echo "configure:5171: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_sh'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5111,7 +5206,7 @@ # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5115: checking for $ac_word" >&5 +echo "configure:5210: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_strip'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5152,7 +5247,7 @@ # Extract the first word of "kill", so it can be a program name with args. set dummy kill; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5156: checking for $ac_word" >&5 +echo "configure:5251: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_db_cv_path_kill'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5367,6 +5462,7 @@ s%@DB_VERSION_PATCH@%$DB_VERSION_PATCH%g s%@DB_VERSION_STRING@%$DB_VERSION_STRING%g s%@CC@%$CC%g +s%@EXEEXT@%$EXEEXT%g s%@CCC@%$CCC%g s%@JAVACABS@%$JAVACABS%g s%@TCFLAGS@%$TCFLAGS%g diff -uNr db-3.1.17.orig/dist/configure.in db-3.1.17/dist/configure.in --- db-3.1.17.orig/dist/configure.in Sun Jul 30 10:45:52 2000 +++ db-3.1.17/dist/configure.in Tue Jul 24 13:07:12 2001 @@ -129,6 +129,7 @@ AC_CHECK_PROG(CC, cc, cc) AC_CHECK_PROG(CC, gcc, gcc) AC_PROG_CC +AC_EXEEXT dnl Because of dynamic library building, the ${CC} used for config tests dnl may be different than the ${CC} we want to put in the Makefile. @@ -296,7 +297,7 @@ AC_DEFINE(HAVE_RPC) RPC_OBJS="\$(RPC_OBJS)" - ADDITIONAL_PROGS="berkeley_db_svc $ADDITIONAL_PROGS" + ADDITIONAL_PROGS="berkeley_db_svc${ac_exeext} $ADDITIONAL_PROGS" case "$host_os" in solaris*) AC_CHECK_LIB(nsl, main, LIBS="-lnsl $LIBS");; @@ -313,7 +314,7 @@ dnl Optional utilities. if test "$db_cv_dump185" = "yes"; then - ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS" + ADDITIONAL_PROGS="db_dump185${ac_exeext} $ADDITIONAL_PROGS" fi dnl Test Server. diff -uNr db-3.1.17.orig/dist/s_symlink db-3.1.17/dist/s_symlink --- db-3.1.17.orig/dist/s_symlink Mon May 8 10:57:38 2000 +++ db-3.1.17/dist/s_symlink Tue Jul 24 13:08:46 2001 @@ -11,6 +11,7 @@ build btree/tags ../dist/tags build build_unix/tags ../dist/tags +build build_cygwin/tags ../dist/tags build clib/tags ../dist/tags build common/tags ../dist/tags build cxx/tags ../dist/tags --------------B6A0DCE878243199BCDE8A30 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------B6A0DCE878243199BCDE8A30--