From 2265d0cade2ee95f8a16273e66a7af3d05d34e85 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 13 Aug 2021 01:58:58 -0700 Subject: configure: superfluous printf argument. * configure: In the test for an alignming malloc, fix a copy-and-paste error. The $try_header expansion is passed to printf, but there is nothing in the format string. FreeBSD printf diagnoses this and dies. --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index ced12691..b760630f 100755 --- a/configure +++ b/configure @@ -3172,7 +3172,7 @@ int main(void) if conftest ; then printf "memalign\n" - printf "#define HAVE_MEMALIGN 1\n" $try_header >> config.h + printf "#define HAVE_MEMALIGN 1\n" >> config.h break; fi @@ -3188,8 +3188,8 @@ int main(void) if conftest ; then printf "memalign\n" - printf "#define HAVE_MEMALIGN 1\n" $try_header >> config.h - printf "#define HAVE_MALLOC_H 1\n" $try_header >> config.h + printf "#define HAVE_MEMALIGN 1\n" >> config.h + printf "#define HAVE_MALLOC_H 1\n" >> config.h break; fi @@ -3205,7 +3205,7 @@ int main(void) ! if conftest ; then printf "posix_memalign\n" - printf "#define HAVE_POSIX_MEMALIGN 1\n" $try_header >> config.h + printf "#define HAVE_POSIX_MEMALIGN 1\n" >> config.h break; fi -- cgit v1.2.3