From: Aki Tuomi Date: Mon, 25 Apr 2022 18:23:00 +0000 (+0300) Subject: m4: gmtime_tm_gmtoff.m4 - Modernize m4 syntax X-Git-Tag: 2.4.0~3900 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c90b3d2b291ffc6e60cbf41b0f8b2fd38bd40b1;p=thirdparty%2Fdovecot%2Fcore.git m4: gmtime_tm_gmtoff.m4 - Modernize m4 syntax --- diff --git a/m4/gmtime_tm_gmtoff.m4 b/m4/gmtime_tm_gmtoff.m4 index 57df6aeb1e..8665eda23e 100644 --- a/m4/gmtime_tm_gmtoff.m4 +++ b/m4/gmtime_tm_gmtoff.m4 @@ -7,8 +7,8 @@ AC_DEFUN([DOVECOT_TM_GMTOFF], [ [[struct tm *tm; return tm->tm_gmtoff;]])], [i_cv_field_tm_gmtoff=yes], [i_cv_field_tm_gmtoff=no])]) - if test $i_cv_field_tm_gmtoff = yes; then + AS_IF([test $i_cv_field_tm_gmtoff = yes], [ AC_DEFINE(HAVE_TM_GMTOFF,, [Define if you have struct tm->tm_gmtoff]) - fi + ]) AC_MSG_RESULT($i_cv_field_tm_gmtoff) ])