From: Karl Fleischmann Date: Tue, 14 Jun 2022 08:16:07 +0000 (+0200) Subject: m4: want_prefetch.m4 - Modernize m4 syntax X-Git-Tag: 2.4.0~3869 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1df7dea130eb2c4fd78abd040d48016c82ca9aa9;p=thirdparty%2Fdovecot%2Fcore.git m4: want_prefetch.m4 - Modernize m4 syntax --- diff --git a/m4/want_prefetch.m4 b/m4/want_prefetch.m4 index 49d2f65b06..007afd960e 100644 --- a/m4/want_prefetch.m4 +++ b/m4/want_prefetch.m4 @@ -1,8 +1,8 @@ AC_DEFUN([DOVECOT_WANT_PREFETCH], [ - if test $want_prefetch_userdb != no; then - AC_DEFINE(USERDB_PREFETCH,, [Build with prefetch userdb support]) - userdb="$userdb prefetch" - else - not_userdb="$not_userdb prefetch" - fi + AS_IF([test "$want_prefetch_userdb" != "no"], [ + AC_DEFINE(USERDB_PREFETCH,, [Build with prefetch userdb support]) + userdb="$userdb prefetch" + ], [ + not_userdb="$not_userdb prefetch" + ]) ])