diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-20 12:39:24 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-20 12:39:24 +0000 |
commit | 4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 (patch) | |
tree | 6962fbb65104c67247593d23ba204a4570533924 /configure | |
parent | b54b2fc579bb9d1faa95f01d6e211b7cfed0e1bb (diff) |
Ported pjlib to PowerPC/MacOS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -3,7 +3,7 @@ # # Detect machine # -MACHINE=`uname -m` +MACHINE=`uname -p` if echo $MACHINE | grep sun4u > /dev/null; then MACHINE_NAME=sparc @@ -11,8 +11,10 @@ elif echo $MACHINE | grep i.86 > /dev/null; then MACHINE_NAME=i386 elif echo $MACHINE | grep alpha > /dev/null; then MACHINE_NAME=alpha +elif echo $MACHINE | grep powerpc > /dev/null; then + MACHINE_NAME=powerpc else - echo "Unable to detect processor type ('uname -m' == '$MACHINE')" + echo "Unable to detect processor type ('uname -p' == '$MACHINE')" exit 1 fi @@ -44,6 +46,9 @@ elif echo $SYSTEM | grep -i mingw > /dev/null; then elif echo $SYSTEM | grep -i cygwin > /dev/null; then OS_NAME=win32 HOST_NAME=mingw +elif echo $SYSTEM | grep -i darwin > /dev/null; then + OS_NAME=darwinos + HOST_NAME=unix else echo "Unable to detect system type ('uname -s' == '$SYSTEM')" exit 1 |