summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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