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/11/02 20:37:40 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|RESOLVED |REOPENED
Resolution|FIXED |
Version|Nightly build |1.5.2
------- Additional Comments From jason@openinformatics.com 2001-11-02 11:37 -------
This problem still exists.
I've tracked the problem down. In configure.in there is:
prefix_include=${PREFIX}/include/xercesc
After running autoconf this gets converted to configure as:
prefix_include=${PREFIX}/include/xercesc
When running configure, it will substitute the existing value of PREFIX into
that variable. If the user specified --prefix everything works. If no value was
specified it gets written into the Makefile's as:
PREFIX_INCLUDE = NONE/include/xercesc
Which is broken.
The solution is to use single quotes around the value in configure.in:
prefix_include='${PREFIX}/include/xercesc'
This will then be copied into the Makefile's as
PREFIX_INCLUDE = ${PREFIX}/include/xercesc
which works in all cases whether --prefix was specified or not.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org