Hi/2. Bruno Haible wrote: > 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?
Do you mean 'test-popen'? Then it works. > > If yes, we'll also need an edit to doc/posix-functions/popen.texi. > Part of 'Portability problems fixed by Gnulib:'? >> 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 > If the test is run, 'configure' is blocked until pressing Ctrl-C or Ctrl-Break. Or do you mean modification of the test source codes to return an error if OS/2? -- KO Myung-Hun Korean OS/2 User Community : https://www.os2.kr/
