forked from ArchC/ArchC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.sh.in
More file actions
33 lines (26 loc) · 765 Bytes
/
env.sh.in
File metadata and controls
33 lines (26 loc) · 765 Bytes
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
#!/bin/sh
srcdir=@abs_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
@HAVE_SYSTEMC_TRUE@export LD_LIBRARY_PATH="@EXPORT_SYSTEMC_LIB@:$LD_LIBRARY_PATH"
@HAVE_SYSTEMC_TRUE@export PKG_CONFIG_PATH="@EXPORT_SYSTEMC_LIB@/pkgconfig:$PKG_CONFIG_PATH"
export PATH="$exec_prefix/bin:$PATH"
export LD_LIBRARY_PATH="$libdir:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="$libdir/pkgconfig:$PKG_CONFIG_PATH"
export ARCHC_PREFIX="$prefix"
function acroot {
if [ "$srcdir" ]; then
cd "$srcdir"
else
echo "Couldn't locate the top of the ArchC source code."
fi
}
function acprefix {
if [ "$prefix" ]; then
cd "$prefix"
else
echo "Couldn't locate the ArchC installation path."
fi
}