Added the libgiosmtp module, and hence libtool support

Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
This commit is contained in:
Gergely POLONKAI 2012-05-19 12:40:07 +02:00
parent d718cc7405
commit 527596d026
6 changed files with 14 additions and 3 deletions

View File

@ -1,2 +1,3 @@
SUBDIRS = wmud docs/reference/wmud
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libgiosmtp wmud docs/reference/wmud
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

View File

@ -1,7 +1,8 @@
#! /bin/sh
mkdir m4 &> /dev/null
gtkdocize || exit 1
gtkdocize --copy || exit 1
libtoolize --install --copy || exit 1
autoheader || exit 1
aclocal || exit 1
autoconf || exit 1

View File

@ -6,6 +6,7 @@ AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([wMUD], [0.1.0])
AC_PROG_CC
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
AC_CHECK_HEADERS([crypt.h])
@ -49,4 +50,4 @@ if test "$libcurl_protocol_SMTP" != "yes"; then
exit 1
fi
AC_OUTPUT(Makefile wmud/Makefile docs/reference/wmud/Makefile create-world.sh drop-world.sh)
AC_OUTPUT(Makefile libgiosmtp/Makefile wmud/Makefile docs/reference/wmud/Makefile create-world.sh drop-world.sh)

5
libgiosmtp/Makefile.am Normal file
View File

@ -0,0 +1,5 @@
lib_LTLIBRARIES = libgiosmtp-1.0.la
AM_CPPFLAGS = $(CURL_CFLAGS)
libgiosmtp_1_0_la_SOURCES = gioextension.c giomodule.c
libgiosmtp_1_0_la_LIBADD = $(CURL_LIBS)

View File

@ -0,0 +1 @@
#include <gio/gio.h>

2
libgiosmtp/giomodule.c Normal file
View File

@ -0,0 +1,2 @@
#include <gio/gio.h>
#include <curl/curl.h>