Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
952a3cb8
Commit
952a3cb8
authored
Feb 17, 2008
by
Nick Mathewson
🎨
Browse files
r14240@tombo: nickm | 2008-02-17 14:26:52 -0500
Add a --with-tcmalloc argument to configure. svn:r13546
parent
4c1e4821
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
952a3cb8
...
...
@@ -16,6 +16,9 @@ Changes in version 0.2.0.20-?? - 2008-02-??
replacement on Linux: some glibc libraries do very poorly
with Tor's memory allocation patterns. Pass
--enable-openbsd-malloc to get the replacement malloc code.
- Add a --with-tcmalloc option to the configure script to link
against tcmalloc (if present). Does not yet search for
non-system include paths.
o Minor features (controller):
- Add a new __HashedControlSessionPassword option for controllers
...
...
configure.in
View file @
952a3cb8
...
...
@@ -557,6 +557,14 @@ if [[ $dmalloc -eq 1 ]]; then
AC_CHECK_FUNCS(dmalloc_strdup dmalloc_strndup)
fi
AC_ARG_WITH(tcmalloc,
[ --with-tcmalloc Use tcmalloc memory allocation library. ],
[ tcmalloc=yes ], [ tcmalloc=no ])
if test x$tcmalloc = xyes ; then
LDFLAGS="-ltcmalloc $LDFLAGS"
fi
# Allow user to specify an alternate syslog facility
AC_ARG_WITH(syslog-facility,
[ --with-syslog-facility=LOG syslog facility to use (default=LOG_DAEMON)],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment