On Thu, Jul 15, 2004 at 05:34:33AM -0700, Noah Misch wrote: > On Thu, Jul 15, 2004 at 11:02:13AM +0100, Joe Orton wrote: > > > -dnl APR_FIND_APR([srcdir [, builddir, implicit-install-check]]) > > +dnl APR_FIND_APR([srcdir [, builddir, implicit-install-check]], > > +dnl [min-version], [max-version]) > > > +dnl where min-version and max-version specify the mininum and maximum > > acceptable > > +dnl APR major version numbers which can be used, e.g. "0, 1" allows use > > of > > +dnl either APR 0.9 or APR 1.0; "1, 1" allows use of only APR 1.0. > > The minimum version field does need to accept two digits. A project could use > an API added in APR 1.X, in which case e.g. APR_FIND_APR(,,, 1.4, 3) would be > appropriate and necessary. No?
Sure, that would be useful, much more complicated to implement though since you have to start parsing the arguments and --version output etc. Handling just the major version is sufficient for the moment I think... joe