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 |
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}) |