X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=c86a227cd7268fe622303efeb86ebf5063285574;hb=8369ed31d0d687c35dc2464b347dadf16962cd27;hp=07bac08b8377d575b4a5ba7dbf0068b59e1ce7e7;hpb=b3076ed2693c6e32fd70a9ec78e36bc71727356e;p=notmuch diff --git a/configure b/configure index 07bac08b..c86a227c 100755 --- a/configure +++ b/configure @@ -167,6 +167,12 @@ for option; do fi done +# We set this value early, (rather than just while printing the +# Makefile.config file later like most values), because we need to +# actually investigate this value compared to the ldconfig_paths value +# below. +libdir_expanded=${LIBDIR:-${PREFIX}/lib} + cat </dev/null | sed -n -e 's,^\(/.*\):\( (.*)\)\?$,\1,p') + for path in $ldconfig_paths; do + echo "Checking $path compared to $libdir_expanded" + if [ "$path" = "$libdir_expanded" ]; then + libdir_in_ldconfig=1 + fi + done else printf "Unknown.\n" cat <