dnl dnl $Id: linux-func-d_alloc_root-two_args.m4,v 1.1 2000/09/11 14:40:50 art Exp $ dnl AC_DEFUN(AC_LINUX_FUNC_D_ALLOC_ROOT_TWO_ARGS, [ AC_CACHE_CHECK(if d_alloc_root takes two arguments, ac_cv_func_d_alloc_root_two_args, AC_TRY_COMPILE_KERNEL([#include #include #include ], [ d_alloc_root(NULL, NULL) ], ac_cv_func_d_alloc_root_two_args=yes, ac_cv_func_d_alloc_root_two_args=no)) if test "$ac_cv_func_d_alloc_root_two_args" = "yes"; then AC_DEFINE(HAVE_D_ALLOC_ROOT_TWO_ARGS, 1, [define if d_alloc_root takes two arguments]) fi ])