[tor-bugs] #21023 [Core Tor/Tor]: Replace custom checks with Autoconf macros
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 18 10:32:34 UTC 2016
#21023: Replace custom checks with Autoconf macros
------------------------------+------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+------------------------------
Removing environ in #19142 didn't work on BSDs but the check in
`configure.ac` can be simplified. Autoconf provides the `AC_CHECK_DECL`
macro for these kinds of checks and turns the current check into a
oneliner.
The `malloc(0)` check can also be simplified by replacing it with the
`AC_FUNC_MALLOC` macro.
These are only two candidates I've found so far, there are probably more
hence this ticket.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21023>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list