[PATCH] configure.in: use AC_TYPE_INTPTR_T instead of AC_CHECK_TYPES(intptr_t)

Yann Droneaud yann at droneaud.fr
Thu Dec 3 17:17:31 CET 2009


# 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)


More information about the gmp-devel mailing list