portable: set next version
[got-portable.git] / autogen.sh
blob0cc503bf70cc7f6f19895fa993236ff4c89f35f2
1 #!/bin/sh
3 if [ "x$(uname)" = "xOpenBSD" ]; then
4 [ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.16
5 [ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.69
6 fi
9 die()
11 echo "$1" >&2
12 exit $2
15 autoreconf -f -i -v || die "autoreconf failed" $?