~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/stl_hash.m4

  • Committer: Monty Taylor
  • Date: 2009-01-09 19:40:29 UTC
  • mto: (779.1.4 devel)
  • mto: This revision was merged to the branch mainline in revision 784.
  • Revision ID: mordred@inaugust.com-20090109194029-vcic3m30e4uj0smj
General build cleanup - removed cruft, removed depreated checks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
AC_DEFUN([AC_CXX_STL_HASH],
14
14
  [AC_MSG_CHECKING(the location of hash_map)
15
 
  AC_LANG_SAVE
16
 
   AC_LANG_CPLUSPLUS
 
15
   AC_LANG_PUSH(C++)
17
16
   ac_cv_cxx_hash_map=""
18
17
   for location in ext/hash_map boost/hash_map hash_map; do
19
18
     for namespace in __gnu_cxx "" std stdext; do
25
24
       fi
26
25
     done
27
26
   done
 
27
   AC_LANG_POP()
28
28
   ac_cv_cxx_hash_set=`echo "$ac_cv_cxx_hash_map" | sed s/map/set/`;
29
29
   if test -n "$ac_cv_cxx_hash_map"; then
30
30
      AC_DEFINE(HAVE_HASH_MAP, 1, [define if the compiler has hash_map])