diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2012-02-14 12:21:03 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-14 11:18:39 -0500 |
commit | efb7b9dec135594718b765234bc1f745855f60d2 (patch) | |
tree | cf8b42d4c5c221354e0b1bf97a7a6ef8e9f42056 /configure.in | |
parent | efcdc930fb02d471ef1a5f4c09a30ea512ca5a8b (diff) | |
download | tor-efb7b9dec135594718b765234bc1f745855f60d2.tar.gz tor-efb7b9dec135594718b765234bc1f745855f60d2.zip |
Use _NSGetEnviron() instead of environ where required
OS X would otherwise crash with a segfault when linked statically to
some libraries.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b39d156d4b..7b6d8fb023 100644 --- a/configure.in +++ b/configure.in @@ -292,6 +292,7 @@ dnl Check for functions before libevent, since libevent-1.2 apparently dnl exports strlcpy without defining it in a header. AC_CHECK_FUNCS( + _NSGetEnviron \ accept4 \ clock_gettime \ flock \ @@ -622,6 +623,7 @@ dnl These headers are not essential AC_CHECK_HEADERS( arpa/inet.h \ + crt_externs.h \ grp.h \ ifaddrs.h \ inttypes.h \ |