- Macro: AS_HELP_STRING (LEFT-HAND-SIDE, RIGHT-HAND-SIDE)
Expands into an help string that looks pretty when the user
executes `configure --help'. It is typically used in `AC_ARG_WITH'
(*note External Software::) or `AC_ARG_ENABLE' (*note Package
Options::). The following example will make this clearer.
AC_DEFUN([TEST_MACRO],
[AC_ARG_WITH([foo],
AS_HELP_STRING([--with-foo],
[use foo (default is NO)]),
[ac_cv_use_foo=$withval], [ac_cv_use_foo=no])
AC_CACHE_CHECK([whether to use foo],
[ac_cv_use_foo], [ac_cv_use_foo=no])])
Please note that the call to `AS_HELP_STRING' is *unquoted*.