apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <phi...@codematters.co.uk>
Subject Re: [PATCH] allow apr-util to detect Debian's db4.0
Date Tue, 17 Dec 2002 00:12:58 GMT
Justin Erenkrantz <jerenkrantz@apache.org> writes:

> > Index: build/apu-conf.m4
> > ===================================================================
> > RCS file: /home/cvspublic/apr-util/build/apu-conf.m4,v
> > retrieving revision 1.47
> > diff -u -r1.47 apu-conf.m4
> > --- build/apu-conf.m4	15 Dec 2002 19:36:41 -0000	1.47
> > +++ build/apu-conf.m4	16 Dec 2002 22:29:44 -0000
> > @@ -144,12 +144,17 @@
> >    ])])])
> >  if test "$apu_db_version" != "4"; then
> >  AC_CHECK_HEADER(db.h, [
> > +  AC_CHECK_LIB(db, db_create_4000, [
> > +  apu_db_header=db.h
> > +  apu_db_lib=db
> > +  apu_db_version=4
> > +  ], [
> 
> Why should we check for db_create_4000 first?  Why not wait until
> after db_create is not found?  -- justin

No real reason, it just happens to be the way I wrote it.

-- 
Philip Martin

Mime
View raw message