Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 5.0.8 available (preliminary announcement)



Oliver Kiddle wrote on Tue, Jun 02, 2015 at 12:06:20 +0200:
> Is the -o option to test safe to use in configure? It seems existing
> tests use || and && but the precedence of those wouldn't be right.

I suppose most portable would be a subshell, since the requirements it
places on the 'test' command are minimal:

  +if ( test x$ac_cv_have_dev_ptmx = xyes || test x$ac_cv_func_posix_openpt = xyes ) && \

> -if test x$ac_cv_have_dev_ptmx = xyes && \
> +if test x$ac_cv_have_dev_ptmx = xyes -o x$ac_cv_func_posix_openpt = xyes && \



Messages sorted by: Reverse Date, Date, Thread, Author