From patchwork Sun Jul 22 11:00:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 172505 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 40D132C01FF for ; Sun, 22 Jul 2012 21:00:46 +1000 (EST) Received: from localhost ([::1]:44598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sstty-0002UP-OE for incoming@patchwork.ozlabs.org; Sun, 22 Jul 2012 07:00:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sstts-0002UK-6d for qemu-devel@nongnu.org; Sun, 22 Jul 2012 07:00:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ssttr-0000aV-DC for qemu-devel@nongnu.org; Sun, 22 Jul 2012 07:00:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ssttr-0000Xt-4g for qemu-devel@nongnu.org; Sun, 22 Jul 2012 07:00:35 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6MB0X88019945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Jul 2012 07:00:33 -0400 Received: from garlic.redhat.com (vpn-201-139.tlv.redhat.com [10.35.201.139]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6MB0ToZ018008 for ; Sun, 22 Jul 2012 07:00:31 -0400 From: Alon Levy To: qemu-devel@nongnu.org Date: Sun, 22 Jul 2012 14:00:29 +0300 Message-Id: <1342954829-17303-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] configure: fix libcacard check X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org SRC_PATH is undefined during configure run time, it is only defined in makefiles generated by it. Replace with source_path which is defined. Signed-off-by: Alon Levy --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5fcd315..227c7d4 100755 --- a/configure +++ b/configure @@ -2653,7 +2653,7 @@ if test "$smartcard" != "no" ; then #include int main(void) { PK11_FreeSlot(0); return 0; } EOF - smartcard_cflags="-I\$(SRC_PATH)/libcacard" + smartcard_cflags="-I$source_path/libcacard" libcacard_libs="$($pkg_config --libs nss 2>/dev/null) $glib_libs" libcacard_cflags="$($pkg_config --cflags nss 2>/dev/null) $glib_cflags" if $pkg_config --atleast-version=3.12.8 nss >/dev/null 2>&1 && \