Fixed some 64bit platform build issues.

-omhis line, and those below, will be ignored--

M    server/configure.in
M    server/package/linux/CASA_auth_token_server.changes
M    server/package/linux/CASA_auth_token_server.spec.in
M    server/AuthTokenValidate/Svc/linux/envvars
M    server/AuthTokenValidate/Svc/linux/Makefile.am
This commit is contained in:
Juan Carlos Luciani
2006-11-28 11:47:04 +00:00
parent ee795f0f41
commit 00cffb071c
5 changed files with 23 additions and 13 deletions

View File

@@ -25,19 +25,25 @@
# is only meaningful when the auto-restart daemon #
# feature mentioned above is enabled. Core dumps are #
# allowed to be taken when the auto-restart daemon #
# feature is disabled. Core dumps of novell-xsrvd #
# service processes are taken to the #
# /var/novell/xtier folder. #
# feature is disabled. Core dumps of casa_atvd service #
# processes are taken to the #
# /var/lib/CASA/authtoken/validate folder. #
# #
############################################################
TEST_IBM_JVM=$(/usr/lib/jvm/jre-1.5.0/bin/java -version 2>&1 | grep -i ibm)
if [ -d /usr/lib64 ]; then
LIB=lib64
else
LIB=lib
fi
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
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/lib/jvm/jre-1.5.0/lib/$HOSTTYPE/server
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/lib/$HOSTTYPE/server
else
JVM_VER=IBM
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/lib/jvm/jre-1.5.0/bin:/usr/lib/jvm/jre-1.5.0/bin/classic
LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}":/usr/$LIB/jvm/jre-1.5.0/bin:/usr/$LIB/jvm/jre-1.5.0/bin/classic
fi
export JVM_VER
export LD_LIBRARY_PATH