summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2009-03-19 23:13:50 +0000
committerDRC <dcommander@users.sourceforge.net>2009-03-19 23:13:50 +0000
commit97d8c015e5cc530eb9bf3fd181fd6837590194d9 (patch)
tree1f4f18a797ba4b32b3bdc04dc0da851ff0f3e57b /unix
parent298114286cf2879f2faf351533d955ad5571880e (diff)
downloadtigervnc-97d8c015e5cc530eb9bf3fd181fd6837590194d9.tar.gz
tigervnc-97d8c015e5cc530eb9bf3fd181fd6837590194d9.zip
Allow PREFIX to be overridden
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3693 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rwxr-xr-xunix/build-xorg-7.44
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/build-xorg-7.4 b/unix/build-xorg-7.4
index 4c0c57da..6f906610 100755
--- a/unix/build-xorg-7.4
+++ b/unix/build-xorg-7.4
@@ -6,7 +6,9 @@
set -e
-PREFIX="/tmp/xorg-7.4-${USER}"
+if [ "$PREFIX" = "" ]; then
+ PREFIX="/tmp/xorg-7.4-${USER}"
+fi
export ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
export PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
MAKE="make"