X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b9d41a5ea2ea34079f5a99dfb2a741169d31d51..3a531aebabf1e7a6990863e9d55e406ed80c2c78:/aclocal.m4 diff --git a/aclocal.m4 b/aclocal.m4 index 8118748153..3dfe298eb5 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1512,7 +1512,7 @@ if test \$DEPSMODE = gcc ; then else depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\` if test -f \$depfile ; then - sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d + sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d rm -f \$depfile fi fi