summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index ab52ab60..b3fe48ea 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,14 @@
# (not older than a few years...)
set -e
+if test $(uname -s) = "OpenBSD" ; then
+ # OpenBSD needs these environment variables set.
+ AUTOCONF_VERSION=2.69
+ AUTOMAKE_VERSION=1.11
+ export AUTOCONF_VERSION
+ export AUTOMAKE_VERSION
+ fi
+
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"