Re: 7.0.2 on Solaris

Поиск
Список
Период
Сортировка
От pgsql-hackers@thewrittenword.com
Тема Re: 7.0.2 on Solaris
Дата
Msg-id 200006291045.FAA13092@postal.thewrittenword.com
обсуждение исходный текст
Ответ на Re: 7.0.2 on Solaris  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Wed, Jun 28, 2000 at 08:38:08PM +0200, Peter Eisentraut wrote:
> pgsql-hackers@thewrittenword.com writes:
> 
> > 8. In configure:
> >    a) It is evil to use a library if it exists:
> >       (AC_CHECK_LIB(util,main))
> >       It is far better to check for a function in the library.
> 
> Amen to that, but unfortunately most of the information about which
> function was required from which library is lost in history. Btw., the
> proper solution to this is AC_SEARCH_LIBS, not what you wrote.

AC_SEARCH_LIBS is the correct solution providing you don't need the
feature of AC_CHECK_LIB that defines HAVE_LIB[LIBRARY] and adds
-l[lib] to LIBS.

-- 
albert chin (china@thewrittenword.com)



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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: Big 7.1 open items
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Misc. consequences of backend memory management changes