projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb4aa8d
)
configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdi...
author
Matthew Wild
<mwild1@gmail.com>
Tue, 24 Feb 2015 15:19:20 +0000
(15:19 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 24 Feb 2015 15:19:20 +0000
(15:19 +0000)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index c27517fc9e8de60a0d3358f730d6933b99310954..199f5fcf8c0a9b45b24de6b6c264b73f2ba509e6 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-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/'`"