configure: remove support for "embedded ares"

In March 2010 (commit 4259d2df7d) we removed the embedded 'ares'
directory from the curl source tree but we have since supported
especially detecting and using that build directory. The time has come
to remove that kludge and ask users to specify the c-ares dir correctly
with --enable-ares.

Closes #8397
This commit is contained in:
Daniel Stenberg 2022-02-07 17:17:31 +01:00
parent 436398bef5
commit ff4bf6bfb5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 45 additions and 100 deletions

View file

@ -48,18 +48,11 @@ CFLAGS += @CURL_CFLAG_EXTRAS@
# $(top_srcdir)/include is for libcurl's external include files
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
# $(top_srcdir)/lib for libcurl's lib/curl_setup.h and other "private" files
# $(top_builddir)/ares is for in-tree c-ares's generated ares_build.h file
# $(top_srcdir)/ares is for in-tree c-ares's external include files
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_builddir)/lib \
-I$(top_srcdir)/lib
if USE_EMBEDDED_ARES
AM_CPPFLAGS += -I$(top_builddir)/ares \
-I$(top_srcdir)/ares
endif
# Prevent LIBS from being used for all link targets
LIBS = $(BLANK_AT_MAKETIME)