mailutils: update to 3.18
[oi-userland.git] / components / network / unbound / patches / 03-configure.ac.patch
blob0283b7ec6ba439ed628961e3865b3c46af1d72da
1 --- unbound-1.19.3/configure.ac.orig 2024-03-14 09:14:30.000000000 +0100
2 +++ unbound-1.19.3/configure.ac 2024-03-25 22:27:13.619762139 +0100
3 @@ -1336,17 +1336,17 @@
4 esac
6 # check for libevent
7 -AC_ARG_WITH(libevent, AS_HELP_STRING([--with-libevent=pathname],[use libevent (will check /usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr or you can specify an explicit path). Slower, but allows use of large outgoing port ranges.]),
8 +AC_ARG_WITH(libevent, AS_HELP_STRING([--with-libevent=pathname],[use libevent (will check /usr/lib /usr/lib/amd64 /usr/sfw /usr or you can specify an explicit path). Slower, but allows use of large outgoing port ranges.]),
9 [ ],[ with_libevent="no" ])
10 if test "x_$with_libevent" != x_no; then
11 AC_DEFINE([USE_LIBEVENT], [1], [Define if you enable libevent])
12 AC_MSG_CHECKING(for libevent)
13 if test "x_$with_libevent" = x_ -o "x_$with_libevent" = x_yes; then
14 - with_libevent="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
15 + with_libevent="/usr/lib /usr/lib/amd64 /usr/sfw /usr"
17 for dir in $with_libevent; do
18 thedir="$dir"
19 - if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
20 + if test -f "$dir/include/event.h" -o -f "$dir/include/libevent2/event2/event.h"; then
21 found_libevent="yes"
22 dnl assume /usr is in default path.
23 if test "$thedir" != "/usr"; then
24 @@ -1356,7 +1356,7 @@
26 done
27 if test x_$found_libevent != x_yes; then
28 - if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
29 + if test -f "$dir/include/libevent2/event2/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
30 # libevent source directory
31 AC_MSG_RESULT(found in $thedir)
32 CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"