Diff for /parser3/depcomp between versions 1.3 and 1.4

version 1.3, 2017/05/25 12:16:08 version 1.4, 2026/09/27 13:14:20
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects  # depcomp - compile a program generating dependencies as side-effects
   
 scriptversion=2013-05-30.07; # UTC  scriptversion=2024-06-19.01; # UTC
   
 # Copyright (C) 1999-2014 Free Software Foundation, Inc.  # Copyright (C) 1999-2024 Free Software Foundation, Inc.
   
 # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
 # 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 16  scriptversion=2013-05-30.07; # UTC Line 16  scriptversion=2013-05-30.07; # UTC
 # GNU General Public License for more details.  # GNU General Public License for more details.
   
 # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.  # along with this program.  If not, see <https://www.gnu.org/licenses/>.
   
 # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
Line 47  Environment variables: Line 47  Environment variables:
   libtool     Whether libtool is used (yes/no).    libtool     Whether libtool is used (yes/no).
   
 Report bugs to <bug-automake@gnu.org>.  Report bugs to <bug-automake@gnu.org>.
   GNU Automake home page: <https://www.gnu.org/software/automake/>.
   General help using GNU software: <https://www.gnu.org/gethelp/>.
 EOF  EOF
     exit $?      exit $?
     ;;      ;;
   -v | --v*)    -v | --v*)
     echo "depcomp $scriptversion"      echo "depcomp (GNU Automake) $scriptversion"
     exit $?      exit $?
     ;;      ;;
 esac  esac
Line 113  nl=' Line 115  nl='
 # These definitions help.  # These definitions help.
 upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ  upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
 lower=abcdefghijklmnopqrstuvwxyz  lower=abcdefghijklmnopqrstuvwxyz
 digits=0123456789  
 alpha=${upper}${lower}  alpha=${upper}${lower}
   
 if test -z "$depmode" || test -z "$source" || test -z "$object"; then  if test -z "$depmode" || test -z "$source" || test -z "$object"; then
Line 128  tmpdepfile=${tmpdepfile-`echo "$depfile" Line 129  tmpdepfile=${tmpdepfile-`echo "$depfile"
   
 rm -f "$tmpdepfile"  rm -f "$tmpdepfile"
   
 # Avoid interferences from the environment.  # Avoid interference from the environment.
 gccflag= dashmflag=  gccflag= dashmflag=
   
 # Some modes work just like other modes, but use different flags.  We  # Some modes work just like other modes, but use different flags.  We
Line 198  gcc3) Line 199  gcc3)
   ;;    ;;
   
 gcc)  gcc)
 ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.  ## Note that this doesn't just cater to obsolete pre-3.x GCC compilers.
 ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.  ## but also to in-use compilers like IBM xlc/xlC and the HP C compiler.
 ## (see the conditional assignment to $gccflag above).  ## (see the conditional assignment to $gccflag above).
 ## There are various ways to get dependency output from gcc.  Here's  ## There are various ways to get dependency output from gcc.  Here's
 ## why we pick this rather obscure method:  ## why we pick this rather obscure method:
Line 783  exit 0 Line 784  exit 0
 # Local Variables:  # Local Variables:
 # mode: shell-script  # mode: shell-script
 # sh-indentation: 2  # sh-indentation: 2
 # eval: (add-hook 'write-file-hooks 'time-stamp)  # eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="  # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"  # time-stamp-format: "%:y-%02m-%02d.%02H"
 # time-stamp-time-zone: "UTC"  # time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"  # time-stamp-end: "; # UTC"
 # End:  # End:

Removed from v.1.3  
changed lines
  Added in v.1.4


E-mail: