about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-06 08:51:06 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-06 08:51:06 +0000
commit2b2cb523eb4492dc2f1d3b4b0cbff2c76815e60b (patch)
treee4b1df4b23a18add57f8cd3363cbe31d2eb54496
parentc9006a06a321bc25ffe3ed03f57050258d502c41 (diff)
downloadzsh-2b2cb523eb4492dc2f1d3b4b0cbff2c76815e60b.tar.gz
zsh-2b2cb523eb4492dc2f1d3b4b0cbff2c76815e60b.tar.xz
zsh-2b2cb523eb4492dc2f1d3b4b0cbff2c76815e60b.zip
24927: Phil Pennock: limit XOPEN workaround to FreeBSD 6
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5e66fc42..cb76c220a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-06  Peter Stephenson  <pws@csr.com>
+
+	* 24927: Phil Pennock: configure.ac: Free BSD only doesn't need
+	_XOPEN_SOURCE_EXTENDED on Free BSD 6.
+
 2008-05-04  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 24831 plus changes: Src/hist.c: simplified fcntl() locking.
diff --git a/configure.ac b/configure.ac
index 9c307aa2a..5db2b6e3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -687,7 +687,7 @@ AH_TEMPLATE([ZSH_NO_XOPEN],
 AC_CACHE_CHECK(if _XOPEN_SOURCE_EXTENDED should not be defined,
 zsh_cv_no_xopen,
 [case "$host_os" in
-  *openbsd*|*freebsd*)
+  *openbsd*|*freebsd6*)
   zsh_cv_no_xopen=yes
   ;;
   *)