diff options
author | scuri <scuri> | 2011-02-26 02:27:16 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-02-26 02:27:16 +0000 |
commit | 71323643c0a44d402b0eed448c46540e3396408f (patch) | |
tree | dace4abbfe73429c5b9fbda1e2ed78d03a3bd764 /tec_uname | |
parent | f3cd47662cb821d2355d98d32421b295b5e5689e (diff) |
*** empty log message ***
Diffstat (limited to 'tec_uname')
-rw-r--r-- | tec_uname | 37 |
1 files changed, 28 insertions, 9 deletions
@@ -124,14 +124,33 @@ ComputeTecUname() fi fi fi - - TU_DEBUG=1 - if [ $TU_DEBUG == 1 ]; then - echo ' ' - echo ' Info:' - echo 'TEC_SYSNAME='$TEC_SYSNAME - echo 'TEC_SYSVERSION='$TEC_SYSVERSION - echo 'TEC_SYSMINOR='$TEC_SYSMINOR - echo 'TEC_SYSARCH='$TEC_SYSARCH +} + +ComputeSystemPaths() +{ + if [ $TEC_SYSARCH == x64 ]; then + if [ -d /usr/lib64 ]; then + TEC_SYSTEM_LIB=/usr/lib64 + else + TEC_SYSTEM_LIB=/usr/lib + fi + else + TEC_SYSTEM_LIB=/usr/lib fi + + TEC_SYSTEM_INC=/usr/include + + TEC_LUA_LIB=$TEC_SYSTEM_LIB/lua/5.1 +} + +PrintInfo() +{ + echo ' ' + echo ' Info:' + echo 'TEC_SYSNAME='$TEC_SYSNAME + echo 'TEC_SYSVERSION='$TEC_SYSVERSION + echo 'TEC_SYSMINOR='$TEC_SYSMINOR + echo 'TEC_SYSARCH='$TEC_SYSARCH + echo 'TEC_SYSTEM_LIB='$TEC_SYSTEM_LIB + echo 'TEC_SYSTEM_INC='$TEC_SYSTEM_INC } |