changeset 429:74b23aec578d trunk

[svn] - buildsystem glue for curl http:// transport
author nenolod
date Sun, 14 Jan 2007 22:39:39 -0800
parents 37b3f45b3a68
children ed94145472df
files ChangeLog configure.ac src/curl/Makefile
diffstat 3 files changed, 28 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 14 22:34:57 2007 -0800
+++ b/ChangeLog	Sun Jan 14 22:39:39 2007 -0800
@@ -1,3 +1,12 @@
+2007-01-15 06:34:57 +0000  Daniel Barkalow <barkalow@iabervon.org>
+  revision [940]
+  Add code for a plugin to use CURL for http. Needs some build-system
+  stuff before it will actually get built and installed.
+  
+  trunk/src/curl/curl.c |  452 ++++++++++++++++++++++++++++++++++++++++++++++++++
+  1 file changed, 452 insertions(+)
+
+
 2007-01-15 06:31:16 +0000  Daniel Barkalow <barkalow@iabervon.org>
   revision [938]
   Use a VFSFile instead of the built-in http, if the VFS supports it.
--- a/configure.ac	Sun Jan 14 22:34:57 2007 -0800
+++ b/configure.ac	Sun Jan 14 22:39:39 2007 -0800
@@ -962,7 +962,7 @@
 
 AC_MSG_CHECKING([for curl >= $check])
 
-PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], , [scrobbler="no"])
+PKG_CHECK_MODULES(CURL, [libcurl >= 7.9.7], [	CONTAINER_PLUGINS="$CONTAINER_PLUGINS curl" ], [scrobbler="no"])
 
 if test "x$scrobbler" = "xyes"; then
 	GENERAL_PLUGINS="$GENERAL_PLUGINS scrobbler"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/curl/Makefile	Sun Jan 14 22:39:39 2007 -0800
@@ -0,0 +1,18 @@
+include ../../mk/rules.mk
+include ../../mk/init.mk
+
+SUBDIRS = 
+
+OBJECTIVE_LIBS = libcurl$(SHARED_SUFFIX)
+
+LIBDIR = $(plugindir)/$(GENERAL_PLUGIN_DIR)
+
+LIBADD += $(GTK_LIBS) $(CURL_LIBS)
+
+SOURCES = curl.c
+
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(BEEP_DEFINES) $(CURL_CFLAGS) -I../../intl -I../..
+
+OBJECTS = ${SOURCES:.c=.o}
+
+include ../../mk/objective.mk