From patchwork Tue Feb 26 01:00:56 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: 10829335 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 5E6951515 for ; Tue, 26 Feb 2019 01:00:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F9C12BB88 for ; Tue, 26 Feb 2019 01:00:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32FB62BC45; Tue, 26 Feb 2019 01:00:41 +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 71C842BB88 for ; Tue, 26 Feb 2019 01:00:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A39389C0D; Tue, 26 Feb 2019 01:00:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5E9CC89C0D for ; Tue, 26 Feb 2019 01:00:34 +0000 (UTC) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20190226010031epoutp04f1145423c6689a25ca272c845cba62f8~GxC-fruqH0975909759epoutp04U for ; Tue, 26 Feb 2019 01:00:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20190226010031epoutp04f1145423c6689a25ca272c845cba62f8~GxC-fruqH0975909759epoutp04U Received: from epsmges1p3.samsung.com (unknown [182.195.40.156]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20190226010028epcas1p38d6e2d027a65d891a01ddf4acce98ffb~GxC8-jzxX1340813408epcas1p3j; Tue, 26 Feb 2019 01:00:28 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id D5.BD.04069.CAF847C5; Tue, 26 Feb 2019 10:00:28 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20190226010027epcas1p3c208c98dcdcd42447edec05052e0ac91~GxC8EBaDi3070230702epcas1p3c; Tue, 26 Feb 2019 01:00:27 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190226010027epsmtrp101763ffe853d137c9f06b02b76b2bc56~GxC8DMiZd2815728157epsmtrp1m; Tue, 26 Feb 2019 01:00:27 +0000 (GMT) X-AuditID: b6c32a37-971ff70000000fe5-04-5c748fac81bc Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 79.BA.03601.BAF847C5; Tue, 26 Feb 2019 10:00:27 +0900 (KST) Received: from localhost.localdomain (unknown [10.113.221.222]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190226010027epsmtip21b4602f987d448a35c3f1150488b90fe~GxC73tO3M1018010180epsmtip2g; Tue, 26 Feb 2019 01:00:27 +0000 (GMT) From: Seung-Woo Kim To: dri-devel@lists.freedesktop.org Subject: [RESEND][PATCH libdrm] configure.ac fix build error for config.h in autotools Date: Tue, 26 Feb 2019 10:00:56 +0900 Message-Id: <1551142856-14749-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrHKsWRmVeSWpSXmKPExsWy7bCmnu6a/pIYgyN/lS2m3dnNanHl63s2 iz1X7zFZzJj8ks2BxaP10l82j52z7rJ73O8+zuTRt2UVYwBLVLZNRmpiSmqRQmpecn5KZl66 rZJ3cLxzvKmZgaGuoaWFuZJCXmJuqq2Si0+ArltmDtBOJYWyxJxSoFBAYnGxkr6dTVF+aUmq QkZ+cYmtUmpBSk6BZYFecWJucWleul5yfq6VoYGBkSlQYUJ2xssNb9kKjrBVvLp9gK2BcTtr FyMnh4SAicTX34fYuxi5OIQEdjBKvFp5hg3C+cQocXXuHkYI5xujxLL9y1lgWuas3sAMkdjL KNG5+CRU/xdGiaVbnoINZhPQkdi/5DeYLSKgLPF34ipGEJtZIFBi6erLbCC2sECExLFt55hB bBYBVYm9rV1gcV4BN4nt0+9AHaggseDeW7CbJAReskr8mPgDKuEi8aBxMhOELSzx6vgWdghb SuJlfxuUXS2xfcJPdojmDkaJnvZGqB+MJfYvBWnmALpIU2L9Ln2I4/gk3n3tYQUJSwjwSnS0 CUFUq0jsPDqJDSIsJTFrQzBE2EPi9Yu/YG8JCcRK3P+3jn0Co8wshJkLGBlXMYqlFhTnpqcW GxYYI8fMJkZw2tEy38G44ZzPIUYBDkYlHl6FR8UxQqyJZcWVuYcYJTiYlUR4hcpKYoR4UxIr q1KL8uOLSnNSiw8xmgIDbCKzlGhyPjAl5pXEG5oaGRsbW5gYmpkaGiqJ8653cI4REkhPLEnN Tk0tSC2C6WPi4JRqYEyLNFllz+LHYbHhSsdenefKGZ9WXggVnDbxj20Hh6w1++nAH9mZdRzn 9ZwzP21oTPTqvnW5pDGGUbzk5sULz1OUJn8/MYmvYNL0jU+4OWquZ0vnlr2+s0BJUVjcXfGC TcM/G8/e/h1MT1c/MGLsUEtfPWPa97LAg1OnHewUiD60n9e15tIVVyWW4oxEQy3mouJEAEHV iR9RAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJMWRmVeSWpSXmKPExsWy7bCSvO7q/pIYg5aphhbT7uxmtbjy9T2b xZ6r95gsZkx+yebA4tF66S+bx85Zd9k97ncfZ/Lo27KKMYAlissmJTUnsyy1SN8ugSvj5Ya3 bAVH2Cpe3T7A1sC4nbWLkZNDQsBEYs7qDcxdjFwcQgK7GSX65j1lh0hIScz9tp2xi5EDyBaW OHy4GKLmE6PE1Bc7GUFq2AR0JPYv+Q02SERAWeLvxFVgcWaBYIkHPZ9YQGxhgTCJtceawGay CKhK7G3tYgOxeQXcJLZPvwN1hILEgntv2SYw8ixgZFjFKJlaUJybnltsWGCUl1quV5yYW1ya l66XnJ+7iREcHlpaOxhPnIg/xCjAwajEw6vwqDhGiDWxrLgy9xCjBAezkgivUFlJjBBvSmJl VWpRfnxRaU5q8SFGaQ4WJXFe+fxjkUIC6YklqdmpqQWpRTBZJg5OqQZGufdyxnc79uSrnPFf c36PXMOrVb9nS25IlQ+b0O2ftKPMxvrysl28njeF7Q7JHZgU2mlY63Do2ULzTpX+fSqHyvL2 MPUJ/WJwWd18+Gyp+Zf184rUJ2faFR5LC1hVVnUy4GLS7LO5yqI1z3ftWKw5IyHaTnH19N97 zXfHvFHvO/R15t/yaObDSizFGYmGWsxFxYkApM1CewsCAAA= X-CMS-MailID: 20190226010027epcas1p3c208c98dcdcd42447edec05052e0ac91 X-Msg-Generator: CA CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190226010027epcas1p3c208c98dcdcd42447edec05052e0ac91 References: X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1551142831; bh=t0pAZCQvuUQj8BRY5f0W4yf9EcvR59e8xmJjXt6UtzU=; h=From:To:Cc:Subject:Date:References:From; b=jaN7+GPAFHfhFgZ6yp8HcF6diCSKCDvwtCZihbLNcxn5xdxpyPvvrk5ISk9pYwOzz DjdmuzdgBMykTWX47jI9YNlEwf9hcuUiSlyP9jWGHewOLlIhKu377Kr9ZJKgtRmtF5 ZmZOs9wbPWxzjRnRWKQm6vvBxNA/PFDsEq+QqCtU= 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: alexander.deucher@amd.com, sw0312.kim@samsung.com, emil.l.velikov@gmail.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 Reviewed-by: Eric Engestrom --- It looks like missed from mailing list, so I resend. --- 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([