fnmatch improvements
Bruno Haible
bruno@clisp.org
Fri Jul 28 10:56:27 GMT 2023
Corinna Vinschen wrote:
> After the above fail, I tried from scratch with your below patch,
> and I still get
>
> $ grep REPLACE_FNMATCH ./config.status
> S["REPLACE_FNMATCH"]="1"
>
> Even though
>
> $ grep fnmatch log1
> checking for fnmatch.h... yes
> checking for fnmatch... yes
> checking for working POSIX fnmatch... yes
>
> I'm quite puzzled.
It's sometimes hard to make incremental changes to generated files of the
GNU Build System plus Gnulib. I've therefore recreated a new tarball for you,
at https://haible.de/bruno/gnu/testdir-fnmatch.tar.gz .
The expected result is:
1. cd testdir-fnmatch-posix
./configure
grep REPLACE_FNMATCH config.status
(Expected: REPLACE_FNMATCH is 0)
make
make check
(Expected: No test failures)
cd ..
2. cd testdir-fnmatch-gnu
./configure
grep REPLACE_FNMATCH config.status
(Expected: REPLACE_FNMATCH is 1, because of FNM_EXTMATCH)
make
make check
(Expected: No test failures)
cd ..
Bruno
More information about the Cygwin
mailing list