Re: zlib for pg_dump

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: zlib for pg_dump
Date: 2000-07-07 16:16:41
Message-ID: Pine.LNX.4.21.0007071556090.587-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-07-07 16:16:54 SQL float types
Previous Message Peter Eisentraut 2000-07-07 16:16:26 Re: Repair plan for inet and cidr types