Fixed build problem on SLES10 distro.
-This line, and those below, will be ignored-- M server/configure.in M server/autogen.sh
This commit is contained in:
parent
fec50fc5f3
commit
7b18319169
@ -4,14 +4,6 @@
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
test_ibm_jvm=$(/usr/lib/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm)
|
||||
if [ -z "${test_ibm_jvm}" ]; then
|
||||
# Assume Sun JVM
|
||||
jvm_ver=sun
|
||||
else
|
||||
jvm_ver=ibm
|
||||
fi
|
||||
|
||||
ORIGDIR=`pwd`
|
||||
cd $srcdir
|
||||
PROJECT=CASA_auth_token_server
|
||||
|
@ -202,14 +202,16 @@ esac
|
||||
#
|
||||
# Check for IBM JVM
|
||||
#
|
||||
case $jvm_ver in
|
||||
sun*)
|
||||
JVM_VER=SUN
|
||||
;;
|
||||
ibm*)
|
||||
JVM_VER=IBM
|
||||
;;
|
||||
esac
|
||||
test_ibm_jvm=$(/usr/lib/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm)
|
||||
if test "$test_ibm_jvm" = ""
|
||||
then
|
||||
# Assume Sun JVM
|
||||
JVM_VER=SUN
|
||||
echo "SUN_JVM test_ibm_jvm=$test_ibm_jvm"
|
||||
else
|
||||
JVM_VER=IBM
|
||||
echo "IBM_JVM test_ibm_jvm=$test_ibm_jvm"
|
||||
fi
|
||||
AC_SUBST(JVM_VER)
|
||||
AM_CONDITIONAL(IBM_JVM, test "$JVM_VER" = IBM)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user