On Fri, Sep 11, 2009 at 1:34 PM, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> wrote: > > AC_DEFUN([CL_CLISP_REQUIRE_FEATURE], [dnl > m4_foreach_w([cl_feat], [$1], > [m4_pushdef([CL_FEAT], [m4_toupper([cl_feat])])dnl > AC_CACHE_CHECK([for CL_FEAT in CLISP], [cl_cv_clisp_][cl_feat], > [CLISP_SET([...]) > ]) > m4_popdef([CL_FEAT]) > ]) > ]) > m4 seems to take forever (11 minutes on Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz and counting - had to kill it) processing this: AC_DEFUN([CL_CLISP_REQUIRE_FEATURES], [dnl m4_foreach_w([cl_feat], [$1], [m4_pushdef([CL_FEAT], [m4_toupper([cl_feat])])dnl AC_CACHE_CHECK([for CL_FEAT in CLISP], [cl_cv_clisp_][cl_feat], [CLISP_SET([cl_cv_clisp_][cl_feat],[[#+cl_feat "yes" #-cl_feat "no"]]) ]) m4_popdef([CL_FEAT]) ])]) CL_CLISP_REQUIRE_FEATURES([ffi mt screen]) also, don't I need AC_REQUIRE([CL_CLISP]) since CLISP_SET uses something set by CL_CLISP? also, will it correctly substitute "ffi" for "cl_feat" inside ... let me count ... 4 levels of [[[[]]]]? thanks! -- Sam Steingold <http://sds.podval.org> _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf