# HG changeset patch # User Matthew Wild # Date 1424791160 0 # Node ID 5a82ee60e07e273a85969452ec18b1f1c5e0a404 # Parent 6f55db7afd3bed9fdf594872ea8447c5a2f5d0de configure: Fix for commit cd0088c73daf - update LIBDIR if --prefix is set and --libdir isn't (thanks Medics) diff -r 6f55db7afd3b -r 5a82ee60e07e configure --- 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/'`"