Add workaround for not linking against GnuTLS
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Nov 2010 19:06:05 +0000 (20:06 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Nov 2010 19:06:05 +0000 (20:06 +0100)
Makefile.am
gweb/gionotls.c [new file with mode: 0644]

index cca54aa..ac4d031 100644 (file)
@@ -57,7 +57,9 @@ noinst_PROGRAMS =
 sbin_PROGRAMS = src/connmand
 
 src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
+                       gweb/gweb.h gweb/gweb.c \
                        gweb/gresolv.h gweb/gresolv.c \
+                       gweb/giognutls.h gweb/gionotls.c \
                        $(builtin_sources) src/connman.ver \
                        src/main.c src/connman.h src/log.c src/selftest.c \
                        src/error.c src/plugin.c src/task.c src/element.c \
diff --git a/gweb/gionotls.c b/gweb/gionotls.c
new file mode 100644 (file)
index 0000000..14b9825
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ *
+ *  Web service library with GLib integration
+ *
+ *  Copyright (C) 2009-2010  Intel Corporation. All rights reserved.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License version 2 as
+ *  published by the Free Software Foundation.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include "giognutls.h"
+
+GIOChannel *g_io_channel_gnutls_new(int fd)
+{
+       return NULL;
+}