From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id CF19F3857C56 for ; Sat, 22 May 2021 01:11:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CF19F3857C56 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 195A2340BB9; Sat, 22 May 2021 01:11:54 +0000 (UTC) Date: Fri, 21 May 2021 21:11:53 -0400 From: Mike Frysinger To: Naohiro Tamura Cc: libc-alpha@sourceware.org Subject: Re: [PATCH v4] configure: Replaced obsolete AC_TRY_COMPILE Message-ID: Mail-Followup-To: Naohiro Tamura , libc-alpha@sourceware.org References: <20210510140755.844333-1-naohirot@fujitsu.com> <20210511013454.895309-1-naohirot@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210511013454.895309-1-naohirot@fujitsu.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2021 01:11:59 -0000 On 11 May 2021 01:34, Naohiro Tamura wrote: > --- a/configure.ac > +++ b/configure.ac > > -[AC_TRY_COMPILE([], [ > +[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ > #ifdef _FORTIFY_SOURCE > # error bogon > -#endif], > +#endif]])], this can be AC_PREPROC_IFELSE -mike