about summary refs log tree commit diff
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
parentccafd1981955f87291ae72e1dad3cc103f04b1d1 (diff)
downloadzsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.tar.gz
zsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.tar.xz
zsh-bfaa06eb132742ddd821499ad33f2f62125a0f6b.zip
24938: tweak Free BSD XOPEN test
-rw-r--r--ChangeLog2
-rw-r--r--configure.ac6
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 19e503616..9df4795af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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