[bre...@apache.org]
> +      # We pass --dbm-libs here since Debian has modified apu-config not
> +      # to return -ldb unless --dbm-libs is passed.

Better would be not to rely on apr-util to figure out where db is at
all.  We're not using the apu wrapper for db, after all, we're calling
the db library directly, so really there's no reason for apr-util to be
involved at all.

If you're trying to fix detection on Debian specifically, note that it
is really as simple as "--with-berkeley-db=:::db", so that case should
be fairly easy to autodetect.  Easier, I daresay, than figuring out
whether it's safe and reasonable to pass --dbm-libs to apu_config.

Peter

Reply via email to