On Wed, Feb 27, 2002 at 12:21:41AM +0000, Thom May wrote: > As promised: > > Index: acinclude.m4 > =================================================================== > RCS file: /home/cvspublic/httpd-2.0/acinclude.m4,v > retrieving revision 1.110 > diff -u -u -r1.110 acinclude.m4 > --- acinclude.m4 26 Feb 2002 21:31:45 -0000 1.110 > +++ acinclude.m4 27 Feb 2002 00:19:07 -0000 > @@ -325,23 +325,6 @@ > done > changequote([,]) > ])dnl > -dnl > -dnl APACHE_ENABLE_LAYOUT > -dnl > -AC_DEFUN(APACHE_ENABLE_LAYOUT,[ > -AC_ARG_ENABLE(layout, > -APACHE_HELP_STRING(--enable-layout=LAYOUT,Default file layout),[ > - LAYOUT=$enableval > -]) > - > -if test -z "$LAYOUT"; then > - LAYOUT="Apache" > -fi > -APACHE_LAYOUT($srcdir/config.layout, $LAYOUT) > - > -AC_MSG_CHECKING(for chosen layout) > -AC_MSG_RESULT($layout_name) > -]) > > dnl > dnl APACHE_ENABLE_MODULES > Index: configure.in > =================================================================== > RCS file: /home/cvspublic/httpd-2.0/configure.in,v > retrieving revision 1.200 > diff -u -u -r1.200 configure.in > --- configure.in 1 Feb 2002 23:22:29 -0000 1.200 > +++ configure.in 27 Feb 2002 00:19:08 -0000 > @@ -18,6 +18,21 @@ > sinclude(srclib/apr/build/apr_threads.m4) > sinclude(acinclude.m4) > > +dnl Get the layout here, so we can pass the required variables to apr > +dnl APACHE_ENABLE_LAYOUT > +AC_ARG_ENABLE(layout, > +APACHE_HELP_STRING(--enable-layout=LAYOUT,Default file layout),[ > + LAYOUT=$enableval > + APACHE_LAYOUT($srcdir/config.layout, $LAYOUT) > +]) > + > +AC_MSG_CHECKING(for chosen layout) > +if test -z "$LAYOUT"; then > + AC_MSG_RESULT([Autoconf Defaults]) > +else > + AC_MSG_RESULT($layout_name) > +fi > + > dnl Save user-defined environment settings for later restoration > dnl > APR_SAVE_THE_ENVIRONMENT(CPPFLAGS)
I think as I pointed out in IRC, we need to pass all of the --libdir, etc flags to APR/apr-util/pcre as well. I don't think does this. Can you please resumbit with a patch that does this? I'll back off on the override capability for now, but I would like to be able to address this at some point. It just seems that autoconf can't do this and that shouldn't stop us from getting something working. If I have the time to sit down and look at it, I'll try. But, let's just get this working again. -- justin
