OFX support

Benoit Grégoire bock@step.polymtl.ca
Mon, 22 Jul 2002 11:19:39 -0400


> > Argh, I didn't plan on people being so original ;)  The DTD search paths
> > are in  libofx/lib/ofx_preproc.h  just add the appropriate path and
> > increment the number of search paths.
> >
> > I wonder how I could get the path to change from the makefile.  I'm open
> > to suggestions.
>
> ./configure --prefix should change your makefile to point to where you
> are installing.  If you don't use configure, you can just use
> "prefix=..." in your Makefile and key off of that.  But note that this
> is a lot of work if your Makefiles are not automatically generated.

I dont think you understand the ploblem.  The makefiles already do that.  The 
problem it that the library must be able to find it's DTD files at runtime.  
So during compilation the search path must find it's way in the source code.  
I've put all the usual paths in the code, but if someone install's libofx in 
an eusoteric place it won't find the files.

Maybe I could passs it from the makefiles using a macro in the code?