From 664d256a7447b784d33d31c7a0e69d57c7380543 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 3 Sep 2017 20:19:58 +0200 Subject: [PATCH] configure.ac: Remove check for GMTOFF this was from NITB days and now in osmo-msc.git Change-Id: I337201ec2c2457100b229b5df2cbabbcb801236f --- configure.ac | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/configure.ac b/configure.ac index a54bcf046..a091b395f 100644 --- a/configure.ac +++ b/configure.ac @@ -101,31 +101,6 @@ if test "$enable_coverage" = "yes"; then AC_SUBST([COVERAGE_LDFLAGS]) fi -AC_DEFUN([CHECK_TM_INCLUDES_TM_GMTOFF], [ - AC_CACHE_CHECK( - [whether struct tm has tm_gmtoff member], - osmo_cv_tm_includes_tm_gmtoff, - [AC_LINK_IFELSE([ - AC_LANG_PROGRAM([ - #include - ], [ - time_t t = time(NULL); - struct tm* lt = localtime(&t); - int off = lt->tm_gmtoff; - ]) - ], - osmo_cv_tm_includes_tm_gmtoff=yes, - osmo_cv_tm_includes_tm_gmtoff=no - )] - ) - if test "x$osmo_cv_tm_includes_tm_gmtoff" = xyes; then - AC_DEFINE(HAVE_TM_GMTOFF_IN_TM, 1, - [Define if struct tm has tm_gmtoff member.]) - fi -]) - -CHECK_TM_INCLUDES_TM_GMTOFF - AC_ARG_ENABLE([vty_tests], AC_HELP_STRING([--enable-vty-tests], [Include the VTY/CTRL tests in make check (deprecated)