Skip to content

Commit 1d91c25

Browse files
committed
Include -std=c++11 when compiling protobuf if available.
1 parent 607b921 commit 1d91c25

File tree

2 files changed

+984
-0
lines changed

2 files changed

+984
-0
lines changed

configure.ac

+2
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ case "$target_os" in
178178
esac
179179
AM_CONDITIONAL([OBJC_CONFORMANCE_TEST], [test $OBJC_CONFORMANCE_TEST = 1])
180180

181+
AX_CXX_COMPILE_STDCXX([11], [noext], [optional])
182+
181183
# HACK: Make gmock's configure script pick up our copy of CFLAGS and CXXFLAGS,
182184
# since the flags added by ACX_CHECK_SUNCC must be used when compiling gmock
183185
# too.

0 commit comments

Comments
 (0)