From: Karel Zak Date: Wed, 10 Feb 2016 15:59:41 +0000 (+0100) Subject: build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL X-Git-Tag: v2.28-rc1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7f160f9e10665bd7c9f675aa4ba6b649c1f1f79;p=thirdparty%2Futil-linux.git build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL Unused, unnecessary, wrong. Reported-by: J William Piggott Signed-off-by: Karel Zak --- diff --git a/m4/ul.m4 b/m4/ul.m4 index 9a0f34bb81..959eef51e6 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