])
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_*) ;;
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