This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

automake 1.8.3: Tru64: fix for depcomp


In order to get the dependencies for a LTLIBRARY right for Tru64's
native cc C-compiler, I had to apply the following patch to
automake's depcomp script. cc -MD outputs the dependencies in the
.o.d file, not in the .lo.d file.

I am using automake 1.8.3, autoconf 2.59,
libtool (ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58))

Teun

--- share/automake-1.8/depcomp       2004-03-15 11:25:24.000000000 +0100
+++ ./depcomp   2004-03-30 08:59:30.000000000 +0200
@@ -294,7 +294,7 @@
    base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`

    if test "$libtool" = yes; then
-      tmpdepfile1="$dir.libs/$base.lo.d"
+      tmpdepfile1="$dir.libs/$base.o.d"
       tmpdepfile2="$dir.libs/$base.d"
       "$@" -Wc,-MD
    else








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]