]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/depcomp (makedepend): Don't pass $object to makedepend.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 17 Feb 2003 14:55:05 +0000 (14:55 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 17 Feb 2003 14:55:05 +0000 (14:55 +0000)
Reported by Stepan Kasal.

ChangeLog
THANKS
lib/depcomp

index b26230104a172f3cbe5b783831946b0ddd6ad711..e945e2c0a789b0e4466b8e4cb696b4f43217e747 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-17  Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * lib/depcomp (makedepend): Don't pass $object to makedepend.
+       Reported by Stepan Kasal.
+
 2003-02-12  Alexandre Duret-Lutz  <adl@gnu.org>
 
        * tests/defs.in: Handle required=makedepend.
diff --git a/THANKS b/THANKS
index e5588feafdbd937d09a2a59bbd976b3efe4a9ec6..7e94d934a2c20bb44d7839abd116fe799b34b934 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -192,6 +192,7 @@ Seth Alves          alves@hungry.com
 Shuhei Amakawa         sa264@cam.ac.uk
 Shigio Yamaguchi       shigio@tamacom.com
 Simon Richter          sjr@debian.org
+Stepan Kasal           kasal@math.cas.cz
 Steve M. Robbins       steve@nyongwa.montreal.qc.ca
 Sven Verdoolaege       skimo@kotnet.org
 Tamara L. Dahlgren     dahlgren1@llnl.gov
index eb8f4e3cbad9958a550952da9f3ed46a9f0338e2..3f5d1d5009d5b64be534879781774a8b0ee142e0 100755 (executable)
@@ -353,7 +353,9 @@ makedepend)
     case "$arg" in
     -D*|-I*)
       set fnord "$@" "$arg"; shift ;;
-    -*)
+    # Strip any option that makedepend may not understand.  Remove
+    # the object too, otherwise makedepend will parse it as a source file.
+    -*|$object)
       ;;
     *)
       set fnord "$@" "$arg"; shift ;;