Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Never ignore assertions

  • Loading branch information...
commit ad639900c9b894fbaf486f251d4f5948c6834026 1 parent c91e447
@jedisct1 authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 configure.ac
View
9 configure.ac
@@ -99,8 +99,6 @@ AC_TYPE_UINT32_T
AC_CHECK_TYPES([ptrdiff_t])
# Switches
-AC_HEADER_ASSERT
-
AC_ARG_ENABLE(debug,
[AS_HELP_STRING(--enable-debug,For maintainers only - please do not use)],
[ if test "x$enableval" = "xyes" ; then
@@ -125,6 +123,13 @@ LEVENTDIR="levent2"
AC_CONFIG_SUBDIRS([src/levent2])
CPPFLAGS="-I$LEVENTDIR -I$LEVENTDIR/include $CPPFLAGS"
+dnl Output
+
+AH_VERBATIM([NDEBUG], [/* Never ever ignore assertions */
+#ifdef NDEBUG
+#/**/undef/**/ NDEBUG
+#endif])
+
AC_CONFIG_FILES([Makefile
src/Makefile
src/ext/Makefile
Please sign in to comment.
Something went wrong with that request. Please try again.