Re: [PATCH v2 2/2] vsh: Define HAVE_STDARG_H before including readline

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

 



On Thu, 2020-09-03 at 11:24 -0400, Laine Stump wrote:
> On 9/3/20 4:24 AM, Michal Privoznik wrote:
> > +/* In order to have proper rl_message declaration with older
> > + * versions of readline, we have to declare this. See 9ea3424a178
> > + * for more info. */
> > +# define HAVE_STDARG_H
> >   # include <readline/readline.h>
> >   # include <readline/history.h>
> >   #endif
> 
> How common is it for library .h files to assume autotools-style HAVE_* 
> and WITH_* flags are defined? I'm just wondering if this particular 
> failure is just one instance that's indicating a more general problem.

It looks like Wireshark also assumes you're using autotools:

  https://www.redhat.com/archives/libvir-list/2020-September/msg00156.html

I would consider it a bug in the library.

-- 
Andrea Bolognani / Red Hat / Virtualization




[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]

  Powered by Linux