From: Alexandre Duret-Lutz Date: Mon, 17 Feb 2003 14:55:05 +0000 (+0000) Subject: * lib/depcomp (makedepend): Don't pass $object to makedepend. X-Git-Tag: Release-1-7-3b~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70672f330aeba42777ac377e716aeddf0d8ece5c;p=thirdparty%2Fautomake.git * lib/depcomp (makedepend): Don't pass $object to makedepend. Reported by Stepan Kasal. --- diff --git a/ChangeLog b/ChangeLog index b26230104..e945e2c0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-17 Alexandre Duret-Lutz + + * lib/depcomp (makedepend): Don't pass $object to makedepend. + Reported by Stepan Kasal. + 2003-02-12 Alexandre Duret-Lutz * tests/defs.in: Handle required=makedepend. diff --git a/THANKS b/THANKS index e5588feaf..7e94d934a 100644 --- 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 diff --git a/lib/depcomp b/lib/depcomp index eb8f4e3cb..3f5d1d500 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -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 ;;