Reported by Stepan Kasal.
+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.
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
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 ;;