aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-25 21:04:13 +0000
committerJoão Valverde <j@v6e.pt>2016-04-02 22:18:46 +0000
commitae9e3114802d8a758a335df664ddff13f4037e61 (patch)
tree96600338c511b1bc2f29f40dc55a49ff7fb13ecb /acinclude.m4
parentfd4808fbec986bcc24247b9acfba83db95dba2c6 (diff)
Use AC_STRUCT_TIMEZONE
Change-Id: I96c12dce662691d37d6eb6c1893c5e9d91a8ea6f Reviewed-on: https://code.wireshark.org/review/14753 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m434
1 files changed, 0 insertions, 34 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1ed5f5619a..f62610e3bb 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -97,40 +97,6 @@ AC_DEFUN([AC_WIRESHARK_POP_FLAGS],
LDFLAGS="$ac_ws_LDFLAGS_saved"
])
-#
-# AC_WIRESHARK_TIMEZONE_ABBREV
-#
-
-AC_DEFUN([AC_WIRESHARK_TIMEZONE_ABBREV],
-[
- AC_CACHE_CHECK([for tm_zone in struct tm],
- ac_cv_wireshark_have_tm_zone,
- [
- AC_TRY_COMPILE(
- [#include <time.h>],
- [struct tm t; t.tm_zone;],
- ac_cv_wireshark_have_tm_zone=yes,
- ac_cv_wireshark_have_tm_zone=no)
- ])
- if test $ac_cv_wireshark_have_tm_zone = yes; then
- AC_DEFINE(HAVE_TM_ZONE, 1, [Define if tm_zone field exists in struct tm])
- else
- AC_CACHE_CHECK([for tzname],
- ac_cv_wireshark_have_tzname,
- [
- AC_TRY_LINK(
-[#include <time.h>
-#include <stdio.h>],
- [printf("%s", tzname[0]);],
- ac_cv_wireshark_have_tzname=yes,
- ac_cv_wireshark_have_tzname=no)
- ])
- if test $ac_cv_wireshark_have_tzname = yes; then
- AC_DEFINE(HAVE_TZNAME, 1, [Define if tzname array exists])
- fi
- fi
-])
-
#
# AC_WIRESHARK_STRUCT_ST_FLAGS