Ruurd Reitsma wrote: >> Of course, there is a third solution, to rewrite lib/configure as a >> python script. That would enable us to ditch the OS/2 (legacy and >> unmaintained) lib/configure.cmd and would move us a step closer to >> requiring only one scripting language, python, to actually run LyX, >> rather than the current sh, python, perl combo. >> >> However, I don't want to consider this as a solution for either 13x or >> 14x. >> > The current solution/hack in my ´distro´ is a configure.bat, and sh.exe > stolen from msys.
Hmmmmm. Given that you require sh.exe anyway and given also that the OS/2 lib/configure.cmd is way out of date, I think I'll go with the hard-coded equivalent of `::system("sh \"$system_lyxdir/configure\"");`. I'll scrap lib/configure.cmd at the same time. At least it's then explicit that we depend on the presence of sh, not just here but in the graphics loader too. Incidentally, when you come to release future distros, the python minidist that you ship is not up to the task of running the instant preview script lib/scripts/lyxpreview2ppm.py (1.3.x tree) http://wiki.lyx.org/pmwiki.php/LyX/InstantPreview People using instant preview on Windows will require the full python distribution and will benefit from having the PyWin extension modules also. -- Angus