On Friday 22 November 2002 10:11 am, Lars Gullik Bjønnes wrote: > One nice way to fix it though is to make LYX_DIR not be a define, > but a > > static char const * const LYX_DIR = ""; > > instead. That should fix the problem cleanly. > (if you are able to use this approach, I would prefere that)
Now how would I do that... Makefile.am: $(CXXCOMPILE) -DLYX_DIR=\"$(pkgdatadir)\" \ Incidentally, why do we pass LYX_DIR on the command line and not put it in config.h? That would also mean that this could go too: support/os2_defines.h:#undef LYX_DIR support/os2_defines.h:#define LYX_DIR __XOS2RedirRoot("/XFree86/lib/X11/lyx") I'll stick to my solution for now. Angus