X-Mailman-Version: 2.1.6 X-MS-Exchange-Senderadcheck: 0 X-Microsoft-Antispam-PRVS: X-Ironport-Anti-Spam-Result: A2DuBAChSQZg/7Jfe4BiDhABAQsSDECFSIUgiQSMS5hAAgkBAQEBAQEBAQE4BAEBhj0mOBMCAwEBAQMCBQEBBgEBAQEBAQUEhhlFhh2BCwImAoQYgwevMYEyhVmDGgEJDYFDgQ4qjXiCAIE4DBCIH4JMNIIsBIM1B591m1mDAQSBGJpMAgEfgSKRbY9bsXqGBoF6TSUTZQGCPz0SGQ2cKmAhagIGAQkBAQMJjSkBAQ Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-Mailer: Apple Mail (2.3654.40.0.2.32) X-MS-Oob-TLC-Oobclassifiers: OLM:8882; Authentication-Results: spf=pass (sender IP is 128.123.34.145) smtp.mailfrom=nmsu.edu; mit.edu; dkim=none (message not signed) header.d=none; mit.edu; dmarc=bestguesspass action=none header.from=nmsu.edu; From krb5-bugs-incoming-bounces@PCH.mit.edu Tue Jan 19 00:18:46 2021 X-MS-Office365-Filtering-Correlation-ID: 1c7e6603-acb8-41d6-5e63-08d8bc25bf9d X-MS-Exchange-Transport-Forked: True X-MS-Exchange-Crosstenant-Authas: Anonymous X-Forefront-Antispam-Report: CIP:128.123.34.145; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mailrelay8.nmsu.edu; PTR:mailrelay8.nmsu.edu; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(136003)(39860400002)(336012)(498600001)(426003)(956004)(68406010)(33656002)(6966003)(2616005)(75432002)(36756003)(6266002)(26005)(7636003)(70586007)(356005)(7596003)(2906002)(5660300002)(316002)(8676002)(4744005)(86362001)(786003)(34206002); DIR:OUT; SFP:1102; X-Eopattributedmessage: 0 Arc-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none content-type: text/plain; charset="utf-8" X-Beenthere: krb5-bugs-incoming@mailman.mit.edu Content-Transfer-Encoding: 8bit Arc-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OQ29P+3ep43sOrMMFyY1+MiK5eYMAEDWrLwcaEzipnenNAPgU0fF0Bt1YqxCXivImTGTZ3imTton0fILkAXMj9OdpayrEPdTOwyi4uksWwNMYn7uilovEtTpl1LM88gFk6dR4c/VWRU3mb4+oJNl6mBAQYcJqvGz9pbXWDAerflBB/2T1sCsnUbpO90TUF0FYLUWbUcO85BrXblUA+e3TC6WZuGERPzLrwi6fGoS/KX+zxoQyGCMlKhmWsxsj1ssMrsvvO0aLQhzKvvwAnD1imGwdYV5sUckcOi1I6eyumofaqwQ+N7eB2bVuqjNL7qvf7pSSXzM++10xxdabnr46A== X-Ironport-Anti-Spam-Filtered: true From: "Brook Milligan" Received: from PCH.mit.edu (PCH.MIT.EDU [18.7.21.50]) by krbdev.mit.edu (Postfix) with ESMTPS id B5721407A7; Tue, 19 Jan 2021 00:18:46 -0500 (EST) Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 10J5Ikab015903; Tue, 19 Jan 2021 00:18:46 -0500 Received: from outgoing-exchange-1.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 10J2u1Bw031678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 18 Jan 2021 21:56:02 -0500 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 10J2toHM024969 for ; Mon, 18 Jan 2021 21:56:01 -0500 Received: from w92expo28.exchange.mit.edu (18.7.74.34) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Mon, 18 Jan 2021 21:55:51 -0500 Received: from oc11exhyb1.exchange.mit.edu (18.9.1.60) by w92expo28.exchange.mit.edu (18.7.74.34) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Mon, 18 Jan 2021 21:55:59 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by oc11exhyb1.exchange.mit.edu (18.9.1.60) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 18 Jan 2021 21:55:59 -0500 Received: from MWHPR08CA0050.namprd08.prod.outlook.com (2603:10b6:300:c0::24) by DM5PR0102MB3559.prod.exchangelabs.com (2603:10b6:4:a2::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Tue, 19 Jan 2021 02:55:59 +0000 Received: from CO1NAM11FT003.eop-nam11.prod.protection.outlook.com (2603:10b6:300:c0:cafe::b5) by MWHPR08CA0050.outlook.office365.com (2603:10b6:300:c0::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9 via Frontend Transport; Tue, 19 Jan 2021 02:55:59 +0000 Received: from mailrelay8.nmsu.edu (128.123.34.145) by CO1NAM11FT003.mail.protection.outlook.com (10.13.175.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.12 via Frontend Transport; Tue, 19 Jan 2021 02:55:58 +0000 Received: from senecio.nmsu.edu (HELO senecio-3-20.nmsu.edu) ([128.123.95.178]) by smtp8.nmsu.edu with ESMTP; 18 Jan 2021 19:55:57 -0700 Received: from [10.11.0.130] (174-28-7-231.albq.qwest.net [174.28.7.231]) by senecio-3-20.nmsu.edu (Postfix) with ESMTPSA id 12F7F4E5D6DD for ; Mon, 18 Jan 2021 19:55:56 -0700 (MST) X-Ironport-Av: E=Sophos;i="5.79,357,1602568800"; d="scan'208";a="178217413" Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R5Osi0Fs5bW3og/5W3Yvn4kqqpr+M44cgK0DAdgGFUE=; b=dYpESpYjBAlI+tCB455EThfxYLTx6nWWRmTfrKByI0/+yMzYpB5AHWRhv8pnmt8fUFSbhqscbf5oBbWQ+n6L3VpXzYzHVyocmGm6l1M4VhApQn4D9fN8VX0BxtxRKZeZgKsEbpzoN3+ejA7gC5g7g92b/RDuLhNZEVJ7873BLG8qja+AiYMCSwydJW9742yTbyZVGM6VJbQQV6c1FojNprLmX4gfyiT5Fqc9wIkR4Ei8ijvAMhxb0UBKGJrceXmKWu5dv5rPv7sNmHsqgnFLwRVSMpeKnfx/5kcgRnypwG/2F4hTgZbW3d8bvE3sqnoDufMomLwGQTHlBrozgHLClA== Received-SPF: Pass (protection.outlook.com: domain of nmsu.edu designates 128.123.34.145 as permitted sender) receiver=protection.outlook.com; client-ip=128.123.34.145; helo=mailrelay8.nmsu.edu; Sender: krb5-bugs-incoming-bounces@PCH.mit.edu To: krb5-bugs@mit.edu X-RT-Incoming-Encryption: Not encrypted Message-ID: <71999065-8334-4686-951C-8611487DA18E@nmsu.edu> Ironport-SDR: tXHLjkFXwoaPOl4wRzEQ+da2WoEs0vAjBSpJevlNDwb9ZuYdF/yXKD8jm8iptTe6qgsi3W4pem YS+ChM6uRQENokpeBpgc0FcIpZLJt3vW/z+Mo/1VpelcgHcDeSRVCykdxhB+XrURZb6K1nl9FV rjGpkR/tz/P/bsTJg7lzizuUZJ7usPGsTeLWUahTmSlW7L0q2/7sqyDTcHIEQTpIJNbMc46oQX 2lWBZJnC7Xdc5UQg04F4QBQ/Bv2eNIQ1qN1yvXs820UJZzBoe82KolFGRaCurwki0c1NMbnPUt 6lg= X-MS-Exchange-Crosstenant-Originalarrivaltime: 19 Jan 2021 02:55:58.4650 (UTC) Subject: Portability bug in aclocal.m4 X-Microsoft-Antispam: BCL:0; X-MS-Exchange-Transport-Crosstenantheadersstamped: DM5PR0102MB3559 X-LD-Processed: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b,ExtAddr Return-Path: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R5Osi0Fs5bW3og/5W3Yvn4kqqpr+M44cgK0DAdgGFUE=; b=M1AFbSEAhfj/1A9L9d5SpMdgszqQ9bH1qTFvP05ZImUqrEW2Z516ZsXb6qCV3okIOp8lcz5qL8C0vgeHUZGmMW1W6P882HpacezJecs+Es055l5xiJzc2hIEkOLNNJ5lib61+DDsLxkJiFwZEtuvHx6Rbm49xTb7X4nlKPoeRTY= X-MS-Exchange-Crosstenant-Authsource: CO1NAM11FT003.eop-nam11.prod.protection.outlook.com X-Ironport-Nmsu-Outbound: mailrelay8.nmsu.edu 01/18/21 19:55:58 X-Mailman-Approved-At: Tue, 19 Jan 2021 00:18:44 -0500 X-MS-Exchange-Crosstenant-Fromentityheader: Internet X-Originatororg: mitprod.onmicrosoft.com X-Microsoft-Antispam-Message-Info: ezx5gsh77msLOzFZH7qlhqMhZyh54BrZNQdehVE2OlfI1LOo/hwLZ8Y2es1Ti2MB40BzeajN5n6APR1vvdwqkGOyavTMhgca+Q/GkFv51L0K8q3Q8qEtuDmEkSSXhaL10tNFprlMNULCZkcO63wYG3sw6Cm28Oh5ZruUMhoQbooBBqq+6FhCCQd9okje9mSL48IXAEqdMWuuJxtkAtfGq7WjzBOzK+ydwH0oQTI3Gebd4REs0l1/trC8uL5nG9RaZsZP9T/FIppmA4kSQswpU9qjb1ufcMZy0T8IkmTTC5VzBnh9fnVZXKsgsM68PifD7mJ4KNOMXGHNZfCb/aox9U/HEM0JL/rvdujEd4r2rYEqvd440g9PbmQZCONhZg5s9DYZYTZ1oEv1IYhP0sawW29oksFLsm7TMPiV/4zVHoIY8VWKTLOaP6+jp5roFkm4 X-Auto-Response-Suppress: DR, OOF, AutoReply X-MIME-Autoconverted: from quoted-printable to 8bit by PCH.mit.edu id 10J2u1Bw031678 X-MS-Exchange-Crosstenant-Network-Message-ID: 1c7e6603-acb8-41d6-5e63-08d8bc25bf9d MIME-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) X-MS-Exchange-Atpmessageproperties: SA X-MS-Publictraffictype: Email X-MS-Traffictypediagnostic: DM5PR0102MB3559: Precedence: list X-Eoptenantattributedmessage: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b:0 Date: Mon, 18 Jan 2021 19:55:55 -0700 X-MS-Exchange-Crosstenant-ID: 64afd9ba-0ecf-4acf-bc36-935f6235ba8b X-RT-Original-Encoding: utf-8 X-RT-Interface: Email Content-Length: 1030 Empty bodies in shell conditionals are not portable. Some shells allow them; others do not. POSIX does not allow them other than as an extension. As a consequence, including empty conditional bodies in configure scripts intended to be portable is a bug. An empty conditional body can occur in the configure script generated for Kerberos by the following code fragment in aclocal.m4. If AC_CONFIG_AUX_DIR() generates no code, this conditional reduces to "if condition; then else … fi” with an empty then body. Some shells then fail with an “unexpected else” error. The correct fix seems to be to add a colon to ensure that the then body is never empty. Cheers, Brook --- aclocal.m4.orig 2020-05-22 00:21:40.000000000 +0000 +++ aclocal.m4 @@ -15,6 +15,7 @@ ac_config_fragdir=$ac_reltopdir/config # echo "Looking for $srcdir/$ac_config_fragdir" if test -d "$srcdir/$ac_config_fragdir"; then AC_CONFIG_AUX_DIR(K5_TOPDIR/config) + : else AC_MSG_ERROR([can not find config/ directory in $ac_reltopdir]) fi