~ubuntu-branches/ubuntu/karmic/liblo/karmic

« back to all changes in this revision

Viewing changes to missing

  • Committer: Bazaar Package Importer
  • Author(s): Guenter Geiger (Debian/GNU)
  • Date: 2006-03-27 11:07:05 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060327110705-po4okm0zie4q9cb7
Tags: 0.23-2.1
* NMU: Providing workaround for config.h.in problem
* urgency medium, because other packages depend on this getting fixed

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
 
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
 
3
 
 
4
scriptversion=2003-09-02.23
 
5
 
 
6
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 
 
7
#   Free Software Foundation, Inc.
4
8
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
5
9
 
6
10
# This program is free software; you can redistribute it and/or modify
38
42
  configure_ac=configure.in
39
43
fi
40
44
 
 
45
msg="missing on your system"
 
46
 
41
47
case "$1" in
42
48
--run)
43
49
  # Try to run requested program, and just exit if it succeeds.
44
50
  run=
45
51
  shift
46
52
  "$@" && exit 0
 
53
  # Exit code 63 means version mismatch.  This often happens
 
54
  # when the user try to use an ancient version of a tool on
 
55
  # a file that requires a minimum version.  In this case we
 
56
  # we should proceed has if the program had been absent, or
 
57
  # if --run hadn't been passed.
 
58
  if test $? = 63; then
 
59
    run=:
 
60
    msg="probably too old"
 
61
  fi
47
62
  ;;
48
63
esac
49
64
 
74
89
  lex          create \`lex.yy.c', if possible, from existing .c
75
90
  makeinfo     touch the output file
76
91
  tar          try tar, gnutar, gtar, then tar without non-portable flags
77
 
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
 
92
  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
 
93
 
 
94
Send bug reports to <bug-automake@gnu.org>."
78
95
    ;;
79
96
 
80
97
  -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
81
 
    echo "missing 0.4 - GNU automake"
 
98
    echo "missing $scriptversion (GNU Automake)"
82
99
    ;;
83
100
 
84
101
  -*)
94
111
    fi
95
112
 
96
113
    echo 1>&2 "\
97
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
114
WARNING: \`$1' is $msg.  You should only need it if
98
115
         you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
99
116
         to install the \`Automake' and \`Perl' packages.  Grab them from
100
117
         any GNU archive site."
108
125
    fi
109
126
 
110
127
    echo 1>&2 "\
111
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
128
WARNING: \`$1' is $msg.  You should only need it if
112
129
         you modified \`${configure_ac}'.  You might want to install the
113
130
         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
114
131
         archive site."
122
139
    fi
123
140
 
124
141
    echo 1>&2 "\
125
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
142
WARNING: \`$1' is $msg.  You should only need it if
126
143
         you modified \`acconfig.h' or \`${configure_ac}'.  You might want
127
144
         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
128
145
         from any GNU archive site."
146
163
    fi
147
164
 
148
165
    echo 1>&2 "\
149
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
166
WARNING: \`$1' is $msg.  You should only need it if
150
167
         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
151
168
         You might want to install the \`Automake' and \`Perl' packages.
152
169
         Grab them from any GNU archive site."
162
179
    fi
163
180
 
164
181
    echo 1>&2 "\
165
 
WARNING: \`$1' is needed, and you do not seem to have it handy on your
166
 
         system.  You might have modified some files without having the
 
182
WARNING: \`$1' is needed, but is $msg.
 
183
         You might have modified some files without having the
167
184
         proper tools for further handling them.
168
185
         You can get \`$1' as part of \`Autoconf' from any GNU
169
186
         archive site."
185
202
 
186
203
  bison|yacc)
187
204
    echo 1>&2 "\
188
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
205
WARNING: \`$1' $msg.  You should only need it if
189
206
         you modified a \`.y' file.  You may need the \`Bison' package
190
207
         in order for those modifications to take effect.  You can get
191
208
         \`Bison' from any GNU archive site."
215
232
 
216
233
  lex|flex)
217
234
    echo 1>&2 "\
218
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
235
WARNING: \`$1' is $msg.  You should only need it if
219
236
         you modified a \`.l' file.  You may need the \`Flex' package
220
237
         in order for those modifications to take effect.  You can get
221
238
         \`Flex' from any GNU archive site."
243
260
    fi
244
261
 
245
262
    echo 1>&2 "\
246
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
263
WARNING: \`$1' is $msg.  You should only need it if
247
264
         you modified a dependency of a manual page.  You may need the
248
265
         \`Help2man' package in order for those modifications to take
249
266
         effect.  You can get \`Help2man' from any GNU archive site."
268
285
    fi
269
286
 
270
287
    echo 1>&2 "\
271
 
WARNING: \`$1' is missing on your system.  You should only need it if
 
288
WARNING: \`$1' is $msg.  You should only need it if
272
289
         you modified a \`.texi' or \`.texinfo' file, or any other file
273
290
         indirectly affecting the aspect of the manual.  The spurious
274
291
         call might also be the consequence of using a buggy \`make' (AIX,
323
340
 
324
341
  *)
325
342
    echo 1>&2 "\
326
 
WARNING: \`$1' is needed, and you do not seem to have it handy on your
327
 
         system.  You might have modified some files without having the
 
343
WARNING: \`$1' is needed, and is $msg.
 
344
         You might have modified some files without having the
328
345
         proper tools for further handling them.  Check the \`README' file,
329
346
         it often tells you about the needed prerequisites for installing
330
347
         this package.  You may also peek at any GNU archive site, in case
334
351
esac
335
352
 
336
353
exit 0
 
354
 
 
355
# Local variables:
 
356
# eval: (add-hook 'write-file-hooks 'time-stamp)
 
357
# time-stamp-start: "scriptversion="
 
358
# time-stamp-format: "%:y-%02m-%02d.%02H"
 
359
# time-stamp-end: "$"
 
360
# End: