Author: hdu
Date: Wed May 29 13:26:44 2013
New Revision: 1487476

URL: http://svn.apache.org/r1487476
Log:
#i122208# remove configure check for hash_map in system STL

a standard compliant STL does NOT have these obsoleted STL headers

Modified:
    openoffice/trunk/main/configure.in

Modified: openoffice/trunk/main/configure.in
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/configure.in?rev=1487476&r1=1487475&r2=1487476&view=diff
==============================================================================
--- openoffice/trunk/main/configure.in (original)
+++ openoffice/trunk/main/configure.in Wed May 29 13:26:44 2013
@@ -2916,20 +2916,9 @@ dnl ====================================
 dnl system stl sanity tests
 dnl ===================================================================
 if test "$USE_SYSTEM_STL" = "YES"; then
-   AC_MSG_CHECKING([if hash_map will be in __gnu_cxx namespace])
+   AC_MSG_CHECKING([system stl sanity])
    AC_LANG_PUSH([C++])
 
-   AC_TRY_COMPILE([#include <ext/hash_map>
-using namespace __gnu_cxx;
-],[hash_map<int, int> t; return 0;],
-  ac_cv_cxx_have_ext_hash_map=yes, ac_cv_cxx_have_ext_hash_map=no)
-
-   if test "$ac_cv_cxx_have_ext_hash_map" = "no"; then
-      AC_MSG_ERROR([Can't find hash_map. Try with --with-stlport])
-   else
-      AC_MSG_RESULT([$ac_cv_cxx_have_ext_hash_map])
-   fi
-
    if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
       AC_MSG_CHECKING([if STL headers are visibility safe])
       AC_EGREP_HEADER(visibility push, string, stlvisok=yes, stlvisok=no)


Reply via email to