[tasks] Remove check for g_date_set_time_t



commit ed531320627945771431409470c2613c7c74f1aa
Author: Ross Burton <ross linux intel com>
Date:   Wed Apr 27 19:34:39 2011 +0100

    Remove check for g_date_set_time_t

 configure.ac        |    5 -----
 libkoto/Makefile.am |    6 ------
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 21f1360..c48d97f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,11 +55,6 @@ AM_CONDITIONAL(WITH_UNIQUE, test "$with_unique" = "xyes")
 old_cflags=$CFLAGS
 CFLAGS=$GTK_CFLAGS
 
-# This was introduced in GLib 2.10
-AC_CHECK_DECLS([g_date_set_time_t],
-               [have_date=yes], [have_date=no], [#include <glib.h>])
-AM_CONDITIONAL(HAVE_GDATE_TIME_T, test "x$have_date" = "xyes")
-
 # This was introduced in GLib 2.14
 AC_CHECK_DECLS([g_regex_new],
                [have_regex=yes], [have_regex=no], [#include <glib.h>])
diff --git a/libkoto/Makefile.am b/libkoto/Makefile.am
index 69a0e81..4283d69 100644
--- a/libkoto/Makefile.am
+++ b/libkoto/Makefile.am
@@ -2,12 +2,6 @@ localedir = $(datadir)/locale
 AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -DPKGDATADIR=\"$(pkgdatadir)\" $(WARN_CFLAGS) $(GTK_CFLAGS) $(ECAL_CFLAGS) $(SEXY_CFLAGS)
 AM_LDFLAGS = $(GTK_LIBS) $(ECAL_LIBS) $(SEXY_LIBS)
 
-# Really nasty, but I don't want to check for this every time I want to use
-# g_date_set_time_t.
-if ! HAVE_GDATE_TIME_T
-AM_CPPFLAGS += -D'g_date_set_time_t(d,t)=g_date_set_time(d,t)'
-endif
-
 noinst_LIBRARIES = libkoto.a
 libkoto_a_SOURCES = \
 	ical-util.h ical-util.c \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]