[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No declaration for isblank
From: |
Neil Jerram |
Subject: |
Re: No declaration for isblank |
Date: |
Sun, 21 Oct 2007 22:22:02 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Neil Jerram <address@hidden> writes:
> address@hidden (Ludovic Courtès) writes:
>
>> Hi,
>>
>> Neil Jerram <address@hidden> writes:
>>
>>> The patch below cures this, but is it correct?
>>
>> No, because M4 macro `gl_EARLY' requires `AC_GNU_SOURCE', which in turn
>> defines `_GNU_SOURCE' when available.
>>
>> My `config.h' here contains this:
>>
>> /* Enable GNU extensions on systems that have them. */
>> #ifndef _GNU_SOURCE
>> # define _GNU_SOURCE 1
>> #endif
>>
>> If yours doesn't, I suspect you have to run "autoheader && ./configure"
>> again (or similar).
>
> I tried that, but still have no mention of _GNU_SOURCE in my config.h.
>
> I also did a `find-grep-dired' for gl_EARLY in /usr/share/autoconf and
> /usr/share/automake-1.10: no occurrences found at all.
>
> Where is gl_EARLY supposed to be defined? Once I know that, I can
> dig deeper about what's not working in my system.
Inevitably, immediately after sending, I think of something
else... :-)
I've found gl_EARLY now in the Guile source, in m4/gnulib-comp.m4.
But my definition doesn't require AC_GNU_SOURCE:
AC_DEFUN([gl_EARLY],
[
m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace
m4_pattern_allow([^gl_ES$])dnl a valid locale name
m4_pattern_allow([^gl_LIBOBJS$])dnl a variable
m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable
AC_REQUIRE([AC_PROG_RANLIB])
])
gnulib-comp.m4 says it's generated by gnulib-tool, so is the problem
that I don't have a sufficiently up to date version of gnulib-tool?
Mine is:
address@hidden:~$ gnulib-tool --version
/usr/bin/gnulib-tool (GNU gnulib) 2006-11-29
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Bruno Haible and Simon Josefsson
Regards,
Neil
- Re: No declaration for isblank, Neil Jerram, 2007/10/21
- Re: No declaration for isblank,
Neil Jerram <=
- Re: No declaration for isblank, Ludovic Courtès, 2007/10/21
- Re: No declaration for isblank, Neil Jerram, 2007/10/23
- Re: No declaration for isblank, Ludovic Courtès, 2007/10/23
- Re: No declaration for isblank, Neil Jerram, 2007/10/24
- Re: No declaration for isblank, Ludovic Courtès, 2007/10/24
- Re: No declaration for isblank, Neil Jerram, 2007/10/24