diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 22:01:23 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-04 22:01:23 +0900 |
commit | 3f0d91045d29435feef723f09f9ff75c80296d3d (patch) | |
tree | 15a0e4c16ec1a5ecdb6472f24136aedb99ef2b47 /configure.ac | |
parent | a0914a0ad18728e4b2b1632198d50d8b001a8890 (diff) | |
download | gnunet-3f0d91045d29435feef723f09f9ff75c80296d3d.tar.gz gnunet-3f0d91045d29435feef723f09f9ff75c80296d3d.zip |
BUILD: Remove static_assert check
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index 04c539bf3..81d678ecd 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -597,16 +597,6 @@ gcry_md_close (mac);]])], | |||
597 | [AC_MSG_RESULT([cross compiling, test skipped])]) | 597 | [AC_MSG_RESULT([cross compiling, test skipped])]) |
598 | AC_LANG_POP([C])]) | 598 | AC_LANG_POP([C])]) |
599 | 599 | ||
600 | AC_MSG_CHECKING([for static assertion support]) | ||
601 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], | ||
602 | [[_Static_assert(sizeof(int) >= 4, "not big enough");]])], | ||
603 | [AC_MSG_RESULT([yes]) | ||
604 | AC_DEFINE([HAVE_STATIC_ASSERT], [1], | ||
605 | [Define to 1 if static assert is supported])], | ||
606 | [AC_MSG_RESULT([no]) | ||
607 | AC_DEFINE([HAVE_STATIC_ASSERT], [0], | ||
608 | [Define to 1 if static assert is supported])]) | ||
609 | |||
610 | dnl Helper function to shorten the amount of repeated code | 600 | dnl Helper function to shorten the amount of repeated code |
611 | dnl It will create a --with-<lib> option for configure. | 601 | dnl It will create a --with-<lib> option for configure. |
612 | dnl | 602 | dnl |