ref: 8a52a14da597a9c4f856cd0b57f13989660f51c6
parent: 35fda4d7b03a28d28239564f355a5b61dd12afe6
author: Ralph Giles <giles@mozilla.com>
date: Wed Oct 24 07:10:31 EDT 2012
Print a warning when disabling http support for dependencies. This should make mingw32-configure --enable-http less confusing.
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,12 @@
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"