pgsql: Remove useless configure probe for <lz4/lz4.h>.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove useless configure probe for <lz4/lz4.h>.
Date: 2021-03-22 15:20:54
Message-ID: E1lOMMQ-0004wM-Hj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove useless configure probe for <lz4/lz4.h>.

This seems to have been just copied-and-pasted from some other
header checks. But our C code is entirely unprepared to support
such a header name, so it's only wasting cycles to look for it.
If we did need to support it, some #ifdefs would be required.

(A quick trawl at codesearch.debian.net finds some packages that
reference lz4/lz4.h; but they use *only* that spelling, and
appear to be intending to reference their own copy rather than
a system-level installation of liblz4. There's no evidence of
freestanding installations that require this spelling.)

Discussion: https://postgr.es/m/457962.1616362509@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2c75f8a612b207c7d36e5dc73317dc9ab6fb29d4

Modified Files
--------------
configure | 13 -------------
configure.ac | 3 +--
src/include/pg_config.h.in | 3 ---
src/tools/msvc/Solution.pm | 1 -
4 files changed, 1 insertion(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-03-22 18:01:31 pgsql: Short-circuit slice requests that are for more than the object's
Previous Message Robert Haas 2021-03-22 15:01:34 pgsql: Error on invalid TOAST compression in CREATE or ALTER TABLE.