drm: Branch 'master'

[email protected] (Adam Jackson)
Newsgroups gmane.comp.video.dri.patches
Message-ID <[email protected]>
 configure.ac |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b983b054d4f1a6be67105e90f0ae2064f91a762c
Author: Adam Jackson <[email protected]>
Date:   Thu Mar 23 12:07:03 2017 -0400

    configure: Explicitly check for pkg-config at the top level
    
    If you don't, then the first place the m4 expands is:
    
        if test "x$INTEL" != "xno"; then
                PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
        fi
    
    So on non-Intel architectures we never find it in the path, and all
    subsequent PKG_CHECK_MODULESes fail. Boo autoconf.
    
    Signed-off-by: Adam Jackson <[email protected]>

diff --git a/configure.ac b/configure.ac
index 8e593324..2e50d3ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,7 @@ AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_SRCDIR([Makefile.am])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([build-aux])
+PKG_PROG_PKG_CONFIG
 
 # Require xorg-macros minimum of 1.12 for XORG_WITH_XSLTPROC
 m4_ifndef([XORG_MACROS_VERSION],

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.