summaryrefslogtreecommitdiff
path: root/m4/depend.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-10-09 00:04:58 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-10-09 00:04:58 +0000
commit4c519e76b7efe0f5c97c6272e2c1c8718b9a4f41 (patch)
tree9fe84ca734d4be00035de35e74aec9c393dd0e73 /m4/depend.m4
parent9f41471f40049085225d3ae61d018aff3ee6c366 (diff)
downloadautomake-4c519e76b7efe0f5c97c6272e2c1c8718b9a4f41.tar.gz
(_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.
Diffstat (limited to 'm4/depend.m4')
-rw-r--r--m4/depend.m42
1 files changed, 1 insertions, 1 deletions
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