]> sourceware.org Git - automake.git/commitdiff
(_AM_DEPENDENCIES): Don't put "-o foo" at the end of the $depcc
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Oct 2002 00:04:58 +0000 (00:04 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 9 Oct 2002 00:04:58 +0000 (00:04 +0000)
command line, as this runs afoul of the POSIX rules for command line
arguments.

m4/depend.m4

index f39105cc726f60f1812c7f93b79754b007f33da7..23a48d8e6ff7066cc4cf0dc00750631e277a8fb6 100644 (file)
@@ -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
This page took 0.02653 seconds and 5 git commands to generate.