qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] configure: fix libcacard check
@ 2012-07-22 11:00 Alon Levy
  2012-07-22 11:30 ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Alon Levy @ 2012-07-22 11:00 UTC (permalink / raw)
  To: qemu-devel

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 <alevy@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: fix libcacard check
  2012-07-22 11:00 [Qemu-devel] [PATCH] configure: fix libcacard check Alon Levy
@ 2012-07-22 11:30 ` Peter Maydell
  2012-07-22 12:05   ` Alon Levy
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Maydell @ 2012-07-22 11:30 UTC (permalink / raw)
  To: Alon Levy; +Cc: qemu-devel

On 22 July 2012 12:00, Alon Levy <alevy@redhat.com> wrote:
> SRC_PATH is undefined during configure run time, it is only defined in
> makefiles generated by it. Replace with source_path which is defined.

There's a (slightly different) patch to address this issue in my
configure series I posted earlier this week:
http://patchwork.ozlabs.org/patch/171698/

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] configure: fix libcacard check
  2012-07-22 11:30 ` Peter Maydell
@ 2012-07-22 12:05   ` Alon Levy
  0 siblings, 0 replies; 3+ messages in thread
From: Alon Levy @ 2012-07-22 12:05 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel

On Sun, Jul 22, 2012 at 12:30:27PM +0100, Peter Maydell wrote:
> On 22 July 2012 12:00, Alon Levy <alevy@redhat.com> wrote:
> > SRC_PATH is undefined during configure run time, it is only defined in
> > makefiles generated by it. Replace with source_path which is defined.
> 
> There's a (slightly different) patch to address this issue in my
> configure series I posted earlier this week:
> http://patchwork.ozlabs.org/patch/171698/
> 

Your fix looks fine. I appologize for not checking - wasn't sure if this
happens when not requesting libcacard compilation (via
--enable-smartcard-nss), so didn't think it was already addressed on the
list, my bad.

> -- PMM
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-22 12:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 11:00 [Qemu-devel] [PATCH] configure: fix libcacard check Alon Levy
2012-07-22 11:30 ` Peter Maydell
2012-07-22 12:05   ` Alon Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).