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

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Version|Nightly build               |1.5.2



------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to