Myung-Hun wrote:
> * m4/popen.m4 (gl_FUNC_POPEN): Set gl_cv_func_popen_works to no on OS/2.

If you set gl_cv_func_popen_works to 'no', it will activate the workaround
in lib/popen.c. Does this workaround work? Does 'test-open' succeed?

If yes, we'll also need an edit to doc/posix-functions/popen.texi.

>    else
> +    dnl On OS/2 kLIBC, the following test hangs on. So set to no here.
> +    case "$host_os" in os2*) gl_cv_func_popen_works=no;; esac
>      AC_CACHE_CHECK([whether popen works with closed stdin],
>        [gl_cv_func_popen_works],
>        [
> 

Can you put the 'gl_cv_func_popen_works=no' into the AC_CACHE_CHECK?
And produce the value 'guessing no', since the test is not being run.
Rationale: We want 'configure' to print
  checking whether popen works with closed stdin... guessing no
not
  checking whether popen works with closed stdin... (cached) no

Bruno




Reply via email to