changeset 14561:26b2983a8acd

maint: fix unordered_map configure test * configure.ac: Supply template parameters for unordered_map in test.
author John W. Eaton <jwe@octave.org>
date Fri, 13 Apr 2012 14:07:45 -0400
parents 638390eacec4
children c973d4637659
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac
+++ b/configure.ac
@@ -1603,7 +1603,7 @@
     AC_LANG_PROGRAM([
       #include <unordered_map>
     ], [
-      std::unordered_map m;
+      std::unordered_map<int,int> m;
     ])], [], [unordered_map_requires_tr1_namespace=yes])
 elif test "$ac_cv_header_tr1_unordered_map" = "yes"; then
   unordered_map_requires_tr1_namespace=yes