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
commitf9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9 (patch)
tree5ae077f7986f9c901781b0c0bb54de3180e2f984 /configure
parent5c8fa6441390d588fda8fd6f8aa221fd85741c70 (diff)
parentdee60b3659ffc63332d0ee011a687aba24b71f26 (diff)
downloadprosody-f9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9.tar.gz
prosody-f9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9.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/'`"