aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-10 02:27:59 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-10 02:27:59 +0100
commit544831854014d160b8f9100d6442219da90aacea (patch)
treee8565f3cedb81479b0526799fd054a96ac1874cb /configure
parentm (diff)
downloadscrotty-544831854014d160b8f9100d6442219da90aacea.tar.gz
scrotty-544831854014d160b8f9100d6442219da90aacea.tar.bz2
scrotty-544831854014d160b8f9100d6442219da90aacea.tar.xz
a bunch of stuff...
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'configure')
-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
+