gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated (2e0b075a -> 7f86b4e0)


From: gnunet
Subject: [libmicrohttpd] branch master updated (2e0b075a -> 7f86b4e0)
Date: Tue, 20 Feb 2024 16:35:39 +0100

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

karlson2k pushed a change to branch master
in repository libmicrohttpd.

    from 2e0b075a Removed strings with filenames from binary when built without 
messages
     new 20943e0b configure: corrected help message
     new 7f86b4e0 tests: do not use test_auth_parse when messages are disabled

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               | 10 ++++++----
 src/microhttpd/Makefile.am |  2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index c9f87dd4..a7633b06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3586,17 +3586,19 @@ 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]])]
 )
 
-# optional: have error messages ?
-AC_MSG_CHECKING([[whether to generate error messages]])
+# optional: enable error and informational messages
+AC_MSG_CHECKING([[whether to generate text messages]])
 AC_ARG_ENABLE([messages],
    [AS_HELP_STRING([--disable-messages],
-               [disable MHD error messages])],
+               [disable error, warning messages and text bodies for ]
+               [automatic HTTP responses (to reduce the binary size)])],
    [enable_messages=${enableval}],
    [enable_messages=yes])
 AS_IF([[test "x$enable_messages" = "xyes"]],
-  [ AC_DEFINE([HAVE_MESSAGES],[1],[Define to 1 to enable support for error 
messages.]) ],
+  [ AC_DEFINE([HAVE_MESSAGES],[1],[Define to 1 to enable support for text 
messages.]) ],
   [[ enable_messages=no ]])
 AC_MSG_RESULT([[$enable_messages]])
+AM_CONDITIONAL([HAVE_MESSAGES], [test "x$enable_messages" != "xno"])
 
 
 # optional: have postprocessor?
diff --git a/src/microhttpd/Makefile.am b/src/microhttpd/Makefile.am
index a802b580..ef5f9bb5 100644
--- a/src/microhttpd/Makefile.am
+++ b/src/microhttpd/Makefile.am
@@ -295,9 +295,11 @@ endif
 endif
 
 if HAVE_ANYAUTH
+if HAVE_MESSAGES
 check_PROGRAMS += \
   test_auth_parse
 endif
+endif
 if ENABLE_DAUTH
 check_PROGRAMS += \
   test_str_quote \

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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