Commit 5648ee2e authored by Segher Boessenkool's avatar Segher Boessenkool

Allow compiling vorbis-tools without libcurl, by specifying

--without-curl

svn path=/trunk/vorbis-tools/; revision=3280
parent fc4a1f18
......@@ -11,10 +11,12 @@
* *
********************************************************************
last mod: $Id: http_transport.c,v 1.8 2002/01/26 11:06:37 segher Exp $
last mod: $Id: http_transport.c,v 1.9 2002/05/05 03:45:04 segher Exp $
********************************************************************/
#ifdef HAVE_CURL
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......@@ -329,3 +331,5 @@ transport_t http_transport = {
&http_tell,
&http_close
};
#endif /* HAVE_CURL */
......@@ -11,7 +11,7 @@
* *
********************************************************************
last mod: $Id: transport.c,v 1.3 2002/01/26 11:06:38 segher Exp $
last mod: $Id: transport.c,v 1.4 2002/05/05 03:45:04 segher Exp $
********************************************************************/
......@@ -22,9 +22,17 @@
#include "i18n.h"
extern transport_t file_transport;
#ifdef HAVE_CURL
extern transport_t http_transport;
transport_t *transports[] = { &http_transport, &file_transport, NULL };
#endif
transport_t *transports[] = {
#ifdef HAVE_CURL
&http_transport,
#endif
&file_transport,
NULL
};
transport_t *get_transport_by_name (char *name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment