diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:19:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:19:20 +0000 |
commit | 4ea22c2c2237e92079a3e81aa7a3b16a0c7e2d7a (patch) | |
tree | f9c3fcd5098cfc5cf73a5c1525e2dca20ba54390 /configure | |
parent | 37ec63e5d4e2f0bab64166216f6a02e5a465d933 (diff) | |
download | prosody-4ea22c2c2237e92079a3e81aa7a3b16a0c7e2d7a.tar.gz prosody-4ea22c2c2237e92079a3e81aa7a3b16a0c7e2d7a.zip |
configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -139,6 +139,7 @@ do ;; --libdir=*) LIBDIR="$value" + LIBDIR_SET=yes ;; --datadir=*) DATADIR="$value" @@ -213,6 +214,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/'`" |