* m4/depend.m4 (_AM_DEPENDENCIES): The IRIX MIPSpro compiler
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Jun 2006 20:55:44 +0000 (20:55 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 6 Jun 2006 20:55:44 +0000 (20:55 +0000)
7.4.4m may omit the first included header dependency information
with `-MDupdate'.  Refine test to catch this.

ChangeLog
m4/depend.m4

index 09a6898..8b49a14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2006-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * 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.
 
index 85abd93..c3d9232 100644 (file)
@@ -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