[gnome-applets/wip/muktupavels/cleanup: 16/17] build: remove unused HAVE_TM_TM_GMOFF and HAVE_TIMEZONE



commit 80b0ba3448839c5de0550ccc97f536e296f3eac5
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 24 17:14:43 2020 +0200

    build: remove unused HAVE_TM_TM_GMOFF and HAVE_TIMEZONE

 configure.ac | 16 ----------------
 1 file changed, 16 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e9ada5152..94d0f1280 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,22 +385,6 @@ fi
 
 AM_CONDITIONAL(HAVE_TRACKER_SEARCH_BAR, test "$have_tracker_search_bar" = "yes")
 
-dnl ***************************************************************************
-dnl *** Check for presence of tm.tm_gmtoff on the system                    ***
-dnl ***************************************************************************
-AC_CHECK_MEMBER([struct tm.tm_gmtoff],[struct_tm_tm_gmtoff=true],[struct_tm_tm_gmtoff=false],[#include 
<time.h>])
-case $struct_tm_tm_gmtoff in
-        true)
-                AC_DEFINE_UNQUOTED(HAVE_TM_TM_GMOFF, 1, Have the tm.tm_gmtoff member.)
-                ;;
-        *)
-                AC_CHECK_DECL(timezone,AC_DEFINE(HAVE_TIMEZONE,1,Have timezone),,
-[
-#include <time.h>
-])
-                ;;
-esac
-
 dnl **************************************************************************
 dnl Process .in files
 dnl **************************************************************************


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