test/jprt.config

changeset 3156
f08d439fab8c
parent 1907
c18cbe5936b8
child 6876
710a3c8b516e
     1.1 --- a/test/jprt.config	Tue Sep 20 23:50:16 2011 -0700
     1.2 +++ b/test/jprt.config	Sun Sep 25 16:03:29 2011 -0700
     1.3 @@ -75,8 +75,8 @@
     1.4  
     1.5  # Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
     1.6  osname=`uname -s`
     1.7 -if [ "${osname}" = SunOS ] ; then
     1.8 -   
     1.9 +case "${osname}" in
    1.10 +  SunOS )
    1.11      # SOLARIS: Sparc or X86
    1.12      osarch=`uname -p`
    1.13      if [ "${osarch}" = sparc ] ; then
    1.14 @@ -100,9 +100,9 @@
    1.15  
    1.16      # File creation mask
    1.17      umask 002
    1.18 +    ;;
    1.19  
    1.20 -elif [ "${osname}" = Linux ] ; then
    1.21 -   
    1.22 +  Linux | Darwin )
    1.23      # Add basic paths
    1.24      path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
    1.25  
    1.26 @@ -111,9 +111,31 @@
    1.27      fileMustExist "${make}" make
    1.28  
    1.29      umask 002
    1.30 +    ;;
    1.31  
    1.32 -else
    1.33 +  FreeBSD | OpenBSD )
    1.34 +    # Add basic paths
    1.35 +    path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
    1.36  
    1.37 +    # Find GNU make
    1.38 +    make=/usr/local/bin/gmake
    1.39 +    fileMustExist "${make}" make
    1.40 +
    1.41 +    umask 002
    1.42 +    ;;
    1.43 +
    1.44 +  NetBSD )
    1.45 +    # Add basic paths
    1.46 +    path4sdk=/usr/bin:/bin:/usr/sbin:/sbin
    1.47 +
    1.48 +    # Find GNU make
    1.49 +    make=/usr/pkg/bin/gmake
    1.50 +    fileMustExist "${make}" make
    1.51 +
    1.52 +    umask 002
    1.53 +    ;;
    1.54 +
    1.55 +  * )
    1.56      # Windows: Differs on CYGWIN vs. MKS.
    1.57     
    1.58      # We need to determine if we are running a CYGWIN shell or an MKS shell
    1.59 @@ -154,8 +176,8 @@
    1.60      if [ "${unix_toolset}" = CYGWIN ] ; then
    1.61  	path4sdk="`/usr/bin/cygpath -p ${path4sdk}`"
    1.62      fi
    1.63 -
    1.64 -fi
    1.65 +    ;;
    1.66 +esac
    1.67  
    1.68  # Export PATH setting
    1.69  PATH="${path4sdk}"

mercurial