Author: mturk Date: Wed Sep 23 15:33:49 2009 New Revision: 818140 URL: http://svn.apache.org/viewvc?rev=818140&view=rev Log: Add AIX and powerpc to the tests
Modified: commons/sandbox/runtime/trunk/src/main/native/configure Modified: commons/sandbox/runtime/trunk/src/main/native/configure URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=818140&r1=818139&r2=818140&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/configure (original) +++ commons/sandbox/runtime/trunk/src/main/native/configure Wed Sep 23 15:33:49 2009 @@ -53,6 +53,8 @@ fi shift +EECHO=echo +test ".`echo -e e 2>&1`" = .e && EECHO="echo -e" name=acr prefix="${PREFIX:=/usr/local}" libdir="lib" @@ -339,6 +341,10 @@ test ".$has_32_bit" = .yes && bits=32 case "$host" in + aix ) + platform=AIX + mach=`uname -p 2>/dev/null` || mach="unknown" + ;; hp-ux ) platform=HPUX host=hpux @@ -383,22 +389,26 @@ ;; sun4* ) mach=sparc + test ".$has_64_bit" = .yes && mach=sparc64 bige=1 ;; 9000/[678][0-9][0-9] ) mach=parisc + test ".$has_64_bit" = .yes && mach=parisc64 + bige=1 + ;; + powerpc ) + mach=ppc + test ".$has_64_bit" = .yes && mach=ppc64 bige=1 ;; esac case "$host-$mach" in - linux-x86_64 ) + *-*64 ) test ".$bits" = . && bits=64 ;; - linux-ia64 ) - test ".$bits" = . && bits=64 - ;; - darwin-i386 ) + darwin-i386 ) test ".$bits" = . && bits=32 ;; esac @@ -491,6 +501,9 @@ ar="`getmstool lib`" test ".$java_pinc" = . && java_pinc=win32 ;; + aix-gcc ) + echo "Warning : WORK IN PROGRESS" + ;; * ) echo "$host$bits-$cc platform is not supported!" exit 1 @@ -560,7 +573,7 @@ ;; esac -echo -e "Configuring \033[1mApache Commons Runtime $vmajor.$vminor.$vpatch\033[0m. for $host$bits-$cc" +$EECHO "Configuring \033[1mApache Commons Runtime $vmajor.$vminor.$vpatch\033[0m. for $host$bits-$cc" echo "" # Common defines @@ -1020,6 +1033,6 @@ done echo "" -echo -e "Configured for $host$bits-$cc" -echo -e "You can now run \033[1mmake\033[0m to build the library." +echo "Configured for $host$bits-$cc" +$EECHO "You can now run \033[1mmake\033[0m to build the library." echo ""