]> rtime.felk.cvut.cz Git - orte.git/commit
Fix a problem in configure on Windows
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 14 Sep 2013 14:16:20 +0000 (16:16 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 14 Sep 2013 14:19:14 +0000 (16:19 +0200)
commit270c0bae8d6035e54489c724f7e8622818fa499d
tree9e950d6c6fab9f592b11766d4cde1c00b4fde7a5
parent168fd05086ade8d3f1c4902b950d38d69e3feed6
Fix a problem in configure on Windows

On Windows, we link ORTE against a version of pthread library shipped
in our tree. Therefore we add some switches to linker command line.
The problem is that this command line is also used for all configure
tests. Since our library is not yet compiled at compile time, it
caused many configure checks to fail even if they should succeed.

With this change, I'm able to cross-compile ORTE for Windows on Debian
Wheezy with mingw32 package. The used configure command was:

  CC=i586-mingw32msvc-gcc ./configure --host=i586-mingw32msvc

Whether ORTE also runs on Windows correctly was not yet tested.
configure.ac