summaryrefslogtreecommitdiff
path: root/m4/install_prefix.m4
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2007-07-18 18:30:50 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2007-07-18 18:30:50 +0000
commitc437e1fcdd1e6ff3f032928d460cbfc115e2324f (patch)
tree482360b82db4bc64880e187b9b5af82e840df47c /m4/install_prefix.m4
parent6878379d5bab87c787cdd3487b5620a9c8adf376 (diff)
downloadgperftools-c437e1fcdd1e6ff3f032928d460cbfc115e2324f.tar.gz
Tue Jul 17 22:26:27 2007 Google Inc. <opensource@google.com>
* google-perftools: version 0.92 release * PERFORMANCE: use a packed cache to speed up tcmalloc * PORTING: preliminary windows support! (see README.windows) * PORTING: better support for solaris, OS X, FreeBSD (see INSTALL) * Envvar support for running the heap-checker under gdb * Add weak declarations to maybe_threads to fix no-pthreads compile bugs * Some 64bit fixes, especially with pprof * Better heap-checker support for some low-level allocations * Fix bug where heap-profiles would sometimes get truncated * New documentation about how to handle common heap leak situations * Use computed includes for hash_map/set: easier config * Added all used .m4 templates to the distribution git-svn-id: http://gperftools.googlecode.com/svn/trunk@36 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'm4/install_prefix.m4')
-rw-r--r--m4/install_prefix.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/m4/install_prefix.m4 b/m4/install_prefix.m4
new file mode 100644
index 0000000..d4afc93
--- /dev/null
+++ b/m4/install_prefix.m4
@@ -0,0 +1,8 @@
+AC_DEFUN([AC_INSTALL_PREFIX],
+ [ac_cv_install_prefix="$prefix";
+ if test x"$ac_cv_install_prefix" == x"NONE" ; then
+ ac_cv_install_prefix="$ac_default_prefix";
+ fi
+ AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$ac_cv_install_prefix",
+ [prefix where we look for installed files])
+ ])