+die() {
+ printf "$1\n" >&2
+ exit 1
+}
+
+usage() {
+ cat <<EOF
+usage: configure [options]
+
+ --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]
+
+ --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-static prepare for static build
+
+ --without-pam disable pam support
+ --without-shadow disable shadow support
+
+ --with-timestamp enable timestamp support
+
+ --without-insults disable insults
+
+ --uid-max=NUM set UID_MAX (default 65535)
+ --gid-max=NUM set GID_MAX (default 65535)
+
+ --help, -h display this help and exit
+EOF
+ exit 0
+}
+
+# defaults
+WITHOUT_TIMESTAMP=yes
+UID_MAX=65535
+GID_MAX=65535
+