summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-08-13 01:58:58 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-08-13 01:58:58 -0700
commit2265d0cade2ee95f8a16273e66a7af3d05d34e85 (patch)
tree657c3f57e07d470ebcdaf715286626fcb69c1637
parentffc21e3b5ea6218fb3a13d25f73261f28aef0479 (diff)
downloadtxr-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-xconfigure8
1 files changed, 4 insertions, 4 deletions
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