|
|
| version 1.1, 2017/05/25 12:16:08 | version 1.2, 2026/09/27 13:14:20 |
|---|---|
| Line 1 | Line 1 |
| #! /bin/sh | #! /bin/sh |
| # Wrapper for compilers which do not understand '-c -o'. | # Wrapper for compilers which do not understand '-c -o'. |
| scriptversion=2012-10-14.11; # UTC | scriptversion=2024-06-19.01; # UTC |
| # Copyright (C) 1999-2014 Free Software Foundation, Inc. | # Copyright (C) 1999-2024 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 |
| Line 17 scriptversion=2012-10-14.11; # UTC | Line 17 scriptversion=2012-10-14.11; # 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 53 func_file_conv () | Line 53 func_file_conv () |
| MINGW*) | MINGW*) |
| file_conv=mingw | file_conv=mingw |
| ;; | ;; |
| CYGWIN*) | CYGWIN* | MSYS*) |
| file_conv=cygwin | file_conv=cygwin |
| ;; | ;; |
| *) | *) |
| Line 67 func_file_conv () | Line 67 func_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/*) |
| Line 143 func_cl_wrapper () | Line 143 func_cl_wrapper () |
| # configure might choose to run compile as 'compile cc -o foo foo.c'. | # configure might choose to run compile as 'compile cc -o foo foo.c'. |
| eat=1 | eat=1 |
| case $2 in | case $2 in |
| *.o | *.[oO][bB][jJ]) | *.o | *.lo | *.[oO][bB][jJ]) |
| func_file_conv "$2" | func_file_conv "$2" |
| set x "$@" -Fo"$file" | set x "$@" -Fo"$file" |
| shift | shift |
| Line 248 If you are trying to build a whole packa | Line 248 If you are trying to build a whole packa |
| 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>. |
| 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 "compile $scriptversion" | echo "compile (GNU Automake) $scriptversion" |
| exit $? | exit $? |
| ;; | ;; |
| cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ |
| clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \ | |
| icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
| func_cl_wrapper "$@" # Doesn't return... | func_cl_wrapper "$@" # Doesn't return... |
| ;; | ;; |
| esac | esac |
| Line 339 exit $ret | Line 343 exit $ret |
| # 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: |