summaryrefslogtreecommitdiff
path: root/build-aux/depcomp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-23 06:16:03 -0700
committerKarl Berry <karl@freefriends.org>2009-04-23 06:16:03 -0700
commitcb507bf02d48ae662d0d081c28a00b585339a4a3 (patch)
tree7df419d0e18c37d499a52b3212c17a37cda55d87 /build-aux/depcomp
parentf66b53461406b5ae5cca7c188bd3cf23c82f14bf (diff)
downloadgnulib-cb507bf02d48ae662d0d081c28a00b585339a4a3.tar.gz
autoupdate
Diffstat (limited to 'build-aux/depcomp')
-rwxr-xr-xbuild-aux/depcomp10
1 files changed, 8 insertions, 2 deletions
diff --git a/build-aux/depcomp b/build-aux/depcomp
index 0fb633ec5d..9ebfd8524f 100755
--- a/build-aux/depcomp
+++ b/build-aux/depcomp
@@ -1,7 +1,7 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2009-03-04.20
+scriptversion=2009-04-22.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
@@ -474,7 +474,7 @@ makedepend)
fi
# X makedepend
shift
- cleared=no
+ cleared=no eat=no
for arg
do
case $cleared in
@@ -482,11 +482,17 @@ makedepend)
set ""; shift
cleared=yes ;;
esac
+ if test $eat = yes; then
+ eat=no
+ continue
+ fi
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.
+ -arch)
+ eat=yes ;;
-*|$object)
;;
*)