aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-03-22 11:20:44 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-03-22 11:20:44 -0400
commit2c75f8a612b207c7d36e5dc73317dc9ab6fb29d4 (patch)
tree118432094a707aaf3a3a91ca782b82d53677b40a /src
parenta4d5284a10b5096585f1bbf1bf723954e9d6c2e0 (diff)
downloadpostgresql-2c75f8a612b207c7d36e5dc73317dc9ab6fb29d4.tar.gz
postgresql-2c75f8a612b207c7d36e5dc73317dc9ab6fb29d4.zip
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 'src')
-rw-r--r--src/include/pg_config.h.in3
-rw-r--r--src/tools/msvc/Solution.pm1
2 files changed, 0 insertions, 4 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index fcbf3367048..5e2255a2f53 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -364,9 +364,6 @@
/* Define to 1 if you have the <lz4.h> header file. */
#undef HAVE_LZ4_H
-/* Define to 1 if you have the <lz4/lz4.h> header file. */
-#undef HAVE_LZ4_LZ4_H
-
/* Define to 1 if you have the <mbarrier.h> header file. */
#undef HAVE_MBARRIER_H
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 9342347c9e5..710f26f8ab3 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -313,7 +313,6 @@ sub GenerateFiles
HAVE_LONG_INT_64 => undef,
HAVE_LONG_LONG_INT_64 => 1,
HAVE_LZ4_H => undef,
- HAVE_LZ4_LZ4_H => undef,
HAVE_MBARRIER_H => undef,
HAVE_MBSTOWCS_L => 1,
HAVE_MEMORY_H => 1,