Merge "install_prereq: Update Debian/Ubuntu libraries."
[asterisk/asterisk.git] / bootstrap.sh
index 6ca277d..272c57b 100755 (executable)
@@ -17,6 +17,10 @@ case `uname -sr` in
                MY_AC_VER=259
                MY_AM_VER=19
                ;;
+       OpenBSD*)
+               export AUTOCONF_VERSION=2.63
+               export AUTOMAKE_VERSION=1.9
+               ;;
        *'BSD'*)
                MY_AC_VER=-2.62
                MY_AM_VER=-1.9
@@ -42,7 +46,7 @@ check_for_app aclocal${MY_AM_VER}
 
 echo "Generating the configure script ..."
 
-aclocal${MY_AM_VER} -I autoconf
+aclocal${MY_AM_VER} -I autoconf `find third-party -maxdepth 1 -type d | xargs -I {} echo -I {}`
 autoconf${MY_AC_VER}
 autoheader${MY_AC_VER}
 automake${MY_AM_VER} --add-missing --copy 2>/dev/null