This should work on Windows, but needs test.
The changes (namely the installation directory for the dtl executables)
for automake are not yet done. (JMarc?)
It may fix bug #11325 if cmake configured with '-DLYX_EXTERNAL_DTL=OFF'
#include "support/docstring.h"
#include "support/lstrings.h"
#include "support/os.h"
+#include "support/debug.h"
#include <algorithm> // for remove
#include <cstdlib>
// Prepend each new element to the list, removing identical elements
// that occur later in the list.
+ LYXERR(Debug::INIT, "Prepending \"" << prefix << "\" to PATH");
typedef vector<string>::const_reverse_iterator token_iterator;
token_iterator it = reversed_tokens.rbegin();
token_iterator const end = reversed_tokens.rend();