[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 07/10: configure: assume that systems assert() is functi
From: |
gnunet |
Subject: |
[libmicrohttpd] 07/10: configure: assume that systems assert() is functional if available |
Date: |
Thu, 01 Apr 2021 20:39:03 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 93291187f4da4d0041b278a7638e69e8ecbadafc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 1 20:58:55 2021 +0300
configure: assume that systems assert() is functional if available
---
configure.ac | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/configure.ac b/configure.ac
index f3c0cde3..e6cc7214 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2352,20 +2352,8 @@ AS_VAR_IF([[enable_asserts]], [["yes"]],
[[mhd_cv_sys_assert_avail='no']])
]
)
- AS_VAR_IF([[mhd_cv_sys_assert_avail]], [["yes"]],
- [
- AC_CACHE_CHECK([[whether system assert() is usable]],
[mhd_cv_sys_assert_use],
- [
- AC_RUN_IFELSE([AC_LANG_SOURCE([[$mhd_assert_test_prg]])],
- [[mhd_cv_sys_assert_use='no']],
- [[mhd_cv_sys_assert_use='yes']],
- [[mhd_cv_sys_assert_use='assuming yes']])
- ]
- )
- AS_VAR_IF([[mhd_cv_sys_assert_use]], [["no"]], [],
- [AC_DEFINE([[HAVE_ASSERT]], [[1]], [Define if you have usable assert()
and assert.h])])
- ]
- )
+ AS_VAR_IF([[mhd_cv_sys_assert_avail]], [["no"]], [],
+ [AC_DEFINE([[HAVE_ASSERT]], [[1]], [Define if you have usable assert()
and assert.h])])
AS_UNSET([mhd_assert_test_prg])
],
[AC_DEFINE([[NDEBUG]], [[1]], [Define to disable usage of debug asserts.])]
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (bf25ee3a -> e3d7574a), gnunet, 2021/04/01
- [libmicrohttpd] 01/10: digestauth: do not use size of buffer as size of digest, gnunet, 2021/04/01
- [libmicrohttpd] 02/10: digestauth: fixed compiler warning, gnunet, 2021/04/01
- [libmicrohttpd] 03/10: connection.c: mute compiler warning, gnunet, 2021/04/01
- [libmicrohttpd] 06/10: testzzuf: test thoroughly if heavy tests are enabled, gnunet, 2021/04/01
- [libmicrohttpd] 04/10: test_get_iovec: fixed compiler warning, gnunet, 2021/04/01
- [libmicrohttpd] 05/10: test_add_conn: muted compiler warning, gnunet, 2021/04/01
- [libmicrohttpd] 09/10: digestauth.c: trust configure detection of variable length arrays, gnunet, 2021/04/01
- [libmicrohttpd] 10/10: ax_have_epoll: speed-up detection, gnunet, 2021/04/01
- [libmicrohttpd] 07/10: configure: assume that systems assert() is functional if available,
gnunet <=
- [libmicrohttpd] 08/10: websocket_threaded_example: muted compiler warning, gnunet, 2021/04/01