From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27955 invoked from network); 13 Jun 2023 07:36:53 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 13 Jun 2023 07:36:53 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1686641813; b=SirxvHUM97OSycGUpbKK/Wb5v9Jo1+PnbxDaVNb7SRV7AraHHXg5ure1gafULIZrOJsiBEQwJg b5haBmG3rCByC+tqeJoRYGf//fUYu6eoDrNoVcD7+1eiOjYtTrFXPt5Y7CSFimwrYNCXNPkA2P AosNI0axroh8jfm6i2uZ3XIGQ+0FC7Sj9hmA6/myamw9IND/mSWl+w1JqMor5xZ38XpP9RuQFF LzYmSda8jWAiwe1LpV4KW3cqzwSza01Zo2nMDpNxlx0y4oGeOhKpyHoGZffm2NeIYUUgFDBdJV n9yqhDZx8xUfJz48OcKjvMVa2FSJYnB98Et4vOfwGRUBhA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01012-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.28; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1686641813; bh=1ZPL5qZTKe4jwCTsliPgACHsL0CcRtsD6seEWGank3s=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=SErKp4wguwEsfODcqdY4Bok/rC+nQ+hksbBZUUP1tWE2rMAmufxtEgqFPEbbtKbDx+n7zsGsZH NChFu4ZH3FR4UidtzHYRsO5MbB2Lh5mxFVr2sRo0tsjVwKwrZixodXJ0cj7KgPGbNhyxY0H8Fk K/4st3Hsjc3Y7o9Ef4aqFYRndzfulGDkL0tI4rgaO0ixHKQ8tqFbGGLtQGf+ORcBmmg2iaO8pb AagbA5iL/LBENcOtAMZscSzQr2dAamSPY1b14LeJdDTNnotGj4mLTnZfaupIRroGNaxwOlbmmU zjDVlba5xqbdb6D3bEdobFfOvAN+oqkF8KOFBrKlxkZlWg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=1ZPL5qZTKe4jwCTsliPgACHsL0CcRtsD6seEWGank3s=; b=KyYuRAz9YwvW7eu2EFUp6yoq8v d3htD35M8frSTLL+sOboj+noXW0fild6S7EdutiMzfNyjG9RZFH7Hz7UEXwLzux2jatunu7tRMj3Y 8eRHdHCEh14/468ysgToq3m+2eEz70Hag43CFj0gNHiXt23XfUEnc2EMG+9ohMT5zqTrJqCQaFKg4 LlQaiqqktILih0xK+09W1HtQvdjf5KZkansNUz9wIAy5x1fksTivJfrznQPL60jkFc2ZqqiN8i1gn OsRpUQXcR0ywfXEj7TRWCXPwHr5bYq50aqVtE0pPzkoOoxF19n1sr+kRahZBP7WRisQKGJfXayqTF JGkWmDGQ==; Received: by zero.zsh.org with local id 1q8yaC-000BTw-0I; Tue, 13 Jun 2023 07:36:52 +0000 Authentication-Results: zsh.org; iprev=pass (snd01012-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.28; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01012-bg.im.kddi.ne.jp ([27.86.113.28]:18337 helo=dfmta1024.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1q8yZS-000BBc-PK; Tue, 13 Jun 2023 07:36:13 +0000 Received: from mail.biglobe.ne.jp by omta1024.biglobe.ne.jp with ESMTP id <20230613073600305.SOFN.39074.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Tue, 13 Jun 2023 16:36:00 +0900 From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: PATCH: migrate pcre module to pcre2 Date: Tue, 13 Jun 2023 16:35:59 +0900 References: <81584-1683329746.147485@6Tk5.mCsC.BbNC> To: zsh-workers@zsh.org In-Reply-To: <81584-1683329746.147485@6Tk5.mCsC.BbNC> Message-Id: <40C90E7D-9435-4803-8185-C92E2C637003@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 51859 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: If pcre-config is not available then pcre module is not built even if pcre2 is available. The simplest patch is the following. Or is it better to set enable_pcre=3Dno in configure.ac if pcre2-config is not available? diff --git a/Src/Modules/pcre.mdd b/Src/Modules/pcre.mdd index 6eb3c691b..26c7f6eee 100644 --- a/Src/Modules/pcre.mdd +++ b/Src/Modules/pcre.mdd @@ -1,5 +1,5 @@ name=3Dzsh/pcre -link=3D`if test x$enable_pcre =3D xyes && (pcre-config --version = >/dev/null 2>/dev/null); then echo dynamic; else echo no; fi` +link=3D`if test x$enable_pcre =3D xyes && (pcre2-config --version = >/dev/null 2>/dev/null); then echo dynamic; else echo no; fi` load=3Dno =20 autofeatures=3D"b:pcre_compile b:pcre_study b:pcre_match"