summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSami Kerola2013-07-28 23:11:16 +0200
committerKarel Zak2013-08-01 13:35:26 +0200
commitf29a3d1868c847ae41bc681db58bd087fc9f941d (patch)
treed35c6b252f5675df1f229d8ad69d6c67f6fe4288 /configure.ac
parentlscpu: fix shadow declaration [smatch scan] (diff)
downloadkernel-qcow2-util-linux-f29a3d1868c847ae41bc681db58bd087fc9f941d.tar.gz
kernel-qcow2-util-linux-f29a3d1868c847ae41bc681db58bd087fc9f941d.tar.xz
kernel-qcow2-util-linux-f29a3d1868c847ae41bc681db58bd087fc9f941d.zip
setarch: prefer preprocessor rather than autotools check
It seems to be pointless to spend time in ./configure phase when preprocessor has to perform #ifndef check anyway. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac
index 398aaf0cb..006de9370 100644
--- a/configure.ac
+++ b/configure.ac
@@ -252,18 +252,6 @@ AC_CHECK_MEMBERS([struct termios.c_line],,,
AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec],,,
[#include <sys/stat.h>])
-AC_CHECK_DECLS([
- UNAME26,
- ADDR_NO_RANDOMIZE,
- FDPIC_FUNCPTRS,
- MMAP_PAGE_ZERO,
- ADDR_COMPAT_LAYOUT,
- READ_IMPLIES_EXEC,
- ADDR_LIMIT_32BIT,
- WHOLE_SECONDS,
- STICKY_TIMEOUTS,
- ADDR_LIMIT_3GB], [], [], [#include <linux/personality.h>])
-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[
#ifdef HAVE_SYS_SWAP_H