Hi, I have this: (http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/src/m4/clisp.m4) dnl set variable $1 to the result of evaluating in clisp of $2 AC_DEFUN([CLISP_SET],[$1=`$cl_cv_clisp -q -norc -x '$2' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`]) AC_DEFUN([CL_CLISP_NEED_FFI],[AC_REQUIRE([CL_CLISP])dnl AC_CACHE_CHECK([for FFI in CLISP], [cl_cv_clisp_ffi], [CLISP_SET(cl_cv_clisp_ffi,[[#+ffi "yes" #-ffi "no"]])]) test $cl_cv_clisp_ffi = no && AC_MSG_ERROR([FFI is missing in CLISP])]) instead I want AC_DEFUN([CL_CLISP_REQUIRE_FEATURE],[dnl ....]) so what I will call it as CL_CLISP_REQUIRE_FEATURE([ffi screen unicode]) and it will expand into something like AC_CACHE_CHECK([for FFI in CLISP], [cl_cv_clisp_ffi], [CLISP_SET(cl_cv_clisp_ffi,[[#+ffi "yes" #-ffi "no"]])]) test $cl_cv_clisp_ffi = no && AC_MSG_ERROR([FFI is missing in CLISP]) AC_CACHE_CHECK([for SCREEN in CLISP], [cl_cv_clisp_screen], [CLISP_SET(cl_cv_clisp_screen,[[#+screen "yes" #-screen "no"]])]) test $cl_cv_clisp_screen = no && AC_MSG_ERROR([SCREEN is missing in CLISP]) AC_CACHE_CHECK([for UNICODE in CLISP], [cl_cv_clisp_unicode], [CLISP_SET(cl_cv_clisp_unicode,[[#+unicode "yes" #-unicode "no"]])]) test $cl_cv_clisp_unicode = no && AC_MSG_ERROR([UNICODE is missing in CLISP]) how do I do that? thanks Sam _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf