summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-05-04 13:33:59 +0200
committerPeter Eisentraut <peter@eisentraut.org>2022-05-04 14:20:36 +0200
commitcfb63b994e91af8315f5262b3dc630c565f2420a (patch)
tree81a3b41e710885c9fa8c5fe839df2fbf0794cabc /src
parent0432490d290f679cad773ce4735e8769e2c4db75 (diff)
Simplify configure test
The test for lz4.h used AC_CHECK_HEADERS, but nothing was using the resulting symbol HAVE_LZ4_H. Change this to use AC_CHECK_HEADER instead. This was probably an oversight, seeing that the nearby similar tests do this correctly.
Diffstat (limited to 'src')
-rw-r--r--src/include/pg_config.h.in3
-rw-r--r--src/tools/msvc/Solution.pm2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index 13a2049df4b..cdd742cb55b 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -373,9 +373,6 @@
/* Define to 1 if `long long int' works and is 64 bits. */
#undef HAVE_LONG_LONG_INT_64
-/* Define to 1 if you have the <lz4.h> header file. */
-#undef HAVE_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 cb2ad6cd298..03357095b20 100644
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -318,7 +318,6 @@ sub GenerateFiles
HAVE_LOCALE_T => 1,
HAVE_LONG_INT_64 => undef,
HAVE_LONG_LONG_INT_64 => 1,
- HAVE_LZ4_H => undef,
HAVE_MBARRIER_H => undef,
HAVE_MBSTOWCS_L => 1,
HAVE_MEMORY_H => 1,
@@ -541,7 +540,6 @@ sub GenerateFiles
if ($self->{options}->{lz4})
{
$define{HAVE_LIBLZ4} = 1;
- $define{HAVE_LZ4_H} = 1;
$define{USE_LZ4} = 1;
}
if ($self->{options}->{zstd})