mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Problem: it's 2016 and we are building with C++98
Solution: bump to C++11 and C11 in autoconf
This commit is contained in:
parent
80650ecfe2
commit
7dfbab3f97
@ -47,8 +47,9 @@ ZMQ_ORIG_CXXFLAGS="${CXXFLAGS:-none}"
|
|||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CC_C99
|
AX_CHECK_COMPILE_FLAG([-std=gnu11], [CFLAGS+=" -std=gnu11"], [AC_PROG_CC_C99])
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
AX_CXX_COMPILE_STDCXX_11([ext], [optional])
|
||||||
AM_PROG_CC_C_O
|
AM_PROG_CC_C_O
|
||||||
AC_PROG_SED
|
AC_PROG_SED
|
||||||
AC_PROG_AWK
|
AC_PROG_AWK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user