You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/10/13 00:44:29 UTC
DO NOT REPLY [Bug 4133] -
--prefix not used properly in configure
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4133
--prefix not used properly in configure
jason@openinformatics.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jason@openinformatics.com 2001-10-12 15:44 -------
The following patch was applied to src/configure.in
"Jason E. Stewart" wrote:
>
> "Michael Huedepohl" <mi...@mozquito.com> writes:
>
> > "Jason E. Stewart" wrote:
> > >
> > > "Michael Huedepohl" <mi...@mozquito.com> 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'
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'
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org