From 4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 20 Mar 2006 12:39:24 +0000 Subject: Ported pjlib to PowerPC/MacOS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98 --- configure | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index e2645ac3..caaca802 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3