~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to missing

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-06 22:03:02 UTC
  • mto: (2.4.1 sid) (1.4.1 upstream) (45.1.3 maverick)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060706220302-itgso3qgxdaxjmcy
Tags: upstream-0.44
ImportĀ upstreamĀ versionĀ 0.44

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