From patchwork Wed Jan 20 11:46:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 74039 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0KBkc36025611 for ; Wed, 20 Jan 2010 11:46:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752903Ab0ATLqg (ORCPT ); Wed, 20 Jan 2010 06:46:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752109Ab0ATLqg (ORCPT ); Wed, 20 Jan 2010 06:46:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50487 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751446Ab0ATLqg (ORCPT ); Wed, 20 Jan 2010 06:46:36 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0KBkZ7w003391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 20 Jan 2010 06:46:35 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0KBkYuO025419; Wed, 20 Jan 2010 06:46:34 -0500 From: Juan Quintela To: kvm@vger.kernel.org Subject: [PATCH] Use compile_prog as rest of configure Date: Wed, 20 Jan 2010 12:46:28 +0100 Message-Id: <1263987988-24622-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/configure b/configure index 20c374a..be739e1 100755 --- a/configure +++ b/configure @@ -1747,7 +1747,7 @@ cat > $TMPC << EOF int main(void) { return syscall(SYS_signalfd, -1, NULL, _NSIG / 8); } EOF -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then +if compile_prog "" "" ; then signalfd=yes fi