Skip to content

Commit 76486f7

Browse files
Mic92Ericson2314
authored andcommitted
fix c++17 check
#393 Appearantly there are compilers that support -std=c++17 but do not really support c++17. (cherry picked from commit 9921136)
1 parent d27e043 commit 76486f7

File tree

2 files changed

+0
-60
lines changed

2 files changed

+0
-60
lines changed

configure.ac

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,5 @@ AC_ARG_WITH([ubsan],
4141
)
4242
AM_CONDITIONAL([WITH_UBSAN], [test x"$with_ubsan" = xyes])
4343

44-
CPLUSPLUS=
45-
AX_CHECK_COMPILE_FLAG([-std=c++17], [CPLUSPLUS=17], [], [$WERROR])
46-
47-
if test -z "$CPLUSPLUS"; then
48-
AC_MSG_ERROR([Your compiler does not have the necessary C++17 support! Cannot proceed.])
49-
fi
50-
5144
AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile patchelf.spec])
5245
AC_OUTPUT

m4/ax_check_compile_flag.m4

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)