diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-04-26 22:59:52 +0900 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-05-26 23:07:42 +0200 |
commit | b5fdbe848bc3d088445817aa890d3f2f74ac5b02 (patch) | |
tree | c74203901cba4d4b9916fad127bdfe6778622ee6 /src/Makefile.am | |
parent | efb8471a69e0b5b9fe2296954b4917e294392372 (diff) | |
download | curl-b5fdbe848bc3d088445817aa890d3f2f74ac5b02.tar.gz |
Support Metalink.
This change adds experimental Metalink support to curl.
To enable Metalink support, run configure with --with-libmetalink.
To feed Metalink file to curl, use --metalink option like this:
$ curl -O --metalink foo.metalink
We use libmetalink to parse Metalink files.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index fb16192e3..90c9716b6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -50,11 +50,15 @@ AM_CPPFLAGS = -DCURL_STATICLIB endif include Makefile.inc +if HAVE_LIBMETALINK +include Makefile-metalink.inc +endif # HAVE_LIBMETALINK # This might hold -Werror -CFLAGS += @CURL_CFLAG_EXTRAS@ +CFLAGS += @CURL_CFLAG_EXTRAS@ @LIBMETALINK_CFLAGS@ -curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ +curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ @LIBMETALINK_LIBS@ +curl_LDFLAGS = @LIBMETALINK_LDFLAGS@ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la BUILT_SOURCES = hugehelp.c CLEANFILES = hugehelp.c |