]> git.saurik.com Git - wxWidgets.git/blobdiff - aclocal.m4
Don't save and restore the graphics context for color changes
[wxWidgets.git] / aclocal.m4
index 811874815363699099fac0cdae13a856b1687eea..3dfe298eb5abe67b91199c00439074e64d1e7fbc 100644 (file)
@@ -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