equal
deleted
inserted
replaced
41 echo "unknown CPU, only sparcv9, amd64 are supported!" |
41 echo "unknown CPU, only sparcv9, amd64 are supported!" |
42 exit 1 |
42 exit 1 |
43 fi |
43 fi |
44 fi |
44 fi |
45 |
45 |
46 # configure audit helper library if SA_ALTROOT is set |
46 # configure audit helper library |
47 if [ -n "$SA_ALTROOT" ]; then |
47 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so |
48 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so |
48 if [ ! -f $LD_AUDIT_64 ]; then |
49 export LD_AUDIT_64 |
49 LD_AUDIT_64=$STARTDIR/solaris/$CPU/libsaproc_audit.so |
50 if [ ! -f $LD_AUDIT_64 ]; then |
|
51 echo "SA_ALTROOT is set and can't find libsaproc_audit.so." |
|
52 echo "Make sure to build it with 'make natives'." |
|
53 exit 1 |
|
54 fi |
|
55 fi |
50 fi |
|
51 |
|
52 if [ ! -f $LD_AUDIT_64 ]; then |
|
53 echo "Can't find libsaproc_audit.so." |
|
54 echo "Make sure to build it with 'make natives'." |
|
55 exit 1 |
|
56 fi |
|
57 |
|
58 export LD_AUDIT_64 |
56 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU |
59 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU |
57 |
60 |
58 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger" |
61 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger" |
59 |
62 |
60 if [ "x$SA_JAVA" = "x" ]; then |
63 if [ "x$SA_JAVA" = "x" ]; then |