summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKarel Zak2016-02-10 16:59:41 +0100
committerKarel Zak2016-02-10 16:59:41 +0100
commita7f160f9e10665bd7c9f675aa4ba6b649c1f1f79 (patch)
tree515b8bc8ff825d6cb284da7b7a4a6d7c51d24544 /m4
parentlibsmartcols: rewrite ./sample-scols-wrap (diff)
downloadkernel-qcow2-util-linux-a7f160f9e10665bd7c9f675aa4ba6b649c1f1f79.tar.gz
kernel-qcow2-util-linux-a7f160f9e10665bd7c9f675aa4ba6b649c1f1f79.tar.xz
kernel-qcow2-util-linux-a7f160f9e10665bd7c9f675aa4ba6b649c1f1f79.zip
build-sys: remove AM_CONDITIONAL from UL_CHECK_SYSCALL
Unused, unnecessary, wrong. Reported-by: J William Piggott <elseifthen@gmx.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/ul.m48
1 files changed, 0 insertions, 8 deletions
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