autoconf
[Top][All Lists]
Advanced

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

What is an unquoted macro call?


From: Jian Wang
Subject: What is an unquoted macro call?
Date: Wed, 8 Nov 2006 14:49:58 +0800

The following is extracted from autoconf's info manual:

 - 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*.

It says at the end that the call to `AS_HELP_STRING' is *unquoted*. What
does "unquoted" mean here?


reply via email to

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