+2004-04-12 Alexandre Duret-Lutz <adl@gnu.org>
+
+ Fix for PR automake/416:
+ * m4/depend.m4 (_AM_DEPENDENCIES): Catch `not supported' ICC 8.0
+ remarks.
+ From Peter Seiderer.
+
2004-04-10 Andreas Buening <andreas.buening@nexgo.de>
* aclocal.in, automake.in, configure.ac, Makefile.am,
Peter Gavin pgavin@debaser.kicks-ass.org
Peter Mattis petm@scam.XCF.Berkeley.EDU
Peter Muir iyhi@yahoo.com
+Peter Seiderer seiderer123@ciselant.de
Petter Reinholdtsen pere@hungry.com
Phil Edwards phil@jaj.com
Phil Nelson phil@cs.wwu.edu
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
- # (even with -Werror). So we grep stderr for any message
- # that says an option was ignored.
- if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
break
fi