]> git.saurik.com Git - wxWidgets.git/commitdiff
another fix to bk-deps
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Jun 2003 15:35:37 +0000 (15:35 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 30 Jun 2003 15:35:37 +0000 (15:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

aclocal.m4
configure

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
index 489c91d98135f1e4c772c6c8427768c6cab3addf..244fb36f2d03e0468cc10781251be734e31015d2 100755 (executable)
--- a/configure
+++ b/configure
@@ -34210,7 +34210,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