opensubscriber
   Find in this group all groups
 
Unknown more information…

d : dev@apr.apache.org 25 August 2009 • 9:02PM -0400

PR 47572 - should --with-dbm=gdbm imply --with-gdbm?
by Dan Poirier

REPLY TO AUTHOR
 
REPLY TO GROUP




I opened this suggestion a while back and haven't seen any feedback.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47572

When I configure apr to use gdbm:

./configure --with-dbm=gdbm

but forget to include --with-gdbm, then apr gets built in a way that
requires apr_gdbm, but doesn't build apr_gdbm.  The result is that code
that tries to use apr_dbm, e.g. htdbm, fails.

It would be nice if specifying --with-dbm=gdbm would automatically add
--with-gdbm, or at least result in an error if --with-gdbm wasn't specified.

I've provided a patch that turns on --with-gdbm.  An alternative would
be to fail the configure if --with-dbm=gdbm was requested and it didn't
find gdbm, whether because no --with-gdbm was given or it's just not
installed.  I'm open to advice on which fits better with the usual
practice for autoconf.

Thanks,
Dan


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.