mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics)
This commit is contained in:
parent
5bab5b528a
commit
45e9902b57
1 changed files with 6 additions and 0 deletions
6
configure
vendored
6
configure
vendored
|
@ -139,6 +139,7 @@ do
|
||||||
;;
|
;;
|
||||||
--libdir=*)
|
--libdir=*)
|
||||||
LIBDIR="$value"
|
LIBDIR="$value"
|
||||||
|
LIBDIR_SET=yes
|
||||||
;;
|
;;
|
||||||
--datadir=*)
|
--datadir=*)
|
||||||
DATADIR="$value"
|
DATADIR="$value"
|
||||||
|
@ -213,6 +214,11 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$PREFIX_SET" = "yes" -a ! "$LIBDIR_SET" = "yes" ]
|
||||||
|
then
|
||||||
|
LIBDIR=$PREFIX/lib
|
||||||
|
fi
|
||||||
|
|
||||||
find_program() {
|
find_program() {
|
||||||
path="$PATH"
|
path="$PATH"
|
||||||
item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"
|
item="`echo "$path" | sed 's/\([^:]*\):.*/\1/'`"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue