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
commitf689d592df4c9900d3280a73dc702ca7ee673972 (patch)
tree657c3f57e07d470ebcdaf715286626fcb69c1637
parent36f8dd5d7f09bbdb0bc46ee08bbba48e62deeced (diff)
downloadtxr-f689d592df4c9900d3280a73dc702ca7ee673972.tar.gz
txr-f689d592df4c9900d3280a73dc702ca7ee673972.tar.bz2
txr-f689d592df4c9900d3280a73dc702ca7ee673972.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