mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
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.
This commit is contained in:
@ -1525,7 +1525,7 @@ fi
|
||||
|
||||
PGAC_PATH_PROGS(LZ4, lz4)
|
||||
if test "$with_lz4" = yes; then
|
||||
AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])
|
||||
AC_CHECK_HEADER(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])
|
||||
fi
|
||||
|
||||
PGAC_PATH_PROGS(ZSTD, zstd)
|
||||
|
Reference in New Issue
Block a user