qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Brad <brad@comstyle.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add support for finding libpng via pkg-config
Date: Thu, 04 Aug 2011 17:07:54 -0500	[thread overview]
Message-ID: <4E3B183A.8080105@codemonkey.ws> (raw)
In-Reply-To: <20110730054551.GA18260@rox.home.comstyle.com>

On 07/30/2011 12:45 AM, Brad wrote:
> Add support for finding libpng via pkg-config.
>
> Signed-off-by: Brad Smith<brad@comstyle.com>
>

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   configure |    6 ++++++
>   1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 4012d15..25aa75f 100755
> --- a/configure
> +++ b/configure
> @@ -1519,11 +1519,17 @@ int main(void) {
>       return 0;
>   }
>   EOF
> +  if $pkg_config libpng --modversion>/dev/null 2>&1; then
> +    vnc_png_cflags=`$pkg_config libpng --cflags 2>  /dev/null`
> +    vnc_png_libs=`$pkg_config libpng --libs 2>  /dev/null`
> +  else
>       vnc_png_cflags=""
>       vnc_png_libs="-lpng"
> +  fi
>     if compile_prog "$vnc_png_cflags" "$vnc_png_libs" ; then
>       vnc_png=yes
>       libs_softmmu="$vnc_png_libs $libs_softmmu"
> +    QEMU_CFLAGS="$QEMU_CFLAGS $vnc_png_cflags"
>     else
>       if test "$vnc_png" = "yes" ; then
>         feature_not_found "vnc-png"

      reply	other threads:[~2011-08-04 22:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-30  5:45 [Qemu-devel] [PATCH] Add support for finding libpng via pkg-config Brad
2011-08-04 22:07 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E3B183A.8080105@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=brad@comstyle.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).