summaryrefslogtreecommitdiff
path: root/tec_uname
diff options
context:
space:
mode:
authorscuri <scuri>2011-02-26 02:27:16 +0000
committerscuri <scuri>2011-02-26 02:27:16 +0000
commit71323643c0a44d402b0eed448c46540e3396408f (patch)
treedace4abbfe73429c5b9fbda1e2ed78d03a3bd764 /tec_uname
parentf3cd47662cb821d2355d98d32421b295b5e5689e (diff)
*** empty log message ***
Diffstat (limited to 'tec_uname')
-rw-r--r--tec_uname37
1 files changed, 28 insertions, 9 deletions
diff --git a/tec_uname b/tec_uname
index acf22b0..d885215 100644
--- a/tec_uname
+++ b/tec_uname
@@ -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
}