diff options
author | Peter Eisentraut | 2022-05-04 11:33:59 +0000 |
---|---|---|
committer | Peter Eisentraut | 2022-05-04 12:20:36 +0000 |
commit | cfb63b994e91af8315f5262b3dc630c565f2420a (patch) | |
tree | 81a3b41e710885c9fa8c5fe839df2fbf0794cabc /configure | |
parent | 0432490d290f679cad773ce4735e8769e2c4db75 (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 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/configure b/configure index a4b654ad94e..364f37559d3 100755 --- a/configure +++ b/configure @@ -14103,19 +14103,13 @@ $as_echo "$LZ4" >&6; } fi if test "$with_lz4" = yes; then - for ac_header in lz4.h -do : ac_fn_c_check_header_mongrel "$LINENO" "lz4.h" "ac_cv_header_lz4_h" "$ac_includes_default" if test "x$ac_cv_header_lz4_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LZ4_H 1 -_ACEOF else as_fn_error $? "lz4.h header file is required for LZ4" "$LINENO" 5 fi -done fi |