[gnome-calendar] Check for icaltime_days_in_year() properly



commit d8265a498b8c460250371742b25858dec9fe5cf0
Author: Erick Perez Castellanos <erick red gmail com>
Date:   Tue Oct 6 08:36:33 2015 -0500

    Check for icaltime_days_in_year() properly
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=753296

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 27b8941..a01b510 100644
--- a/configure.ac
+++ b/configure.ac
@@ -100,6 +100,9 @@ PKG_CHECK_MODULES(CALENDAR,
                   libedataserverui-1.2 >= $EDATASERVERUI_REQUIRED
                   libical >= $LIBICAL_REQUIRED)
 
+AC_CHECK_LIB(ical, icaltime_days_in_year, [],
+                AC_MSG_ERROR([Error: icaltime_days_in_year() not found in libical!. Upgrade your libical 
library.]))
+
 APPSTREAM_XML
 
 AC_CONFIG_FILES([


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