/[bison]/bison/config/depcomp
ViewVC logotype

Diff of /bison/config/depcomp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by eggert, Tue Feb 25 07:25:22 2003 UTC revision 1.7 by akim, Wed Jun 25 13:45:57 2003 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # depcomp - compile a program generating dependencies as side-effects  # depcomp - compile a program generating dependencies as side-effects
4  # Copyright 1999, 2000 Free Software Foundation, Inc.  # Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
5    
6  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
7  # it under the terms of the GNU General Public License as published by  # it under the terms of the GNU General Public License as published by
# Line 271  tru64) Line 271  tru64)
271     if test -f "$tmpdepfile"; then     if test -f "$tmpdepfile"; then
272        sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"        sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
273        # That's a space and a tab in the [].        # That's a space and a tab in the [].
274        sed -e 's,^.*\.[a-z]*:[   ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"        sed -e 's,^.*\.[a-z]*:[    ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
275     else     else
276        echo "#dummy" > "$depfile"        echo "#dummy" > "$depfile"
277     fi     fi

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26