All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Remove bash-ism from configure
Date: Sat, 10 Feb 2007 20:06:00 -0600	[thread overview]
Message-ID: <45CE7A08.9090601@codemonkey.ws> (raw)

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

This is one I introduced in the gcc-3.x autodetect.  It's against CVS 
from a little while ago so hopefully it's just fuzz.

Regards,

Anthony Liguori

[-- Attachment #2: configure-bashism.diff --]
[-- Type: text/x-patch, Size: 284 bytes --]

diff -r 00e394f6a849 configure
--- a/configure	Sat Feb 10 19:59:51 2007 -0600
+++ b/configure	Sat Feb 10 20:03:13 2007 -0600
@@ -339,7 +339,7 @@ int main(){return 0;}
 int main(){return 0;}
 EOF
     check_cc() {
-	which "$1" >&/dev/null
+	which "$1" 2>/dev/null
 	return $?
     }
 

             reply	other threads:[~2007-02-11  2:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  2:06 Anthony Liguori [this message]
2007-02-11 16:38 ` [Qemu-devel] [PATCH] Remove bash-ism from configure Johannes Schindelin
2007-02-11 17:41   ` Anthony Liguori
2007-02-11 22:58     ` [Qemu-devel] " Oleg Verych
2007-02-12  8:55     ` [Qemu-devel] " Krister Joas
2007-02-12  9:17       ` [Qemu-devel] " Jernej Simončič
2007-02-12 12:25         ` Krister Joas

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=45CE7A08.9090601@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.