Skip to content

Commit

Permalink
These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not …
Browse files Browse the repository at this point in the history
…existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
  • Loading branch information
Steve Murphy committed Jul 7, 2007
1 parent 1da115c commit 1827bcb
Show file tree
Hide file tree
Showing 6 changed files with 847 additions and 49 deletions.
18 changes: 13 additions & 5 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ check_for_app() {
fi
}

# On FreeBSD, multiple autoconf/automake versions have different names.
# On FreeBSD and OpenBSD, multiple autoconf/automake versions have different names.
# On linux, envitonment variables tell which one to use.

uname -s | grep -q FreeBSD
if [ $? = 0 ] ; then # FreeBSD case
MY_AC_VER=259
MY_AM_VER=19
uname -s | grep -q BSD
if [ $? = 0 ] ; then # BSD case
uname -s | grep -q FreeBSD
if [ $? = 0 ] ; then # FreeBSD case
MY_AC_VER=259
MY_AM_VER=19
fi
uname -s | grep -q OpenBSD
if [ $? = 0 ] ; then # OpenBSD case
MY_AC_VER=-2.61
MY_AM_VER=-1.9
fi
else # linux case
MY_AC_VER=
MY_AM_VER=
Expand Down
Loading

0 comments on commit 1827bcb

Please sign in to comment.