24938: tweak Free BSD XOPEN test

This commit is contained in:
Peter Stephenson 2008-05-06 11:57:41 +00:00
parent ccafd19819
commit bfaa06eb13
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
2008-05-06 Peter Stephenson <pws@csr.com>
* 24937: Dag-Erling Smørgrav <des@des.no>: configure.ac:
* 24937, 24938: Dag-Erling Smørgrav <des@des.no>: configure.ac:
improved version of 24972.
* 24932: Src/zsh.h, Src/Zle/zle_refresh.c: try to regularize

View file

@ -686,14 +686,14 @@ AH_TEMPLATE([ZSH_NO_XOPEN],
[Define if _XOPEN_SOURCE_EXTENDED should not be defined to avoid clashes])
AC_CACHE_CHECK(if _XOPEN_SOURCE_EXTENDED should not be defined,
zsh_cv_no_xopen,
[case "$host_os" in
*openbsd*|*freebsd5*|*freebsd6[012]*)
[[case "$host_os" in
*openbsd*|*freebsd5*|*freebsd6.[012]*)
zsh_cv_no_xopen=yes
;;
*)
zsh_cv_no_xopen=no
;;
esac])
esac]])
if test x$zsh_cv_no_xopen = xyes; then
AC_DEFINE(ZSH_NO_XOPEN)
fi