/[autoconf]/autoconf/doc/autoconf.texi
ViewVC logotype

Diff of /autoconf/doc/autoconf.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.617 by eggert, Sun Apr 21 07:25:20 2002 UTC revision 1.618 by akim, Mon Apr 22 11:07:26 2002 UTC
# Line 10770  Expands into an help string that looks p Line 10770  Expands into an help string that looks p
10770  Options}).  The following example will make this clearer.  Options}).  The following example will make this clearer.
10771    
10772  @example  @example
10773  AC_DEFUN(TEST_MACRO,  AC_DEFUN([TEST_MACRO],
10774  [AC_ARG_WITH(foo,  [AC_ARG_WITH([foo],
10775               AC_HELP_STRING([--with-foo],               AC_HELP_STRING([--with-foo],
10776                              [use foo (default is NO)]),                              [use foo (default is NO)]),
10777               ac_cv_use_foo=$withval, ac_cv_use_foo=no),               [ac_cv_use_foo=$withval], [ac_cv_use_foo=no])
10778  AC_CACHE_CHECK(whether to use foo,  AC_CACHE_CHECK([whether to use foo],
10779                 ac_cv_use_foo, ac_cv_use_foo=no)])                 [ac_cv_use_foo], [ac_cv_use_foo=no])])
10780  @end example  @end example
10781    
10782  Please note that the call to @code{AC_HELP_STRING} is @strong{unquoted}.  Please note that the call to @code{AC_HELP_STRING} is @strong{unquoted}.

Legend:
Removed from v.1.617  
changed lines
  Added in v.1.618

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26