Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
a39a03c4
Commit
a39a03c4
authored
Jun 21, 2002
by
Bill Hoffman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for sstream
parent
3fc72531
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
Templates/cxxconfigure.in
Templates/cxxconfigure.in
+9
-11
No files found.
Templates/cxxconfigure.in
View file @
a39a03c4
...
...
@@ -113,19 +113,17 @@ if test $ac_cv_prog_gxx = no; then
fi
AC_SUBST(CMAKE_NO_ANSI_STREAM_HEADERS)
# check non-g++ compilers to see if they have std::stringstream
if test $ac_cv_prog_gxx = no; then
AC_MSG_CHECKING( for ansi standard C++ stringstream )
rm -rf conftest.*
cat > conftest.cc <<!
# check compilers to see if they have std::stringstream
AC_MSG_CHECKING( for ansi standard C++ stringstream )
rm -rf conftest.*
cat > conftest.cc <<!
#include <sstream>
!
if test -z "`${CXX} ${CMAKE_ANSI_CXXFLAGS} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
if test -z "`${CXX} ${CMAKE_ANSI_CXXFLAGS} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>&1`"; then
echo "$ac_t""yes" 1>&6
else
else
CMAKE_NO_ANSI_STRING_STREAM="1"
echo "$ac_t""no" 1>&6
fi
fi
AC_SUBST(CMAKE_NO_ANSI_STRING_STREAM)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment