summaryrefslogtreecommitdiff
path: root/chat/unrealircd/patches/patch-aa
blob: 3a6759f78294eebb04af7043aaa7a4e389df0b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
$NetBSD: patch-aa,v 1.3 2006/02/04 21:13:54 adrianp Exp $

--- configure.orig	2006-02-03 13:57:17.000000000 +0000
+++ configure
@@ -10247,7 +10247,7 @@ if test "${enable_libcurl+set}" = set; t
 		CURLLIBS=`$enableval/bin/curl-config --libs`
 
 				if test "x`echo $CURLLIBS |grep .*ares.*`" = x ; then
-			CURLLIBS="$CURLLIBS -lares"
+			CURLLIBS="$CURLLIBS -lcares"
 		fi
 		IRCDLIBS="$IRCDLIBS $CURLLIBS"
 		URL="url.o"
@@ -10692,72 +10692,6 @@ IRCDLIBS="$IRCDLIBS -lresolv "
 ;;
 esac
 
-tre_version="0.7.2"
-echo "$as_me:$LINENO: result: extracting TRE regex library" >&5
-echo "${ECHO_T}extracting TRE regex library" >&6
-cur_dir=`pwd`
-cd extras
-rm -rf tre-$tre_version
-if test "x$ac_cv_path_GUNZIP" = "x" ; then
-	tar xfz tre.tar.gz
-else
-	cp tre.tar.gz tre.tar.gz.bak
-	gunzip -f tre.tar.gz
-	cp tre.tar.gz.bak tre.tar.gz
-	tar xf tre.tar
-fi
-echo "$as_me:$LINENO: result: configuring TRE regex library" >&5
-echo "${ECHO_T}configuring TRE regex library" >&6
-cd tre-$tre_version
-./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp || exit 1
-echo "$as_me:$LINENO: result: compiling TRE regex library" >&5
-echo "${ECHO_T}compiling TRE regex library" >&6
-$ac_cv_prog_MAKER || exit 1
-echo "$as_me:$LINENO: result: installing TRE regex library" >&5
-echo "${ECHO_T}installing TRE regex library" >&6
-$ac_cv_prog_MAKER install || exit 1
-TREINCDIR="$cur_dir/extras/regexp/include"
-
-if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
-	TRELIBS="-L../extras/regexp/lib -ltre"
-else
-	TRELIBS=`$ac_cv_path_PKGCONFIG --libs tre.pc`
-fi
-
-cd $cur_dir
-
-
-cares_version="1.3.0"
-echo "$as_me:$LINENO: result: extracting c-ares resolver library" >&5
-echo "${ECHO_T}extracting c-ares resolver library" >&6
-cur_dir=`pwd`
-cd extras
-rm -rf c-ares-$cares_version
-if test "x$ac_cv_path_GUNZIP" = "x" ; then
-	tar xfz c-ares.tar.gz
-else
-	cp c-ares.tar.gz c-ares.tar.gz.bak
-	gunzip -f c-ares.tar.gz
-	cp c-ares.tar.gz.bak c-ares.tar.gz
-	tar xf c-ares.tar
-fi
-echo "$as_me:$LINENO: result: configuring c-ares library" >&5
-echo "${ECHO_T}configuring c-ares library" >&6
-cd c-ares-$cares_version
-./configure --prefix=$cur_dir/extras/c-ares || exit 1
-echo "$as_me:$LINENO: result: compiling c-ares resolver library" >&5
-echo "${ECHO_T}compiling c-ares resolver library" >&6
-$ac_cv_prog_MAKER || exit 1
-echo "$as_me:$LINENO: result: installing c-ares resolver library" >&5
-echo "${ECHO_T}installing c-ares resolver library" >&6
-$ac_cv_prog_MAKER install || exit 1
-CARESINCDIR="$cur_dir/extras/c-ares/include"
-
-CARESLIBS="-L../extras/c-ares/lib -lcares"
-
-cd $cur_dir
-
-
 ac_config_files="$ac_config_files Makefile src/modules/Makefile unreal ircdcron/ircdchk"
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure