about summary refs log tree commit diff
diff options
context:
space:
mode:
-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