autoconf
[Top][All Lists]
Advanced

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

Wrong example in AC_CHECK_TYPE documentation


From: Julien ÉLIE
Subject: Wrong example in AC_CHECK_TYPE documentation
Date: Thu, 19 Dec 2013 14:30:57 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi,

The documentation for AC_CHECK_TYPE gives the following example:

    use AC_CHECK_TYPES together with
    #ifndef HAVE_LOFF_T
    typedef loff_t off_t;
    #endif

* Shouldn't it be "typedef off_t loff_t;" instead?
* Wouldn't it also be better to mention the fact that AC_TYPE_OFF_T should be called so as to define off_t, if need be?

--
Julien ÉLIE

« Il y a trois façons de faire les choses : la bonne, la mauvaise,
  et la mienne. »



reply via email to

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