1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Common wrapper for a few potentially missing GNU programs. |
2 | # Common wrapper for a few potentially missing GNU programs. |
3 | |
3 | |
4 | scriptversion=2013-10-28.13; # UTC |
4 | scriptversion=2018-03-07.03; # UTC |
5 | |
5 | |
6 | # Copyright (C) 1996-2014 Free Software Foundation, Inc. |
6 | # Copyright (C) 1996-2021 Free Software Foundation, Inc. |
7 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
8 | |
8 | |
9 | # This program is free software; you can redistribute it and/or modify |
9 | # This program is free software; you can redistribute it and/or modify |
10 | # it under the terms of the GNU General Public License as published by |
10 | # it under the terms of the GNU General Public License as published by |
11 | # the Free Software Foundation; either version 2, or (at your option) |
11 | # the Free Software Foundation; either version 2, or (at your option) |
… | |
… | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | # GNU General Public License for more details. |
17 | # GNU General Public License for more details. |
18 | |
18 | |
19 | # You should have received a copy of the GNU General Public License |
19 | # You should have received a copy of the GNU General Public License |
20 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | # along with this program. If not, see <https://www.gnu.org/licenses/>. |
21 | |
21 | |
22 | # As a special exception to the GNU General Public License, if you |
22 | # As a special exception to the GNU General Public License, if you |
23 | # distribute this file as part of a program that contains a |
23 | # distribute this file as part of a program that contains a |
24 | # configuration script generated by Autoconf, you may include it under |
24 | # configuration script generated by Autoconf, you may include it under |
25 | # the same distribution terms that you use for the rest of that program. |
25 | # the same distribution terms that you use for the rest of that program. |
… | |
… | |
99 | else |
99 | else |
100 | # Program was found and executed, but failed. Give up. |
100 | # Program was found and executed, but failed. Give up. |
101 | exit $st |
101 | exit $st |
102 | fi |
102 | fi |
103 | |
103 | |
104 | perl_URL=http://www.perl.org/ |
104 | perl_URL=https://www.perl.org/ |
105 | flex_URL=http://flex.sourceforge.net/ |
105 | flex_URL=https://github.com/westes/flex |
106 | gnu_software_URL=http://www.gnu.org/software |
106 | gnu_software_URL=https://www.gnu.org/software |
107 | |
107 | |
108 | program_details () |
108 | program_details () |
109 | { |
109 | { |
110 | case $1 in |
110 | case $1 in |
111 | aclocal|automake) |
111 | aclocal|automake) |
… | |
… | |
205 | # Propagate the correct exit status (expected to be 127 for a program |
205 | # Propagate the correct exit status (expected to be 127 for a program |
206 | # not found, 63 for a program that failed due to version mismatch). |
206 | # not found, 63 for a program that failed due to version mismatch). |
207 | exit $st |
207 | exit $st |
208 | |
208 | |
209 | # Local variables: |
209 | # Local variables: |
210 | # eval: (add-hook 'write-file-hooks 'time-stamp) |
210 | # eval: (add-hook 'before-save-hook 'time-stamp) |
211 | # time-stamp-start: "scriptversion=" |
211 | # time-stamp-start: "scriptversion=" |
212 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
213 | # time-stamp-time-zone: "UTC" |
213 | # time-stamp-time-zone: "UTC0" |
214 | # time-stamp-end: "; # UTC" |
214 | # time-stamp-end: "; # UTC" |
215 | # End: |
215 | # End: |