From 7c671512b81d68b7adc9873a81ed825fb429fc5b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 4 Mar 2007 19:47:53 +0000 Subject: r11612@catbus: nickm | 2007-01-30 18:14:07 -0500 make TOR_SEARCH_LIBRARY work with openssl svn:r9727 --- acinclude.m4 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 5e506a387..249c24fef 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -4,6 +4,16 @@ dnl Copyright (c) 2001-2004, Roger Dingledine dnl Copyright (c) 2004-2007, Roger Dingledine, Nick Mathewson dnl See LICENSE for licensing information +dnl TODO +dnl - Stop requiring gethostbyname_r entirely when we're building with +dnl eventdns? +dnl - Remove redundant event.h check. +dnl - Make the "no longe strictly accurate" message accurate. +dnl - Tell the user what -dev package to install based on OS. +dnl - Detect correct version of library. +dnl - After merge: +dnl Run autoupdate + AC_DEFUN([TOR_EXTEND_CODEPATH], [ if test -d "$1/lib"; then @@ -22,7 +32,7 @@ dnl Look for a library, and its associated includes, and how to link dnl against it. dnl dnl TOR_SEARCH_LIBRARY(libname, withlocation, linkargs, headers, prototype, -dnl code, optionname) +dnl code, optionname, searchextra) AC_DEFUN([TOR_SEARCH_LIBRARY], [ tor_saved_LIBS="$LIBS" @@ -32,7 +42,7 @@ AC_CACHE_CHECK([for $1 directory], tor_cv_library_$1_dir, [ tor_$1_dir_found=no tor_$1_any_linkable=no - for tor_trydir in "$2" "(system)" "$prefix" /usr/local /usr/pkg; do + for tor_trydir in "$2" "(system)" "$prefix" /usr/local /usr/pkg $8; do LDFLAGS="$tor_saved_LDFLAGS" LIBS="$tor_saved_LIBS $3" CPPFLAGS="$tor_saved_CPPFLAGS" -- cgit v1.2.3