Index: autogen.sh ================================================================== --- autogen.sh +++ autogen.sh @@ -1,4 +1,13 @@ #!/bin/sh -aclocal -I m4 || exit 1 -autoconf || exit 1 -autoheader || exit 1 +set -e + +# Set a version for OpenBSD +if test x"$(uname -s)" = x"OpenBSD"; then + : ${AUTOCONF_VERSION:=2.71} + : ${AUTOMAKE_VERSION:=1.16} + export AUTOCONF_VERSION AUTOMAKE_VERSION +fi + +aclocal -I build-aux/m4 +autoconf +autoheader