From: Ralf Wildenhues Date: Tue, 6 Jun 2006 20:55:44 +0000 (+0000) Subject: * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler X-Git-Tag: Release-1-9b~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb330cc15a3b921568d9b7627f55feb768b4140a;p=thirdparty%2Fautomake.git * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler 7.4.4m may omit the first included header dependency information with `-MDupdate'. Refine test to catch this. --- diff --git a/ChangeLog b/ChangeLog index 09a689849..8b49a147b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-06-06 Ralf Wildenhues + * m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler + 7.4.4m may omit the first included header dependency information + with `-MDupdate'. Refine test to catch this. + * configure.ac (ACLOCAL): Use `-I m4' to match `./bootstrap' procedure. diff --git a/m4/depend.m4 b/m4/depend.m4 index 85abd9305..c3d92321f 100644 --- a/m4/depend.m4 +++ b/m4/depend.m4 @@ -99,6 +99,7 @@ AC_CACHE_CHECK([dependency style of $depcc], depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then