Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> ... The other option is to have
>> autoconf substitute our own local version of fnmatch when this happens.
>> How would one go about to do that in autoconf asks the autoconf n00b?
>
> I'd try adding a little test program that tries to compile
>
> #include <fnmatch.h>
> ...
> n = fnmatch("foo","bar", FNM_CASEFOLD);
>
> and see if that succeeds.
>
> For extra credit, incorporate that into a new PGAC_FUNC_FNMATCH macro,
> but I think you'd need to get Peter's help on the details --- I'm just
> a duffer on autoconf myself.
Yeah, likely that someone who knows this will make it happen a lot faster.
Peter, got time to help me out with this? Thanks!
//Magnus