Bruno Haible wrote:
If you got malloc/realloc #defined, it is certainly because you used
the modules 'malloc'/'realloc'.
Or I blindly accepted the recommendations of autoscan-2.60, which inserted
AC_FUNC_MALLOC
AC_FUNC_REALLOC
into configure.scan, and I didn't notice. D'oh!
And I don't un
Simon Josefsson wrote:
> I assume that memory.h is a side-effect of using strings.h, and that
> memory.h is not needed today either?
Yes. Even on older systems like Solaris 2.4, AIX 4.3, IRIX 6.5, HP-UX 11,
OSF/1 4.0, the contents of is also available through .
Bruno
Charles Wilson wrote:
> The allocsa module includes eealloc.m4 in its filelist -- but it doesn't
> "depend" on the eealloc module --
Right.
> this allows the LGPL allocsa module to
> avoid bringing in the GPL eealloc.h, so as not to run afoul of GPL.
The license question is secondary. The pri
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> #if defined(HAVE_STRING_H)
>> # include
>> #elif defined(HAVE_STRINGS_H)
>> # include
>> #endif
>> #if defined(HAVE_MEMORY_H)
>> # include
>> #endif
>>
>> Is strings.h needed on any modern platform?
>
> No.
> 1) exists on
Simon Josefsson wrote:
> #if defined(HAVE_STRING_H)
> # include
> #elif defined(HAVE_STRINGS_H)
> # include
> #endif
> #if defined(HAVE_MEMORY_H)
> # include
> #endif
>
> Is strings.h needed on any modern platform?
No.
1) exists on all platforms, for several years now.
The #elif branch
I was going over gnutls to remove obsolete constructs, and noticed
that it uses strings.h. I only found one place in gnulib that uses
this file. argz.c contains:
#if defined(HAVE_STRING_H)
# include
#elif defined(HAVE_STRINGS_H)
# include
#endif
#if defined(HAVE_MEMORY_H)
# include
#endif