~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_stl_hash.m4

  • Committer: Monty Taylor
  • Date: 2009-12-14 22:00:27 UTC
  • mto: (1241.9.10 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091214220027-kpmfbl452nctzc0g
pandora-build v0.85 - Fixed C++ standard setting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
AC_DEFUN([PANDORA_CXX_STL_HASH],
14
14
  [AC_MSG_CHECKING(the location of hash_map)
15
15
   AC_LANG_PUSH(C++)
 
16
   save_CXXFLAGS="${CXXFLAGS}"
 
17
   CXXFLAGS="${CXX_STANDARD} ${CXXFLAGS}"
16
18
   ac_cv_cxx_hash_map=""
17
19
   for location in "" "ext/" "tr1/" ; do
18
20
     for namespace in __gnu_cxx "" std stdext; do
103
105
   AS_IF([test $ac_cv_redefine_hash_string = yes],[
104
106
      AC_DEFINE(REDEFINE_HASH_STRING, 1, [if hash<string> needs to be defined])
105
107
   ])
 
108
   CXXFLAGS="${save_CXXFLAGS}"
106
109
   AC_LANG_POP()
107
110
])