X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=9b692b3e0f0bb45eb0e97ec5029e95c3c31ca4bf;hp=6c3a38f1098ace4d563f5962d9470013e898175a;hb=14c4f9441d7fe0893003a5e793e19f1e55c9f73f;hpb=25e0f5e59293ce961549201fdc74f81a3cc1675c diff --git a/configure b/configure index 6c3a38f1..9b692b3e 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 @@ -1245,6 +1249,7 @@ cat > Makefile.config <