-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup-env.sh.in
53 lines (47 loc) · 1.37 KB
/
setup-env.sh.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# for sourcing with an sh compatible shell
@fast_feedback_indexer_ENV_SETUP@
if [ "${ffbidx_LIBRARY_PATH}" != "" ]; then
if [ "${LD_LIBRARY_PATH}" != "" ]; then
LD_LIBRARY_PATH="${ffbidx_LIBRARY_PATH}:${LD_LIBRARY_PATH}"
else
export LD_LIBRARY_PATH="${ffbidx_LIBRARY_PATH}"
fi
if [ "${LIBRARY_PATH}" != "" ]; then
LIBRARY_PATH="${ffbidx_LIBRARY_PATH}:${LIBRARY_PATH}"
else
export LIBRARY_PATH="${ffbidx_LIBRARY_PATH}"
fi
fi
if [ "${ffbidx_CPLUS_INCLUDE_PATH}" != "" ]; then
if [ "${CPLUS_INCLUDE_PATH}" != "" ]; then
CPLUS_INCLUDE_PATH="${ffbidx_CPLUS_INCLUDE_PATH}:${CPLUS_INCLUDE_PATH}"
else
export CPLUS_INCLUDE_PATH="${ffbidx_CPLUS_INCLUDE_PATH}"
fi
if [ "${C_INCLUDE_PATH}" != "" ]; then
C_INCLUDE_PATH="${ffbidx_CPLUS_INCLUDE_PATH}:${C_INCLUDE_PATH}"
else
export C_INCLUDE_PATH="${ffbidx_CPLUS_INCLUDE_PATH}"
fi
fi
if [ "${ffbidx_PKG_CONFIG_PATH}" != "" ]; then
if [ "${PKG_CONFIG_PATH}" != "" ]; then
PKG_CONFIG_PATH="${ffbidx_PKG_CONFIG_PATH}:${PKG_CONFIG_PATH}"
else
export PKG_CONFIG_PATH="${ffbidx_PKG_CONFIG_PATH}"
fi
fi
if [ "${ffbidx_PYTHONPATH}" != "" ]; then
if [ "${PYTHONPATH}" != "" ]; then
PYTHONPATH="${ffbidx_PYTHONPATH}:${PYTHONPATH}"
else
export PYTHONPATH="${ffbidx_PYTHONPATH}"
fi
fi
if [ "${ffbidx_PATH}" != "" ]; then
if [ "${PATH}" != "" ]; then
PATH="${ffbidx_PATH}:${PATH}"
else
export PATH="${ffbidx_PATH}"
fi
fi