]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Formerly autoconf.texi.~131~
authorDavid MacKenzie <djm@djmnet.org>
Tue, 31 Aug 1993 23:18:57 +0000 (23:18 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Tue, 31 Aug 1993 23:18:57 +0000 (23:18 +0000)
autoconf.texi
doc/autoconf.texi

index 2c01d6f7d9c0b8a9986994f082cb15e39715a9d2..3380dde151268112e0a4c026e5bed8941d4f561b 100644 (file)
@@ -69,6 +69,9 @@ except that this permission notice may be stated in a translation approved
 by the Foundation.
 @end titlepage
 
+@c Define a macro index that @@defmacro doesn't write to.
+@defcodeindex ma
+
 @node Top, Introduction, , (dir)
 @comment  node-name,  next,  previous,  up
 
@@ -467,7 +470,7 @@ The following macros check for the presence or behavior of particular
 programs:
 
 @defmac AC_DECLARE_YYTEXT
-@findex DECLARE_YYTEXT
+@maindex DECLARE_YYTEXT
 @vindex DECLARE_YYTEXT
 Define @code{DECLARE_YYTEXT} to declare @code{yytext} appropriately,
 depending on whether @code{lex} or @code{flex} is being used.  This
@@ -476,28 +479,28 @@ been called already.
 @end defmac
 
 @defmac AC_LN_S
-@findex LN_S
+@maindex LN_S
 If @samp{ln -s} works on the current filesystem (the O.S. and filesystem
 support symbolic links), set shell and @code{make} variable @code{LN_S}
 to @samp{ln -s}, otherwise set it to @samp{ln}.
 @end defmac
 
 @defmac AC_MINUS_C_MINUS_O
-@findex MINUS_C_MINUS_O
+@maindex MINUS_C_MINUS_O
 @vindex NO_MINUS_C_MINUS_O
 If the C compiler does not accept the @samp{-c} and @samp{-o} options
 simultaneously, define @code{NO_MINUS_C_MINUS_O}.
 @end defmac
 
 @defmac AC_PROG_YACC
-@findex PROG_YACC
+@maindex PROG_YACC
 If @code{bison} is found, set @code{make} variable @code{YACC} to
 @samp{bison -y}.  Otherwise, if @code{byacc} is found, set @code{YACC}
 to @samp{byacc}.  Otherwise set @code{YACC} to @samp{yacc}.
 @end defmac
 
 @defmac AC_PROG_CPP
-@findex PROG_CPP
+@maindex PROG_CPP
 Set shell and @code{make} variable @code{CPP} to a command that runs the
 C preprocessor.  If @samp{$CC -E} doesn't work, it uses @file{/lib/cpp}.
 
@@ -509,7 +512,7 @@ after @code{AC_PROG_CC}.
 @end defmac
 
 @defmac AC_PROG_LEX
-@findex PROG_LEX
+@maindex PROG_LEX
 If @code{flex} is found, set @code{make} variable @code{LEX} to
 @samp{flex} and @code{LEXLIB} to @samp{-lfl}, if that library is in a
 standard place.  Otherwise set @code{LEX} to @samp{lex} and
@@ -517,21 +520,21 @@ standard place.  Otherwise set @code{LEX} to @samp{lex} and
 @end defmac
 
 @defmac AC_PROG_AWK
-@findex PROG_AWK
+@maindex PROG_AWK
 Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
 order, and set @code{make} variable @code{AWK} to the first one that it
 finds.
 @end defmac
 
 @defmac AC_PROG_CC
-@findex PROG_CC
+@maindex PROG_CC
 If @code{gcc} is found, set @code{make} variable @code{CC} to @samp{gcc},
 and set shell variable @code{GCC} to 1 for use by macros such as
 @code{AC_GCC_TRADITIONAL}.
 @end defmac
 
 @defmac AC_GCC_TRADITIONAL
-@findex GCC_TRADITIONAL
+@maindex GCC_TRADITIONAL
 Add @samp{-traditional} to @code{make} variable @code{CC} if using the
 GNU C compiler and @code{ioctl} does not work properly without
 @samp{-traditional}.  This macro calls @code{AC_PROG_CC} and
@@ -539,7 +542,7 @@ GNU C compiler and @code{ioctl} does not work properly without
 @end defmac
 
 @defmac AC_PROG_INSTALL
-@findex PROG_INSTALL
+@maindex PROG_INSTALL
 Set @code{make} variable @code{INSTALL} to @samp{install -c} if
 @code{install} is found, otherwise set it to @samp{cp}.  Screens out the
 false matches @file{/etc/install}, @file{/usr/sbin/install}, and other
@@ -549,13 +552,13 @@ instances of @code{install} known not to work.  The variable
 @end defmac
 
 @defmac AC_PROG_RANLIB
-@findex PROG_RANLIB
+@maindex PROG_RANLIB
 Set @code{make} variable @code{RANLIB} to @samp{ranlib} if @code{ranlib}
 is found, otherwise to @samp{:} (do nothing).
 @end defmac
 
 @defmac AC_RSH
-@findex RSH
+@maindex RSH
 @vindex NO_REMOTE
 @vindex HAVE_NETDB_H
 If a remote shell is available, put @samp{rtapelib.o} in @code{make}
@@ -571,7 +574,7 @@ available, define @code{NO_REMOTE}.
 The following macros check for the presence of certain C header files:
 
 @defmac AC_DIR_HEADER
-@findex DIR_HEADER
+@maindex DIR_HEADER
 @vindex DIRENT
 @vindex SYSDIR
 @vindex SYSNDIR
@@ -615,7 +618,7 @@ the length of a directory entry name by passing a pointer to a
 @end defmac
 
 @defmac AC_MAJOR_HEADER
-@findex MAJOR_HEADER
+@maindex MAJOR_HEADER
 @vindex MAJOR_IN_MKDEV
 @vindex MAJOR_IN_SYSMACROS
 If @file{sys/types.h} does not define @code{major}, @code{minor}, and
@@ -625,7 +628,7 @@ If @file{sys/types.h} does not define @code{major}, @code{minor}, and
 @end defmac
 
 @defmac AC_MEMORY_H
-@findex MEMORY_H
+@maindex MEMORY_H
 @vindex NEED_MEMORY_H
 Define @code{NEED_MEMORY_H} if @code{memcpy}, @code{memcmp}, etc. are
 not declared in @file{string.h} and @file{memory.h} exists.  This macro
@@ -634,7 +637,7 @@ example for @code{AC_STDC_HEADERS}.
 @end defmac
 
 @defmac AC_STDC_HEADERS
-@findex STDC_HEADERS
+@maindex STDC_HEADERS
 @vindex STDC_HEADERS
 Define @code{STDC_HEADERS} if the system has ANSI C header files.
 Specifically, this macro checks for @file{stdlib.h}, @file{stdarg.h},
@@ -688,7 +691,7 @@ the macro definitions with ones that go in the other direction.
 @end defmac
 
 @defmac AC_UNISTD_H
-@findex UNISTD_H
+@maindex UNISTD_H
 @vindex HAVE_UNISTD_H
 Define @code{HAVE_UNISTD_H} if the system has @file{unistd.h}.  The way
 to check if the system supports POSIX.1 is:
@@ -713,7 +716,7 @@ POSIX.1 system.  However, some non-POSIX.1 systems do have @file{unistd.h}.
 @end defmac
 
 @defmac AC_USG
-@findex USG
+@maindex USG
 @vindex USG
 Define @code{USG} if the system does not have @file{strings.h},
 @code{rindex}, @code{bzero}, etc.  This implies that it has
@@ -730,35 +733,35 @@ code.  See the example for @code{AC_STDC_HEADERS}.
 The following macros check for predefined C types:
 
 @defmac AC_GETGROUPS_T
-@findex GETGROUPS_T
+@maindex GETGROUPS_T
 @vindex GETGROUPS_T
 Define @code{GETGROUPS_T} to be whichever of @code{gid_t} or @code{int}
 is the base type of the array argument to @code{getgroups}.
 @end defmac
 
 @defmac AC_MODE_T
-@findex MODE_T
+@maindex MODE_T
 @vindex mode_t
 If @code{mode_t} is not defined in @file{sys/types.h}, define
 @code{mode_t} to be @code{int}.
 @end defmac
 
 @defmac AC_OFF_T
-@findex OFF_T
+@maindex OFF_T
 @vindex off_t
 If @code{off_t} is not defined in @file{sys/types.h}, define
 @code{off_t} to be @code{long}.
 @end defmac
 
 @defmac AC_PID_T
-@findex PID_T
+@maindex PID_T
 @vindex pid_t
 If @code{pid_t} is not defined in @file{sys/types.h}, define
 @code{pid_t} to be @code{int}.
 @end defmac
 
 @defmac AC_RETSIGTYPE
-@findex RETSIGTYPE
+@maindex RETSIGTYPE
 @vindex RETSIGTYPE
 If @file{signal.h} declares @code{signal} as returning a pointer to a
 function returning @code{void}, define @code{RETSIGTYPE} to be
@@ -778,14 +781,14 @@ hup_handler ()
 @end defmac
 
 @defmac AC_SIZE_T
-@findex SIZE_T
+@maindex SIZE_T
 @vindex size_t
 If @code{size_t} is not defined in @file{sys/types.h}, define
 @code{size_t} to be @code{unsigned}.
 @end defmac
 
 @defmac AC_UID_T
-@findex UID_T
+@maindex UID_T
 @vindex uid_t
 @vindex gid_t
 If @code{uid_t} is not defined in @file{sys/types.h}, define
@@ -798,7 +801,7 @@ If @code{uid_t} is not defined in @file{sys/types.h}, define
 The following macros check for particular C library functions:
 
 @defmac AC_ALLOCA
-@findex ALLOCA
+@maindex ALLOCA
 @vindex HAVE_ALLOCA_H
 Check how to get @code{alloca}.  Tries to get a builtin version by
 checking for @file{alloca.h} or the predefined C preprocessor macros
@@ -845,7 +848,11 @@ char *alloca ();
 @end defmac
 
 @defmac AC_GETLOADAVG
-@findex GETLOADAVG
+@maindex GETLOADAVG
+@vindex SVR4
+@vindex DGUX
+@vindex UMAX
+@vindex UMAX4_3
 @vindex NLIST_STRUCT
 @vindex NLIST_NAME_UNION
 @vindex GETLODAVG_PRIVILEGED
@@ -885,7 +892,7 @@ to the name of the group that should own the installed program.
 @end defmac
 
 @defmac AC_SETVBUF_REVERSED
-@findex SETVBUF_REVERSED
+@maindex SETVBUF_REVERSED
 @vindex SETVBUF_REVERSED
 If @code{setvbuf} takes the buffering type as its second argument and
 the buffer pointer as the third, instead of the other way around, define
@@ -893,7 +900,7 @@ the buffer pointer as the third, instead of the other way around, define
 @end defmac
 
 @defmac AC_STRCOLL
-@findex STRCOLL
+@maindex STRCOLL
 @vindex HAVE_STRCOLL
 Check for a proper declaration of the @code{strcoll} function.  This
 does a bit more than @samp{AC_HAVE_FUNCS(strcoll)}, because some systems
@@ -901,14 +908,14 @@ have incorrect definitions of @code{strcoll}, which should not be used.
 @end defmac
 
 @defmac AC_UTIME_NULL
-@findex UTIME_NULL
+@maindex UTIME_NULL
 @vindex HAVE_UTIME_NULL
 If @samp{utime(@var{file}, NULL)} sets @var{file}'s timestamp to
 the present, define @code{HAVE_UTIME_NULL}.
 @end defmac
 
 @defmac AC_VFORK
-@findex VFORK
+@maindex VFORK
 @vindex HAVE_VFORK_H
 @vindex vfork
 If @file{vfork.h} is found, define @code{HAVE_VFORK_H}.  If a working
@@ -919,7 +926,7 @@ detects any of them.
 @end defmac
 
 @defmac AC_VPRINTF
-@findex VPRINTF
+@maindex VPRINTF
 @vindex HAVE_VPRINTF
 @vindex HAVE_DOPRNT
 If @code{vprintf} is found, define @code{HAVE_VPRINTF}.  Otherwise, if
@@ -927,7 +934,7 @@ If @code{vprintf} is found, define @code{HAVE_VPRINTF}.  Otherwise, if
 @end defmac
 
 @defmac AC_WAIT3
-@findex WAIT3
+@maindex WAIT3
 @vindex HAVE_WAIT3
 If @code{wait3} is found and fills in the contents of its third argument
 (a @samp{struct rusage *}), which HP-UX does not do, define
@@ -940,8 +947,8 @@ If @code{wait3} is found and fills in the contents of its third argument
 The following macros check for certain structures or structure members:
 
 @defmac AC_STAT_MACROS_BROKEN
-@findex STAT_MACROS_BROKEN
-@findex STAT_MACROS_BROKEN
+@maindex STAT_MACROS_BROKEN
+@maindex STAT_MACROS_BROKEN
 If the macros @code{S_ISDIR}, @code{S_ISREG} et al. defined
 @file{sys/stat.h} do not work properly (returning false positives),
 define @code{STAT_MACROS_BROKEN}.  This is the case on Tektronix UTekV,
@@ -949,14 +956,14 @@ Amdahl UTS and Motorola System V/88.
 @end defmac
 
 @defmac AC_ST_BLKSIZE
-@findex ST_BLKSIZE
+@maindex ST_BLKSIZE
 @vindex HAVE_ST_BLKSIZE
 If @code{struct stat} contains an @code{st_blksize} member, define
 @code{HAVE_ST_BLKSIZE}.
 @end defmac
 
 @defmac AC_ST_BLOCKS
-@findex ST_BLOCKS
+@maindex ST_BLOCKS
 @vindex HAVE_ST_BLOCKS
 If @code{struct stat} contains an @code{st_blocks} member, define
 @code{HAVE_ST_BLOCKS}.  Otherwise, add @samp{fileblocks.o} to the
@@ -964,14 +971,14 @@ If @code{struct stat} contains an @code{st_blocks} member, define
 @end defmac
 
 @defmac AC_ST_RDEV
-@findex ST_RDEV
+@maindex ST_RDEV
 @vindex HAVE_ST_RDEV
 If @code{struct stat} contains an @code{st_rdev} member, define
 @code{HAVE_ST_RDEV}.
 @end defmac
 
 @defmac AC_TIME_WITH_SYS_TIME
-@findex TIME_WITH_SYS_TIME
+@maindex TIME_WITH_SYS_TIME
 @vindex TIME_WITH_SYS_TIME
 If a program may include both @file{time.h} and @file{sys/time.h},
 define @code{TIME_WITH_SYS_TIME}.  On some older systems,
@@ -997,7 +1004,7 @@ example, @code{struct timeval} or @code{struct timezone} as well as
 @end defmac
 
 @defmac AC_STRUCT_TM
-@findex STRUCT_TM
+@maindex STRUCT_TM
 @vindex TM_IN_SYS_TIME
 If @file{time.h} does not define @code{struct tm}, define
 @code{TM_IN_SYS_TIME}, which means that including @file{sys/time.h}
@@ -1005,7 +1012,7 @@ defines @code{struct tm}.
 @end defmac
 
 @defmac AC_TIMEZONE
-@findex TIMEZONE
+@maindex TIMEZONE
 @vindex HAVE_TM_ZONE
 @vindex HAVE_TZNAME
 Figure out how to get the current timezone.  If @code{struct tm} has a
@@ -1021,7 +1028,7 @@ The following macros check for C compiler or machine architecture
 features:
 
 @defmac AC_ARG_ARRAY
-@findex ARG_ARRAY
+@maindex ARG_ARRAY
 @vindex NO_ARG_ARRAY
 If the address of an argument to a C function can not be used like
 the start of an array, define @code{NO_ARG_ARRAY}.  This ability allows
@@ -1030,7 +1037,7 @@ were an array of values.
 @end defmac
 
 @defmac AC_CROSS_CHECK
-@findex CROSS_CHECK
+@maindex CROSS_CHECK
 If the C compiler being used does not produce executables that can run
 on the system where @code{configure} is being run, set the shell
 variable @code{cross_compiling} to 1.  This information can be used by
@@ -1039,14 +1046,14 @@ instead of trying to run a test program (@pxref{General Tests}).
 @end defmac
 
 @defmac AC_CHAR_UNSIGNED
-@findex CHAR_UNSIGNED
+@maindex CHAR_UNSIGNED
 @vindex __CHAR_UNSIGNED__
 If the C type @code{char} is unsigned, define @code{__CHAR_UNSIGNED__},
 unless the C compiler predefines it.
 @end defmac
 
 @defmac AC_CONST
-@findex CONST
+@maindex CONST
 @vindex const
 If the C compiler does not fully support the keyword @code{const},
 define @code{const} to be empty.  Some C compilers that do not define
@@ -1060,7 +1067,7 @@ declarations.)
 @end defmac
 
 @defmac AC_INLINE
-@findex INLINE
+@maindex INLINE
 @vindex inline
 If the C compiler is a version of GCC that supports the keyword
 @code{__inline} but not @code{inline} (such as some NeXT versions),
@@ -1069,14 +1076,13 @@ define @code{inline} to be @code{__inline}.  This macro calls
 @end defmac
 
 @defmac AC_INT_16_BITS
-@findex INT_16_BITS
+@maindex INT_16_BITS
 @vindex INT_16_BITS
-If the C type @code{int} is smaller than the type @code{long}, define
-@code{INT_16_BITS}.
+If the C type @code{int} is 16 bits wide, define @code{INT_16_BITS}.
 @end defmac
 
 @defmac AC_LONG_DOUBLE
-@findex HAVE_LONG_DOUBLE
+@maindex HAVE_LONG_DOUBLE
 @vindex HAVE_LONG_DOUBLE
 If the C compiler supports the @code{long double} type, define
 @code{HAVE_LONG_DOUBLE}.  Some C compilers that do not define
@@ -1085,7 +1091,7 @@ that define @code{__STDC__} do not support @code{long double}.
 @end defmac
 
 @defmac AC_WORDS_BIGENDIAN
-@findex WORDS_BIGENDIAN
+@maindex WORDS_BIGENDIAN
 @vindex WORDS_BIGENDIAN
 If words are stored with the most significant byte first (like Motorola
 and SPARC, but not Intel and VAX, CPUs), define @code{WORDS_BIGENDIAN}.
@@ -1097,7 +1103,7 @@ and SPARC, but not Intel and VAX, CPUs), define @code{WORDS_BIGENDIAN}.
 The following macros check for operating system services:
 
 @defmac AC_FIND_X
-@findex FIND_X
+@maindex FIND_X
 Try to locate the X Window System include files and libraries by running
 @code{xmkmf} on a trivial @file{Imakefile} and examining the
 @file{Makefile} that it produces.  If successful, set the shell
@@ -1106,7 +1112,7 @@ otherwise (such as if @code{xmkmf} is not present), do nothing.
 @end defmac
 
 @defmac AC_HAVE_POUNDBANG (@var{action-if-supported} @r{[}, @var{action-if-unsupported}@r{]})
-@findex HAVE_POUNDBANG
+@maindex HAVE_POUNDBANG
 Print @samp{checking if `#!' works in shell scripts} to the standard
 output.  Then check whether the system supports starting shell scripts
 with a line of the form @samp{#!/bin/csh} to select the shell to run
@@ -1116,14 +1122,14 @@ commands to run otherwise.
 @end defmac
 
 @defmac AC_LONG_FILE_NAMES
-@findex LONG_FILE_NAMES
+@maindex LONG_FILE_NAMES
 @vindex HAVE_LONG_FILE_NAMES
 If the system supports file names longer than 14 characters, define
 @code{HAVE_LONG_FILE_NAMES}.
 @end defmac
 
 @defmac AC_REMOTE_TAPE
-@findex REMOTE_TAPE
+@maindex REMOTE_TAPE
 @vindex HAVE_SYS_MTIO_H
 If BSD tape drive ioctls are available, define @code{HAVE_SYS_MTIO_H},
 and if sockets are available add @code{rmt} to @code{make} variable
@@ -1131,7 +1137,7 @@ and if sockets are available add @code{rmt} to @code{make} variable
 @end defmac
 
 @defmac AC_RESTARTABLE_SYSCALLS
-@findex RESTARTABLE_SYSCALLS
+@maindex RESTARTABLE_SYSCALLS
 @vindex HAVE_RESTARTABLE_SYSCALLS
 If the system automatically restarts a system call that is interrupted
 by a signal, define @code{HAVE_RESTARTABLE_SYSCALLS}.
@@ -1145,21 +1151,21 @@ special treatment for some programs, due to exceptional oddities in
 their header files or libraries:
 
 @defmac AC_AIX
-@findex AIX
+@maindex AIX
 @vindex _ALL_SOURCE
 If on AIX, define @code{_ALL_SOURCE}.  Allows the use of some BSD
 functions.  Should be called before any macros that run the C compiler.
 @end defmac
 
 @defmac AC_DYNIX_SEQ
-@findex DYNIX_SEQ
+@maindex DYNIX_SEQ
 If on DYNIX/ptx (Sequent UNIX), add @samp{-lseq} to @code{make}
 variable @code{LIBS}.  Allows use of some BSD system calls and
 @code{getmntent}.
 @end defmac
 
 @defmac AC_IRIX_SUN
-@findex IRIX_SUN
+@maindex IRIX_SUN
 If on IRIX (Silicon Graphics UNIX), add @samp{-lsun} to @code{make}
 variable @code{LIBS}.  Needed to get @code{getmntent}.  At sites using
 Yellow Pages/NIS, it is also needed to get properly working
@@ -1169,7 +1175,7 @@ so on.
 @end defmac
 
 @defmac AC_ISC_POSIX
-@findex ISC_POSIX
+@maindex ISC_POSIX
 @vindex _POSIX_SOURCE
 If on a POSIXized ISC UNIX, define @code{_POSIX_SOURCE} and add
 @samp{-posix} (for the GNU C compiler) or @samp{-Xp} (for other C
@@ -1179,7 +1185,7 @@ any other macros that run the C compiler.
 @end defmac
 
 @defmac AC_MINIX
-@findex MINIX
+@maindex MINIX
 @vindex _MINIX
 @vindex _POSIX_SOURCE
 @vindex _POSIX_1_SOURCE
@@ -1189,14 +1195,14 @@ facilities.  Should be called before any macros that run the C compiler.
 @end defmac
 
 @defmac AC_SCO_INTL
-@findex SCO_INTL
+@maindex SCO_INTL
 If on SCO UNIX, add @samp{-lintl} to @code{make} variable @code{LIBS}.
 Used to get @code{strftime}.  It must be called before checking for
 @code{strftime}.
 @end defmac
 
 @defmac AC_XENIX_DIR
-@findex XENIX_DIR
+@maindex XENIX_DIR
 @vindex VOID_CLOSEDIR
 If on Xenix, define @code{VOID_CLOSEDIR} and add @samp{-lx} to
 @code{make} variable @code{LIBS}.  Also, if @file{sys/ndir.h} is not
@@ -1233,7 +1239,7 @@ These macros are defined in the file @file{acgeneral.m4}.
 The following macros control the kind of output that Autoconf produces.
 
 @defmac AC_CONFIG_HEADER (@var{header-to-create})
-@findex CONFIG_HEADER
+@maindex CONFIG_HEADER
 @vindex HAVE_CONFIG_H
 Make @code{AC_OUTPUT} create a file @var{header-to-create} containing C
 preprocessor @code{#define} statements and replace @samp{@@DEFS@@} in
@@ -1259,7 +1265,7 @@ You can use the program @code{autoheader} to create
 @end defmac
 
 @defmac AC_INIT (@var{unique-file-in-source-dir})
-@findex INIT
+@maindex INIT
 Process the command-line arguments and find the source code directory.
 @var{unique-file-in-source-dir} is some file that is in the package's
 source directory; @code{configure} checks for this file's existence to
@@ -1268,7 +1274,7 @@ fact does (@pxref{Running configure Scripts}, for more information).
 @end defmac
 
 @defmac AC_PREPARE (@var{unique-file-in-source-dir})
-@findex PREPARE
+@maindex PREPARE
 Find the source code directory and set up shell variables necessary for
 other Autoconf macros to work.  @var{unique-file-in-source-dir} is some
 file that is in the package's source directory; @code{configure} checks
@@ -1280,7 +1286,7 @@ if you want to do argument parsing yourself; never use both.
 @end defmac
 
 @defmac AC_OUTPUT (@r{[}@var{file}@dots{}@r{]})
-@findex OUTPUT
+@maindex OUTPUT
 Create output files (typically one or more @file{Makefile}s) and
 @file{config.status}.  If @code{AC_CONFIG_HEADER} has been called, also
 create the header file that was named as its argument.  The argument is
@@ -1295,7 +1301,7 @@ X/Imakefile}.
 @end defmac
 
 @defmac AC_REVISION (@var{revision-info})
-@findex REVISION
+@maindex REVISION
 Copy revision stamp @var{revision-info} into the @file{configure}
 script, with any dollar signs or double-quotes removed.  This macro lets
 you put a revision stamp from @file{configure.in} into @file{configure}
@@ -1347,7 +1353,7 @@ colon, and complain and die.  If you omit the colon, it works fine:
 macros.
 
 @defmac AC_COMPILE_CHECK (@var{echo-text}, @var{includes}, @var{function-body}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex COMPILE_CHECK
+@maindex COMPILE_CHECK
 Print @samp{checking for @var{echo-text}} to the standard output.  Then
 create a test C program to see whether a function whose body consists of
 @var{function-body} can be compiled and linked; @var{includes} is any
@@ -1357,7 +1363,7 @@ If the file compiles and links successfully, run shell commands
 @end defmac
 
 @defmac AC_FUNC_CHECK (@var{function}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex FUNC_CHECK
+@maindex FUNC_CHECK
 If @var{function} is available, run shell commands
 @var{action-if-found}, otherwise @var{action-if-not-found}.  If the
 functions might be in libraries other than the default C library, first
@@ -1367,7 +1373,7 @@ define a symbol if the function is available, consider using
 @end defmac
 
 @defmac AC_HAVE_FUNCS (@var{function}@dots{})
-@findex HAVE_FUNCS
+@maindex HAVE_FUNCS
 @vindex HAVE_@var{function}
 For each given @var{function} in the whitespace-separated argument list
 that is available, define @code{HAVE_@var{function}} (in all caps).
@@ -1377,7 +1383,7 @@ default C library, first call @code{AC_HAVE_LIBRARY} for those libraries.
 @end defmac
 
 @defmac AC_HAVE_HEADERS (@var{header-file}@dots{})
-@findex HAVE_HEADERS
+@maindex HAVE_HEADERS
 @vindex HAVE_@var{header}
 For each given @var{header-file} in the whitespace-separated argument
 list that exists, define @code{HAVE_@var{header-file}} (in all caps).
@@ -1386,7 +1392,7 @@ it is used here.
 @end defmac
 
 @defmac AC_HAVE_LIBRARY (@var{library} @r{[}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]})
-@findex HAVE_LIBRARY
+@maindex HAVE_LIBRARY
 Print @samp{checking for @var{library}} to the standard output.  Then
 create a test C program to see whether that program can be linked with
 the specified library.  @var{action-if-found} is a list of shell
@@ -1401,7 +1407,7 @@ the compiler is passed @samp{-lfoo}.
 @end defmac
 
 @defmac AC_HEADER_CHECK (@var{header-file}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex HEADER_CHECK
+@maindex HEADER_CHECK
 If @var{header-file} exists, execute shell commands
 @var{action-if-found}, otherwise execute @var{action-if-not-found}.  If
 you just want to define a symbol if the header file is available,
@@ -1409,7 +1415,7 @@ consider using @code{AC_HAVE_HEADERS} instead.
 @end defmac
 
 @defmac AC_HEADER_EGREP (@var{pattern}, @var{header-file}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex HEADER_EGREP
+@maindex HEADER_EGREP
 If the output of running the C preprocessor on @var{header-file}
 contains the @code{egrep} regular expression @var{pattern}, execute
 shell commands @var{action-if-found}, otherwise execute
@@ -1432,7 +1438,7 @@ yes
 @end defmac
 
 @defmac AC_PREFIX (@var{program})
-@findex PREFIX
+@maindex PREFIX
 If the user did not specify an installation prefix on the command line,
 guess a value for it by looking for @var{program} in @code{PATH}, the
 way the shell does.  If @var{program} is found, set the prefix to the
@@ -1443,25 +1449,25 @@ prefix specified in @file{Makefile.in} unchanged.  For example, if
 @end defmac
 
 @defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found}, @var{value-if-not-found})
-@findex PROGRAM_CHECK
+@maindex PROGRAM_CHECK
 Check whether program @var{prog-to-check-for} exists in @code{PATH}.  If
 it is found, set @var{variable} to @var{value-if-found}, otherwise to
 @var{value-if-not-found}.  Calls @code{AC_SUBST} for @var{variable}.
 @end defmac
 
 @defmac AC_PROGRAM_EGREP (@var{pattern}, @var{program}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex PROGRAM_EGREP
+@maindex PROGRAM_EGREP
 @var{program} is the text of a C program, on which shell variable and
 backquote substitutions are performed.  If the output of running the C
 preprocessor on @var{program} contains the @code{egrep} regular
 expression @var{pattern}, execute shell commands @var{action-if-found},
 otherwise execute @var{action-if-not-found}.  (It is an unfortunate
-oversight that we use the word ``PROGRAM'' in Autoconf macro names to
+oversight that we use the word @code{PROGRAM} in Autoconf macro names to
 sometimes mean C source code and sometimes mean a UNIX command.)
 @end defmac
 
 @defmac AC_PROGRAMS_CHECK (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
-@findex PROGRAMS_CHECK
+@maindex PROGRAMS_CHECK
 Check for each program in the whitespace-separated list
 @var{progs-to-check-for} exists in @code{PATH}.  If it is found, set
 @var{variable} to the name of that program.  Otherwise, continue
@@ -1472,7 +1478,7 @@ will not be changed.  Calls @code{AC_SUBST} for @var{variable}.
 @end defmac
 
 @defmac AC_REPLACE_FUNCS (@var{function-name}@dots{})
-@findex REPLACE_FUNCS
+@maindex REPLACE_FUNCS
 For each given @var{function-name} in the whitespace-separated argument
 list that is not in the C library, add @samp{@var{function-name}.o} to
 the value of the @code{make} variable @code{LIBOBJS}.  If the functions
@@ -1481,7 +1487,7 @@ might be in libraries other than the default C library, first call
 @end defmac
 
 @defmac AC_TEST_PROGRAM (@var{program}, @var{action-if-true} @r{[}, @var{action-if-false} @r{[}, @var{action-if-cross-compiling}@r{]]})
-@findex TEST_PROGRAM
+@maindex TEST_PROGRAM
 @var{program} is the text of a C program, on which shell variable and
 backquote substitutions are performed.  If it compiles and links
 successfully and returns an exit status of 0 when executed, run shell
@@ -1497,7 +1503,7 @@ if it has not already been called (@pxref{Compiler Characteristics}).
 @end defmac
 
 @defmac AC_TEST_CPP (@var{includes}, @var{action-if-true} @r{[}, @var{action-if-false}@r{]})
-@findex TEST_CPP
+@maindex TEST_CPP
 @var{includes} is C @code{#include} statements and declarations, on
 which shell variable and backquote substitutions are performed.
 (Actually, it can be any C program, but other statements are probably
@@ -1509,7 +1515,7 @@ This macro calls @code{AC_PROG_CPP} if it hasn't been called already.
 @end defmac
 
 @defmac AC_WITH (@var{feature}, @var{action-if-true} @r{[}, @var{action-if-false}@r{]})
-@findex WITH
+@maindex WITH
 If the user gave @code{configure} the option
 @samp{--with-@var{feature}}, run shell commands @var{action-if-true}.
 Otherwise run shell commands @var{action-if-false}.  The name
@@ -1540,7 +1546,7 @@ These macros help other macros to define shell and @code{make}
 variables.
 
 @defmac AC_DEFINE (@var{variable} @r{[}, @var{value}@r{]})
-@findex DEFINE
+@maindex DEFINE
 Define C preprocessor variable @var{variable}.  If @var{value} is given,
 set @var{variable} to that value, otherwise set it to 1.  To use a shell
 variable as the value, use @code{AC_DEFINE_UNQUOTED} instead.  Precede
@@ -1608,7 +1614,7 @@ AC_HEADER_CHECK(elf.h, AC_DEFINE(SVR4); LIBS="$LIBS -lelf")
 @end defmac
 
 @defmac AC_DEFINE_UNQUOTED (@var{variable} @r{[}, @var{value}@r{]})
-@findex DEFINE_UNQUOTED
+@maindex DEFINE_UNQUOTED
 Like @code{AC_DEFINE}, but it does nothing to quote @var{value} from
 various shell and @code{sed} expansions it will undergo.  @var{value}
 will be used in many different contexts requiring different quoting, and
@@ -1622,7 +1628,7 @@ AC_DEFINE_UNQUOTED(config_machfile,  $@{machfile@})
 @end defmac
 
 @defmac AC_SUBST (@var{variable})
-@findex SUBST
+@maindex SUBST
 Substitute the variable @var{variable} when creating the output files
 (typically one or more @file{Makefile}s).  This means replace instances
 of @samp{@@@var{variable}@@}, e.g. in @file{Makefile.in}, with the
@@ -1646,7 +1652,7 @@ These macros provide ways for other macros to make sure that they are
 called in the correct order.
 
 @defmac AC_BEFORE (@var{this-macro-name}, @var{called-macro-name})
-@findex BEFORE
+@maindex BEFORE
 Make @code{m4} print a warning message on the standard error output if
 @var{called-macro-name} has already been called.  @var{this-macro-name}
 should be the name of the macro that is calling @code{AC_BEFORE}.  The
@@ -1670,7 +1676,7 @@ when @code{AC_PROG_CC} is called.
 @end defmac
 
 @defmac AC_PROVIDE (@var{macro-name})
-@findex PROVIDE
+@maindex PROVIDE
 Set a flag recording that @var{macro-name} has been called.  The
 argument should be the name of the macro that is calling
 @code{AC_PROVIDE}.  An easy way to get it is from the @code{m4} builtin
@@ -1682,7 +1688,7 @@ AC_PROVIDE([$0])
 @end defmac
 
 @defmac AC_REQUIRE (@var{macro-name})
-@findex REQUIRE
+@maindex REQUIRE
 If the @code{m4} macro @var{macro-name} has not already been called,
 call it (without any arguments).  Make sure to quote @var{macro-name}
 with square brackets.  The body of @var{macro-name} must contain a call
@@ -1765,7 +1771,7 @@ more complete information on writing @code{m4} macros.
 Macros that are called by other macros are evaluated by @code{m4}
 several times; each evaluation might require another layer of quotes to
 prevent unwanted expansions of macros or @code{m4} builtins, such as
-@samp{include} and @samp{$1}.  Quotes are also required around macro
+@samp{define} and @samp{$1}.  Quotes are also required around macro
 arguments that contain commas, since commas separate the arguments from
 each other.
 
@@ -2299,8 +2305,8 @@ CC='gcc -traditional' LIBS=-lposix ./configure
 The @code{make} variables that you might want to override with
 environment variables when running @code{configure} are:
 
-(For these variables, any value given in the environment overrides the
-value that @code{configure} would choose:)
+For these variables, any value given in the environment overrides the
+value that @code{configure} would choose:
 
 @defvar CC
 C compiler program.  The default is @code{cc}, or @code{gcc} if
@@ -2312,8 +2318,8 @@ Program to use to install files.  The default is @code{install} if you
 have it, @code{cp} otherwise.
 @end defvar
 
-(For these variables, any value given in the environment is added to
-the value that @code{configure} chooses:)
+For these variables, any value given in the environment is added to
+the value that @code{configure} chooses:
 
 @defvar DEFS
 Configuration options, in the form @samp{-Dfoo -Dbar@dots{}}.  Do not
@@ -2520,7 +2526,7 @@ use these names in @code{#if} directives.
 This is an alphabetical list of the Autoconf macros.  To make the list
 easier to use, the macros are listed without their preceding @samp{AC_}.
 
-@printindex fn
+@printindex ma
 
 @contents
 @bye
index 2c01d6f7d9c0b8a9986994f082cb15e39715a9d2..3380dde151268112e0a4c026e5bed8941d4f561b 100644 (file)
@@ -69,6 +69,9 @@ except that this permission notice may be stated in a translation approved
 by the Foundation.
 @end titlepage
 
+@c Define a macro index that @@defmacro doesn't write to.
+@defcodeindex ma
+
 @node Top, Introduction, , (dir)
 @comment  node-name,  next,  previous,  up
 
@@ -467,7 +470,7 @@ The following macros check for the presence or behavior of particular
 programs:
 
 @defmac AC_DECLARE_YYTEXT
-@findex DECLARE_YYTEXT
+@maindex DECLARE_YYTEXT
 @vindex DECLARE_YYTEXT
 Define @code{DECLARE_YYTEXT} to declare @code{yytext} appropriately,
 depending on whether @code{lex} or @code{flex} is being used.  This
@@ -476,28 +479,28 @@ been called already.
 @end defmac
 
 @defmac AC_LN_S
-@findex LN_S
+@maindex LN_S
 If @samp{ln -s} works on the current filesystem (the O.S. and filesystem
 support symbolic links), set shell and @code{make} variable @code{LN_S}
 to @samp{ln -s}, otherwise set it to @samp{ln}.
 @end defmac
 
 @defmac AC_MINUS_C_MINUS_O
-@findex MINUS_C_MINUS_O
+@maindex MINUS_C_MINUS_O
 @vindex NO_MINUS_C_MINUS_O
 If the C compiler does not accept the @samp{-c} and @samp{-o} options
 simultaneously, define @code{NO_MINUS_C_MINUS_O}.
 @end defmac
 
 @defmac AC_PROG_YACC
-@findex PROG_YACC
+@maindex PROG_YACC
 If @code{bison} is found, set @code{make} variable @code{YACC} to
 @samp{bison -y}.  Otherwise, if @code{byacc} is found, set @code{YACC}
 to @samp{byacc}.  Otherwise set @code{YACC} to @samp{yacc}.
 @end defmac
 
 @defmac AC_PROG_CPP
-@findex PROG_CPP
+@maindex PROG_CPP
 Set shell and @code{make} variable @code{CPP} to a command that runs the
 C preprocessor.  If @samp{$CC -E} doesn't work, it uses @file{/lib/cpp}.
 
@@ -509,7 +512,7 @@ after @code{AC_PROG_CC}.
 @end defmac
 
 @defmac AC_PROG_LEX
-@findex PROG_LEX
+@maindex PROG_LEX
 If @code{flex} is found, set @code{make} variable @code{LEX} to
 @samp{flex} and @code{LEXLIB} to @samp{-lfl}, if that library is in a
 standard place.  Otherwise set @code{LEX} to @samp{lex} and
@@ -517,21 +520,21 @@ standard place.  Otherwise set @code{LEX} to @samp{lex} and
 @end defmac
 
 @defmac AC_PROG_AWK
-@findex PROG_AWK
+@maindex PROG_AWK
 Check for @code{mawk}, @code{gawk}, @code{nawk}, and @code{awk}, in that
 order, and set @code{make} variable @code{AWK} to the first one that it
 finds.
 @end defmac
 
 @defmac AC_PROG_CC
-@findex PROG_CC
+@maindex PROG_CC
 If @code{gcc} is found, set @code{make} variable @code{CC} to @samp{gcc},
 and set shell variable @code{GCC} to 1 for use by macros such as
 @code{AC_GCC_TRADITIONAL}.
 @end defmac
 
 @defmac AC_GCC_TRADITIONAL
-@findex GCC_TRADITIONAL
+@maindex GCC_TRADITIONAL
 Add @samp{-traditional} to @code{make} variable @code{CC} if using the
 GNU C compiler and @code{ioctl} does not work properly without
 @samp{-traditional}.  This macro calls @code{AC_PROG_CC} and
@@ -539,7 +542,7 @@ GNU C compiler and @code{ioctl} does not work properly without
 @end defmac
 
 @defmac AC_PROG_INSTALL
-@findex PROG_INSTALL
+@maindex PROG_INSTALL
 Set @code{make} variable @code{INSTALL} to @samp{install -c} if
 @code{install} is found, otherwise set it to @samp{cp}.  Screens out the
 false matches @file{/etc/install}, @file{/usr/sbin/install}, and other
@@ -549,13 +552,13 @@ instances of @code{install} known not to work.  The variable
 @end defmac
 
 @defmac AC_PROG_RANLIB
-@findex PROG_RANLIB
+@maindex PROG_RANLIB
 Set @code{make} variable @code{RANLIB} to @samp{ranlib} if @code{ranlib}
 is found, otherwise to @samp{:} (do nothing).
 @end defmac
 
 @defmac AC_RSH
-@findex RSH
+@maindex RSH
 @vindex NO_REMOTE
 @vindex HAVE_NETDB_H
 If a remote shell is available, put @samp{rtapelib.o} in @code{make}
@@ -571,7 +574,7 @@ available, define @code{NO_REMOTE}.
 The following macros check for the presence of certain C header files:
 
 @defmac AC_DIR_HEADER
-@findex DIR_HEADER
+@maindex DIR_HEADER
 @vindex DIRENT
 @vindex SYSDIR
 @vindex SYSNDIR
@@ -615,7 +618,7 @@ the length of a directory entry name by passing a pointer to a
 @end defmac
 
 @defmac AC_MAJOR_HEADER
-@findex MAJOR_HEADER
+@maindex MAJOR_HEADER
 @vindex MAJOR_IN_MKDEV
 @vindex MAJOR_IN_SYSMACROS
 If @file{sys/types.h} does not define @code{major}, @code{minor}, and
@@ -625,7 +628,7 @@ If @file{sys/types.h} does not define @code{major}, @code{minor}, and
 @end defmac
 
 @defmac AC_MEMORY_H
-@findex MEMORY_H
+@maindex MEMORY_H
 @vindex NEED_MEMORY_H
 Define @code{NEED_MEMORY_H} if @code{memcpy}, @code{memcmp}, etc. are
 not declared in @file{string.h} and @file{memory.h} exists.  This macro
@@ -634,7 +637,7 @@ example for @code{AC_STDC_HEADERS}.
 @end defmac
 
 @defmac AC_STDC_HEADERS
-@findex STDC_HEADERS
+@maindex STDC_HEADERS
 @vindex STDC_HEADERS
 Define @code{STDC_HEADERS} if the system has ANSI C header files.
 Specifically, this macro checks for @file{stdlib.h}, @file{stdarg.h},
@@ -688,7 +691,7 @@ the macro definitions with ones that go in the other direction.
 @end defmac
 
 @defmac AC_UNISTD_H
-@findex UNISTD_H
+@maindex UNISTD_H
 @vindex HAVE_UNISTD_H
 Define @code{HAVE_UNISTD_H} if the system has @file{unistd.h}.  The way
 to check if the system supports POSIX.1 is:
@@ -713,7 +716,7 @@ POSIX.1 system.  However, some non-POSIX.1 systems do have @file{unistd.h}.
 @end defmac
 
 @defmac AC_USG
-@findex USG
+@maindex USG
 @vindex USG
 Define @code{USG} if the system does not have @file{strings.h},
 @code{rindex}, @code{bzero}, etc.  This implies that it has
@@ -730,35 +733,35 @@ code.  See the example for @code{AC_STDC_HEADERS}.
 The following macros check for predefined C types:
 
 @defmac AC_GETGROUPS_T
-@findex GETGROUPS_T
+@maindex GETGROUPS_T
 @vindex GETGROUPS_T
 Define @code{GETGROUPS_T} to be whichever of @code{gid_t} or @code{int}
 is the base type of the array argument to @code{getgroups}.
 @end defmac
 
 @defmac AC_MODE_T
-@findex MODE_T
+@maindex MODE_T
 @vindex mode_t
 If @code{mode_t} is not defined in @file{sys/types.h}, define
 @code{mode_t} to be @code{int}.
 @end defmac
 
 @defmac AC_OFF_T
-@findex OFF_T
+@maindex OFF_T
 @vindex off_t
 If @code{off_t} is not defined in @file{sys/types.h}, define
 @code{off_t} to be @code{long}.
 @end defmac
 
 @defmac AC_PID_T
-@findex PID_T
+@maindex PID_T
 @vindex pid_t
 If @code{pid_t} is not defined in @file{sys/types.h}, define
 @code{pid_t} to be @code{int}.
 @end defmac
 
 @defmac AC_RETSIGTYPE
-@findex RETSIGTYPE
+@maindex RETSIGTYPE
 @vindex RETSIGTYPE
 If @file{signal.h} declares @code{signal} as returning a pointer to a
 function returning @code{void}, define @code{RETSIGTYPE} to be
@@ -778,14 +781,14 @@ hup_handler ()
 @end defmac
 
 @defmac AC_SIZE_T
-@findex SIZE_T
+@maindex SIZE_T
 @vindex size_t
 If @code{size_t} is not defined in @file{sys/types.h}, define
 @code{size_t} to be @code{unsigned}.
 @end defmac
 
 @defmac AC_UID_T
-@findex UID_T
+@maindex UID_T
 @vindex uid_t
 @vindex gid_t
 If @code{uid_t} is not defined in @file{sys/types.h}, define
@@ -798,7 +801,7 @@ If @code{uid_t} is not defined in @file{sys/types.h}, define
 The following macros check for particular C library functions:
 
 @defmac AC_ALLOCA
-@findex ALLOCA
+@maindex ALLOCA
 @vindex HAVE_ALLOCA_H
 Check how to get @code{alloca}.  Tries to get a builtin version by
 checking for @file{alloca.h} or the predefined C preprocessor macros
@@ -845,7 +848,11 @@ char *alloca ();
 @end defmac
 
 @defmac AC_GETLOADAVG
-@findex GETLOADAVG
+@maindex GETLOADAVG
+@vindex SVR4
+@vindex DGUX
+@vindex UMAX
+@vindex UMAX4_3
 @vindex NLIST_STRUCT
 @vindex NLIST_NAME_UNION
 @vindex GETLODAVG_PRIVILEGED
@@ -885,7 +892,7 @@ to the name of the group that should own the installed program.
 @end defmac
 
 @defmac AC_SETVBUF_REVERSED
-@findex SETVBUF_REVERSED
+@maindex SETVBUF_REVERSED
 @vindex SETVBUF_REVERSED
 If @code{setvbuf} takes the buffering type as its second argument and
 the buffer pointer as the third, instead of the other way around, define
@@ -893,7 +900,7 @@ the buffer pointer as the third, instead of the other way around, define
 @end defmac
 
 @defmac AC_STRCOLL
-@findex STRCOLL
+@maindex STRCOLL
 @vindex HAVE_STRCOLL
 Check for a proper declaration of the @code{strcoll} function.  This
 does a bit more than @samp{AC_HAVE_FUNCS(strcoll)}, because some systems
@@ -901,14 +908,14 @@ have incorrect definitions of @code{strcoll}, which should not be used.
 @end defmac
 
 @defmac AC_UTIME_NULL
-@findex UTIME_NULL
+@maindex UTIME_NULL
 @vindex HAVE_UTIME_NULL
 If @samp{utime(@var{file}, NULL)} sets @var{file}'s timestamp to
 the present, define @code{HAVE_UTIME_NULL}.
 @end defmac
 
 @defmac AC_VFORK
-@findex VFORK
+@maindex VFORK
 @vindex HAVE_VFORK_H
 @vindex vfork
 If @file{vfork.h} is found, define @code{HAVE_VFORK_H}.  If a working
@@ -919,7 +926,7 @@ detects any of them.
 @end defmac
 
 @defmac AC_VPRINTF
-@findex VPRINTF
+@maindex VPRINTF
 @vindex HAVE_VPRINTF
 @vindex HAVE_DOPRNT
 If @code{vprintf} is found, define @code{HAVE_VPRINTF}.  Otherwise, if
@@ -927,7 +934,7 @@ If @code{vprintf} is found, define @code{HAVE_VPRINTF}.  Otherwise, if
 @end defmac
 
 @defmac AC_WAIT3
-@findex WAIT3
+@maindex WAIT3
 @vindex HAVE_WAIT3
 If @code{wait3} is found and fills in the contents of its third argument
 (a @samp{struct rusage *}), which HP-UX does not do, define
@@ -940,8 +947,8 @@ If @code{wait3} is found and fills in the contents of its third argument
 The following macros check for certain structures or structure members:
 
 @defmac AC_STAT_MACROS_BROKEN
-@findex STAT_MACROS_BROKEN
-@findex STAT_MACROS_BROKEN
+@maindex STAT_MACROS_BROKEN
+@maindex STAT_MACROS_BROKEN
 If the macros @code{S_ISDIR}, @code{S_ISREG} et al. defined
 @file{sys/stat.h} do not work properly (returning false positives),
 define @code{STAT_MACROS_BROKEN}.  This is the case on Tektronix UTekV,
@@ -949,14 +956,14 @@ Amdahl UTS and Motorola System V/88.
 @end defmac
 
 @defmac AC_ST_BLKSIZE
-@findex ST_BLKSIZE
+@maindex ST_BLKSIZE
 @vindex HAVE_ST_BLKSIZE
 If @code{struct stat} contains an @code{st_blksize} member, define
 @code{HAVE_ST_BLKSIZE}.
 @end defmac
 
 @defmac AC_ST_BLOCKS
-@findex ST_BLOCKS
+@maindex ST_BLOCKS
 @vindex HAVE_ST_BLOCKS
 If @code{struct stat} contains an @code{st_blocks} member, define
 @code{HAVE_ST_BLOCKS}.  Otherwise, add @samp{fileblocks.o} to the
@@ -964,14 +971,14 @@ If @code{struct stat} contains an @code{st_blocks} member, define
 @end defmac
 
 @defmac AC_ST_RDEV
-@findex ST_RDEV
+@maindex ST_RDEV
 @vindex HAVE_ST_RDEV
 If @code{struct stat} contains an @code{st_rdev} member, define
 @code{HAVE_ST_RDEV}.
 @end defmac
 
 @defmac AC_TIME_WITH_SYS_TIME
-@findex TIME_WITH_SYS_TIME
+@maindex TIME_WITH_SYS_TIME
 @vindex TIME_WITH_SYS_TIME
 If a program may include both @file{time.h} and @file{sys/time.h},
 define @code{TIME_WITH_SYS_TIME}.  On some older systems,
@@ -997,7 +1004,7 @@ example, @code{struct timeval} or @code{struct timezone} as well as
 @end defmac
 
 @defmac AC_STRUCT_TM
-@findex STRUCT_TM
+@maindex STRUCT_TM
 @vindex TM_IN_SYS_TIME
 If @file{time.h} does not define @code{struct tm}, define
 @code{TM_IN_SYS_TIME}, which means that including @file{sys/time.h}
@@ -1005,7 +1012,7 @@ defines @code{struct tm}.
 @end defmac
 
 @defmac AC_TIMEZONE
-@findex TIMEZONE
+@maindex TIMEZONE
 @vindex HAVE_TM_ZONE
 @vindex HAVE_TZNAME
 Figure out how to get the current timezone.  If @code{struct tm} has a
@@ -1021,7 +1028,7 @@ The following macros check for C compiler or machine architecture
 features:
 
 @defmac AC_ARG_ARRAY
-@findex ARG_ARRAY
+@maindex ARG_ARRAY
 @vindex NO_ARG_ARRAY
 If the address of an argument to a C function can not be used like
 the start of an array, define @code{NO_ARG_ARRAY}.  This ability allows
@@ -1030,7 +1037,7 @@ were an array of values.
 @end defmac
 
 @defmac AC_CROSS_CHECK
-@findex CROSS_CHECK
+@maindex CROSS_CHECK
 If the C compiler being used does not produce executables that can run
 on the system where @code{configure} is being run, set the shell
 variable @code{cross_compiling} to 1.  This information can be used by
@@ -1039,14 +1046,14 @@ instead of trying to run a test program (@pxref{General Tests}).
 @end defmac
 
 @defmac AC_CHAR_UNSIGNED
-@findex CHAR_UNSIGNED
+@maindex CHAR_UNSIGNED
 @vindex __CHAR_UNSIGNED__
 If the C type @code{char} is unsigned, define @code{__CHAR_UNSIGNED__},
 unless the C compiler predefines it.
 @end defmac
 
 @defmac AC_CONST
-@findex CONST
+@maindex CONST
 @vindex const
 If the C compiler does not fully support the keyword @code{const},
 define @code{const} to be empty.  Some C compilers that do not define
@@ -1060,7 +1067,7 @@ declarations.)
 @end defmac
 
 @defmac AC_INLINE
-@findex INLINE
+@maindex INLINE
 @vindex inline
 If the C compiler is a version of GCC that supports the keyword
 @code{__inline} but not @code{inline} (such as some NeXT versions),
@@ -1069,14 +1076,13 @@ define @code{inline} to be @code{__inline}.  This macro calls
 @end defmac
 
 @defmac AC_INT_16_BITS
-@findex INT_16_BITS
+@maindex INT_16_BITS
 @vindex INT_16_BITS
-If the C type @code{int} is smaller than the type @code{long}, define
-@code{INT_16_BITS}.
+If the C type @code{int} is 16 bits wide, define @code{INT_16_BITS}.
 @end defmac
 
 @defmac AC_LONG_DOUBLE
-@findex HAVE_LONG_DOUBLE
+@maindex HAVE_LONG_DOUBLE
 @vindex HAVE_LONG_DOUBLE
 If the C compiler supports the @code{long double} type, define
 @code{HAVE_LONG_DOUBLE}.  Some C compilers that do not define
@@ -1085,7 +1091,7 @@ that define @code{__STDC__} do not support @code{long double}.
 @end defmac
 
 @defmac AC_WORDS_BIGENDIAN
-@findex WORDS_BIGENDIAN
+@maindex WORDS_BIGENDIAN
 @vindex WORDS_BIGENDIAN
 If words are stored with the most significant byte first (like Motorola
 and SPARC, but not Intel and VAX, CPUs), define @code{WORDS_BIGENDIAN}.
@@ -1097,7 +1103,7 @@ and SPARC, but not Intel and VAX, CPUs), define @code{WORDS_BIGENDIAN}.
 The following macros check for operating system services:
 
 @defmac AC_FIND_X
-@findex FIND_X
+@maindex FIND_X
 Try to locate the X Window System include files and libraries by running
 @code{xmkmf} on a trivial @file{Imakefile} and examining the
 @file{Makefile} that it produces.  If successful, set the shell
@@ -1106,7 +1112,7 @@ otherwise (such as if @code{xmkmf} is not present), do nothing.
 @end defmac
 
 @defmac AC_HAVE_POUNDBANG (@var{action-if-supported} @r{[}, @var{action-if-unsupported}@r{]})
-@findex HAVE_POUNDBANG
+@maindex HAVE_POUNDBANG
 Print @samp{checking if `#!' works in shell scripts} to the standard
 output.  Then check whether the system supports starting shell scripts
 with a line of the form @samp{#!/bin/csh} to select the shell to run
@@ -1116,14 +1122,14 @@ commands to run otherwise.
 @end defmac
 
 @defmac AC_LONG_FILE_NAMES
-@findex LONG_FILE_NAMES
+@maindex LONG_FILE_NAMES
 @vindex HAVE_LONG_FILE_NAMES
 If the system supports file names longer than 14 characters, define
 @code{HAVE_LONG_FILE_NAMES}.
 @end defmac
 
 @defmac AC_REMOTE_TAPE
-@findex REMOTE_TAPE
+@maindex REMOTE_TAPE
 @vindex HAVE_SYS_MTIO_H
 If BSD tape drive ioctls are available, define @code{HAVE_SYS_MTIO_H},
 and if sockets are available add @code{rmt} to @code{make} variable
@@ -1131,7 +1137,7 @@ and if sockets are available add @code{rmt} to @code{make} variable
 @end defmac
 
 @defmac AC_RESTARTABLE_SYSCALLS
-@findex RESTARTABLE_SYSCALLS
+@maindex RESTARTABLE_SYSCALLS
 @vindex HAVE_RESTARTABLE_SYSCALLS
 If the system automatically restarts a system call that is interrupted
 by a signal, define @code{HAVE_RESTARTABLE_SYSCALLS}.
@@ -1145,21 +1151,21 @@ special treatment for some programs, due to exceptional oddities in
 their header files or libraries:
 
 @defmac AC_AIX
-@findex AIX
+@maindex AIX
 @vindex _ALL_SOURCE
 If on AIX, define @code{_ALL_SOURCE}.  Allows the use of some BSD
 functions.  Should be called before any macros that run the C compiler.
 @end defmac
 
 @defmac AC_DYNIX_SEQ
-@findex DYNIX_SEQ
+@maindex DYNIX_SEQ
 If on DYNIX/ptx (Sequent UNIX), add @samp{-lseq} to @code{make}
 variable @code{LIBS}.  Allows use of some BSD system calls and
 @code{getmntent}.
 @end defmac
 
 @defmac AC_IRIX_SUN
-@findex IRIX_SUN
+@maindex IRIX_SUN
 If on IRIX (Silicon Graphics UNIX), add @samp{-lsun} to @code{make}
 variable @code{LIBS}.  Needed to get @code{getmntent}.  At sites using
 Yellow Pages/NIS, it is also needed to get properly working
@@ -1169,7 +1175,7 @@ so on.
 @end defmac
 
 @defmac AC_ISC_POSIX
-@findex ISC_POSIX
+@maindex ISC_POSIX
 @vindex _POSIX_SOURCE
 If on a POSIXized ISC UNIX, define @code{_POSIX_SOURCE} and add
 @samp{-posix} (for the GNU C compiler) or @samp{-Xp} (for other C
@@ -1179,7 +1185,7 @@ any other macros that run the C compiler.
 @end defmac
 
 @defmac AC_MINIX
-@findex MINIX
+@maindex MINIX
 @vindex _MINIX
 @vindex _POSIX_SOURCE
 @vindex _POSIX_1_SOURCE
@@ -1189,14 +1195,14 @@ facilities.  Should be called before any macros that run the C compiler.
 @end defmac
 
 @defmac AC_SCO_INTL
-@findex SCO_INTL
+@maindex SCO_INTL
 If on SCO UNIX, add @samp{-lintl} to @code{make} variable @code{LIBS}.
 Used to get @code{strftime}.  It must be called before checking for
 @code{strftime}.
 @end defmac
 
 @defmac AC_XENIX_DIR
-@findex XENIX_DIR
+@maindex XENIX_DIR
 @vindex VOID_CLOSEDIR
 If on Xenix, define @code{VOID_CLOSEDIR} and add @samp{-lx} to
 @code{make} variable @code{LIBS}.  Also, if @file{sys/ndir.h} is not
@@ -1233,7 +1239,7 @@ These macros are defined in the file @file{acgeneral.m4}.
 The following macros control the kind of output that Autoconf produces.
 
 @defmac AC_CONFIG_HEADER (@var{header-to-create})
-@findex CONFIG_HEADER
+@maindex CONFIG_HEADER
 @vindex HAVE_CONFIG_H
 Make @code{AC_OUTPUT} create a file @var{header-to-create} containing C
 preprocessor @code{#define} statements and replace @samp{@@DEFS@@} in
@@ -1259,7 +1265,7 @@ You can use the program @code{autoheader} to create
 @end defmac
 
 @defmac AC_INIT (@var{unique-file-in-source-dir})
-@findex INIT
+@maindex INIT
 Process the command-line arguments and find the source code directory.
 @var{unique-file-in-source-dir} is some file that is in the package's
 source directory; @code{configure} checks for this file's existence to
@@ -1268,7 +1274,7 @@ fact does (@pxref{Running configure Scripts}, for more information).
 @end defmac
 
 @defmac AC_PREPARE (@var{unique-file-in-source-dir})
-@findex PREPARE
+@maindex PREPARE
 Find the source code directory and set up shell variables necessary for
 other Autoconf macros to work.  @var{unique-file-in-source-dir} is some
 file that is in the package's source directory; @code{configure} checks
@@ -1280,7 +1286,7 @@ if you want to do argument parsing yourself; never use both.
 @end defmac
 
 @defmac AC_OUTPUT (@r{[}@var{file}@dots{}@r{]})
-@findex OUTPUT
+@maindex OUTPUT
 Create output files (typically one or more @file{Makefile}s) and
 @file{config.status}.  If @code{AC_CONFIG_HEADER} has been called, also
 create the header file that was named as its argument.  The argument is
@@ -1295,7 +1301,7 @@ X/Imakefile}.
 @end defmac
 
 @defmac AC_REVISION (@var{revision-info})
-@findex REVISION
+@maindex REVISION
 Copy revision stamp @var{revision-info} into the @file{configure}
 script, with any dollar signs or double-quotes removed.  This macro lets
 you put a revision stamp from @file{configure.in} into @file{configure}
@@ -1347,7 +1353,7 @@ colon, and complain and die.  If you omit the colon, it works fine:
 macros.
 
 @defmac AC_COMPILE_CHECK (@var{echo-text}, @var{includes}, @var{function-body}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex COMPILE_CHECK
+@maindex COMPILE_CHECK
 Print @samp{checking for @var{echo-text}} to the standard output.  Then
 create a test C program to see whether a function whose body consists of
 @var{function-body} can be compiled and linked; @var{includes} is any
@@ -1357,7 +1363,7 @@ If the file compiles and links successfully, run shell commands
 @end defmac
 
 @defmac AC_FUNC_CHECK (@var{function}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex FUNC_CHECK
+@maindex FUNC_CHECK
 If @var{function} is available, run shell commands
 @var{action-if-found}, otherwise @var{action-if-not-found}.  If the
 functions might be in libraries other than the default C library, first
@@ -1367,7 +1373,7 @@ define a symbol if the function is available, consider using
 @end defmac
 
 @defmac AC_HAVE_FUNCS (@var{function}@dots{})
-@findex HAVE_FUNCS
+@maindex HAVE_FUNCS
 @vindex HAVE_@var{function}
 For each given @var{function} in the whitespace-separated argument list
 that is available, define @code{HAVE_@var{function}} (in all caps).
@@ -1377,7 +1383,7 @@ default C library, first call @code{AC_HAVE_LIBRARY} for those libraries.
 @end defmac
 
 @defmac AC_HAVE_HEADERS (@var{header-file}@dots{})
-@findex HAVE_HEADERS
+@maindex HAVE_HEADERS
 @vindex HAVE_@var{header}
 For each given @var{header-file} in the whitespace-separated argument
 list that exists, define @code{HAVE_@var{header-file}} (in all caps).
@@ -1386,7 +1392,7 @@ it is used here.
 @end defmac
 
 @defmac AC_HAVE_LIBRARY (@var{library} @r{[}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]]})
-@findex HAVE_LIBRARY
+@maindex HAVE_LIBRARY
 Print @samp{checking for @var{library}} to the standard output.  Then
 create a test C program to see whether that program can be linked with
 the specified library.  @var{action-if-found} is a list of shell
@@ -1401,7 +1407,7 @@ the compiler is passed @samp{-lfoo}.
 @end defmac
 
 @defmac AC_HEADER_CHECK (@var{header-file}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex HEADER_CHECK
+@maindex HEADER_CHECK
 If @var{header-file} exists, execute shell commands
 @var{action-if-found}, otherwise execute @var{action-if-not-found}.  If
 you just want to define a symbol if the header file is available,
@@ -1409,7 +1415,7 @@ consider using @code{AC_HAVE_HEADERS} instead.
 @end defmac
 
 @defmac AC_HEADER_EGREP (@var{pattern}, @var{header-file}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex HEADER_EGREP
+@maindex HEADER_EGREP
 If the output of running the C preprocessor on @var{header-file}
 contains the @code{egrep} regular expression @var{pattern}, execute
 shell commands @var{action-if-found}, otherwise execute
@@ -1432,7 +1438,7 @@ yes
 @end defmac
 
 @defmac AC_PREFIX (@var{program})
-@findex PREFIX
+@maindex PREFIX
 If the user did not specify an installation prefix on the command line,
 guess a value for it by looking for @var{program} in @code{PATH}, the
 way the shell does.  If @var{program} is found, set the prefix to the
@@ -1443,25 +1449,25 @@ prefix specified in @file{Makefile.in} unchanged.  For example, if
 @end defmac
 
 @defmac AC_PROGRAM_CHECK (@var{variable}, @var{prog-to-check-for}, @var{value-if-found}, @var{value-if-not-found})
-@findex PROGRAM_CHECK
+@maindex PROGRAM_CHECK
 Check whether program @var{prog-to-check-for} exists in @code{PATH}.  If
 it is found, set @var{variable} to @var{value-if-found}, otherwise to
 @var{value-if-not-found}.  Calls @code{AC_SUBST} for @var{variable}.
 @end defmac
 
 @defmac AC_PROGRAM_EGREP (@var{pattern}, @var{program}, @var{action-if-found} @r{[}, @var{action-if-not-found}@r{]})
-@findex PROGRAM_EGREP
+@maindex PROGRAM_EGREP
 @var{program} is the text of a C program, on which shell variable and
 backquote substitutions are performed.  If the output of running the C
 preprocessor on @var{program} contains the @code{egrep} regular
 expression @var{pattern}, execute shell commands @var{action-if-found},
 otherwise execute @var{action-if-not-found}.  (It is an unfortunate
-oversight that we use the word ``PROGRAM'' in Autoconf macro names to
+oversight that we use the word @code{PROGRAM} in Autoconf macro names to
 sometimes mean C source code and sometimes mean a UNIX command.)
 @end defmac
 
 @defmac AC_PROGRAMS_CHECK (@var{variable}, @var{progs-to-check-for} @r{[}, @var{value-if-not-found}@r{]})
-@findex PROGRAMS_CHECK
+@maindex PROGRAMS_CHECK
 Check for each program in the whitespace-separated list
 @var{progs-to-check-for} exists in @code{PATH}.  If it is found, set
 @var{variable} to the name of that program.  Otherwise, continue
@@ -1472,7 +1478,7 @@ will not be changed.  Calls @code{AC_SUBST} for @var{variable}.
 @end defmac
 
 @defmac AC_REPLACE_FUNCS (@var{function-name}@dots{})
-@findex REPLACE_FUNCS
+@maindex REPLACE_FUNCS
 For each given @var{function-name} in the whitespace-separated argument
 list that is not in the C library, add @samp{@var{function-name}.o} to
 the value of the @code{make} variable @code{LIBOBJS}.  If the functions
@@ -1481,7 +1487,7 @@ might be in libraries other than the default C library, first call
 @end defmac
 
 @defmac AC_TEST_PROGRAM (@var{program}, @var{action-if-true} @r{[}, @var{action-if-false} @r{[}, @var{action-if-cross-compiling}@r{]]})
-@findex TEST_PROGRAM
+@maindex TEST_PROGRAM
 @var{program} is the text of a C program, on which shell variable and
 backquote substitutions are performed.  If it compiles and links
 successfully and returns an exit status of 0 when executed, run shell
@@ -1497,7 +1503,7 @@ if it has not already been called (@pxref{Compiler Characteristics}).
 @end defmac
 
 @defmac AC_TEST_CPP (@var{includes}, @var{action-if-true} @r{[}, @var{action-if-false}@r{]})
-@findex TEST_CPP
+@maindex TEST_CPP
 @var{includes} is C @code{#include} statements and declarations, on
 which shell variable and backquote substitutions are performed.
 (Actually, it can be any C program, but other statements are probably
@@ -1509,7 +1515,7 @@ This macro calls @code{AC_PROG_CPP} if it hasn't been called already.
 @end defmac
 
 @defmac AC_WITH (@var{feature}, @var{action-if-true} @r{[}, @var{action-if-false}@r{]})
-@findex WITH
+@maindex WITH
 If the user gave @code{configure} the option
 @samp{--with-@var{feature}}, run shell commands @var{action-if-true}.
 Otherwise run shell commands @var{action-if-false}.  The name
@@ -1540,7 +1546,7 @@ These macros help other macros to define shell and @code{make}
 variables.
 
 @defmac AC_DEFINE (@var{variable} @r{[}, @var{value}@r{]})
-@findex DEFINE
+@maindex DEFINE
 Define C preprocessor variable @var{variable}.  If @var{value} is given,
 set @var{variable} to that value, otherwise set it to 1.  To use a shell
 variable as the value, use @code{AC_DEFINE_UNQUOTED} instead.  Precede
@@ -1608,7 +1614,7 @@ AC_HEADER_CHECK(elf.h, AC_DEFINE(SVR4); LIBS="$LIBS -lelf")
 @end defmac
 
 @defmac AC_DEFINE_UNQUOTED (@var{variable} @r{[}, @var{value}@r{]})
-@findex DEFINE_UNQUOTED
+@maindex DEFINE_UNQUOTED
 Like @code{AC_DEFINE}, but it does nothing to quote @var{value} from
 various shell and @code{sed} expansions it will undergo.  @var{value}
 will be used in many different contexts requiring different quoting, and
@@ -1622,7 +1628,7 @@ AC_DEFINE_UNQUOTED(config_machfile,  $@{machfile@})
 @end defmac
 
 @defmac AC_SUBST (@var{variable})
-@findex SUBST
+@maindex SUBST
 Substitute the variable @var{variable} when creating the output files
 (typically one or more @file{Makefile}s).  This means replace instances
 of @samp{@@@var{variable}@@}, e.g. in @file{Makefile.in}, with the
@@ -1646,7 +1652,7 @@ These macros provide ways for other macros to make sure that they are
 called in the correct order.
 
 @defmac AC_BEFORE (@var{this-macro-name}, @var{called-macro-name})
-@findex BEFORE
+@maindex BEFORE
 Make @code{m4} print a warning message on the standard error output if
 @var{called-macro-name} has already been called.  @var{this-macro-name}
 should be the name of the macro that is calling @code{AC_BEFORE}.  The
@@ -1670,7 +1676,7 @@ when @code{AC_PROG_CC} is called.
 @end defmac
 
 @defmac AC_PROVIDE (@var{macro-name})
-@findex PROVIDE
+@maindex PROVIDE
 Set a flag recording that @var{macro-name} has been called.  The
 argument should be the name of the macro that is calling
 @code{AC_PROVIDE}.  An easy way to get it is from the @code{m4} builtin
@@ -1682,7 +1688,7 @@ AC_PROVIDE([$0])
 @end defmac
 
 @defmac AC_REQUIRE (@var{macro-name})
-@findex REQUIRE
+@maindex REQUIRE
 If the @code{m4} macro @var{macro-name} has not already been called,
 call it (without any arguments).  Make sure to quote @var{macro-name}
 with square brackets.  The body of @var{macro-name} must contain a call
@@ -1765,7 +1771,7 @@ more complete information on writing @code{m4} macros.
 Macros that are called by other macros are evaluated by @code{m4}
 several times; each evaluation might require another layer of quotes to
 prevent unwanted expansions of macros or @code{m4} builtins, such as
-@samp{include} and @samp{$1}.  Quotes are also required around macro
+@samp{define} and @samp{$1}.  Quotes are also required around macro
 arguments that contain commas, since commas separate the arguments from
 each other.
 
@@ -2299,8 +2305,8 @@ CC='gcc -traditional' LIBS=-lposix ./configure
 The @code{make} variables that you might want to override with
 environment variables when running @code{configure} are:
 
-(For these variables, any value given in the environment overrides the
-value that @code{configure} would choose:)
+For these variables, any value given in the environment overrides the
+value that @code{configure} would choose:
 
 @defvar CC
 C compiler program.  The default is @code{cc}, or @code{gcc} if
@@ -2312,8 +2318,8 @@ Program to use to install files.  The default is @code{install} if you
 have it, @code{cp} otherwise.
 @end defvar
 
-(For these variables, any value given in the environment is added to
-the value that @code{configure} chooses:)
+For these variables, any value given in the environment is added to
+the value that @code{configure} chooses:
 
 @defvar DEFS
 Configuration options, in the form @samp{-Dfoo -Dbar@dots{}}.  Do not
@@ -2520,7 +2526,7 @@ use these names in @code{#if} directives.
 This is an alphabetical list of the Autoconf macros.  To make the list
 easier to use, the macros are listed without their preceding @samp{AC_}.
 
-@printindex fn
+@printindex ma
 
 @contents
 @bye