source: automake/missing@ 773db65

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since 773db65 was 773db65, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Script was causing problems so I disabled it per Gregor's recommendation

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