--- build/apu-conf.m4.jkj 2002-12-14 03:22:38.000000000 -0800 +++ build/apu-conf.m4 2002-12-14 03:28:01.000000000 -0800 @@ -196,6 +196,11 @@ apu_db_header=db.h # default so apu_select_dbm.h is syntactically correct apu_db_version=0 +if test -n "$apu_db_xtra_libs"; then + saveddbxtralibs="$LIBS" + LIBS="$apu_db_xtra_libs $LIBS" +fi + AC_ARG_WITH(dbm, [ --with-dbm=DBM choose the DBM type to use. DBM={sdbm,gdbm,ndbm,db,db1,db185,db2,db3,db4}],[ @@ -427,6 +432,10 @@ ;; esac +if test -n "$apu_db_xtra_libs"; then + LIBS="$saveddbxtralibs" +fi + dnl Yes, it'd be nice if we could collate the output in an order dnl so that the AC_MSG_CHECKING would be output before the actual dnl checks, but it isn't happening now. @@ -462,6 +471,10 @@ if test -n "$apu_db_lib"; then APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l$apu_db_lib]) APR_ADDTO(APRUTIL_LIBS,[-l$apu_db_lib]) + if test -n "apu_db_xtra_libs"; then + APR_ADDTO(APRUTIL_EXPORT_LIBS,[$apu_db_xtra_libs]) + APR_ADDTO(APRUTIL_LIBS,[$apu_db_xtra_libs]) + fi fi fi --- build/apu-hints.m4.jkj 2002-12-14 03:13:13.000000000 -0800 +++ build/apu-hints.m4 2002-12-14 03:13:19.000000000 -0800 @@ -24,6 +24,9 @@ *-solaris2*) APR_SETIFNULL(apu_iconv_inbuf_const, [1]) ;; + *-sco3.2v5*) + APR_SETIFNULL(apu_db_xtra_libs, [-lsocket]) + ;; esac fi