File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ CFLAGS=
61
61
CXXFLAGS=
62
62
AC_PROG_CC
63
63
AC_PROG_CXX
64
+ AC_PROG_CPP
64
65
AX_CXX_COMPILE_STDCXX_11
65
66
66
67
@@ -199,7 +200,7 @@ AC_SUBST(ENABLE_S3, [$enable_s3])
199
200
AC_LANG_POP ( C++ )
200
201
201
202
if test -n "$enable_s3"; then
202
- declare -a aws_version_tokens=($(printf '# include <aws/core/VersionConfig.h>\nAWS_SDK_VERSION_STRING' | cpp -E | grep -v '^#.*' | sed 's/"//g' | tr '.' ' '))
203
+ declare -a aws_version_tokens=($(printf '# include <aws/core/VersionConfig.h>\nAWS_SDK_VERSION_STRING' | $CPP - | grep -v '^#.*' | sed 's/"//g' | tr '.' ' '))
203
204
AC_DEFINE_UNQUOTED ( [ AWS_VERSION_MAJOR] , ${aws_version_tokens@<:@ 0@:>@ } , [ Major version of aws-sdk-cpp.] )
204
205
AC_DEFINE_UNQUOTED ( [ AWS_VERSION_MINOR] , ${aws_version_tokens@<:@ 1@:>@ } , [ Minor version of aws-sdk-cpp.] )
205
206
fi
You can’t perform that action at this time.
0 commit comments