gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] branch master updated (446454c2e -> dc0683b64)


From: gnunet
Subject: [GNUnet-SVN] [gnurl] branch master updated (446454c2e -> dc0683b64)
Date: Tue, 24 Oct 2017 15:26:29 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a change to branch master
in repository gnurl.

    from 446454c2e +
     new 54ea85343 Introduce '--enable-gnurl' to autoconfigure.
     new dc0683b64 guix-gnurl.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 configure.ac   | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 guix-gnurl.scm |  2 +-
 2 files changed, 84 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 6c523a9ec..5424bc296 100755
--- a/configure.ac
+++ b/configure.ac
@@ -168,6 +168,8 @@ curl_verbose_msg="enabled (--disable-verbose)"
 
     ssl_backends=
 
+    gnurl_enable_msg="yes (--enable-gnurl)"
+
 dnl
 dnl Save some initial values the user might have provided
 dnl
@@ -3770,6 +3772,86 @@ ENABLE_STATIC="$enable_static"
 AC_SUBST(ENABLE_STATIC)
 
 
+dnl *** gnURL configure option, --enable-gnurl is short for:
+dnl --enable-ipv6 --with-gnutls
+dnl --without-libssh2 --without-libmetalink --without-winidn --without-librtmp
+dnl --without-nghttp2 --without-nss --without-cyassl --without-polarssl  
--without-ssl
+dnl --without-winssl --without-darwinssl --disable-sspi --disable-ntlm-wb 
--disable-ldap
+dnl --disable-rtsp --disable-dict --disable-telnet --disable-tftp 
--disable-pop3
+dnl --disable-imap --disable-smtp --disable-gopher --disable-file 
--disable-ftp --disable-smb
+dnl In the long run we should check what's really needed.
+AC_MSG_CHECKING([wether to build gnURL])
+AC_ARG_ENABLE(gnurl,
+AC_HELP_STRING([--enable-gnurl],[Enable building of gnURL])
+AC_HELP_STRING([--disable-gnurl],[Disable building of gnURL]),
+[ case "$enableval" in
+  no)
+        AC_MSG_RESULT(no)
+        AC_MSG_ERROR([--enable-gnurl not provided. A build of gnURL will not 
happen.])
+        gnurl_enable_msg="disabled (not building gnURL)"
+        ;;
+  *)
+        AC_MSG_RESULT(yes)
+        IPV6_ENABLED=1
+        dnl AC_DEFINE(IPV6_ENABLED, 1)
+        GNUTLS_ENABLED=1
+        dnl AC_DEFINE(GNUTLS_ENABLED, 1)
+        dnl most of these are just safety off:
+        LIBSSH2_ENABLED=0
+        dnl AC_DEFINE(LIBSSH2_ENABLED, 0)
+        USE_METALINK=0
+        dnl AC_DEFINE(USE_METALINK, 0)
+        IDN_ENABLED=0
+        dnl AC_DEFINE(IDN_ENABLED, 0)
+        LIBRTMP_ENABLED=0
+        dnl AC_DEFINE(LIBRTMP_ENABLED, 0)
+        NGHTTP2_ENABLED=0
+        dnl AC_DEFINE(NGHTTP2_ENABLED, 0)
+        NSS_ENABLED=0
+        dnl AC_DEFINE(NSS_ENABLED, 0)
+        CYASSL_ENABLED=0
+        dnl AC_DEFINE(CYASSL_ENABLED, 0)
+        POLARSSL_ENABLED=0
+        dnl AC_DEFINE(POLARSSL_ENABLED, 0)
+        OPENSSL_ENABLED=0
+        dnl AC_DEFINE(OPENSSL_ENABLED, 0)
+        WINSSL_ENABLED=0
+        dnl AC_DEFINE(WINSSL_ENABLED, 0)
+        DARWINSSL_ENABLED=0
+        dnl AC_DEFINE(DARWINSSL_ENABLED, 0)
+        USE_WINDOWS_SSPI=0
+        dnl AC_DEFINE(USE_WINDOWS_SSPI, 0)
+        dnl what about --disable-ntlm-wb
+        CURL_DISABLED_LDAP=1
+        dnl AC_DEFINE(CURL_DISABLE_LDAP, 1)
+        CURL_DISABLE_RTSP=1
+        dnl AC_DEFINE(CURL_DISABLE_RTSP, 1)
+        CURL_DISABLE_DICT=1
+        dnl AC_DEFINE(CURL_DISABLE_DICT, 1)
+        CURL_DISABLE_TELNET=1
+        dnl AC_DEFINE(CURL_DISABLE_TELNET, 1)
+        CURL_DISABLE_TFTP=1
+        dnl AC_DEFINE(CURL_DISABLE_TFTP, 1)
+        CURL_DISABLE_POP3=1
+        dnl AC_DEFINE(CURL_DISABLE_POP3, 1)
+        CURL_DISABLE_IMAP=1
+        dnl AC_DEFINE(CURL_DISABLE_IMAP, 1)
+        CURL_DISABLE_SMTP=1
+        dnl AC_DEFINE(CURL_DISABLE_SMTP, 1)
+        CURL_DISABLE_GOPHER=1
+        dnl AC_DEFINE(CURL_DISABLE_GOPHER, 1)
+        CURL_DISABLE_FILE=1
+        dnl AC_DEFINE(CURL_DISABLE_FILE, 1)
+        CURL_DISABLE_FTP=1
+        dnl AC_DEFINE(CURL_DISABLE_FTP, 1)
+        CURL_DISABLE_SMB=1
+        dnl AC_DEFINE(CURL_DISABLE_SMB, 1)
+        gnurl_enable_msg="enabled (building gnURL)"
+        ;;
+  esac ],
+        AC_MSG_RESULT(yes)
+)
+
 dnl
 dnl For keeping supported features and protocols also in pkg-config file
 dnl since it is more cross-compile friendly than curl-config
@@ -4029,4 +4111,5 @@ AC_MSG_NOTICE([Configured to build gnurl/libgnurl:
   PSL support:      ${curl_psl_msg}
   HTTP2 support:    ${curl_h2_msg}
   Protocols:        ${SUPPORT_PROTOCOLS}
+  gnURL build:      $(gnurl_enable_msg)
 ])
diff --git a/guix-gnurl.scm b/guix-gnurl.scm
index 16edc973a..d4a98eaf8 100644
--- a/guix-gnurl.scm
+++ b/guix-gnurl.scm
@@ -60,6 +60,7 @@
     ;;          (lambda _
     ;;            (zero? (system* "sh" "buildconf"))))))))
     (arguments
+     ;;`(;#:configure-flags '("--enable-gnurl")
      `(#:configure-flags '("--enable-ipv6" "--with-gnutls" "--without-libssh2"
                            "--without-libmetalink" "--without-winidn"
                            "--without-librtmp" "--without-nghttp2"
@@ -71,7 +72,6 @@
                            "--disable-telnet" "--disable-tftp" "--disable-pop3"
                            "--disable-imap" "--disable-smtp" "--disable-gopher"
                            "--disable-file" "--disable-ftp" "--disable-smb")
-
        #:test-target "test"
        #:parallel-tests? #f
        #:phases

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]