qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Rename libiscsi to libiscsiclient
@ 2012-03-03  6:38 Ronnie Sahlberg
  2012-03-03  6:38 ` [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi Ronnie Sahlberg
  0 siblings, 1 reply; 4+ messages in thread
From: Ronnie Sahlberg @ 2012-03-03  6:38 UTC (permalink / raw)
  To: qemu-devel, kwolf


Please find a patch that changes the name of the iscsi library from libiscsi to libiscsiclient

While libiscsi is a very nice name that works on all platforms, including win32, it clashes with a linux library. 



regards
ronnie sahlberg

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

* [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi
  2012-03-03  6:38 [Qemu-devel] [PATCH] Rename libiscsi to libiscsiclient Ronnie Sahlberg
@ 2012-03-03  6:38 ` Ronnie Sahlberg
  2012-03-03  9:40   ` Michael Tokarev
  0 siblings, 1 reply; 4+ messages in thread
From: Ronnie Sahlberg @ 2012-03-03  6:38 UTC (permalink / raw)
  To: qemu-devel, kwolf; +Cc: Ronnie Sahlberg


Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
---
 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index fb0e18e..294c0c1 100755
--- a/configure
+++ b/configure
@@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then
 #include <iscsi/iscsi.h>
 int main(void) { iscsi_create_context(""); return 0; }
 EOF
-  if compile_prog "-Werror" "-liscsi" ; then
+  if compile_prog "-Werror" "-liscsiclient" ; then
     libiscsi="yes"
-    LIBS="$LIBS -liscsi"
+    LIBS="$LIBS -liscsiclient"
   else
     if test "$libiscsi" = "yes" ; then
       feature_not_found "libiscsi"
-- 
1.7.3.1

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

* Re: [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi
  2012-03-03  6:38 ` [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi Ronnie Sahlberg
@ 2012-03-03  9:40   ` Michael Tokarev
  2012-03-07  5:37     ` ronnie sahlberg
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2012-03-03  9:40 UTC (permalink / raw)
  To: Ronnie Sahlberg; +Cc: kwolf, qemu-devel

On 03.03.2012 10:38, Ronnie Sahlberg wrote:
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
> ---
>  configure |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index fb0e18e..294c0c1 100755
> --- a/configure
> +++ b/configure
> @@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then
>  #include <iscsi/iscsi.h>
>  int main(void) { iscsi_create_context(""); return 0; }
>  EOF
> -  if compile_prog "-Werror" "-liscsi" ; then
> +  if compile_prog "-Werror" "-liscsiclient" ; then
>      libiscsi="yes"
> -    LIBS="$LIBS -liscsi"
> +    LIBS="$LIBS -liscsiclient"
>    else
>      if test "$libiscsi" = "yes" ; then
>        feature_not_found "libiscsi"

Shouldn't we rename the feature and the --with/--without
name too here?  This appears to be partial "fix" for the
name change.

For the feature, I'd suggest using --with-iscsi instead of
--with-libiscsiclient.  But... dunno.

Thanks,

/mjt

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

* Re: [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi
  2012-03-03  9:40   ` Michael Tokarev
@ 2012-03-07  5:37     ` ronnie sahlberg
  0 siblings, 0 replies; 4+ messages in thread
From: ronnie sahlberg @ 2012-03-07  5:37 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: kwolf, qemu-devel

Please ignore this patch. We do not need it.



On Sat, Mar 3, 2012 at 8:40 PM, Michael Tokarev <mjt@tls.msk.ru> wrote:
> On 03.03.2012 10:38, Ronnie Sahlberg wrote:
>> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
>> ---
>>  configure |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure b/configure
>> index fb0e18e..294c0c1 100755
>> --- a/configure
>> +++ b/configure
>> @@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then
>>  #include <iscsi/iscsi.h>
>>  int main(void) { iscsi_create_context(""); return 0; }
>>  EOF
>> -  if compile_prog "-Werror" "-liscsi" ; then
>> +  if compile_prog "-Werror" "-liscsiclient" ; then
>>      libiscsi="yes"
>> -    LIBS="$LIBS -liscsi"
>> +    LIBS="$LIBS -liscsiclient"
>>    else
>>      if test "$libiscsi" = "yes" ; then
>>        feature_not_found "libiscsi"
>
> Shouldn't we rename the feature and the --with/--without
> name too here?  This appears to be partial "fix" for the
> name change.
>
> For the feature, I'd suggest using --with-iscsi instead of
> --with-libiscsiclient.  But... dunno.
>
> Thanks,
>
> /mjt

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

end of thread, other threads:[~2012-03-07  5:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03  6:38 [Qemu-devel] [PATCH] Rename libiscsi to libiscsiclient Ronnie Sahlberg
2012-03-03  6:38 ` [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi Ronnie Sahlberg
2012-03-03  9:40   ` Michael Tokarev
2012-03-07  5:37     ` ronnie sahlberg

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).