From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 875723858D3C; Mon, 14 Nov 2022 20:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 875723858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668459375; bh=I4u+LgbsF3JwVEpdHBEIoDEUIaClwP/1rbh4U9u7xiI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yyfOUrcBL2MX5PPgs5fWoULz62nRtWPnoMY7oQ/7mDTY9LzsU9NoNjp6G2I/SrF+D RzRvTM0YD4JTeBMQnMHU6I1iqVBhsglx7CjXTSOW1TK+hwJuf0DvLrC661qatEjMM/ /zKOLbG/ScxiiafZkTeJQb2RNnfX4R3VmSKymXE8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/107691] [10/11/12/13 Regression] libcpp configure fails on empty expansion Date: Mon, 14 Nov 2022 20:56:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107691 --- Comment #3 from Andrew Pinski --- have_valgrind_h is never set anywhere. Adding before that code in configure.ac: dnl # This check AC_REQUIREs various stuff, so it *must not* be inside dnl # an if statement. This was the source of very frustrating bugs dnl # in converting to autoconf 2.5x! AC_CHECK_HEADER(valgrind.h, have_valgrind_h=3Dyes, have_valgrind_h=3Dno) Should fix the issue I think.=