diff options
author | Tim Moore <timoore@redhat.com> | 2008-05-20 12:39:47 +0200 |
---|---|---|
committer | Tim Moore <timoore@redhat.com> | 2008-05-20 12:39:47 +0200 |
commit | 3bf6ac451c7eecc5184e7823f29a293b7df53fa0 (patch) | |
tree | a63adab8c29a6f2596c582cc4dcfa7ccda7060a7 /configure.ac | |
parent | c4c1558bbb72f56307d70661ac125544f1b88ffd (diff) | |
download | systemtap-steved-3bf6ac451c7eecc5184e7823f29a293b7df53fa0.tar.gz systemtap-steved-3bf6ac451c7eecc5184e7823f29a293b7df53fa0.tar.xz systemtap-steved-3bf6ac451c7eecc5184e7823f29a293b7df53fa0.zip |
Use tr1/unordered_map instead of the deprecated ext/hash_map.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
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) |