Re: Autoconf, libpq and replacement function - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Autoconf, libpq and replacement function
Date
Msg-id 49258149.40305@gmx.net
Whole thread Raw
In response to Autoconf, libpq and replacement function  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Autoconf, libpq and replacement function  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Error arguments in pl_exec.c
Next
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.