comparison ylwrap @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children 04ced10e8804
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
1 #! /bin/sh 1 #! /bin/sh
2 # ylwrap - wrapper for lex/yacc invocations. 2 # ylwrap - wrapper for lex/yacc invocations.
3 3
4 scriptversion=2005-05-14.22 4 scriptversion=2009-04-28.21; # UTC
5 5
6 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005 6 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
7 # Free Software Foundation, Inc. 7 # 2007, 2009 Free Software Foundation, Inc.
8 # 8 #
9 # Written by Tom Tromey <tromey@cygnus.com>. 9 # Written by Tom Tromey <tromey@cygnus.com>.
10 # 10 #
11 # This program is free software; you can redistribute it and/or modify 11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by 12 # it under the terms of the GNU General Public License as published by
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details. 19 # GNU General Public License for more details.
20 # 20 #
21 # You should have received a copy of the GNU General Public License 21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software 22 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24 # 02110-1301, USA.
25 23
26 # As a special exception to the GNU General Public License, if you 24 # As a special exception to the GNU General Public License, if you
27 # distribute this file as part of a program that contains a 25 # distribute this file as part of a program that contains a
28 # configuration script generated by Autoconf, you may include it under 26 # configuration script generated by Autoconf, you may include it under
29 # the same distribution terms that you use for the rest of that program. 27 # the same distribution terms that you use for the rest of that program.
99 esac 97 esac
100 98
101 # FIXME: add hostname here for parallel makes that run commands on 99 # FIXME: add hostname here for parallel makes that run commands on
102 # other machines. But that might take us over the 14-char limit. 100 # other machines. But that might take us over the 14-char limit.
103 dirname=ylwrap$$ 101 dirname=ylwrap$$
104 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 102 trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
105 mkdir $dirname || exit 1 103 mkdir $dirname || exit 1
106 104
107 cd $dirname 105 cd $dirname
108 106
109 case $# in 107 case $# in
110 0) $prog "$input" ;; 108 0) "$prog" "$input" ;;
111 *) $prog "$@" "$input" ;; 109 *) "$prog" "$@" "$input" ;;
112 esac 110 esac
113 ret=$? 111 ret=$?
114 112
115 if test $ret -eq 0; then 113 if test $ret -eq 0; then
116 set X $pairlist 114 set X $pairlist
217 # mode: shell-script 215 # mode: shell-script
218 # sh-indentation: 2 216 # sh-indentation: 2
219 # eval: (add-hook 'write-file-hooks 'time-stamp) 217 # eval: (add-hook 'write-file-hooks 'time-stamp)
220 # time-stamp-start: "scriptversion=" 218 # time-stamp-start: "scriptversion="
221 # time-stamp-format: "%:y-%02m-%02d.%02H" 219 # time-stamp-format: "%:y-%02m-%02d.%02H"
222 # time-stamp-end: "$" 220 # time-stamp-time-zone: "UTC"
221 # time-stamp-end: "; # UTC"
223 # End: 222 # End: