Stepan Kasal <[EMAIL PROTECTED]> writes:
> Hello,
>
> this mail is a lengthy story "to the most abstract solution and back
> to the basic one". Sorry, I couldn't have helped.
>
>> The problem, of course, is that the installed header file cannot
>> assume a config.h and the HAVE_* stuff.
>
> Indee
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> I realized I couldn't use the ssize_t module directly in GnuTLS.
>> GnuTLS uses ssize_t in its public header file
>
> Ouch. This is as bad as using 'bool' in public header files.
They are used for function types that are suppose
Simon Josefsson wrote:
> I realized I couldn't use the ssize_t module directly in GnuTLS.
> GnuTLS uses ssize_t in its public header file
Ouch. This is as bad as using 'bool' in public header files.
> The problem, of course, is that the installed header file cannot
> assume a config.h and the HAV
dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
What do we call this?
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> isascii is not part of C89, but POSIX:
>>
>> http://www.opengroup.org/onlinepubs/009695399/functions/isascii.html
>
> Do you know about a system that doesn't have it?
No. I added it because a workaround for missing isascii was
Hello,
this mail is a lengthy story "to the most abstract solution and back
to the basic one". Sorry, I couldn't have helped.
> The problem, of course, is that the installed header file cannot
> assume a config.h and the HAVE_* stuff.
Indeed, this is the root of the problem.
You try to find a
Oskar Liljeblad wrote:
> That's why you have xyz_LTLIBS, xyz_CFLAGS etc. One such example is
> PTHREAD_CFLAGS, would you prefer that or CFLAGSPTHREADS? I would
> prefer the former.
HAVE_READLINE vs. READLINE_LIBS is just inconsistent.
Either READLINE_PRESENT and READLINE_LIBS.
Or HAVE_READLINE and
Simon Josefsson wrote:
> isascii is not part of C89, but POSIX:
>
> http://www.opengroup.org/onlinepubs/009695399/functions/isascii.html
Do you know about a system that doesn't have it?
What about using c_isascii from the c-ctype module?
Bruno
___
b
I realized I couldn't use the ssize_t module directly in GnuTLS.
GnuTLS uses ssize_t in its public header file, so it has this in
configure.ac:
AC_CHECK_TYPE(ssize_t,
DEFINE_SSIZE_T="#include "
AC_SUBST(DEFINE_SSIZE_T)
,
AC_DEFINE(NO_SSIZE_T, 1, [no ssize_t type was found])
DEFINE_SSIZE_T="typedef
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> GnuTLS need ssize_t, but there is no module for it right now. How
>> about the patch below?
>
> Looks OK to me.
Installed. I wrote LGPL as the license.
Thanks!
___
bug-gnulib mail
Bruno Haible <[EMAIL PROTECTED]> writes:
> Simon Josefsson wrote:
>> I installed the patch below. It builds on the same platforms, but now
>> finds the readline library properly on Fedora too.
>> ...
>> checking for readline... yes
>> checking how to link with libreadline... -lreadline -ltermcap
On Friday, August 12, 2005 at 13:42, Bruno Haible wrote:
> > I'll check the code soon, but why don't you use READLINE_LIBS instead
> > of LIBREADLINE etc? That's the convention most other automake macros
> > I've seen use.
>
> But this convention doesn't cope with the fact that link options for li
Simon Josefsson wrote:
> GnuTLS need ssize_t, but there is no module for it right now. How
> about the patch below?
Looks OK to me.
> I'm not sure what the License field for ssize_t.m4 should be. The M4
> file says:
>
> dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
> dnl This file
Simon Josefsson wrote:
> I installed the patch below. It builds on the same platforms, but now
> finds the readline library properly on Fedora too.
> ...
> checking for readline... yes
> checking how to link with libreadline... -lreadline -ltermcap
This is a problem because libtermcap is unsecure
Oskar Liljeblad wrote:
> I'll check the code soon, but why don't you use READLINE_LIBS instead
> of LIBREADLINE etc? That's the convention most other automake macros
> I've seen use.
But this convention doesn't cope with the fact that link options for libtool
may be different than link options for
isascii is not part of C89, but POSIX:
http://www.opengroup.org/onlinepubs/009695399/functions/isascii.html
GnuTLS uses it. How about the patch below?
Index: ChangeLog
===
RCS file: /cvsroot/gnulib/gnulib/ChangeLog,v
retrieving rev
Hello!
GnuTLS need ssize_t, but there is no module for it right now. How
about the patch below?
I'm not sure what the License field for ssize_t.m4 should be. The M4
file says:
dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundatio
Simon Josefsson <[EMAIL PROTECTED]> writes:
>> Also check this:
>>
>> http://ac-archive.sourceforge.net/Installed_Packages/vl_lib_readline.html
>>
>> It also mentions libedit and libeditline (apparently those are other
>> GNU readline-like implementations).
>
> That seem like a quite useful macro,
18 matches
Mail list logo