[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iterating over arguments

From: Ralf Wildenhues
Subject: Re: iterating over arguments
Date: Fri, 11 Sep 2009 19:34:29 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

* Sam Steingold wrote on Fri, Sep 11, 2009 at 06:24:21PM CEST:
> 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])

again, completely untested, and probably overquoted in one or two spots:

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],

reply via email to

[Prev in Thread] Current Thread [Next in Thread]