qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Sebastian Herbszt" <herbszt@gmx.de>
To: Juergen Lock <nox@jelal.kn-bremen.de>
Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim <jkim@FreeBSD.org>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: experimental FreeBSD qemu-devel git head port update for testing
Date: Sun, 13 Sep 2009 16:38:17 +0200	[thread overview]
Message-ID: <D0B039B7348146E8AA72C544C8EC37D7@FSCPC> (raw)
In-Reply-To: <20090912183516.GA65678@triton8.kn-bremen.de>

Replace own invokation of $cc with compile_prog (patch will likely not apply).

- Sebastian

@@ -37,7 +37,7 @@
 +  else
 +    libpcap=-lwpcap
 +  fi
-+  if ! $cc $ARCH_CFLAGS -o $TMPE $libpcap $TMPC 2> /dev/null ; then
++  if ! compile_prog "" "$libpcap" ; then
 +    echo
 +    echo "Error: Could not find pcap"
 +    echo "Make sure to have the pcap libs and headers installed."
@@ -52,7 +52,7 @@
 +  return (pcap_create("foo", errbuf) == (pcap_t *)0 ? 1 : 0);
 +}
 +EOF
-+  if $cc $ARCH_CFLAGS -o $TMPE $libpcap $TMPC 2> /dev/null ; then
++  if compile_prog "" "$libpcap" ; then
 +    pcap_create="yes"
 +  fi
 +  cat > $TMPC << EOF
@@ -61,10 +61,9 @@
 +#include <net/bpf.h>
 +int main(void) { return (BPF_MAJOR_VERSION); }
 +EOF
-+  if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
++  if compile_prog "" "" ; then
 +    bpf="yes"
 +  fi
-+#  LIBS="$libpcap $LIBS"
 +  libs_softmmu="$libpcap $libs_softmmu"
 +fi # test "$pcap"
 +
@@ -72,7 +71,7 @@

  reply	other threads:[~2009-09-13 14:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-29 22:23 [Qemu-devel] experimental FreeBSD qemu-devel git head port update for testing Juergen Lock
2009-08-29 23:49 ` malc
2009-08-30 19:09   ` Juergen Lock
2009-09-02 17:56 ` [Qemu-devel] " Juergen Lock
2009-09-04 19:34   ` Juergen Lock
2009-09-05 15:03     ` Juergen Lock
2009-09-11 22:04     ` Sebastian Herbszt
2009-09-12 18:35       ` Juergen Lock
2009-09-13 14:38         ` Sebastian Herbszt [this message]
2009-09-13 14:55         ` Sebastian Herbszt

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=D0B039B7348146E8AA72C544C8EC37D7@FSCPC \
    --to=herbszt@gmx.de \
    --cc=freebsd-emulation@FreeBSD.org \
    --cc=jkim@FreeBSD.org \
    --cc=nox@jelal.kn-bremen.de \
    --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).