| 1 | #! /bin/sh
|
|---|
| 2 | # Common stub for a few missing GNU programs while installing.
|
|---|
| 3 | # Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
|---|
| 4 | # Franc,ois Pinard <[email protected]>, 1996.
|
|---|
| 5 |
|
|---|
| 6 | # This program is free software; you can redistribute it and/or modify
|
|---|
| 7 | # it under the terms of the GNU General Public License as published by
|
|---|
| 8 | # the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 9 | # any later version.
|
|---|
| 10 |
|
|---|
| 11 | # This program is distributed in the hope that it will be useful,
|
|---|
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 14 | # GNU General Public License for more details.
|
|---|
| 15 |
|
|---|
| 16 | # You should have received a copy of the GNU General Public License
|
|---|
| 17 | # along with this program; if not, write to the Free Software
|
|---|
| 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|---|
| 19 | # 02111-1307, USA.
|
|---|
| 20 |
|
|---|
| 21 | if test $# -eq 0; then
|
|---|
| 22 | echo 1>&2 "Try \`$0 --help' for more information"
|
|---|
| 23 | exit 1
|
|---|
| 24 | fi
|
|---|
| 25 |
|
|---|
| 26 | case "$1" in
|
|---|
| 27 |
|
|---|
| 28 | -h|--h|--he|--hel|--help)
|
|---|
| 29 | echo "\
|
|---|
| 30 | $0 [OPTION]... PROGRAM [ARGUMENT]...
|
|---|
| 31 |
|
|---|
| 32 | Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
|---|
| 33 | error status if there is no known handling for PROGRAM.
|
|---|
| 34 |
|
|---|
| 35 | Options:
|
|---|
| 36 | -h, --help display this help and exit
|
|---|
| 37 | -v, --version output version information and exit
|
|---|
| 38 |
|
|---|
| 39 | Supported PROGRAM values:
|
|---|
| 40 | aclocal touch file \`aclocal.m4'
|
|---|
| 41 | autoconf touch file \`configure'
|
|---|
| 42 | autoheader touch file \`config.h.in'
|
|---|
| 43 | automake touch all \`Makefile.in' files
|
|---|
| 44 | bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
|---|
| 45 | flex create \`lex.yy.c', if possible, from existing .c
|
|---|
| 46 | lex create \`lex.yy.c', if possible, from existing .c
|
|---|
| 47 | makeinfo touch the output file
|
|---|
| 48 | yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
|---|
| 49 | ;;
|
|---|
| 50 |
|
|---|
| 51 | -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
|---|
| 52 | echo "missing - GNU libit 0.0"
|
|---|
| 53 | ;;
|
|---|
| 54 |
|
|---|
| 55 | -*)
|
|---|
| 56 | echo 1>&2 "$0: Unknown \`$1' option"
|
|---|
| 57 | echo 1>&2 "Try \`$0 --help' for more information"
|
|---|
| 58 | exit 1
|
|---|
| 59 | ;;
|
|---|
| 60 |
|
|---|
| 61 | aclocal)
|
|---|
| 62 | echo 1>&2 "\
|
|---|
| 63 | WARNING: \`$1' is missing on your system. You should only need it if
|
|---|
| 64 | you modified \`acinclude.m4' or \`configure.in'. You might want
|
|---|
| 65 | to install the \`Automake' and \`Perl' packages. Grab them from
|
|---|
| 66 | any GNU archive site."
|
|---|
| 67 | touch aclocal.m4
|
|---|
| 68 | ;;
|
|---|
| 69 |
|
|---|
|
|---|