Re: [libvirt] [PATCH 3/4] Add a simple macro to check in which library dlopen() is, and use it.

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

 



On 02/24/2010 04:21 PM, Eric Blake wrote:
>  +  AC_SEARCH_LIBS([dlopen], [dl],
>  +    [DLOPEN_LIBS=${LIBS#${old_libs}}

The shell expansion ${a#b} is not portable to Solaris /bin/sh.  Is that a
problem for libvirt, or are we Linux-centric enough to not care?

It should definitely configure right on Solaris, however it's simpler and better to use a case statement on the cache variable instead.

Paolo

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]