Re: Need help with autoconf

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Need help with autoconf
Дата
Msg-id 27914.1184175716@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Need help with autoconf  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Need help with autoconf
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Tom Lane wrote:
>> Magnus Hagander <magnus@hagander.net> writes:
>>> I'm simply using
>>> AC_CHECK_FUNC([krb5_free_unparsed_name])
>>> which works fine on unix, but breaks on win32. Because autoconf tries the
>>> function with no parameters, which doesn't work due to win32 decorations.
>> 
>> Doesn't work why?  We have dozens of other functions we check for
>> without needing any special windoze hacks.  Is it a macro?

> No, it actually depends on how the library is compiled. Functions can
> either be exported decorated or not. This one is exported decorated.

It's still not apparent to me how this function is different from every
other one we check for; but I'd suggest you write a check that looks
like the ones we use for functions that might be macros, eg sigsetjmp.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Need help with autoconf
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: 2PC-induced lockup