[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] Wrong path to fnmatch_.h with gl_FUNC_FNMATCH_GNU ?
From: |
James Youngman |
Subject: |
Re: [Bug-gnulib] Wrong path to fnmatch_.h with gl_FUNC_FNMATCH_GNU ? |
Date: |
26 May 2003 13:48:10 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Bruno Haible <address@hidden> writes:
> Does the appended patch work for you? It touches the modules 'fnmatch'
> and 'poll', which has the same problem.
Yes, it does. I also had to change the line
all-local $(lib_OBJECTS): @FNMATCH_H@
to
all-local $(lib_OBJECTS): fnmatch.h
... in modules/fnmatch, because @FNMATCH_H@ wasn't being substituted.
Perhaps this is because the configure.ac fragment generated by
"--create-testdir" doesn't include a test for fnmatch because of the
incompatibility between the two variants :-
# No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
So, applying your patch has enabled me to move a long way forward.
Many thanks!
The next problem I have is that gnulib builds "getline.c" into the
gnulib library, but I get a link error on "getline". This is because
I have #included my own <config.h>, but I need also to include
gnulib/config.h to see necessary declarations, for example :-
/* Define to a replacement function name for getline(). */
#define getline gnu_getline
... So, this is my problem to fix now :-)
Thanks again for your help,
James.
--
James Youngman
Manchester, UK.