From 3bf6ac451c7eecc5184e7823f29a293b7df53fa0 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Tue, 20 May 2008 12:39:47 +0200 Subject: Use tr1/unordered_map instead of the deprecated ext/hash_map. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4d0a4263..b7c1bc47 100644 --- a/configure.ac +++ b/configure.ac @@ -227,6 +227,11 @@ AC_SUBST(cap_LIBS) LIBS="$SAVE_LIBS" CFLAGS="$SAVE_CFLAGS" +# Use tr1/unordered_map if available +AC_LANG_PUSH(C++) +AC_CHECK_HEADERS([tr1/unordered_map]) +AC_LANG_POP(C++) + AC_CONFIG_HEADERS([config.h:config.in]) AC_CONFIG_FILES(Makefile doc/Makefile systemtap.spec stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5) AC_CONFIG_SUBDIRS(testsuite) -- cgit