Michael Huedepohl wrote:
>
> "Jason E. Stewart" wrote:
> >
> > "Michael Huedepohl" <[EMAIL PROTECTED]> writes:
> >
> > > "Jason E. Stewart" wrote:
> > > >
> > > > "Michael Huedepohl" <[EMAIL PROTECTED]> writes:
> > > >
> > > > > Well, I've analyzed the configure file and found a solution:
> > > > > You only have to move the setting of prefix_include behind the check
> > > > > `test "x$prefix" = xNONE && prefix=$ac_default_prefix'.
> > > > > I.e., remove line 1289 and insert it after line 1376.
> > > > > Here is the diff output:
> > > > > diff -r1.4 configure
> > > > > 1289d1288
> > > > > < prefix_include=${prefix}/include/xercesc
> > > > > 1376a1376
> > > > > > prefix_include=${prefix}/include/xercesc
> > > > >
> > > > > Can you commit this change?
> > > >
> > > > No. Because configure is automatically generated from configure.in
> > > > using autoconf. Any changes to configure will be lost the next time
> > > > someone runs autoconf.
> > >
> > > Are you really sure?
> >
> > $ cp ./configure ./configure.bak
> > $ autoconf
> > $ diff ./configure ./configure.bak
> > $
> >
> > Seems to be.
>
> Okay, I had to step deeper into the autoconf mechanism.
> Now I found a solution for configure.in, here is the diff
> for configure.in:
>
> 66c66
> < prefix_include=${prefix}/include/xercesc
> ---
> > prefix_include='${PREFIX}/include/xercesc'
This does not fix the problem for me. Maybe our bash interpreters are
different. The quoting does propagate to the generated configure as
shown below, so this is not the problem. Are you including this quoting
change on more than one configure.in? So far I've been assuming that
only the toplevel configure.in was changed.
In any case, the generated bash script does not contain any conditional
to test for the emptiness of prefix while putting together the
prefix_include. It blindly accepts whatever is there, whereas some other
steps test the value of prefix and then do the intelligent thing. This
behavior is the same whether an explicit runConfigure -P value is used,
or if defaults are used.
D. Stimits, [EMAIL PROTECTED]
>
> And here is the diff for configure (identical to the result of autoconf,
> for systems without autoconf):
>
> 1289c1289
> < prefix_include=${prefix}/include/xercesc
> ---
> > prefix_include='${PREFIX}/include/xercesc'
>
> I tested this with the default prefix setting and with the -P option
> for runConfigure, and it worked.
>
> Hope you can commit it now.
>
> Michael
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]