From e438ef1167232d1f863aafc078be47e99574c344 Mon Sep 17 00:00:00 2001 From: tgoodwin Date: Wed, 11 Feb 1998 15:44:22 +0000 Subject: tidy up quad_t test: compile, don't run --- configure.ac | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 09b714e..bec3818 100644 --- a/configure.ac +++ b/configure.ac @@ -117,13 +117,11 @@ xyes) ;; xno) AC_CACHE_CHECK(for native quad_t, rc_cv_have_quad_t, - AC_TRY_RUN([ + AC_TRY_COMPILE([ #include -main() { - quad_t q; - q = 0; - exit((int) q); -} + ], [ +typedef quad_t align_t; +align_t a; ], rc_cv_have_quad_t=yes, rc_cv_have_quad_t=no)) case "x$rc_cv_have_quad_t" in -- cgit v1.2.3