Hi
On Tue, 2008-02-19 at 10:00 -0600, Jeff Pohlmeyer wrote:
On Feb 18, 2008 6:25 PM, Yura Siamashka yurand2@gmail.com wrote:
test "x$target" != "x${target##*mingw}"; to detect windows cross-compile, but perhaps ## syntax is bashism. Anyone know how to check it better?
If you just need to test for the general case of cross compiling, I think this should work:
[test "x${cross_compiling}" = "xyes"]
No, It is test if $host contains word "mingw" to enable/disable windows specific things.
And then maybe something like:
case "${host_os}" in mingw*) # ... ;; esac
to test for mingw...
Thanks, it worked.
Here is updated version of the patch.