From 33fcb7b0bc3a78aa4105f77bc451b426de80f5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20J=C3=A4ger?= Date: Tue, 8 Nov 2022 23:37:22 +0100 Subject: [PATCH] fix more clang16 problems in configure.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Jäger --- configure.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.inc b/configure.inc index 1ad2db2..2e88a45 100755 --- a/configure.inc +++ b/configure.inc @@ -929,7 +929,7 @@ AC_WHATIS() { echo "#include <${x}>" done - echo "main() { printf(\"${MACRO}=\\\"${__fmt}\\\"\\n\", ${MACRO}); }" ) > _ngc$$.c + echo "int main() { printf(\"${MACRO}=\\\"${__fmt}\\\"\\n\", ${MACRO}); }" ) > _ngc$$.c if $AC_CC $AC_CFLAGS -o _ngc$$ _ngc$$.c; then ./_ngc$$ @@ -1529,7 +1529,7 @@ AC_PROG_INSTALL () { fi # see if we can strip binaries - echo 'main() { puts("hello, sailor!"); }' > ngc$$.c + echo 'int main() { puts("hello, sailor!"); }' > ngc$$.c if $AC_CC -o ngc$$ ngc$$.c; then if $PROG_INSTALL -s -m 444 ngc$$ inst$$; then _strip="-s"