Commit 7dfbab3f authored by Luca Boccassi's avatar Luca Boccassi

Problem: it's 2016 and we are building with C++98

Solution: bump to C++11 and C11 in autoconf
parent 80650ecf
......@@ -47,8 +47,9 @@ ZMQ_ORIG_CXXFLAGS="${CXXFLAGS:-none}"
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
AX_CHECK_COMPILE_FLAG([-std=gnu11], [CFLAGS+=" -std=gnu11"], [AC_PROG_CC_C99])
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_11([ext], [optional])
AM_PROG_CC_C_O
AC_PROG_SED
AC_PROG_AWK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment