Software /
code /
prosody
Changeset
6579:5a82ee60e07e
configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 24 Feb 2015 15:19:20 +0000 |
parents | 6578:6f55db7afd3b |
children | 6580:74946f050209 6589:015f2b4e2f9a 6591:fe3018a2f187 |
files | configure |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Fri Feb 20 22:53:12 2015 +0000 +++ b/configure Tue Feb 24 15:19:20 2015 +0000 @@ -139,6 +139,7 @@ ;; --libdir=*) LIBDIR="$value" + LIBDIR_SET=yes ;; --datadir=*) DATADIR="$value" @@ -213,6 +214,11 @@ 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/'`"