aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-02-24 15:22:09 +0000
committerMatthew Wild <mwild1@gmail.com>2015-02-24 15:22:09 +0000
commita65615d8f2430de97cb1c426a018f84e3c2d6f99 (patch)
tree5ae077f7986f9c901781b0c0bb54de3180e2f984 /configure
parent765e9aa03e5a7fe2a4f5aede47aaf90ffc4ef39d (diff)
parent0ecfb4e79a16b0c703d995a43a5285aa33489b81 (diff)
downloadprosody-a65615d8f2430de97cb1c426a018f84e3c2d6f99.tar.gz
prosody-a65615d8f2430de97cb1c426a018f84e3c2d6f99.zip
Merge 0.9->0.10
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index d669d3a8..84f4b9ef 100755
--- a/configure
+++ b/configure
@@ -138,6 +138,7 @@ do
;;
--libdir=*)
LIBDIR="$value"
+ LIBDIR_SET=yes
;;
--datadir=*)
DATADIR="$value"
@@ -212,6 +213,11 @@ then
fi
fi
+if [ "$PREFIX_SET" = "yes" -a ! "$LIBDIR_SET" = "yes" ]
+then
+ LIBDIR=$PREFIX/lib
+fi
+
find_program() {
path="$PATH"
item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"