Magnus Hagander wrote:
> How do I make this work with the autoconf magic? I see there is an
> AC_CHECK_FNMATCH and AC_REPLACE_FNMATCH and so, but I have a feeling I
> need to do something different since it's libpq?
AC_*_FNMATCH will figure out whether you need fnmatch(), so something
involving those is necessary.
For libpq, check libpq's Makefile for, say, snprintf, to get an idea
about the "something different".
Altogether, this might not be a trivial case.