mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
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
This commit is contained in:
13
configure
vendored
13
configure
vendored
@ -13582,15 +13582,6 @@ fi
|
||||
fi
|
||||
|
||||
if test "$with_lz4" = yes; then
|
||||
for ac_header in lz4/lz4.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "lz4/lz4.h" "ac_cv_header_lz4_lz4_h" "$ac_includes_default"
|
||||
if test "x$ac_cv_header_lz4_lz4_h" = xyes; then :
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_LZ4_LZ4_H 1
|
||||
_ACEOF
|
||||
|
||||
else
|
||||
for ac_header in lz4.h
|
||||
do :
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "lz4.h" "ac_cv_header_lz4_h" "$ac_includes_default"
|
||||
@ -13607,10 +13598,6 @@ done
|
||||
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
if test "$with_gssapi" = yes ; then
|
||||
for ac_header in gssapi/gssapi.h
|
||||
do :
|
||||
|
Reference in New Issue
Block a user