diff options
author | Tom Lane | 2021-03-22 15:20:44 +0000 |
---|---|---|
committer | Tom Lane | 2021-03-22 15:20:44 +0000 |
commit | 2c75f8a612b207c7d36e5dc73317dc9ab6fb29d4 (patch) | |
tree | 118432094a707aaf3a3a91ca782b82d53677b40a /configure.ac | |
parent | a4d5284a10b5096585f1bbf1bf723954e9d6c2e0 (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 76568d1e4b0..92193f35fb2 100644 --- a/configure.ac +++ b/configure.ac @@ -1440,8 +1440,7 @@ Use --without-zlib to disable zlib support.])]) fi if test "$with_lz4" = yes; then - AC_CHECK_HEADERS(lz4/lz4.h, [], - [AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])]) + AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])]) fi if test "$with_gssapi" = yes ; then |