configure.ac: fix HAVE_SYNC_FILE_RANGE definition

If sync_file_range is not available when building the configure script, there is a cosmetic bug when running that script reporting "HAVE_SYNC_FILE_RANGE: command not found". Remove that error message by defining HAVE_SYNC_FILE_RANGE to an empty string, rather than generating a script where that appears as a bare command. Signed-off-by: Adam Dinwoodie <adam@dinwoodie.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Adam Dinwoodie committed Apr 5, 2022 at 11:00 UTC 2e37594797155e5d6134db3ce1e23bf42045934b
1 file changed +1 -1
configure.ac
+1 -1
@@ -1087,7 +1087,7 @@ GIT_CONF_SUBST([HAVE_CLOCK_MONOTONIC])
1087 # Define HAVE_SYNC_FILE_RANGE=YesPlease if sync_file_range is available.
1088 GIT_CHECK_FUNC(sync_file_range,
1089 [HAVE_SYNC_FILE_RANGE=YesPlease],
1090 - [HAVE_SYNC_FILE_RANGE])
1090 + [HAVE_SYNC_FILE_RANGE=])
1091 GIT_CONF_SUBST([HAVE_SYNC_FILE_RANGE])
1092
1093 #