diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 01:58:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 01:58:58 -0700 |
commit | 2265d0cade2ee95f8a16273e66a7af3d05d34e85 (patch) | |
tree | 657c3f57e07d470ebcdaf715286626fcb69c1637 | |
parent | ffc21e3b5ea6218fb3a13d25f73261f28aef0479 (diff) | |
download | txr-2265d0cade2ee95f8a16273e66a7af3d05d34e85.tar.gz txr-2265d0cade2ee95f8a16273e66a7af3d05d34e85.tar.bz2 txr-2265d0cade2ee95f8a16273e66a7af3d05d34e85.zip |
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.
-rwxr-xr-x | configure | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |