summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-06-12 14:46:13 +0000
committerAkim Demaille <akim@epita.fr>2001-06-12 14:46:13 +0000
commite940773c63459088facfad56cbdb284e8feb4d18 (patch)
tree5027d9aad513e9913df384c323ed6aeb5645ccc1 /doc
parent11f6cf8fb527f77a8391e1b0bdf0a193e63b603d (diff)
downloadautoconf-e940773c63459088facfad56cbdb284e8feb4d18.tar.gz
Stupid me :(
Reverse the patch incorrectly applied when adding prev-version.txt
Diffstat (limited to 'doc')
-rw-r--r--doc/autoconf.texi22
1 files changed, 4 insertions, 18 deletions
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 8d9fce30..2ec87f93 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -2778,12 +2778,8 @@ Most generic macros provide the following default set of includes:
@example
@group
#include <stdio.h>
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#if HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
+#include <sys/types.h>
+#include <sys/stat.h>
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
@@ -3864,20 +3860,15 @@ These macros are used to find system header files not covered by the
as well as find out whether it is present, you have to write your own
test for it (@pxref{Writing Tests}).
-@defmac AC_CHECK_HEADER (@var{header-file}, @ovar{action-if-found}, @ovar{action-if-not-found}, @ovar{includes})
+@defmac AC_CHECK_HEADER (@var{header-file}, @ovar{action-if-found}, @ovar{action-if-not-found})
@maindex CHECK_HEADER
If the system header file @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,
consider using @code{AC_CHECK_HEADERS} instead.
-
-This macro actually checks whether @var{header-file} can be included
-without error. If @var{includes} is specified, they are included before
-@var{header-file}. Note that the @var{includes} are @emph{not}
-defaulted. They might be in future releases.
@end defmac
-@defmac AC_CHECK_HEADERS (@var{header-file}@dots{}, @ovar{action-if-found}, @ovar{action-if-not-found}, @ovar{includes})
+@defmac AC_CHECK_HEADERS (@var{header-file}@dots{}, @ovar{action-if-found}, @ovar{action-if-not-found})
@maindex CHECK_HEADERS
@cvindex HAVE_@var{header}
For each given system header file @var{header-file} in the
@@ -3887,11 +3878,6 @@ is given, it is additional shell code to execute when one of the header
files is found. You can give it a value of @samp{break} to break out of
the loop on the first match. If @var{action-if-not-found} is given, it
is executed when one of the header files is not found.
-
-This macro actually checks whether @var{header-file} can be included
-without error. If @var{includes} is specified, they are included before
-@var{header-file}. Note that the @var{includes} are @emph{not}
-defaulted. They might be in future releases.
@end defmac
@node Declarations, Structures, Header Files, Existing Tests