From: Aki Tuomi Date: Mon, 25 Apr 2022 19:34:51 +0000 (+0300) Subject: m4: typeof_dev_t.m4 - Modernize m4 syntax X-Git-Tag: 2.4.0~3882 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb899c436912cd368d695bd72c083db4e8c9ae14;p=thirdparty%2Fdovecot%2Fcore.git m4: typeof_dev_t.m4 - Modernize m4 syntax --- diff --git a/m4/typeof_dev_t.m4 b/m4/typeof_dev_t.m4 index bec20ab982..4fce9dfd9c 100644 --- a/m4/typeof_dev_t.m4 +++ b/m4/typeof_dev_t.m4 @@ -12,7 +12,7 @@ AC_DEFUN([DOVECOT_TYPEOF_DEV_T], [ i_cv_dev_t_struct=yes ]) ]) - if test $i_cv_dev_t_struct = yes; then + AS_IF([test $i_cv_dev_t_struct = yes], [ AC_DEFINE(DEV_T_STRUCT,, [Define if your dev_t is a structure instead of integer type]) - fi + ]) ])