* William Pursell wrote on Sun, Mar 16, 2008 at 09:48:11AM CET:
>
> AC_DEFUN([CL_FFCALL],[dnl
> AC_ARG_WITH([ffcall],
> [AC_HELP_STRING([--with-ffcall],
>
> the idiom of using dnl to suppress the newline is common,
> as is the lack of indentation to prevent m4 from inserting
> unwanted white space. Is there any mechanism in m4 to allow
> indentation? For example, a label like "ind" similar to dnl
> that, when present, would tell m4 to discard following whitespace
> and allow the above to be written as:
No, but you can also take advantages of the fact that leading (but not
trailing!) whitespace in a macro argument is dropped, and that often,
leading whitespace does not matter for further computation.
So nothing prevents you from writing:
AC_DEFUN([CL_FFCALL],
[AC_ARG_WITH([ffcall],
[AC_HELP_STRING([--with-ffcall], ...)])])
Cheers,
Ralf
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf