aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xconfigure55
1 files changed, 55 insertions, 0 deletions
diff --git a/configure b/configure
new file mode 100755
index 0000000..70669bd
--- /dev/null
+++ b/configure
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+# Copyright (C) 2015 Mattias Andrée <maandree@member.fsf.org>
+#
+# 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.
+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)
+
+You can now run 'make && make install'.
+
+EOF
+