mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-22 06:40:59 +01:00
fe00607816
OpenBSD requires the presence of AUTOMAKE_VERSION and AUTOCONF_VERSION for bootstrapping purposes. Setting these on any other system requires that explicit version to be used, rather than what might already be installed. Therefore, only do this when the platform is OpenBSD and ignore everything else.
19 lines
384 B
Bash
Executable File
19 lines
384 B
Bash
Executable File
#!/bin/sh
|
|
# $Id$
|
|
|
|
if [ "x$(uname)" = "xOpenBSD" ]; then
|
|
[ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.10
|
|
[ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.65
|
|
fi
|
|
|
|
die()
|
|
{
|
|
echo "$@" >&2
|
|
exit 1
|
|
}
|
|
|
|
mkdir -p etc
|
|
aclocal || die "aclocal failed"
|
|
automake --add-missing --force-missing --copy --foreign || die "automake failed"
|
|
autoreconf || die "autoreconf failed"
|