summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-12-30 18:54:14 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-12-30 18:54:14 -0800
commitd7e81fdf7c006c6cd7c628ff2134777a0133b75e (patch)
tree174ca3a3f29d1c63bab534429e33c3391045199d
parentdbb7413c737a85ca2fe75e155b0c587f4340277c (diff)
downloadtxr-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-xconfigure2
1 files changed, 0 insertions, 2 deletions
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