aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
blob: 63ef2a0dd83e4237eba9c074f6738362a17cd85f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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

Return to:

Send suggestions and report system problems to the System administrator.