Wed, 31 May 2017 12:32:22 +0200
fixes headers missing in dist package
48
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | #! /bin/sh |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | # Common wrapper for a few potentially missing GNU programs. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | scriptversion=2012-06-26.16; # UTC |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | # Copyright (C) 1996-2013 Free Software Foundation, Inc. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | # This program is free software; you can redistribute it and/or modify |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | # it under the terms of the GNU General Public License as published by |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | # the Free Software Foundation; either version 2, or (at your option) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | # any later version. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | # This program is distributed in the hope that it will be useful, |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | # GNU General Public License for more details. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | # You should have received a copy of the GNU General Public License |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | # As a special exception to the GNU General Public License, if you |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | # distribute this file as part of a program that contains a |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | # configuration script generated by Autoconf, you may include it under |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | # the same distribution terms that you use for the rest of that program. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
26 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | if test $# -eq 0; then |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
28 | echo 1>&2 "Try '$0 --help' for more information" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
29 | exit 1 |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
30 | fi |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
31 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
32 | case $1 in |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
33 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
34 | --is-lightweight) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
35 | # Used by our autoconf macros to check whether the available missing |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
36 | # script is modern enough. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
37 | exit 0 |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
38 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
39 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
40 | --run) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
41 | # Back-compat with the calling convention used by older automake. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | shift |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
43 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
44 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
45 | -h|--h|--he|--hel|--help) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
46 | echo "\ |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
47 | $0 [OPTION]... PROGRAM [ARGUMENT]... |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
48 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
49 | Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
50 | to PROGRAM being missing or too old. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
52 | Options: |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
53 | -h, --help display this help and exit |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
54 | -v, --version output version information and exit |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
55 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
56 | Supported PROGRAM values: |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
57 | aclocal autoconf autoheader autom4te automake makeinfo |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
58 | bison yacc flex lex help2man |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
59 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
60 | Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
61 | 'g' are ignored when checking the name. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
62 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
63 | Send bug reports to <bug-automake@gnu.org>." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
64 | exit $? |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
65 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
66 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
67 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
68 | echo "missing $scriptversion (GNU Automake)" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
69 | exit $? |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
70 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
71 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
72 | -*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
73 | echo 1>&2 "$0: unknown '$1' option" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
74 | echo 1>&2 "Try '$0 --help' for more information" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
75 | exit 1 |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
76 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
77 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
78 | esac |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
79 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
80 | # Run the given program, remember its exit status. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
81 | "$@"; st=$? |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
82 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
83 | # If it succeeded, we are done. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
84 | test $st -eq 0 && exit 0 |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
85 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
86 | # Also exit now if we it failed (or wasn't found), and '--version' was |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
87 | # passed; such an option is passed most likely to detect whether the |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
88 | # program is present and works. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
89 | case $2 in --version|--help) exit $st;; esac |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
90 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
91 | # Exit code 63 means version mismatch. This often happens when the user |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
92 | # tries to use an ancient version of a tool on a file that requires a |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
93 | # minimum version. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
94 | if test $st -eq 63; then |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
95 | msg="probably too old" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
96 | elif test $st -eq 127; then |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
97 | # Program was missing. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
98 | msg="missing on your system" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
99 | else |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
100 | # Program was found and executed, but failed. Give up. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
101 | exit $st |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
102 | fi |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
103 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
104 | perl_URL=http://www.perl.org/ |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
105 | flex_URL=http://flex.sourceforge.net/ |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
106 | gnu_software_URL=http://www.gnu.org/software |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
107 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
108 | program_details () |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
109 | { |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
110 | case $1 in |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
111 | aclocal|automake) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
112 | echo "The '$1' program is part of the GNU Automake package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
113 | echo "<$gnu_software_URL/automake>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
114 | echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
115 | echo "<$gnu_software_URL/autoconf>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
116 | echo "<$gnu_software_URL/m4/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
117 | echo "<$perl_URL>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
118 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
119 | autoconf|autom4te|autoheader) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
120 | echo "The '$1' program is part of the GNU Autoconf package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
121 | echo "<$gnu_software_URL/autoconf/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
122 | echo "It also requires GNU m4 and Perl in order to run:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
123 | echo "<$gnu_software_URL/m4/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
124 | echo "<$perl_URL>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
125 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
126 | esac |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
127 | } |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
128 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
129 | give_advice () |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
130 | { |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
131 | # Normalize program name to check for. |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
132 | normalized_program=`echo "$1" | sed ' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
133 | s/^gnu-//; t |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
134 | s/^gnu//; t |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
135 | s/^g//; t'` |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
136 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
137 | printf '%s\n' "'$1' is $msg." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
138 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
139 | configure_deps="'configure.ac' or m4 files included by 'configure.ac'" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
140 | case $normalized_program in |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
141 | autoconf*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
142 | echo "You should only need it if you modified 'configure.ac'," |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
143 | echo "or m4 files included by it." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
144 | program_details 'autoconf' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
145 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
146 | autoheader*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
147 | echo "You should only need it if you modified 'acconfig.h' or" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
148 | echo "$configure_deps." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
149 | program_details 'autoheader' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
150 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
151 | automake*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
152 | echo "You should only need it if you modified 'Makefile.am' or" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
153 | echo "$configure_deps." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
154 | program_details 'automake' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
155 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
156 | aclocal*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
157 | echo "You should only need it if you modified 'acinclude.m4' or" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
158 | echo "$configure_deps." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
159 | program_details 'aclocal' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
160 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
161 | autom4te*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
162 | echo "You might have modified some maintainer files that require" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
163 | echo "the 'automa4te' program to be rebuilt." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
164 | program_details 'autom4te' |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
165 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
166 | bison*|yacc*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
167 | echo "You should only need it if you modified a '.y' file." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
168 | echo "You may want to install the GNU Bison package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
169 | echo "<$gnu_software_URL/bison/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
170 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
171 | lex*|flex*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
172 | echo "You should only need it if you modified a '.l' file." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
173 | echo "You may want to install the Fast Lexical Analyzer package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
174 | echo "<$flex_URL>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
175 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
176 | help2man*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
177 | echo "You should only need it if you modified a dependency" \ |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
178 | "of a man page." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
179 | echo "You may want to install the GNU Help2man package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
180 | echo "<$gnu_software_URL/help2man/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
181 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
182 | makeinfo*) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
183 | echo "You should only need it if you modified a '.texi' file, or" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
184 | echo "any other file indirectly affecting the aspect of the manual." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
185 | echo "You might want to install the Texinfo package:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
186 | echo "<$gnu_software_URL/texinfo/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
187 | echo "The spurious makeinfo call might also be the consequence of" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
188 | echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
189 | echo "want to install GNU make:" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
190 | echo "<$gnu_software_URL/make/>" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
191 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
192 | *) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
193 | echo "You might have modified some files without having the proper" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
194 | echo "tools for further handling them. Check the 'README' file, it" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
195 | echo "often tells you about the needed prerequisites for installing" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
196 | echo "this package. You may also peek at any GNU archive site, in" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
197 | echo "case some other package contains this missing '$1' program." |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
198 | ;; |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
199 | esac |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
200 | } |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
201 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
202 | give_advice "$1" | sed -e '1s/^/WARNING: /' \ |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
203 | -e '2,$s/^/ /' >&2 |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
204 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
205 | # Propagate the correct exit status (expected to be 127 for a program |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
206 | # not found, 63 for a program that failed due to version mismatch). |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
207 | exit $st |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
208 | |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
209 | # Local variables: |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
210 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
211 | # time-stamp-start: "scriptversion=" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
212 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
213 | # time-stamp-time-zone: "UTC" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
214 | # time-stamp-end: "; # UTC" |
0d2c13c24fd0
adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
215 | # End: |