summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-03-15 20:42:46 +0000
committerDmitry V. Levin <ldv@altlinux.org>2012-03-15 20:42:46 +0000
commit63e4f86bd7db507e181dd0da467e7a9a2c3b2c1a (patch)
treee355c8739cd90c4e899a2a803bcfb8dde195e718 /configure.ac
parent84abf700110ef54ac2bf8de4b09c54ca437f390a (diff)
downloadstrace-63e4f86bd7db507e181dd0da467e7a9a2c3b2c1a.tar.gz
strace-63e4f86bd7db507e181dd0da467e7a9a2c3b2c1a.tar.bz2
strace-63e4f86bd7db507e181dd0da467e7a9a2c3b2c1a.tar.xz
arm: fix compilation warnings
* configure.ac: Define SIZEOF_LONG. * signal.c (sys_rt_sigaction) [SUPPORTED_PERSONALITIES > 1]: Help compiler to optimize out unreachable code that is not expected to work on platforms where sizeof(long) <= 4.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ee9b8e8..f5118ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,6 +251,8 @@ AC_CACHE_CHECK([for BLKGETSIZE64], [ac_cv_have_blkgetsize64],
AC_DEFINE([HAVE_BLKGETSIZE64], [1], [Define to 1 if you have BLKGETSIZE64.])
fi)
+AC_CHECK_SIZEOF([long])
+
AC_PATH_PROG([PERL], [perl])
AC_CONFIG_FILES([Makefile tests/Makefile])