| 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=2012-03-05.13; # UTC | scriptversion=2012-10-14.11; # UTC | |||
| # Copyright (C) 1999-2012 Free Software Foundation, Inc. | # Copyright (C) 1999-2013 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 115 | skipping to change at line 115 | |||
| if $shared && test -f "$dir/$lib.dll.lib"; then | if $shared && test -f "$dir/$lib.dll.lib"; then | |||
| found=yes | found=yes | |||
| lib=$dir/$lib.dll.lib | lib=$dir/$lib.dll.lib | |||
| break | break | |||
| fi | fi | |||
| if test -f "$dir/$lib.lib"; then | if test -f "$dir/$lib.lib"; then | |||
| found=yes | found=yes | |||
| lib=$dir/$lib.lib | lib=$dir/$lib.lib | |||
| break | break | |||
| fi | fi | |||
| if test -f "$dir/lib$lib.a"; then | ||||
| found=yes | ||||
| lib=$dir/lib$lib.a | ||||
| break | ||||
| fi | ||||
| done | done | |||
| IFS=$save_IFS | IFS=$save_IFS | |||
| if test "$found" != yes; then | if test "$found" != yes; then | |||
| lib=$lib.lib | lib=$lib.lib | |||
| fi | fi | |||
| } | } | |||
| # func_cl_wrapper cl arg... | # func_cl_wrapper cl arg... | |||
| # Adjust compile command to suit cl | # Adjust compile command to suit cl | |||
| End of changes. 3 change blocks. | ||||
| 2 lines changed or deleted | 7 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/ | ||||