diff options
Diffstat (limited to 'libraries/eina/acinclude.m4')
-rw-r--r-- | libraries/eina/acinclude.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libraries/eina/acinclude.m4 b/libraries/eina/acinclude.m4 new file mode 100644 index 0000000..cfc0859 --- /dev/null +++ b/libraries/eina/acinclude.m4 | |||
@@ -0,0 +1,14 @@ | |||
1 | m4_ifndef([AC_HEADER_ASSERT], [ | ||
2 | # AC_HEADER_ASSERT | ||
3 | # ---------------- | ||
4 | # Check whether to enable assertions. | ||
5 | AC_DEFUN([AC_HEADER_ASSERT], | ||
6 | [ | ||
7 | AC_MSG_CHECKING([whether to enable assertions]) | ||
8 | AC_ARG_ENABLE([assert], | ||
9 | [ --disable-assert turn off assertions], | ||
10 | [AC_MSG_RESULT([no]) | ||
11 | AC_DEFINE(NDEBUG, 1, [Define to 1 if assertions should be disabled.])], | ||
12 | [AC_MSG_RESULT(yes)]) | ||
13 | ]) | ||
14 | ]) | ||