From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SCCpL/ufzGH2JwEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 18:50:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yHc9KPufzGFk2gAAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 18:50:51 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5BA4421842 for ; Wed, 29 Dec 2021 18:50:51 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id EB4805F713; Wed, 29 Dec 2021 17:50:47 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id C50675F6C2 for ; Wed, 29 Dec 2021 17:50:44 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 524B11B0001D; Wed, 29 Dec 2021 19:50:43 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640800243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=40+KKPI48W0kt4MW070bhjB3fbSYETxTnog1kvn2BJU=; b=qmylKI1g3PTLi71OfAZQyJgplZujCzAD49dvQKVQx73yR2L45nUb0+dWcUZozuHTnkE8im /qE/Z/GAXg/Ls00ay5ycpqJe9lYYias+OnPlxPvtk3g33YwR1wlRz+B78k1nxgjk9nGRYf ESZOBo+1v68XbHlSk/LCU2hHGsZWTgIqx2IUT05Nk3+BRtrFSV7J+hgBy2SEb2n24nNgci 4cgjBU2xLrU9N8s7SM2pyUey666hYisuvVEDg6ih3dkNPrW3c098aJg8MOgZjwINQwgv+e 9Ld5p4sHBPfSA300N1b6ynZJ5eslHku8dux/xGs/+H81BFxRMHpZPyNdtM10zw== From: Tomi Ollila To: David Bremner , notmuch@notmuchmail.org Subject: Re: [PATCH] configure: calculate NOTMUCH_BUILDDIR, write to Makefile.config In-Reply-To: <20211223014445.1418772-1-david@tethera.net> References: <20211223014445.1418772-1-david@tethera.net> User-Agent: Notmuch/0.33+54~gcaf4513 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1640800243; a=rsa-sha256; cv=none; b=X5yeL3pHQi5OvH0A7jRLEFU5rJx3isGFzPx9xgDBKCEzvpxKA41+jIw5UMS5eP4WKbedDm apQRa1fe1xmmaFsmZs/ID1by7qi7BPe5wroL5ztT5FD2ZtSeYKV4FRBSeN2NIlTbQUTpJM PzE0C+zgb04KxwV9eE9SoRcW7BW0HEv6j5Rg0n2KKucfVD+t4y4Wp3JFXeagwuW7jB3nr/ 2a2us4mQOzcQSlM1aGivrAqeAys+LxaUJj/8wN7jQGjKILltJ5A8eAMX7hCBUyw/1Djxkq t4+CGPRTbTgt309U96K1Ow5vKlJ6pDu/6KtnxaOf1gvJo6VzQudbnm17/OhToA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640800243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=40+KKPI48W0kt4MW070bhjB3fbSYETxTnog1kvn2BJU=; b=ZiS5zVzRsrJf3HdNwuKD0AW7NeBoqgLdpzv5ko0N72h0LDMRd7+so2iiSIAwdG4q0jIXMt qQKpngCYpOjaeXNeoiiZ5LbF/WlFYCOEOuR4YwJz34DSFPgYJUj9JaJdYiUa/SoUdcfZrE BJ4M5BVPKiy8xUA6QFBEdcmdxyhz3Uo24zFezEdfMY1A7eyMoLUnGbd9sSP4KhCK3xgxSU t0hKEhu0RnXDOmcG0gLz99knyMCkPm5Ne3csnBjtQVAQzjIFxH4Ix7vcJwZr6arlUHN2FL uwz08NBFi3wAe9FU5bEHKpcbsNFeGxxGRuv5TusMlZ+fueBegPNGdrkoyUd72w== Message-ID-Hash: 4RA4E3OXA73Q7UARZPHSHEMA2UCDO7ZF X-Message-ID-Hash: 4RA4E3OXA73Q7UARZPHSHEMA2UCDO7ZF X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640800251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=zaVVL2FRF5UXo32aG4SxCGgWtTmRKaAmyp3GZIhBNvY=; b=W3YY5QfR+H7T0U8sVP7X2SnfCqswZlZ9RdiHegfM/f789VTv2GPsNL0xCQ97xjUCXIpfyj h6Nublf5rsSDU52CPuY5vWco4znoPPVP7QeCcDS3/zIjRT/JFM976HyK0CYKUjCKxQ8WTf pJFpodNdjZb7FPP9DkvMnkP3UPlvWWlIt3uyqzgZUFmr6qqfpty3kF9ovRS8r7Y7VWAswk LY/qljTG8ycaWP5IKy3mzb9acRv8BEOtv36UQaTHprYjNwHg1T5W2swmXD7AdzjTxcuNyp R6kii5/iWEZhD+yBdBu1z5a0onYAZftNprbjE7JR12K2iZMg8XIDPB6+ooUavg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1640800251; a=rsa-sha256; cv=fail; b=Wawm1WcZ5AwG5lBea0KGD/zsXAieEFrwIRqVwq7WcCFgrm0IurmrITGm51+yo9kCqumppy YCwB6Ww6EYeV04Q6Xiw75PLoDfwagT3n1PJv94NGulCVoNrD1MrT95rVR7/+moh1La8vUX f0870bNk7bzseXUXTm0shI7I7LsvLA6+hPde2rDGn4ZeHgO/l5I0lpKDAuxYMqAAawV4i6 3SCGLhAmsG4N28PW3KorV8/Btc3qXCOKqesoa9NgUKB1y0H0KvPmc2qTb7rBMvhyIyyoDO nr1u1ARHlc3+Sb2LBFNjlgRi0Dy4aroFQ0PL2j7j2ajO9TVKbwCC2p74e5Q7Kw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=qmylKI1g; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=qmylKI1g; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5BA4421842 X-Spam-Score: -0.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: AOIIk27jzJrX On Wed, Dec 22 2021, David Bremner wrote: > This will correct the current use of an undefined variable when > setting LD_LIBRARY_PATH in doc/Makefile.local > > It is tempting to try to replace the use of test/export-dirs.sh, but > this is not as simple as it looks, as NOTMUCH_BUILDDIR is used to > locate sh.config, so probably cannot also sensibly be used to define > it. LGTM. Tomi > --- > configure | 5 +++++ > 1 file changed, 5 insertions(+) > > 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 < # directory (the current directory at the time configure was run). > srcdir = ${srcdir} > NOTMUCH_SRCDIR = ${NOTMUCH_SRCDIR} > +NOTMUCH_BUILDDIR = ${NOTMUCH_BUILDDIR} > > # subdirectories to build > subdirs = ${subdirs} > -- > 2.34.1 > > _______________________________________________ > notmuch mailing list -- notmuch@notmuchmail.org > To unsubscribe send an email to notmuch-leave@notmuchmail.org