Re: How to write directly to config.h from configure?

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

 



On Jul 26, 2018, at 9:36 AM, Jeffrey Walton <noloader@xxxxxxxxx> wrote:
> 
>    cat << EOT >> config.h
>      typedef unsigned char byte;
>      typedef unsigned short word16;
>      typedef unsigned int word32;
>    EOT

You’re reinventing C99’s stdint.h here.  Unless you still must build on C89 or older compilers, you should just switch.

I get supporting old compilers — I often need to support C++ compilers 10 years old or more — but C89 should be safe to drop in most projects by now.
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux