comparison build-aux/depcomp @ 6943:64f144ace584

Sync from upstream.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 09 Jul 2006 16:31:39 +0000
parents 5208dad0f433
children fed6050176e9
comparison
equal deleted inserted replaced
6942:9e87d8474fb1 6943:64f144ace584
1 #! /bin/sh 1 #! /bin/sh
2 # depcomp - compile a program generating dependencies as side-effects 2 # depcomp - compile a program generating dependencies as side-effects
3 3
4 scriptversion=2006-05-10.23 4 scriptversion=2006-07-09.11
5 5
6 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software 6 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
7 # Foundation, Inc. 7 # Foundation, Inc.
8 8
9 # This program is free software; you can redistribute it and/or modify 9 # This program is free software; you can redistribute it and/or modify
333 # handle both shared and static libraries in a single compilation. 333 # handle both shared and static libraries in a single compilation.
334 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. 334 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
335 # 335 #
336 # With libtool 1.5 this exception was removed, and libtool now 336 # With libtool 1.5 this exception was removed, and libtool now
337 # generates 2 separate objects for the 2 libraries. These two 337 # generates 2 separate objects for the 2 libraries. These two
338 # compilations output dependencies in in $dir.libs/$base.o.d and 338 # compilations output dependencies in $dir.libs/$base.o.d and
339 # in $dir$base.o.d. We have to check for both files, because 339 # in $dir$base.o.d. We have to check for both files, because
340 # one of the two compilations can be disabled. We should prefer 340 # one of the two compilations can be disabled. We should prefer
341 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is 341 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
342 # automatically cleaned when .libs/ is deleted, while ignoring 342 # automatically cleaned when .libs/ is deleted, while ignoring
343 # the former would cause a distcleancheck panic. 343 # the former would cause a distcleancheck panic.