> * Paul Eggert <[EMAIL PROTECTED]> [2007-10-31 16:47:06 -0700]: > > Sam Steingold <[EMAIL PROTECTED]> writes: > >> incidentally, why isn't ac_use_included_regex cached? > > Typically we don't cache things that can be computed cheaply. Can't > it be computed cheaply, assuming gl_cv_func_re_compile_pattern_working > is cached?
here is what I have in the subordinate configure.in # 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? and, more importantly, is this correct?! note also that gl_cv_func_re_compile_pattern_working is not found by "grep -i regex" ;-( -- Sam Steingold (http://sds.podval.org/) on Fedora release 7 (Moonshine) http://dhimmi.com http://camera.org http://israelunderattack.slide.com http://ffii.org http://honestreporting.com http://jihadwatch.org Trespassers will be shot. Survivors will be prosecuted.