From: Thadeu Lima de Souza Cascardo Date: Wed, 9 Oct 2013 11:14:50 +0000 (-0300) Subject: Build with GIO X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Ff2fchat.git;a=commitdiff_plain;h=5238d8b72d165350cd4735dbd5f2b0d165cfb3ca Build with GIO --- diff --git a/Makefile.am b/Makefile.am index fc7885d..6ed461a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ bin_PROGRAMS = f2fchat -f2fchat_SOURCES = f2fchat.c friend.c -f2fchat_CFLAGS = $(GLIB_CFLAGS) -f2fchat_LDFLAGS = $(GLIB_LIBS) +f2fchat_SOURCES = f2fchat.c friend.c message.c +f2fchat_CFLAGS = $(GLIB_CFLAGS) $(GIO_CFLAGS) +f2fchat_LDFLAGS = $(GLIB_LIBS) $(GIO_LIBS) diff --git a/configure.ac b/configure.ac index 07d7df4..70fd34f 100644 --- a/configure.ac +++ b/configure.ac @@ -4,4 +4,5 @@ AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL PKG_CHECK_MODULES(GLIB, glib-2.0, , AC_MSG_ERROR(Could not find GLIB)) +PKG_CHECK_MODULES(GIO, gio-2.0, , AC_MSG_ERROR(Could not find GIO)) AC_OUTPUT(Makefile)