Re: [HACKERS] /usr/local/include search

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] /usr/local/include search
Дата
Msg-id 12706.929890844@sss.pgh.pa.us
обсуждение исходный текст
Ответ на /usr/local/include search  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
> Why don't we search in /usr/local/include and /usr/local/lib for
> libreadline.a by default, and require the flags to configure?

I'm pretty leery of having configure make unsupported assumptions
about the layout of my filesystem.  Not everyone keeps this sort
of thing in /usr/local, and it's *not* necessarily harmless to look
there without being told.  For example, /usr/local might contain
libraries that are incompatible with the compiler you're trying to
use --- I actually had that problem a few weeks ago when I was
experimenting with egcs.

I think it's fine that configure defaults to looking only in whatever
directories the compiler searches automatically.  gcc, for one, is
usually configured to search in /usr/local by default, so the whole
issue is moot for anyone using gcc.
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: [HACKERS] BSD vs. GPL
Следующее
От: Michael Alan Dorman
Дата:
Сообщение: Re: [HACKERS] BSD vs. GPL