patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther
diff --git a/configure b/configure
index c5b795f..7151b2e 100755
--- a/configure
+++ b/configure
@@ -1513,7 +1513,9 @@
;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
- Darwin/8.*)
+ # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
+ # has no effect, don't bother defineing them
+ Darwin/[78].*)
define_xopen_source=no
;;
diff --git a/configure.in b/configure.in
index 8a73c4f..a8b91d6 100644
--- a/configure.in
+++ b/configure.in
@@ -173,7 +173,9 @@
;;
# On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
# disables platform specific features beyond repair.
- Darwin/8.*)
+ # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
+ # has no effect, don't bother defineing them
+ Darwin/[78].*)
define_xopen_source=no
;;