From c9c4105ddc0a5049694714a1203eb39e8e87aeaf Mon Sep 17 00:00:00 2001 From: Martin Buck Date: Thu, 2 Nov 2023 21:43:10 +0100 Subject: [PATCH] Actually check for sys/mount.h when forming have_sys_mount.h So far, the Makefile checked for sys/param.h instead and that suspiciously looks like a copy & paste error. Found by the Debian hurd-i386 build daemon because calc failed to compile there and it seems to lack sys/mount.h. Not that this would be an extremely relevant architecture these days, but nevertheless... ;-) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e564b99..b12766d 100644 --- a/Makefile +++ b/Makefile @@ -1824,7 +1824,7 @@ have_sys_mount.h: ${MK_SET} echo '#define HAVE_SYS_MOUNT_H /* yes */' >> $@; \ elif [ X"${HAVE_SYS_MOUNT_H}" = X"NO" ]; then \ echo '#undef HAVE_SYS_MOUNT_H /* no */' >> $@; \ - elif echo '#include ' | ${CC} -E - ${S}; then \ + elif echo '#include ' | ${CC} -E - ${S}; then \ echo '#define HAVE_SYS_MOUNT_H /* yes */' >> $@; \ else \ echo '#undef HAVE_SYS_MOUNT_H /* no */' >> $@; \