File: environ

package info (click to toggle)
libcaptury 0.3.0~svn158-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,548 kB
  • ctags: 175
  • sloc: sh: 9,002; cpp: 846; makefile: 45
file content (29 lines) | stat: -rw-r--r-- 794 bytes parent folder | download | duplicates (3)
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
# (Gentoo Linux) Global Configuration
# vim:ai:noet:ts=4:nowrap:syntax=sh

if test "$1" = "debug" -o "$1" = ""; then
	export CFLAGS="${NOPIE} -O0 -ggdb3 -pipe"
	export CXXFLAGS="${CFLAGS}"
	#export DEBUG="TApplication"
else
	# importing system values
	[ -f /etc/make.globals ] && source /etc/make.globals
	[ -f /etc/make.conf ] && source /etc/make.conf
	export CFLAGS
	export CXXFLAGS
fi

# assume proper autotool versions
export WANT_AUTOCONF=2.5
export WANT_AUTOMAKE=1.10

# add colorgcc to PATH
if [[ -d /usr/lib/colorgcc/bin ]]; then
	if ! echo ${PATH} | grep -q colorgcc/bin; then
	export PATH=/usr/lib/colorgcc/bin:${PATH}
	fi
fi

if ! echo ${PKG_CONFIG_PATH} | grep -q /opt/sandbox/lib; then
	export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH:+:}/opt/sandbox/lib/pkgconfig"
fi