Re: zlib for pg_dump

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: zlib for pg_dump
Дата
Msg-id Pine.LNX.4.21.0007071556090.587-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: zlib for pg_dump  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner writes:

> What about a compromise: --enable-zlib, --disable-zlib. 
> 
> configure should check for zlib if neither of these is specified, otherwise
> if just uses these. 

I like that.

> You also need to be careful: if --enable-zlib is specified and configure
> could not find zlib.h, something needs to be done...

True, especially on RPM systems that don't install the header files by
default.

Actually, there is a CHECK_ZLIB macro in the official Autoconf macro
archive that does this sort of thing, but it rather follows my original
suggestions of yes/no, rather than your idea of yes/no/maybe. But maybe we
can reutilize that anyway in some form.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Repair plan for inet and cidr types
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SQL float types