diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-12-30 18:54:14 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-12-30 18:54:14 -0800 |
commit | d7e81fdf7c006c6cd7c628ff2134777a0133b75e (patch) | |
tree | 174ca3a3f29d1c63bab534429e33c3391045199d | |
parent | dbb7413c737a85ca2fe75e155b0c587f4340277c (diff) | |
download | txr-d7e81fdf7c006c6cd7c628ff2134777a0133b75e.tar.gz txr-d7e81fdf7c006c6cd7c628ff2134777a0133b75e.tar.bz2 txr-d7e81fdf7c006c6cd7c628ff2134777a0133b75e.zip |
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.
-rwxr-xr-x | configure | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |