Commit ac114ed4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

do the ares stuff in the configure file

parent d46a7354
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -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	\