From ad7584d8b60119ca3717117a1eb6a16d753c5d74 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Mon, 26 Feb 2024 19:52:14 +0000 Subject: serialization: replace char-is-int8_t autoconf detection with c++20 concept This removes the only remaining autoconf macro in our serialization code, so it can now be used trivially and safely out-of-tree. --- configure.ac | 8 -------- 1 file changed, 8 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 50e6870dd9..45c114688b 100644 --- a/configure.ac +++ b/configure.ac @@ -1174,14 +1174,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include [ AC_MSG_RESULT([no])] ) -AC_MSG_CHECKING([for if type char equals int8_t]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include - #include ]], - [[ static_assert(std::is_same::value, ""); ]])], - [ AC_MSG_RESULT([yes]); AC_DEFINE([CHAR_EQUALS_INT8], [1], [Define this symbol if type char equals int8_t]) ], - [ AC_MSG_RESULT([no])] -) - AC_MSG_CHECKING([for fdatasync]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ fdatasync(0); ]])], -- cgit v1.2.3