autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4 indentation


From: William Pursell
Subject: m4 indentation
Date: Sun, 16 Mar 2008 08:48:11 +0000
User-agent: Icedove 1.5.0.14pre (X11/20080208)

Recently, Sam Steingold wrote:

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:

AC_DEFUN([CL_FFCALL],[dnl
ind       AC_ARG_WITH([ffcall],
ind       [AC_HELP_STRING([--with-ffcall],






reply via email to

[Prev in Thread] Current Thread [Next in Thread]