From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id ACC9B6DE0F39 for ; Sun, 16 Jun 2019 08:18:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.698 X-Spam-Level: X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[AWL=-0.197, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T7UgzyjkXhdG for ; Sun, 16 Jun 2019 08:18:58 -0700 (PDT) Received: from ra.horus-it.com (ra.horus-it.com [94.130.34.199]) by arlo.cworth.org (Postfix) with ESMTPS id 401366DE0B2B for ; Sun, 16 Jun 2019 08:18:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ra.horus-it.com (Postfix) with ESMTP id BE73C48C19EC for ; Sun, 16 Jun 2019 17:18:52 +0200 (CEST) X-Virus-Scanned: at horus-it.com From: Ralph Seichter DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monksofcool.net; s=k1; t=1560698328; bh=Kp/I0SeAEE/KefD+gdkRShiorQkExboBjeZtATqTS2A=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: Content-Type; b=QE2+t5XZPKApuOYVkoest3pzvNQFgPFrRaPh693OoSrSI9SSqNVRphCFkSzIK6QCU v+X7XZegIYzBYyMQllOp5+9/h7cLB9XHr5+DjwOmx5Y18cI4TV/OzmjmH2AF2CSe6J eOnY8ijxcEH7yNTsX5FkW6uRIjaACILNB2ecIquyY4PdKtrsaLPOkfKjBgOdCMJyci uoYFxvu/19rkO/L+KIyfEPUy3A3Gc1AV6j6PuS7uck4OECADVQa3CYhphnEmeMPwDW tPO8MSNlc8hj2GbIP+qrGMD9D8SExSLzQ4lwpBqr+ln8gCyEdvkaXncr4369QDGaMo k23xtzmvRuhNw== To: notmuch@notmuchmail.org Subject: [PATCH] configure: fix mktemp call for macOS In-Reply-To: References: <5d03ff8e.1c69fb81.c82a3.d08e.GMR@mx.google.com> <87imt6hh3q.fsf@ra.horus-it.com> Mail-Followup-To: notmuch@notmuchmail.org Date: Sun, 16 Jun 2019 17:18:47 +0200 Message-ID: <877e9ltv6w.fsf@ra.horus-it.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jun 2019 15:18:59 -0000 Add missing template to mktemp, as required by macOS / OS X. Signed-off-by: Ralph Seichter --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 8b80f0e0..6e73b22e 100755 --- a/configure +++ b/configure @@ -529,7 +529,7 @@ int main () { return 0; } EOF - if ! TEMP_GPG=$(mktemp -d); then + if ! TEMP_GPG=$(mktemp -d "${TMPDIR:-/tmp}/notmuch.XXXXXX"); then printf 'No.\nCould not make tempdir for testing session-key support.\n' errors=$((errors + 1)) elif ${CC} ${CFLAGS} ${gmime_cflags} _check_session_keys.c ${gmime_ldflags} -o _check_session_keys \ -- 2.22.0 (This obsoletes id:87r27z63uk.fsf@ra.horus-it.com)