[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex.m4 test too strict?
From: |
Paul Eggert |
Subject: |
Re: regex.m4 test too strict? |
Date: |
Thu, 01 Nov 2007 13:31:54 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Sam Steingold <address@hidden> 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.