X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=configure;h=e7bb7edcbda39ee4184689e7797532382c426d3e;hb=2494e61b9ee6bbab4ac017136d7c6ee0de19b26d;hp=d399457a92f36cd75810d0d226143852f2a3a811;hpb=ab8d0e572537006a4e1dafa266075ed0d848c80f;p=notmuch diff --git a/configure b/configure index d399457a..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 @@ -1247,6 +1251,7 @@ cat > Makefile.config <