~peter-pearse/ubuntu/oneiric/rtkit/prop001

« back to all changes in this revision

Viewing changes to missing

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2010-07-01 13:54:43 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100701135443-b3x0l7kx4il5zu41
Tags: 0.8-0ubuntu1
* New upstream release
* Switch to source format 3.0 (quilt)
* Update standards version to 3.9.0, no changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Common stub for a few missing GNU programs while installing.
3
3
 
4
 
scriptversion=2006-05-10.23
 
4
scriptversion=2009-04-28.21; # UTC
5
5
 
6
 
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
7
 
#   Free Software Foundation, Inc.
 
6
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
 
7
# 2008, 2009 Free Software Foundation, Inc.
8
8
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
9
 
10
10
# This program is free software; you can redistribute it and/or modify
18
18
# GNU General Public License for more details.
19
19
 
20
20
# You should have received a copy of the GNU General Public License
21
 
# along with this program; if not, write to the Free Software
22
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
 
# 02110-1301, USA.
 
21
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
24
22
 
25
23
# As a special exception to the GNU General Public License, if you
26
24
# distribute this file as part of a program that contains a
89
87
  tar          try tar, gnutar, gtar, then tar without non-portable flags
90
88
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
91
89
 
 
90
Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
 
91
\`g' are ignored when checking the name.
 
92
 
92
93
Send bug reports to <bug-automake@gnu.org>."
93
94
    exit $?
94
95
    ;;
106
107
 
107
108
esac
108
109
 
 
110
# normalize program name to check for.
 
111
program=`echo "$1" | sed '
 
112
  s/^gnu-//; t
 
113
  s/^gnu//; t
 
114
  s/^g//; t'`
 
115
 
109
116
# Now exit if we have it, but it failed.  Also exit now if we
110
117
# don't have it and --version was passed (most likely to detect
111
 
# the program).
 
118
# the program).  This is about non-GNU programs, so use $1 not
 
119
# $program.
112
120
case $1 in
113
 
  lex|yacc)
 
121
  lex*|yacc*)
114
122
    # Not GNU programs, they don't have --version.
115
123
    ;;
116
124
 
117
 
  tar)
 
125
  tar*)
118
126
    if test -n "$run"; then
119
127
       echo 1>&2 "ERROR: \`tar' requires --run"
120
128
       exit 1
138
146
 
139
147
# If it does not exist, or fails to run (possibly an outdated version),
140
148
# try to emulate it.
141
 
case $1 in
 
149
case $program in
142
150
  aclocal*)
143
151
    echo 1>&2 "\
144
152
WARNING: \`$1' is $msg.  You should only need it if
148
156
    touch aclocal.m4
149
157
    ;;
150
158
 
151
 
  autoconf)
 
159
  autoconf*)
152
160
    echo 1>&2 "\
153
161
WARNING: \`$1' is $msg.  You should only need it if
154
162
         you modified \`${configure_ac}'.  You might want to install the
157
165
    touch configure
158
166
    ;;
159
167
 
160
 
  autoheader)
 
168
  autoheader*)
161
169
    echo 1>&2 "\
162
170
WARNING: \`$1' is $msg.  You should only need it if
163
171
         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
187
195
           while read f; do touch "$f"; done
188
196
    ;;
189
197
 
190
 
  autom4te)
 
198
  autom4te*)
191
199
    echo 1>&2 "\
192
200
WARNING: \`$1' is needed, but is $msg.
193
201
         You might have modified some files without having the
210
218
    fi
211
219
    ;;
212
220
 
213
 
  bison|yacc)
 
221
  bison*|yacc*)
214
222
    echo 1>&2 "\
215
223
WARNING: \`$1' $msg.  You should only need it if
216
224
         you modified a \`.y' file.  You may need the \`Bison' package
240
248
    fi
241
249
    ;;
242
250
 
243
 
  lex|flex)
 
251
  lex*|flex*)
244
252
    echo 1>&2 "\
245
253
WARNING: \`$1' is $msg.  You should only need it if
246
254
         you modified a \`.l' file.  You may need the \`Flex' package
263
271
    fi
264
272
    ;;
265
273
 
266
 
  help2man)
 
274
  help2man*)
267
275
    echo 1>&2 "\
268
276
WARNING: \`$1' is $msg.  You should only need it if
269
277
         you modified a dependency of a manual page.  You may need the
277
285
    else
278
286
        test -z "$file" || exec >$file
279
287
        echo ".ab help2man is required to generate this page"
280
 
        exit 1
 
288
        exit $?
281
289
    fi
282
290
    ;;
283
291
 
284
 
  makeinfo)
 
292
  makeinfo*)
285
293
    echo 1>&2 "\
286
294
WARNING: \`$1' is $msg.  You should only need it if
287
295
         you modified a \`.texi' or \`.texinfo' file, or any other file
310
318
    touch $file
311
319
    ;;
312
320
 
313
 
  tar)
 
321
  tar*)
314
322
    shift
315
323
 
316
324
    # We have already tried tar in the generic part.
363
371
# eval: (add-hook 'write-file-hooks 'time-stamp)
364
372
# time-stamp-start: "scriptversion="
365
373
# time-stamp-format: "%:y-%02m-%02d.%02H"
366
 
# time-stamp-end: "$"
 
374
# time-stamp-time-zone: "UTC"
 
375
# time-stamp-end: "; # UTC"
367
376
# End: