diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 34 |
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 |