From dee60b3659ffc63332d0ee011a687aba24b71f26 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 24 Feb 2015 15:19:20 +0000 Subject: configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics) --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index c27517fc..199f5fcf 100755 --- 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/'`" -- cgit v1.2.3