+die() {
+ printf "$1\n" >&2
+ exit 1
+}
+
+usage() {
+ cat <<EOF
+usage: configure [options] [settings]
+
+ --prefix=PREFIX installation prefix [/usr]
+ --exec-prefix=EPREFIX installation prefix for executable files [PREFIX]
+ --bindir=DIR user executables [PREFIX/bin]
+ --datadir=DIR architecture-independent data files [PREFIX/share]
+ --mandir=DIR manual pages [DATADIR/man]
+ --sysconfdir=DIR directory for configuration files [/etc]
+ --pamdir=DIR PAM directory [SYSCONFDIR/pam.d]
+
+ --build=build-alias a cpu-vendor-opsys for the system where the application will be built
+ --host=host-alias a cpu-vendor-opsys for the system where the application will run
+ --target=target-alias the machine that CC will produce code for
+
+ --enable-debug enable debugging
+ --enable-seccomp enable seccomp
+ --enable-static prepare for static build
+
+ --help, -h display this help and exit
+EOF
+ exit 0
+}
+