You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/07/24 15:29:31 UTC

DO NOT REPLY [Bug 47572] New: It would be nice if apr configure --with-dbm=xdbm would imply --with-xdbm

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

           Summary: It would be nice if apr configure --with-dbm=xdbm
                    would imply --with-xdbm
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: poirier@pobox.com


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 assume the same occurs with other choices for --with-dbm, but haven't checked
yet.

I'll look into this further when I have time, but I'm a novice with autoconf,
so if someone who knows this area better wants to look at it, that's fine with
me.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 47572] It would be nice if apr configure --with-dbm=xdbm would imply --with-xdbm

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47572


Dan Poirier <po...@pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 47572] It would be nice if apr configure --with-dbm=xdbm would imply --with-xdbm

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47572


Dan Poirier <po...@pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |poirier@pobox.com




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 47572] It would be nice if apr configure --with-dbm=xdbm would imply --with-xdbm

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47572


Bojan Smojver <bo...@rexursive.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bojan@rexursive.com




-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 47572] It would be nice if apr configure --with-dbm=xdbm would imply --with-xdbm

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47572



--- Comment #1 from Dan Poirier <po...@pobox.com> 2009-08-10 09:25:53 PDT ---
Created an attachment (id=24123)
Patch to enable --with-gdbm if --with-dbm=gdbm was requested

Here's a patch that seems to do what I would like.  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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org