Hi John, * John Calcote wrote on Mon, Jun 23, 2008 at 08:26:09PM CEST: > > Is there a community-approved method for determining in configure.ac > whether or not you're building (targeting) 64-bit code? What is 64-bit code, and why do you need to know in your program? Both are serious questions, and LONG_MAX/ULONG_MAX, CHAR_BIT and AC_CHECK_SIZEOF for int, long, or a pointer type, may be part of the answer to your question. Of course, many programs don't need to know or check for any of this at all and are still portable to "64-bit" systems, or even systems with 48 bit types, which is Good. Checking $host is likely not what you would want, as for ./configure CC='gcc -m32' on x86_64-unknown-linux-gnu, it may match. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf