From ac114ed45bd0a890139c33853dc88661c591be72 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 10 Dec 2003 13:38:51 +0000
Subject: [PATCH] do the ares stuff in the configure file

---
 lib/Makefile.am | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index da54713a06..4c53464ff9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -13,14 +13,10 @@ EXTRA_DIST = getdate.y Makefile.b32 Makefile.b32.resp Makefile.m32	    \
 
 lib_LTLIBRARIES = libcurl.la
 
-if ARES
-ARESINC = -I$(top_srcdir)/ares
-endif
-
 # we use srcdir/include for the static global include files
 # we use builddir/lib for the generated lib/config.h file to get found
 # we use srcdir/lib for the lib-private header files
-INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib $(ARESINC)
+INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/lib -I$(top_srcdir)/lib
 
 VERSION=-version-info 2:2:0
 
@@ -63,11 +59,7 @@ if MIMPURE
 MIMPURE = -mimpure-text
 endif
 
-if ARES
-ARESLIB = -lares -L$(top_builddir)/ares
-endif
-
-libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(ARESLIB) $(MIMPURE)
+libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(MIMPURE)
 
 libcurl_la_SOURCES = arpa_telnet.h file.c netrc.h timeval.c	\
 base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c	\
-- 
GitLab