[tor-commits] [torsocks/master] Add freebsd to the libc detection in configure.ac

dgoulet at torproject.org dgoulet at torproject.org
Mon Jun 13 21:14:03 UTC 2016


commit c9d8a947d3ab19376338a3bc61f1b46bec64194a
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Mon Jun 13 16:22:12 2016 -0400

    Add freebsd to the libc detection in configure.ac
    
    Apparently, this works on FreeBSD. Sorry if I broke it for anyone out there.
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7e442f7..544f2d6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,7 +118,7 @@ dnl location on Unixish system.
 AC_MSG_CHECKING(file name of the C library)
 AS_CASE([$host_os],
 	[darwin*], [libc_name="libSystem.dylib"],
-	[linux*|kfreebsd*-gnu],
+	[linux*|kfreebsd*-gnu|freebsd*],
 	[
 		libc_name=`ldd /usr/bin/yes | grep 'libc\.' | cut -d ' ' -f 1 | tr -d '\t'`
 		if test "${libc_name}" == ""; then





More information about the tor-commits mailing list