From d7e81fdf7c006c6cd7c628ff2134777a0133b75e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 30 Dec 2021 18:54:14 -0800 Subject: configure: file offset test: don't change config.h * configure: The file offset test has no reason to be writing anything into config.h. The SIZEOF_OFF_T symbol isn't used anywhere, and SIZEOF_BYTE already exists in the header. Because this command is in a loop, it ends up writing multiple definitions of SIZEOF_BYTE, and SIZEOF_OFF_T into config.h. --- configure | 2 -- 1 file changed, 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 68ceb513..8597c573 100755 --- a/configure +++ b/configure @@ -3426,8 +3426,6 @@ struct sizes { eval $(tr '\0' ' ' < conftest.o | grep SIZEOF | sed -e 's/ *//') - tr '\0' ' ' < conftest.o | grep SIZEOF | sed -e 's/= */ /' -e 's/^/#define /' >> config.h - if [ $SIZEOF_OFF_T -eq 0 -o $SIZEOF_BYTE -eq 0 ] ; then printf "failed\n" exit 1 -- cgit v1.2.3