You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
402 B

m4_ifndef([AC_HEADER_ASSERT], [
# AC_HEADER_ASSERT
# ----------------
# Check whether to enable assertions.
AC_DEFUN([AC_HEADER_ASSERT],
[
AC_MSG_CHECKING([whether to enable assertions])
AC_ARG_ENABLE([assert],
[ --disable-assert turn off assertions],
[AC_MSG_RESULT([no])
AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])],
[AC_MSG_RESULT(yes)])
])
])