On Wednesday 2021-04-21 14:25, Duncan Roe wrote: >Hi Jan, > >On Wed, Apr 21, 2021 at 09:21:26AM +0200, Jan Engelhardt wrote: >> >> On Wednesday 2021-04-21 04:17, Duncan Roe wrote: >> >> >+if test -z "$DOXYGEN"; then >> >> >> >> If you use AS_IF above, you could also make use of it here :) >> > >> >Happy to do that, but could you spell out the actual line please? My grasp of m4 >> >is tenuous at best - I only copy stuff that I see working elsewhere. >> >> AS_IF([test -z "$DOXYGEN], [what if true], [what if false]) >> >Can I use HAVE_DOXYGEN instead? Is this right: > >AS_IF(HAVE_DOXYGEN, [what if true], [what if false]) Yes/no, the [condition] argument of AS_IF needs to be a shell command.