Sam Steingold <[EMAIL PROTECTED]> writes:

> # ac_use_included_regex is NOT cached, so we have to duplicate the
> # logic of src/glm4/regex.m4!
> case $with_included_regex in
>   yes|no) ac_use_included_regex=$with_included_regex ;;
>   '') case $gl_cv_func_re_compile_pattern_working in
>     yes) ac_use_included_regex=no;;
>     no) ac_use_included_regex=yes;;
>   esac ;;
> esac
>
> is this cheap?

Yes.

> and, more importantly, is this correct?!

Yes, for now.  But why not just use gl_REGEX?  It will be cheap too,
and then you don't have to worry about its internal details changing.


Reply via email to