about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-06 11:57:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-06 11:57:41 +0000
commitbfaa06eb132742ddd821499ad33f2f62125a0f6b (patch)
tree386492eafdaf590b796d53be2579eaa7a2647924 /configure.ac
parentccafd1981955f87291ae72e1dad3cc103f04b1d1 (diff)
downloadzsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.tar.gz
zsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.tar.xz
zsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.zip
24938: tweak Free BSD XOPEN test
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c1651488b..0cf75fe2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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