blob: 777cfc543ae3b82a9668a06451c40099d87593f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#!/bin/sh
# Copyright (C) 2015 Mattias Andrée <m@maandree.se>
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
# Run './configure --help' for usage information.
PKGNAME=scrotty
MAN_SECTION_SUFFIX=
MAN_SECTION=1
list_optional_features_help ()
{
cat <<EOF
--without-gettext Do not support internationalisation.
--with-bash Include tab-completion for GNU Bash, requires the auto-auto-complete package.
--with-fish Include tab-completion for fish, requires the auto-auto-complete package.
--with-zsh Include tab-completion for Z shell, requires the auto-auto-complete package.
EOF
}
unrecognised_argument ()
{
option="${1}"
case "${option}" in
(--build | --target | --host)
incomplete="${option}" ;;
(--build=*)
;;
(--target=*)
;;
(--host=*)
;;
(*)
;;
esac
}
. "$(dirname "${0}")"/mk/configure
cat <<EOF
Enabled features, see ${0} for more infomation:
Internationalisation $(test_with GETTEXT yes)
GNU Bash tab-completion $(test_with BASH no)
Fish tab-completion $(test_with FISH no)
Z shell tab-completion $(test_with ZSH no)
You can now run 'make && make install'.
EOF
|