Merge branch 'obsd-master'
[tmux.git] / autogen.sh
blobb27b92ee76aa6b3d477a9bf319a3b5d4c3301543
1 #!/bin/sh
3 if [ "x$(uname)" = "xOpenBSD" ]; then
4 [ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.15
5 [ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.69
6 fi
8 die()
10 echo "$@" >&2
11 exit 1
14 mkdir -p etc
15 aclocal || die "aclocal failed"
16 automake --add-missing --force-missing --copy --foreign || die "automake failed"
17 autoreconf || die "autoreconf failed"