Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: tools/nixysa/third_party/gflags-1.0/m4/stl_namespace.m4

Issue 2043006: WTF NPAPI extension. Early draft. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # We check what namespace stl code like vector expects to be executed in
2
3 AC_DEFUN([AC_CXX_STL_NAMESPACE],
4 [AC_CACHE_CHECK(
5 what namespace STL code is in,
6 ac_cv_cxx_stl_namespace,
7 [AC_REQUIRE([AC_CXX_NAMESPACES])
8 AC_LANG_SAVE
9 AC_LANG_CPLUSPLUS
10 AC_TRY_COMPILE([#include <vector>],
11 [vector<int> t; return 0;],
12 ac_cv_cxx_stl_namespace=none)
13 AC_TRY_COMPILE([#include <vector>],
14 [std::vector<int> t; return 0;],
15 ac_cv_cxx_stl_namespace=std)
16 AC_LANG_RESTORE])
17 if test "$ac_cv_cxx_stl_namespace" = none; then
18 AC_DEFINE(STL_NAMESPACE,,
19 [the namespace where STL code like vector<> is defined])
20 fi
21 if test "$ac_cv_cxx_stl_namespace" = std; then
22 AC_DEFINE(STL_NAMESPACE,std,
23 [the namespace where STL code like vector<> is defined])
24 fi
25 ])
OLDNEW
« no previous file with comments | « tools/nixysa/third_party/gflags-1.0/m4/namespaces.m4 ('k') | tools/nixysa/third_party/gflags-1.0/missing » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698