autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Docs of AC_TYPE_SIZE_T need help...


From: Paul Eggert
Subject: Re: Docs of AC_TYPE_SIZE_T need help...
Date: Mon, 10 Apr 2006 11:56:30 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Paul D. Smith" <address@hidden> writes:

>  - Macro: AC_TYPE_SIZE_T
>      Equivalent to `AC_CHECK_TYPE(size_t, unsigned)'.
>
> Why can't it just tell me what this macro does, right here?

Thanks for reporting the problem.  I installed this:

2006-04-10  Paul Eggert  <address@hidden>

        * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
        Problem noted by Paul D. Smith.

--- doc/autoconf.texi   10 Apr 2006 18:14:53 -0000      1.991
+++ doc/autoconf.texi   10 Apr 2006 18:55:27 -0000      1.992
@@ -5714,19 +5714,22 @@ Define @code{HAVE_MBSTATE_T} if @code{<w
 @defmac AC_TYPE_MODE_T
 @acindex{TYPE_MODE_T}
 @cvindex mode_t
-Equivalent to @samp{AC_CHECK_TYPE([mode_t], [int])}.
+Define @code{mode_t} to a suitable type, if standard headers do not
+define it.
 @end defmac
 
 @defmac AC_TYPE_OFF_T
 @acindex{TYPE_OFF_T}
 @cvindex off_t
-Equivalent to @samp{AC_CHECK_TYPE([off_t], [long int])}.
+Define @code{off_t} to a suitable type, if standard headers do not
+define it.
 @end defmac
 
 @defmac AC_TYPE_PID_T
 @acindex{TYPE_PID_T}
 @cvindex pid_t
-Equivalent to @samp{AC_CHECK_TYPE([pid_t], [int])}.
+Define @code{pid_t} to a suitable type, if standard headers do not
+define it.
 @end defmac
 
 @defmac AC_TYPE_SIGNAL
@@ -5753,21 +5756,23 @@ hup_handler ()
 @defmac AC_TYPE_SIZE_T
 @acindex{TYPE_SIZE_T}
 @cvindex size_t
-Equivalent to @samp{AC_CHECK_TYPE([size_t], [unsigned int])}.
+Define @code{size_t} to a suitable type, if standard headers do not
+define it.
 @end defmac
 
 @defmac AC_TYPE_SSIZE_T
 @acindex{TYPE_SSIZE_T}
 @cvindex ssize_t
-Equivalent to @samp{AC_CHECK_TYPE([ssize_t], [int])}.
+Define @code{ssize_t} to a suitable type, if standard headers do not
+define it.
 @end defmac
 
 @defmac AC_TYPE_UID_T
 @acindex{TYPE_UID_T}
 @cvindex uid_t
 @cvindex gid_t
-If @code{uid_t} is not defined, define @code{uid_t} to be @code{int} and
address@hidden to be @code{int}.
+Define @code{uid_t} and @code{gid_t} to suitable types, if standard
+headers do not define them.
 @end defmac
 
 @defmac AC_TYPE_UINT8_T




reply via email to

[Prev in Thread] Current Thread [Next in Thread]