Software /
code /
prosody
Diff
configure @ 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 |
parent | 6574:cd0088c73daf |
child | 6580:74946f050209 |
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/'`"