[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATH_SEPARATOR in test/automated/Makefile.in
From: |
Eli Zaretskii |
Subject: |
PATH_SEPARATOR in test/automated/Makefile.in |
Date: |
Wed, 27 Nov 2013 20:33:01 +0200 |
This stuff is not working, and as a consequence the test suite
currently fails on MS-Windows with werdo error messages about failure
to load Lisp files.
The problem is that (a) @PATH_SEPARATOR@ is replaced with ':' (of
course: what else did you think MSYS Bash will use?), and (b) the
automatic replacement of ":." with ";." doesn't happen either, because
evidently the MSYS heuristics doesn't consider "." something that
cannot be anything but a file name, so it plays safe and leaves it
alone (":./" does work).
So the possibilities as I see them are:
. Remove PATH_SEPARATOR and use -L "$(PATH_SEPARATOR)$(srcdir)/"
(with a slash) instead of -L "$(PATH_SEPARATOR)$(srcdir)"
. Leave PATH_SEPARATOR, but set it to ';' "manually" for MinGW,
instead of relying on $PATH_SEPARATOR computed in configure by
asking Bash.
Meanwhile, to run the test suite on Windows, say
make PATH_SEPARATOR=';'
- PATH_SEPARATOR in test/automated/Makefile.in,
Eli Zaretskii <=