From e622d891ca56b3237af168f14e201eeedf9fcf16 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 9 Oct 2002 00:04:58 +0000 Subject: [PATCH] (_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. --- m4/depend.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/depend.m4 b/m4/depend.m4 index f39105cc..23a48d8e 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 -- 2.43.5