venture37

Untitled

Jul 13th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. # icc doesn't choke on unknown options, it will just issue warnings
  2. # or remarks (even with -Werror). So we grep stderr for any message
  3. # that says an option was ignored or not supported.
  4. # When given -MP, icc 7.0 and 7.1 complain thusly:
  5. # icc: Command line warning: ignoring option '-M'; no argument required
  6. # The diagnosis changed in icc 8.0:
  7. # icc: Command line remark: option '-MP' not supported
  8. if (grep 'ignoring option' conftest.err ||
  9. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  10. am_cv_CC_dependencies_compiler_type=$depmode
  11. break
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment