Re: pgsql: Add support for matching wildcard server certificates to the new

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add support for matching wildcard server certificates to the new
Дата
Msg-id 17416.1227534595@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Add support for matching wildcard server certificates to the new  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: pgsql: Add support for matching wildcard server certificates to the new  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-committers
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.

            regards, tom lane

В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Add support for matching wildcard server certificates to the new
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: pgsql: Add support for matching wildcard server certificates to the new