From: Angus L. <le...@ly...> - 2005-09-27 14:18:44
|
Keith MARSHALL wrote: > But, be careful about variables defined in terms of `datadir' and its > ilk -- these are initialised to, e.g.: > > datadir='${prefix}/share' > > (note the single quotes, defering the expansion of ${prefix}), and with > `prefix' itself initialised to: > > prefix=NONE > > In your example, the `eval' expansions result in > > real_localedir=NONE/share/locale > > unless the user explicitly configures with `--prefix=/some/path' or with > `--datadir=/some/data/path', which probably isn't what you want -- when > I run your example on my MSYS box, in my `/home/keith/bar' directory, > and with an AC_SUBST on `lyx_canonical_localedir', instead of your > AC_DEFINE_UNQUOTED, I see: > > lyx_canonical_localedir = D:/MSYS/1.0/home/keith/bar/NONE/share/locale Right. However, we went to some trouble to define prefix et al. here in an attempy to support Windows, Mac and Posix machines out of the box. Unfortunately, we failed with Windows because the autotools currently barf all over the place with "paths with spaces", so we never got a default prefix='C:/Program Files/LyX' to work. Apparently this is something the wizards are aware of though. Anyway, many thanks for all your tips. I try and absorb them :-) Angus |