1dnl SPDX-License-Identifier: GPL-2.0-or-later
2dnl Copyright (c) Linux Test Project, 2010
3dnl Author: Mike Frysinger <vapier@gentoo.org>
4
5AC_DEFUN([LTP_CHECK_NOMMU_LINUX],
6[
7	AC_CHECK_FUNCS([fork daemon vfork])
8	UCLINUX=0
9	if test "x$ac_cv_func_fork" = "xno" ; then
10		UCLINUX=1
11		AC_DEFINE([UCLINUX], 1, [Target is running Linux w/out an MMU])
12	fi
13	AC_SUBST(UCLINUX)
14])
15