Skip to content

Commit dd376a1

Browse files
author
root
committed
Fix c++ compile for compilers that need the -std=c++11 switch
Hamlib#740
1 parent 2c57bc5 commit dd376a1

File tree

2 files changed

+965
-0
lines changed

2 files changed

+965
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,9 @@ AS_IF([test x"${DL_LIBS}" = "x-ldl"],
728728

729729
AC_SUBST([DL_LIBS])
730730

731+
dnl check for c++11
732+
AX_CXX_COMPILE_STDCXX([11],[noext],[mandatory])
733+
731734

732735
dnl stuff that requires C++ support
733736
AS_IF([test x"${cf_with_usrp}" = "xyes"],[

0 commit comments

Comments
 (0)