From patchwork Wed Oct 28 12:46:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UsODwqltaSBDYXJkb25h?= X-Patchwork-Id: 56277 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9SClZUA005950 for ; Wed, 28 Oct 2009 12:47:35 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CDB1F9F3C5; Wed, 28 Oct 2009 05:47:34 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by gabe.freedesktop.org (Postfix) with ESMTP id 978459E95D for ; Wed, 28 Oct 2009 05:47:29 -0700 (PDT) Received: from smtp2-g21.free.fr (localhost [127.0.0.1]) by smtp2-g21.free.fr (Postfix) with ESMTP id D59914B01CA for ; Wed, 28 Oct 2009 13:47:25 +0100 (CET) Received: from localhost.localdomain (bne75-10-88-178-16-229.fbx.proxad.net [88.178.16.229]) by smtp2-g21.free.fr (Postfix) with ESMTP id E737D4B0188 for ; Wed, 28 Oct 2009 13:47:22 +0100 (CET) From: =?UTF-8?q?R=C3=A9mi=20Cardona?= To: intel-gfx@lists.freedesktop.org Date: Wed, 28 Oct 2009 13:46:39 +0100 Message-Id: <9d0cc6c09f29f4e322158ddb4a8f2acf82eb34b3.1256733443.git.remi@gentoo.org> X-Mailer: git-send-email 1.6.5.1 In-Reply-To: <38038bcbf1aea0c4f25fa5bd3187ee1d98c41be7.1256733443.git.remi@gentoo.org> References: <38038bcbf1aea0c4f25fa5bd3187ee1d98c41be7.1256733443.git.remi@gentoo.org> In-Reply-To: References: MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/5] configure: group system header checks at the top X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org diff --git a/configure.ac b/configure.ac index 8661887..9978958 100644 --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,7 @@ AM_PROG_CC_C_O PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no]) AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes) +AC_HEADER_STDC AC_CHECK_HEADERS(sys/mman.h) AC_CHECK_FUNCS(mprotect) @@ -100,11 +101,6 @@ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ]) sdkdir=$(pkg-config --variable=sdkdir xorg-server) -# Checks for libraries. - -# Checks for header files. -AC_HEADER_STDC - save_CFLAGS="$CFLAGS" CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS" CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"