From: Paul Eggert Date: Wed, 9 Oct 2002 00:04:58 +0000 (+0000) Subject: (_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $depcc X-Git-Tag: Release-1-7-2b~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c519e76b7efe0f5c97c6272e2c1c8718b9a4f41;p=thirdparty%2Fautomake.git (_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $depcc command line, as this runs afoul of the POSIX rules for command line arguments. --- diff --git a/m4/depend.m4 b/m4/depend.m4 index f39105cc7..23a48d8e6 100644 --- a/m4/depend.m4 +++ b/m4/depend.m4 @@ -92,7 +92,7 @@ AC_CACHE_CHECK([dependency style of $depcc], if depmode=$depmode \ source=conftest.c object=conftest.o \ depfile=conftest.Po tmpdepfile=conftest.TPo \ - $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && + $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && grep conftest.h conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then am_cv_$1_dependencies_compiler_type=$depmode