From d2bf27acd75d608f28807ff54490809a9a8e56c0 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 6 Sep 2007 09:29:15 +0000 Subject: [PATCH] search order. git-svn-id: file:///svn/unbound/trunk@605 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6d309b4a5..ae8d442a8 100644 --- a/configure.ac +++ b/configure.ac @@ -359,14 +359,14 @@ CHECK_YYUNPUT # Checks for libraries. AC_ARG_WITH(ssl, AC_HELP_STRING([--with-ssl=pathname], [enable SSL (will check /usr/local/ssl - /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr/sfw /usr /opt/local)]),[ + /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw /usr)]),[ ],[ withval="yes" ]) if test x_$withval != x_no; then AC_MSG_CHECKING(for SSL) if test x_$withval = x_ -o x_$withval = x_yes; then - withval="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr/sfw /usr /opt/local" + withval="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /opt/local /usr/sfw /usr" fi for dir in $withval; do ssldir="$dir" @@ -434,12 +434,12 @@ fi AC_CHECK_LIB(rt, clock_gettime) # check for libevent AC_ARG_WITH(libevent, AC_HELP_STRING([--with-libevent=pathname], - [set path to libevent (will check /usr/local /usr/lib /usr/pkg /usr/sfw /usr /opt/local)]), + [set path to libevent (will check /usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr)]), [ ],[ withval="yes" ]) if test x_$withval != x_no; then AC_MSG_CHECKING(for libevent) if test x_$withval = x_ -o x_$withval = x_yes; then - withval="/usr/local /usr/lib /usr/pkg /usr/sfw /usr /opt/local"; + withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"; fi for dir in $withval; do thedir="$dir" -- 2.47.2