Check types of structures

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

 



Hello,

There are the autoconf macros AC_CHECK_TYPE, AC_CHECK_SIZEOF and AC_CHECK_MEMBER. I would like to check the size of a member inside a structure. Does this already exist in autoconf?

On Interix, the type for "struct timeval.tv_usec" is "long", while on Linux it is "suseconds_t". 

I'd rather #define suseconds_t to an equivalent type rather than just assuming it is of type long if suseconds_t is not defined. Or am I being too paranoid? I just don't see an easy way to do this at the moment. Reading through the autoconf sources in /usr/share/autoconf has me mindboggled, I can't figure out how it works right now.

Thanks,
Jason.

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  29,95 ?  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://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