commit e438ef1167232d1f863aafc078be47e99574c344
parent 93301b48619929a5839bfda8b5372c8ab1f27bd7
Author: tgoodwin <tgoodwin>
Date: Wed, 11 Feb 1998 15:44:22 +0000
tidy up quad_t test: compile, don't run
Diffstat:
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git 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 <sys/types.h>
-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