configure: minor fixes

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2020-12-27 17:05:34 +03:00
1 parent d880367c4e
commit 6d7b7d00a3
1 file changed
+2 -2
+2 -2
View File
@@ -640,7 +640,7 @@ AM_CONDITIONAL([DISABLE_THREADS], [test "x$USE_THREADS" = "xnone"])
AC_MSG_RESULT([$USE_THREADS])
AC_ARG_ENABLE([[thread-names]],
[AS_HELP_STRING([--disable-thread-names [auto] ],[do not set names on MHD generated threads])],
[AS_HELP_STRING([--disable-thread-names],[do not set names on MHD generated threads [auto]])],
[], [enable_thread_names='auto'])
AS_IF([test "x$enable_thread_names" != "xno" && test "x$USE_THREADS" = "xposix"],[
@@ -1691,7 +1691,7 @@ ssize_t sendfile(int out_fd, int in_fd,
]
)
AS_IF([[test "x$found_sendfile" = "xno" && test "x$enable_sendfile" = "xyes"]],
AC_MSG_ERROR([[sendfile() usage was requested by configure parameter, but no usable sendfile() function is detected]])
[AC_MSG_ERROR([[sendfile() usage was requested by configure parameter, but no usable sendfile() function is detected]])]
)
# optional: have error messages ?