BuildSystem: Allow newer autotools on OpenBSD.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 16 Feb 2018 18:30:45 +0000 (19:30 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 16 Feb 2018 18:30:45 +0000 (19:30 +0100)
ASTERISK-27683

Change-Id: I5ec9dafbb0c16b6f2740c641980bc2eaaf995624

bootstrap.sh

index fe39ea2..550652b 100755 (executable)
@@ -18,8 +18,9 @@ case `uname -sr` in
                MY_AM_VER=
                ;;
        OpenBSD*)
-               export AUTOCONF_VERSION=2.63
-               export AUTOMAKE_VERSION=1.9
+               # pkg_add autoconf%2.63 automake%1.9 metaauto
+               [ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.63
+               [ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.9
                ;;
        *'BSD'*)
                MY_AC_VER=-2.62