summaryrefslogtreecommitdiffabout
path: root/bootstrap
authorSergey Poznyakoff <gray@gnu.org.ua>2011-08-16 08:43:08 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-08-16 08:43:08 (GMT)
commit360cc1a82c0bebebd70f4890a8dcaa78891c032a (patch) (side-by-side diff)
tree3588abcc03de0eb9bf1017d4b9fae852b4e72f63 /bootstrap
parent56ac2b6a5d6eb829a7da8eecc04cbf5f9339e61b (diff)
downloadgdbm-360cc1a82c0bebebd70f4890a8dcaa78891c032a.tar.gz
gdbm-360cc1a82c0bebebd70f4890a8dcaa78891c032a.tar.bz2
Minor housekeeping for Gnits compliance.
* README-alpha: New file. * README-hacking: New file. * bootstrap: Update.
Diffstat (limited to 'bootstrap') (more/less context) (ignore whitespace changes)
-rwxr-xr-xbootstrap26
1 files changed, 26 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index edef987..63ef2a0 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,3 +1,29 @@
#! /bin/sh
+force=0
+
+if test $# -eq 0; then
+ :;
+elif test $# -eq 1; then
+ case $1 in
+ --force) force=1;;
+ --help|-h)
+ cat <<EOT
+usage: bootstrap [--force]
+bootstraps GDBM package
+EOT
+ ;;
+ *) echo >&2 "$0: unrecognized option"
+ exit 1;;
+ esac
+else
+ echo >&2 "$0: too many arguments"
+ exit 1
+fi
+
+if ! test -f README-hacking && test $force -eq 0; then
+ echo >&2 "$0: bootstrapping from a non-checked-out distribution is risky"
+ exit 1
+fi
+
test -d m4 || mkdir m4
autoreconf -f -i -s \ No newline at end of file

Return to:

Send suggestions and report system problems to the System administrator.