commit | 3e24afa28e01b743a9f7fa1d42acb67e079d8187 | [log] [tgz] |
---|---|---|
author | Sara Golemon <sgolemon@fb.com> | Mon Aug 18 13:06:39 2014 -0700 |
committer | Jason Evans <je@fb.com> | Fri Aug 22 15:19:21 2014 -0700 |
tree | fc04162697690792fc8a99c6e2644dc196d00fbb | |
parent | 602c8e0971160e4b85b08b16cf8a2375aa24bc04 [diff] |
Test for availability of malloc hooks via autoconf __*_hook() is glibc, but on at least one glibc platform (homebrew), the __GLIBC__ define isn't set correctly and we miss being able to use these hooks. Do a feature test for it during configuration so that we enable it anywhere the hooks are actually available.