]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL
authorKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2016 15:59:41 +0000 (16:59 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Feb 2016 15:59:41 +0000 (16:59 +0100)
Unused, unnecessary, wrong.

Reported-by: J William Piggott <elseifthen@gmx.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
m4/ul.m4

index 9a0f34bb81da1f3eb82288e6bcda382bb290b99c..959eef51e62a0f8769a120fdf8adfc51a5b56f5a 100644 (file)
--- 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