]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: typeof_dev_t.m4 - Modernize m4 syntax
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 25 Apr 2022 19:34:51 +0000 (22:34 +0300)
committerKarl Fleischmann <karl.fleischmann@open-xchange.com>
Mon, 4 Jul 2022 09:43:26 +0000 (11:43 +0200)
m4/typeof_dev_t.m4

index bec20ab98261e0314901989a61f362cf967f4986..4fce9dfd9cb0662e05ea91436a9306b337424943 100644 (file)
@@ -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
+  ])
 ])