compile (nss-pam-ldapd-0.9.11) | : | compile (nss-pam-ldapd-0.9.12) | ||
---|---|---|---|---|
#! /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=2018-03-07.03; # UTC | |||
# Copyright (C) 1999-2018 Free Software Foundation, Inc. | # Copyright (C) 1999-2021 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 | |||
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*) | CYGWIN* | MSYS*) | |||
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/*) | cygwin/* | msys/*) | |||
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 | |||
} | } | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |