From a7f160f9e10665bd7c9f675aa4ba6b649c1f1f79 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 10 Feb 2016 16:59:41 +0100 Subject: build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL Unused, unnecessary, wrong. Reported-by: J William Piggott Signed-off-by: Karel Zak --- m4/ul.m4 | 8 -------- 1 file changed, 8 deletions(-) (limited to 'm4') diff --git a/m4/ul.m4 b/m4/ul.m4 index 9a0f34bb8..959eef51e 100644 --- a/m4/ul.m4 +++ b/m4/ul.m4 @@ -118,7 +118,6 @@ AC_DEFUN([UL_CHECK_SYSCALL], [ ]) ul_cv_syscall_$1=$syscall ]) - AM_CONDITIONAL([HAVE_]m4_toupper($1), [test "x$ul_cv_syscall_$1" != xno]) case $ul_cv_syscall_$1 in #( no) AC_MSG_WARN([Unable to detect syscall $1.]) ;; SYS_*) ;; @@ -323,13 +322,6 @@ AC_DEFUN([UL_REQUIRES_SYSCALL_CHECK], [ m4_define([suffix], m4_default([$4],$1)) m4_define([callname], m4_default([$3],$1)) - dnl This is default, $3 will redefine the condition - dnl - dnl TODO: remove this junk, AM_CONDITIONAL should not be used for any HAVE_* - dnl variables, all we need is BUILD_* only. - dnl - AM_CONDITIONAL([HAVE_]m4_toupper(callname), [false]) - if test "x$[build_]suffix" != xno; then if test "x$[enable_]suffix" = xno; then [build_]suffix=no -- cgit v1.2.3-55-g7522