mirror of
https://github.com/curl/curl.git
synced 2025-09-15 16:42:41 +03:00
do the ares stuff in the configure file
This commit is contained in:
parent
d46a735418
commit
ac114ed45b
|
@ -13,14 +13,10 @@ EXTRA_DIST = getdate.y Makefile.b32 Makefile.b32.resp Makefile.m32 \
|
||||||
|
|
||||||
lib_LTLIBRARIES = libcurl.la
|
lib_LTLIBRARIES = libcurl.la
|
||||||
|
|
||||||
if ARES
|
|
||||||
ARESINC = -I$(top_srcdir)/ares
|
|
||||||
endif
|
|
||||||
|
|
||||||
# we use srcdir/include for the static global include files
|
# 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 builddir/lib for the generated lib/config.h file to get found
|
||||||
# we use srcdir/lib for the lib-private header files
|
# 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
|
VERSION=-version-info 2:2:0
|
||||||
|
|
||||||
|
@ -63,11 +59,7 @@ if MIMPURE
|
||||||
MIMPURE = -mimpure-text
|
MIMPURE = -mimpure-text
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ARES
|
libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(MIMPURE)
|
||||||
ARESLIB = -lares -L$(top_builddir)/ares
|
|
||||||
endif
|
|
||||||
|
|
||||||
libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(ARESLIB) $(MIMPURE)
|
|
||||||
|
|
||||||
libcurl_la_SOURCES = arpa_telnet.h file.c netrc.h timeval.c \
|
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 \
|
base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user