comparison agent/make/saenv64.sh @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 4fe850c65ed1
children
comparison
equal deleted inserted replaced
14908:8db6e76cb658 14909:4ca6dc0799b6
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 46 # configure audit helper library if SA_ALTROOT is set
47 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so 47 if [ -n "$SA_ALTROOT" ]; then
48 if [ ! -f $LD_AUDIT_64 ]; then 48 LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
49 LD_AUDIT_64=$STARTDIR/solaris/$CPU/libsaproc_audit.so 49 export LD_AUDIT_64
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
50 fi 55 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
59 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU 56 SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
60 57
61 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger" 58 OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
62 59
63 if [ "x$SA_JAVA" = "x" ]; then 60 if [ "x$SA_JAVA" = "x" ]; then