From mboxrd@z Thu Jan 1 00:00:00 1970 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 Date: Sun, 22 Jul 2012 14:00:29 +0300 Message-Id: <1342954829-17303-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH] configure: fix libcacard check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@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 && \ -- 1.7.10.1