X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=e7bb7edcbda39ee4184689e7797532382c426d3e;hb=3eb25c94bd8fe4065d6df6d665ee393cb9a0ad6f;hp=6c3a38f1098ace4d563f5962d9470013e898175a;hpb=174ec2a28fc38df65434b7d805e0e657d17f335d;p=notmuch diff --git a/configure b/configure index 6c3a38f1..e7bb7edc 100755 --- a/configure +++ b/configure @@ -55,6 +55,8 @@ subdirs="${subdirs} bindings" # the directory structure and copy Makefiles. if [ "$srcdir" != "." ]; then + NOTMUCH_BUILDDIR=$PWD + for dir in . ${subdirs}; do mkdir -p "$dir" cp "$srcdir"/"$dir"/Makefile.local "$dir" @@ -78,6 +80,8 @@ if [ "$srcdir" != "." ]; then "$srcdir"/bindings/python-cffi/notmuch2 \ "$srcdir"/bindings/python-cffi/setup.py \ bindings/python-cffi/ +else + NOTMUCH_BUILDDIR=$NOTMUCH_SRCDIR fi # Set several defaults (optionally specified by the user in @@ -734,6 +738,7 @@ if command -v ${BASHCMD} > /dev/null; then printf "Yes (%s).\n" "$bash_absolute" else have_bash=0 + bash_absolute= printf "No. (%s not found)\n" "${BASHCMD}" fi @@ -744,6 +749,7 @@ if command -v ${PERL} > /dev/null; then printf "Yes (%s).\n" "$perl_absolute" else have_perl=0 + perl_absolute= printf "No. (%s not found)\n" "${PERL}" fi @@ -1245,6 +1251,7 @@ cat > Makefile.config < sphinx.config +cat > bindings/python-cffi/_notmuch_config.py <