Skip to content
Snippets Groups Projects
Commit 8a52a14d authored by Ralph Giles's avatar Ralph Giles
Browse files

Print a warning when disabling http support for dependencies.

This should make mingw32-configure --enable-http less confusing.
parent 35fda4d7
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,12 @@ AC_ARG_ENABLE([http],
AS_HELP_STRING([--disable-http], [Disable HTTP support]),,
enable_http=yes)
AC_CHECK_HEADER([sys/socket.h],,[enable_http=no])
AS_IF([test "x$enable_http" != "xno"],
AC_CHECK_HEADER([sys/socket.h],,
AC_MSG_WARN([HTTP support requires a posix socket library.])
enable_http=no
)
)
AS_IF([test "x$enable_http" != "xno"], [
openssl="openssl"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment