blob: 777cfc543ae3b82a9668a06451c40099d87593f4 (
plain) (
tree)
|
|
#!/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
|