qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] configure: fix libcacard check


From: Alon Levy
Subject: [Qemu-devel] [PATCH] configure: fix libcacard check
Date: Sun, 22 Jul 2012 14:00:29 +0300

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 <address@hidden>
---
 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 <pk11pub.h>
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]