From f29a3d1868c847ae41bc681db58bd087fc9f941d Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 28 Jul 2013 22:11:16 +0100 Subject: 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 --- configure.ac | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'configure.ac') 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 ]) -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 ]) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[ #ifdef HAVE_SYS_SWAP_H -- cgit v1.2.3-55-g7522