1dnl -*- Autoconf -*- 2dnl Copyright (C) 1993-2003, 2017 Free Software Foundation, Inc. 3dnl This file is free software, distributed under the terms of the GNU 4dnl General Public License. As a special exception to the GNU General 5dnl Public License, this file may be distributed as part of a program 6dnl that contains a configuration script generated by Autoconf, under 7dnl the same distribution terms as the rest of that program. 8 9dnl From Bruno Haible, Marcus Daniels, Sam Steingold. 10 11AC_PREREQ([2.57]) 12 13AC_DEFUN([CL_MACH_VM], 14[ 15 CL_LINK_CHECK([vm_allocate], [cl_cv_func_vm], , 16 [vm_allocate(); task_self();], 17 [AC_DEFINE([HAVE_MACH_VM],,[have vm_allocate() and task_self() functions])]) 18]) 19