/[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.671 by akim, Wed Sep 11 10:11:27 2002 UTC revision 1.672 by eggert, Wed Sep 11 19:03:59 2002 UTC
# Line 6087  output. Line 6087  output.
6087    
6088  @defmac AC_DEFINE (@var{variable}, @ovar{value}, @ovar{description})  @defmac AC_DEFINE (@var{variable}, @ovar{value}, @ovar{description})
6089  @acindex DEFINE  @acindex DEFINE
6090  Define C preprocessor variable @var{variable}.  If @var{value} is given,  Define the C preprocessor variable @var{variable} to @var{value} (verbatim).
 set @var{variable} to that value (verbatim), otherwise set it to 1.  
6091  @var{value} should not contain literal newlines, and if you are not  @var{value} should not contain literal newlines, and if you are not
6092  using @code{AC_CONFIG_HEADERS} it should not contain any @samp{#}  using @code{AC_CONFIG_HEADERS} it should not contain any @samp{#}
6093  characters, as @command{make} tends to eat them.  To use a shell variable  characters, as @command{make} tends to eat them.  To use a shell variable
# Line 6103  The following example defines the C prep Line 6102  The following example defines the C prep
6102  @example  @example
6103  AC_DEFINE(EQUATION, "$a > $b")  AC_DEFINE(EQUATION, "$a > $b")
6104  @end example  @end example
6105    
6106    If neither @var{value} nor @var{description} are given, then
6107    @var{value} defaults to 1 instead of to the empty string.  This is for
6108    backwards compatiblity with older versions of Autoconf, but this usage
6109    is obsolescent and may be withdrawn in future versions of Autoconf.
6110    
6111  @end defmac  @end defmac
6112    
6113  @defmac AC_DEFINE_UNQUOTED (@var{variable}, @ovar{value}, @ovar{description})  @defmac AC_DEFINE_UNQUOTED (@var{variable}, @ovar{value}, @ovar{description})

Legend:
Removed from v.1.671  
changed lines
  Added in v.1.672

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