Am 13.04.2010 um 11:35 schrieb Jean-Marc Lasgouttes: > Stephan Witt <st.w...@gmx.net> writes: > >> I'm looking for a tighter coupling of the build script and the compiled code. >> There has to be a strict coherence between the strings the build script uses >> and the strings for runtime lookup by LyX binary. So I want to pass a define >> here. To convert it to a string I couldn't find a useable macro in LyX >> headers. > > What is the reason why the define cannot be passed through the config.h > file?
It has to be passed from outside to configure. Like ./configure --aspell-framework-name=Aspell.framework Currently I cannot do that (missing knowledge) and so I do CPPFLAGS="-DASPELL_FRAMEWORK=Aspell.framework" ./configure instead. > What is the location of dictionaries in the bundle? The simplest way (to > me) would be sysdir/dictionaries (that is, along with other data). Then > you do not need extra defines to access it from within LyX. Actually, we > could have generic code for having dictionaries distributed with LyX, > and windows might be able to benefit from it too. That would be better, if we stay with one spell checker. I'll come up with a proposal soon. Currently the directory structure is - LyX.app + Contents + Frameworks + Aspell.framework + Resources - data - dict Stephan