From patchwork Thu Feb 21 08:04:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seung-Woo Kim X-Patchwork-Id: 10823271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DDBF15AC for ; Thu, 21 Feb 2019 08:14:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76F3B2E2DC for ; Thu, 21 Feb 2019 08:14:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 695E62FAFE; Thu, 21 Feb 2019 08:14:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 32FE22E2DC for ; Thu, 21 Feb 2019 08:13:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0D5C89369; Thu, 21 Feb 2019 08:13:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 581 seconds by postgrey-1.36 at gabe; Thu, 21 Feb 2019 08:13:55 UTC Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6021389369 for ; Thu, 21 Feb 2019 08:13:55 +0000 (UTC) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20190221080412epoutp0153065c48b068657ad8d7bb9274127608~FUme845CT0981809818epoutp01Y for ; Thu, 21 Feb 2019 08:04:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20190221080412epoutp0153065c48b068657ad8d7bb9274127608~FUme845CT0981809818epoutp01Y Received: from epsmges1p5.samsung.com (unknown [182.195.40.156]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20190221080408epcas1p3eea40c659ddd8c15d979d7433267b2c9~FUmbtP3xE0576805768epcas1p39; Thu, 21 Feb 2019 08:04:08 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 43.CC.04206.67B5E6C5; Thu, 21 Feb 2019 17:04:06 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190221080406epcas1p22121a8487c87403a2a03253168f5a097~FUmZR2vdG2368423684epcas1p2N; Thu, 21 Feb 2019 08:04:06 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190221080406epsmtrp23557a29953526782e418219ad7c6ff8c~FUmZQ_siw0283202832epsmtrp2y; Thu, 21 Feb 2019 08:04:06 +0000 (GMT) X-AuditID: b6c32a39-d65ff7000000106e-b3-5c6e5b760e64 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CA.40.03971.57B5E6C5; Thu, 21 Feb 2019 17:04:06 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.221.222]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190221080405epsmtip128bc37ed2854765a33bedc109a880f02~FUmZGF45G1833918339epsmtip1G; Thu, 21 Feb 2019 08:04:05 +0000 (GMT) From: Seung-Woo Kim To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm] configure.ac fix build error for config.h in autotools Date: Thu, 21 Feb 2019 17:04:32 +0900 Message-Id: <1550736272-13147-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7bCmnm5ZdF6MwadHZhZXvr5ns9hz9R6T xZqWjUwWMya/ZHNg8dg56y67R8/OM4we97uPM3n0bVnFGMASlW2TkZqYklqkkJqXnJ+SmZdu q+QdHO8cb2pmYKhraGlhrqSQl5ibaqvk4hOg65aZA7RTSaEsMacUKBSQWFyspG9nU5RfWpKq kJFfXGKrlFqQklNgWaBXnJhbXJqXrpecn2tlaGBgZApUmJCdcWTLEvaCTraKhR8vszYwdrJ2 MXJySAiYSExf/Z65i5GLQ0hgB6PE/GMbWCGcT4wSG3edZYRwvjFKHL64ESjDAday9KUpRHwv UMeNrewQzhdGiS1r/jGCzGUT0JHYv+Q32A4RAWWJvxNXgcWZBQIl1p2/xg5iCwsESFy+sAIs ziKgKnFmwzsmkAW8Am4SRyaVQpynILHg3ls2kPkSAi9ZJS4umgZ1hIvErONSEDXCEq+Ob2GH sKUkPr/bywZhV0tsn/CTHaK3g1Gip72RBSJhLLF/6WSwXcwCmhLrd+lDnMYn8e5rD9R4XomO NiGIahWJnUcnsUGEpSRmbQiGCHtIXN45iwnEFhKIlbg9+Q/zBEaZWQgzFzAyrmIUSy0ozk1P LTYsMEWOlk2M4ISjZbmD8dg5n0OMAhyMSjy8GyJyY4RYE8uKK3MPMUpwMCuJ8DIH5cUI8aYk VlalFuXHF5XmpBYfYjQFBtdEZinR5HxgMswriTc0NTI2NrYwMTQzNTRUEudd7+AcIySQnliS mp2aWpBaBNPHxMEp1cDoxrmmMCctxbW+QTxQ5cWVZQHRzEYVNe35dpe9WvK4un9zPn2ve2za pUkBdQFPNDSWB/g7/H1zPPu/7NEbNU9nmu0ym/n38Kz4mYlnm28uu/D3+kqNBzefyd2yV330 c1KR8OVvk87M6Ym9M8WNW0PwWtxdza7Op42Hddg/P530cvOV1WnXJRjuKrEUZyQaajEXFScC ABd5Cf9OAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsWy7bCSnG5ZdF6MwaVTTBZXvr5ns9hz9R6T xZqWjUwWMya/ZHNg8dg56y67R8/OM4we97uPM3n0bVnFGMASxWWTkpqTWZZapG+XwJVxZMsS 9oJOtoqFHy+zNjB2snYxcnBICJhILH1p2sXIySEksJtRonNOCYgtISAlMffbdkaIEmGJw4eL uxi5gEo+MUqs393FCFLDJqAjsX/Jb1YQW0RAWeLvxFVgcWaBYIkVF7aCxYUF/CSezFjLAmKz CKhKnNnwjglkJq+Am8SRSaUQqxQkFtx7yzaBkWcBI8MqRsnUguLc9NxiwwLDvNRyveLE3OLS vHS95PzcTYzgwNDS3MF4eUn8IUYBDkYlHl6O6NwYIdbEsuLK3EOMEhzMSiK8zEF5MUK8KYmV ValF+fFFpTmpxYcYpTlYlMR5n+YdixQSSE8sSc1OTS1ILYLJMnFwSjUwRs+Y8iryOHtj2a8P N/s3T4/sLub/tvhKip4To5PaJeGz5ffn9eR/+Zum2KLW+Llvxjy+FKaHO00mrqsqK2Laynrk 7pqXJ42TK7lfpP7ZMX/Wes1dU32fP9D9apDzNjNXT3nGL5FZxntUX+3+HbyMf3rpjkX7mXqZ Ps/Iitf9sthXxdtfaJ37HyWW4oxEQy3mouJEAG82CE0IAgAA X-CMS-MailID: 20190221080406epcas1p22121a8487c87403a2a03253168f5a097 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190221080406epcas1p22121a8487c87403a2a03253168f5a097 References: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550736252; bh=j5mxAtSQhYI6jcCsTCyLS8QuSiwaTxjnnJdPvMjw2jU=; h=From:To:Cc:Subject:Date:References:From; b=JwlQI8YWaVSPZiVbQT+zr/dj0eL8Is9xDa0GLpAyZN5WrPXXrMalm6T2lLkPxp+JV 7kVP3iXsYDdgYp+TvATwJWtGLEJi5zo0hQE0qDzV3kY8HhPVD63IAin2eYB7f1xO9J 81oxs+OykI9zkT52RFAWQkw1Qy8rKuCS5tgZ5+Ys= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: eric.engestrom@imgtec.com, emil.l.velikov@gmail.com, sw0312.kim@samsung.com MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP After the commit 0926f0af54d6 ("meson,configure: include config.h automatically"), there is build error for autotools because config.h is not included. Fix the error by adding "-include config.h" to CPPFLAGS instead of CFLAGS from configure.ac. Reference: https://bugs.freedesktop.org/show_bug.cgi?id=106561 Signed-off-by: Seung-Woo Kim --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 7e7c8d3..d72e84a 100644 --- a/configure.ac +++ b/configure.ac @@ -541,7 +541,7 @@ else AC_DEFINE(HAVE_VISIBILITY, 0) fi -CFLAGS="$CFLAGS -include config.h" +CPPFLAGS="$CPPFLAGS -include config.h" AC_SUBST(WARN_CFLAGS) AC_CONFIG_FILES([