📄 db42-support-patch.txt
字号:
+ result="`eval echo '$'$cache_id`"+ echo "$as_me:$LINENO: result: $result" >&5+echo "${ECHO_T}$result" >&6+ elif test ""4"" = "1"; then+ as_ac_Lib=`echo "ac_cv_lib_$bdb_libname''_dbopen" | $as_tr_sh`+echo "$as_me:$LINENO: checking for dbopen in -l$bdb_libname" >&5+echo $ECHO_N "checking for dbopen in -l$bdb_libname... $ECHO_C" >&6+if eval "test \"\${$as_ac_Lib+set}\" = set"; then+ echo $ECHO_N "(cached) $ECHO_C" >&6+else+ ac_check_lib_save_LIBS=$LIBS+LIBS="-l$bdb_libname $LIBS"+cat >conftest.$ac_ext <<_ACEOF+#line $LINENO "configure"+#include "confdefs.h"++/* Override any gcc2 internal prototype to avoid an error. */+#ifdef __cplusplus+extern "C"+#endif+/* We use char because int might match the return type of a gcc2+ builtin and then its argument prototype would still apply. */+char dbopen ();+int+main ()+{+dbopen ();+ ;+ return 0;+}+_ACEOF+rm -f conftest.$ac_objext conftest$ac_exeext+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5+ (eval $ac_link) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); } &&+ { ac_try='test -s conftest$ac_exeext'+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5+ (eval $ac_try) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); }; }; then+ eval "$as_ac_Lib=yes"+else+ echo "$as_me: failed program was:" >&5+cat conftest.$ac_ext >&5+eval "$as_ac_Lib=no"+fi+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext+LIBS=$ac_check_lib_save_LIBS+fi+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5+echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6+if test `eval echo '${'$as_ac_Lib'}'` = yes; then+ result=yes+else+ result=no++fi++ elif test ""4"" = "2"; then+ as_ac_Lib=`echo "ac_cv_lib_$bdb_libname''_db_open" | $as_tr_sh`+echo "$as_me:$LINENO: checking for db_open in -l$bdb_libname" >&5+echo $ECHO_N "checking for db_open in -l$bdb_libname... $ECHO_C" >&6+if eval "test \"\${$as_ac_Lib+set}\" = set"; then+ echo $ECHO_N "(cached) $ECHO_C" >&6+else+ ac_check_lib_save_LIBS=$LIBS+LIBS="-l$bdb_libname $LIBS"+cat >conftest.$ac_ext <<_ACEOF+#line $LINENO "configure"+#include "confdefs.h"++/* Override any gcc2 internal prototype to avoid an error. */+#ifdef __cplusplus+extern "C"+#endif+/* We use char because int might match the return type of a gcc2+ builtin and then its argument prototype would still apply. */+char db_open ();+int+main ()+{+db_open ();+ ;+ return 0;+}+_ACEOF+rm -f conftest.$ac_objext conftest$ac_exeext+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5+ (eval $ac_link) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); } &&+ { ac_try='test -s conftest$ac_exeext'+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5+ (eval $ac_try) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); }; }; then+ eval "$as_ac_Lib=yes"+else+ echo "$as_me: failed program was:" >&5+cat conftest.$ac_ext >&5+eval "$as_ac_Lib=no"+fi+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext+LIBS=$ac_check_lib_save_LIBS+fi+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5+echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6+if test `eval echo '${'$as_ac_Lib'}'` = yes; then+ result=yes+else+ result=no++fi++ fi++else+ result="no"+fi++++ # If we found it, no need to search any more.+ if test "$result" = "yes"; then+ found="$bdb_place"+ break+ fi+ done+ test "$found" != "not" && break+ done+ test "$found" != "not" && break+ done++ # Restore the original values of the flags we tweak.+ LDFLAGS="$apu_check_lib_save_ldflags"+ CPPFLAGS="$apu_check_lib_save_cppflags"++ case "$found" in+ "not")+ apu_have_db=0+ ;;+ "std")+ apu_db_header=$bdb_header+ apu_db_lib=$bdb_libname+ apu_have_db=1+ ;;+ *":"*)+ header="`echo $found | sed -e 's/:.*$//'`"+ lib="`echo $found | sed -e 's/^.*://'`"+++ if test "x$APRUTIL_INCLUDES" = "x"; then+ echo " setting APRUTIL_INCLUDES to \"-I$header\""+ APRUTIL_INCLUDES="-I$header"+ else+ apr_addto_bugger="-I$header"+ for i in $apr_addto_bugger; do+ apr_addto_duplicate="0"+ for j in $APRUTIL_INCLUDES; do+ if test "x$i" = "x$j"; then+ apr_addto_duplicate="1"+ break+ fi+ done+ if test $apr_addto_duplicate = "0"; then+ echo " adding \"$i\" to APRUTIL_INCLUDES"+ APRUTIL_INCLUDES="$APRUTIL_INCLUDES $i"+ fi+ done+ fi+++ if test "x$APRUTIL_LDFLAGS" = "x"; then+ echo " setting APRUTIL_LDFLAGS to \"-L$lib\""+ APRUTIL_LDFLAGS="-L$lib"+ else+ apr_addto_bugger="-L$lib"+ for i in $apr_addto_bugger; do+ apr_addto_duplicate="0"+ for j in $APRUTIL_LDFLAGS; do+ if test "x$i" = "x$j"; then+ apr_addto_duplicate="1"+ break+ fi+ done+ if test $apr_addto_duplicate = "0"; then+ echo " adding \"$i\" to APRUTIL_LDFLAGS"+ APRUTIL_LDFLAGS="$APRUTIL_LDFLAGS $i"+ fi+ done+ fi++ apu_db_header=$bdb_header+ apu_db_lib=$bdb_libname+ apu_have_db=1+ ;;+ *)++ if test "x$APRUTIL_INCLUDES" = "x"; then+ echo " setting APRUTIL_INCLUDES to \"-I$found/include\""+ APRUTIL_INCLUDES="-I$found/include"+ else+ apr_addto_bugger="-I$found/include"+ for i in $apr_addto_bugger; do+ apr_addto_duplicate="0"+ for j in $APRUTIL_INCLUDES; do+ if test "x$i" = "x$j"; then+ apr_addto_duplicate="1"+ break+ fi+ done+ if test $apr_addto_duplicate = "0"; then+ echo " adding \"$i\" to APRUTIL_INCLUDES"+ APRUTIL_INCLUDES="$APRUTIL_INCLUDES $i"+ fi+ done+ fi+++ if test "x$APRUTIL_LDFLAGS" = "x"; then+ echo " setting APRUTIL_LDFLAGS to \"-L$found/lib\""+ APRUTIL_LDFLAGS="-L$found/lib"+ else+ apr_addto_bugger="-L$found/lib"+ for i in $apr_addto_bugger; do+ apr_addto_duplicate="0"+ for j in $APRUTIL_LDFLAGS; do+ if test "x$i" = "x$j"; then+ apr_addto_duplicate="1"+ break+ fi+ done+ if test $apr_addto_duplicate = "0"; then+ echo " adding \"$i\" to APRUTIL_LDFLAGS"+ APRUTIL_LDFLAGS="$APRUTIL_LDFLAGS $i"+ fi+ done+ fi++ apu_db_header=$bdb_header+ apu_db_lib=$bdb_libname+ apu_have_db=1+ ;;+ esac++ if test "$apu_have_db" = "1"; then+ apu_db_version=4+ fi++ if test "$apu_db_version" != "4"; then+ { { echo "$as_me:$LINENO: error: Berkeley db4 not found" >&5+echo "$as_me: error: Berkeley db4 not found" >&2;}+ { (exit 1); exit 1; }; }+ fi+ ;; db41) places="$check_places"@@ -26656,6 +27186,10 @@ apu_use_db=1 apu_default_dbm=db4 ;;+ db42)+ apu_use_db=1+ apu_default_dbm=db4+ ;; default) apu_default_dbm="sdbm (default)" apu_use_sdbm=1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -