Need help with autoconf

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Need help with autoconf
Дата
Msg-id 20070711161811.GC22173@svr2.hagander.net
обсуждение исходный текст
Ответы Re: Need help with autoconf
Список pgsql-hackers
Hi!

I'm trying to write an autoconf macro to figure out if the function
krb5_free_unparsed_name exists (because it exists in MIT but not Heimdal),
to fix a rather nasty bug in our Kerberos implementation.

However, I'm failing :(

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.
The function is declared in krb5.h - is there some way to make autoconf
load that header file and use the declaration from there?

(If I manually set HAVE_KRB5_FREE_UNPARSED_NAME, I can perfectly well *use*
the function as long as I put the correct number of arguments in there)

//Magnus



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: doubt
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Need help with autoconf