[tasks/gnome3: 6/14] Remove check for g_date_set_time_t
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasks/gnome3: 6/14] Remove check for g_date_set_time_t
- Date: Wed, 27 Apr 2011 18:44:18 +0000 (UTC)
commit c947d3f87a382f18c9f713c26eab673d20d2b8da
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 2bbc030..5561db5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,11 +68,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]