Home | History | Annotate | Download | only in m4
      1 dnl
      2 dnl NOMMU/Linux (aka uClinux) checks
      3 dnl
      4 
      5 dnl
      6 dnl LTP_CHECK_NOMMU_LINUX
      7 dnl ---------------------
      8 dnl
      9 AC_DEFUN([LTP_CHECK_NOMMU_LINUX],
     10 [dnl
     11 	AC_CHECK_FUNCS([fork daemon vfork])
     12 	UCLINUX=0
     13 	if test "x$ac_cv_func_fork" = "xno" ; then
     14 		UCLINUX=1
     15 		AC_DEFINE([UCLINUX], 1, [Target is running Linux w/out an MMU])
     16 	fi
     17 	AC_SUBST(UCLINUX)
     18 ])
     19