compile | compile | |||
---|---|---|---|---|
#! /bin/sh | #! /bin/sh | |||
# Wrapper for compilers which do not understand '-c -o'. | # Wrapper for compilers which do not understand '-c -o'. | |||
scriptversion=2018-03-07.03; # UTC | scriptversion=2012-10-14.11; # UTC | |||
# Copyright (C) 1999-2021 Free Software Foundation, Inc. | # Copyright (C) 1999-2014 Free Software Foundation, Inc. | |||
# Written by Tom Tromey <tromey@cygnus.com>. | # Written by Tom Tromey <tromey@cygnus.com>. | |||
# | # | |||
# 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 | |||
# the Free Software Foundation; either version 2, or (at your option) | # the Free Software Foundation; either version 2, or (at your option) | |||
# any later version. | # any later version. | |||
# | # | |||
# This program is distributed in the hope that it will be useful, | # This program is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
# 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 <https://www.gnu.org/licenses/>. | # along with this program. If not, see <http://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 | |||
# configuration script generated by Autoconf, you may include it under | # configuration script generated by Autoconf, you may include it under | |||
# the same distribution terms that you use for the rest of that program. | # the same distribution terms that you use for the rest of that program. | |||
# This file is maintained in Automake, please report | # This file is maintained in Automake, please report | |||
# bugs to <bug-automake@gnu.org> or send patches to | # bugs to <bug-automake@gnu.org> or send patches to | |||
# <automake-patches@gnu.org>. | # <automake-patches@gnu.org>. | |||
skipping to change at line 56 | skipping to change at line 56 | |||
{ | { | |||
file=$1 | file=$1 | |||
case $file in | case $file in | |||
/ | /[!/]*) # absolute file, and not a UNC file | / | /[!/]*) # absolute file, and not a UNC file | |||
if test -z "$file_conv"; then | if test -z "$file_conv"; then | |||
# lazily determine how to convert abs files | # lazily determine how to convert abs files | |||
case `uname -s` in | case `uname -s` in | |||
MINGW*) | MINGW*) | |||
file_conv=mingw | file_conv=mingw | |||
;; | ;; | |||
CYGWIN* | MSYS*) | CYGWIN*) | |||
file_conv=cygwin | file_conv=cygwin | |||
;; | ;; | |||
*) | *) | |||
file_conv=wine | file_conv=wine | |||
;; | ;; | |||
esac | esac | |||
fi | fi | |||
case $file_conv/,$2, in | case $file_conv/,$2, in | |||
*,$file_conv,*) | *,$file_conv,*) | |||
;; | ;; | |||
mingw/*) | mingw/*) | |||
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` | |||
;; | ;; | |||
cygwin/* | msys/*) | cygwin/*) | |||
file=`cygpath -m "$file" || echo "$file"` | file=`cygpath -m "$file" || echo "$file"` | |||
;; | ;; | |||
wine/*) | wine/*) | |||
file=`winepath -w "$file" || echo "$file"` | file=`winepath -w "$file" || echo "$file"` | |||
;; | ;; | |||
esac | esac | |||
;; | ;; | |||
esac | esac | |||
} | } | |||
skipping to change at line 258 | skipping to change at line 258 | |||
right script to run: please start by reading the file 'INSTALL'. | right script to run: please start by reading the file 'INSTALL'. | |||
Report bugs to <bug-automake@gnu.org>. | Report bugs to <bug-automake@gnu.org>. | |||
EOF | EOF | |||
exit $? | exit $? | |||
;; | ;; | |||
-v | --v*) | -v | --v*) | |||
echo "compile $scriptversion" | echo "compile $scriptversion" | |||
exit $? | exit $? | |||
;; | ;; | |||
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |||
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | ||||
func_cl_wrapper "$@" # Doesn't return... | func_cl_wrapper "$@" # Doesn't return... | |||
;; | ;; | |||
esac | esac | |||
ofile= | ofile= | |||
cfile= | cfile= | |||
for arg | for arg | |||
do | do | |||
if test -n "$eat"; then | if test -n "$eat"; then | |||
skipping to change at line 343 | skipping to change at line 342 | |||
elif test -f "${cofile}bj"; then | elif test -f "${cofile}bj"; then | |||
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" | |||
fi | fi | |||
rmdir "$lockdir" | rmdir "$lockdir" | |||
exit $ret | exit $ret | |||
# Local Variables: | # Local Variables: | |||
# mode: shell-script | # mode: shell-script | |||
# sh-indentation: 2 | # sh-indentation: 2 | |||
# eval: (add-hook 'before-save-hook 'time-stamp) | # eval: (add-hook 'write-file-hooks '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: "UTC0" | # time-stamp-time-zone: "UTC" | |||
# time-stamp-end: "; # UTC" | # time-stamp-end: "; # UTC" | |||
# End: | # End: | |||
End of changes. 8 change blocks. | ||||
9 lines changed or deleted | 8 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |