Re: Autoconf, libpq and replacement function

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Autoconf, libpq and replacement function
Date: 2008-11-20 15:24:57
Message-ID: 49258149.40305@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-11-20 15:27:09 Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
Previous Message Gregory Stark 2008-11-20 15:21:08 Re: Error arguments in pl_exec.c