Received: from eggs.gnu.org ([2001:4830:134:3::10]:56031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWXW6-0005za-CX for qemu-devel@nongnu.org; Fri, 13 Mar 2015 17:53:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWXVz-0000oR-Gw for qemu-devel@nongnu.org; Fri, 13 Mar 2015 17:53:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWXVz-0000o6-AV for qemu-devel@nongnu.org; Fri, 13 Mar 2015 17:53:07 -0400 From: Juan Quintela In-Reply-To: <1426251503-14034-4-git-send-email-kraxel@redhat.com> (Gerd Hoffmann's message of "Fri, 13 Mar 2015 13:58:21 +0100") References: <1426251503-14034-1-git-send-email-kraxel@redhat.com> <1426251503-14034-4-git-send-email-kraxel@redhat.com> Date: Fri, 13 Mar 2015 22:53:03 +0100 Message-ID: <87h9too98g.fsf@neno.neno> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL v3 3/5] configure: opengl overhaul Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Paolo Bonzini , Michael Walle , qemu-devel@nongnu.org, Anthony Liguori Gerd Hoffmann wrote: > Rename config option from "glx" to "opengl", glx will not be the only > option for opengl in near future. Also switch over to pkg-config for > opengl support detection. I had before this patch enabled --enable-glx > +if test "$opengl" != "no" ; then > + opengl_pkgs="gl glx" I am missing a package or glx is wrong here? > + if $pkg_config $opengl_pkgs; then > + opengl_libs="$($pkg_config --libs $opengl_pkgs) -lX11" (master *)$ pkg-config --libs gl -lGL (master *)$ pkg-config --libs glx Package glx was not found in the pkg-config search path. Perhaps you should add the directory containing `glx.pc' to the PKG_CONFIG_PATH environment variable No package 'glx' found (master *)$ I am not ablet find a glx.pc on fedora. Notice that I have the headre file that was tested before for: $ ll /usr/include/GL/glx.h -rw-r--r--. 1 root root 19K Jan 24 14:59 /usr/include/GL/glx.h (master *)$ rpm -qf /usr/include/GL/glx.h mesa-libGL-devel-10.4.3-1.20150124.fc21.x86_64 Fedora 21, just if it is not obvious O;-) Any good ideas? Thanks, Juan.