diff options
author | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-27 21:09:25 +0000 |
---|---|---|
committer | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-27 21:09:25 +0000 |
commit | d6d2c4b3ead43e4ef47dfcc4b67477ad1fffe54a (patch) | |
tree | 8d64df36691aaabaacb4221a76d45cdd20eb955a /otherlibs/win32unix/write.c | |
parent | 1b39eae0aecb40c732ad43dc7916549e725568af (diff) |
configure: fix detection of non-working C compiler.
(patch by Adrien Nader!)
The test tried to do something like:
case "$foo,$bar" in
*,*) echo 1 ;;
*) echo "compiler not working" ;;
esac
However the second case cannot match because of the first one.
Instead, check the return code of the command.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13844 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/write.c')
0 files changed, 0 insertions, 0 deletions