summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-11 15:44:22 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:03 +0100
commite438ef1167232d1f863aafc078be47e99574c344 (patch)
tree53cea8723a26d2c167809aa00e93dd934597e8d2 /configure.ac
parent93301b48619929a5839bfda8b5372c8ab1f27bd7 (diff)
tidy up quad_t test: compile, don't run
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files 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 <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