From patchwork Tue Mar 8 14:17:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 594232 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D7AAE140BAC for ; Wed, 9 Mar 2016 01:18:19 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=EeJT/xUN; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; q=dns; s= default; b=BEPMMlzT4BxNe8jaK8FBGbsJionO3nBTbXUfqjiD3KSUwOEbNQ3HH bAo76n8qx1syO/g6AUbVJ5vHDDCZcD1YdnEiOykVDW0ce4VUvVVb5iUlh+Ic1e2R 1juPxdxztYwoPg9QZ7DIuUeQtpdJBx/WEw3wmu6Ya0H/GEnOBDx1gk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:mime-version:content-type; s= default; bh=97mXuBvwlVDULmVB2Fk4zVnXUQ0=; b=EeJT/xUNbgtAVuDo0UeC DpWX1GRe/nAHS/1eiMyXEtxcdYMcGF/2zo8rRuVqWGdRz61Hf+eDZm5j+PDMrqz3 q9KXEpBOJBpg2EoX62QTWUPCZaEBR/cH5mCREeeYXdArZlNECx5ufudDbnXnQANS tbOxWgYsbCV8HQMktRJrceg= Received: (qmail 86777 invoked by alias); 8 Mar 2016 14:18:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 86752 invoked by uid 89); 8 Mar 2016 14:18:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=AC_SUBST, ac_subst, Hx-languages-length:794, Substitute X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 08 Mar 2016 14:17:55 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F235EABAF for ; Tue, 8 Mar 2016 14:17:51 +0000 (UTC) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Subject: [PATCH] libcc1: rerun configure when gcc/BASE-VER changes X-Yow: I'm GLAD I remembered to XEROX all my UNDERSHIRTS!! Date: Tue, 08 Mar 2016 15:17:51 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 This is needed to get gcc_version updated. Andreas. * configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute. * configure: Regenerate. * Makefile.in: Regenerate. diff --git a/libcc1/configure.ac b/libcc1/configure.ac index 6c97afd..e2e3fda 100644 --- a/libcc1/configure.ac +++ b/libcc1/configure.ac @@ -50,6 +50,7 @@ AC_CHECK_DECLS([basename]) gcc_version=`cat $srcdir/../gcc/BASE-VER` AC_SUBST(gcc_version) +AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/../gcc/BASE-VER']) ACX_PROG_CC_WARNING_OPTS([-W -Wall], [WARN_FLAGS]) AC_SUBST(WARN_FLAGS)