[PATCH] configure.in: use AC_TYPE_INTPTR_T instead of AC_CHECK_TYPES(intptr_t)
Torbjorn Granlund
tg at gmplib.org
Thu Dec 3 22:59:56 CET 2009
Yann Droneaud <yann at droneaud.fr> writes:
# HG changeset patch
# User Yann Droneaud <yann at droneaud.fr>
# Date 1259856909 18000
# Node ID de804711a76fee0a8c23a647e9fde8e4bb9e5230
# Parent 16ccb7e260b910259abe22cb159a22fb32b22824
configure.in: use AC_TYPE_INTPTR_T instead of AC_CHECK_TYPES(intptr_t)
Use AC_TYPE_INTPTR_T is available since autoconf 2.59c (released 2006-04-12)
diff -r 16ccb7e260b9 -r de804711a76f configure.in
--- a/configure.in Thu Dec 03 10:45:55 2009 -0500
+++ b/configure.in Thu Dec 03 11:15:09 2009 -0500
@@ -3177,7 +3177,7 @@
# of any sensible system. In a generic C build, grepping LONG_BIT out of
# <limits.h> might be an alternative, for maximum portability.
#
-AC_CHECK_TYPES(intptr_t)
+AC_TYPE_INTPTR_T
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned)
The AC_CHECK_TYPES was misplaced. I moved it an merged it with the
other types changes. Please review my change (at the GMP repo).
--
Torbjörn
More information about the gmp-devel
mailing list