You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
369 B

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