--- a/configure.ac +++ b/configure.ac @@ -545,6 +545,9 @@ *-*-cygwin*) ac_sys_system=Cygwin ;; + *-*-darwin*) + ac_sys_system=Darwin + ;; *-*-vxworks*) ac_sys_system=VxWorks ;; @@ -600,6 +600,8 @@ *-*-cygwin*) _host_cpu= ;; + *-*-darwin*) + ;; *-*-vxworks*) _host_cpu=$host_cpu ;; @@ -675,6 +675,8 @@ define_xopen_source=no;; Darwin/@<:@[12]@:>@@<:@0-9@:>@.*) define_xopen_source=no;; + Darwin/*) + define_xopen_source=no;; # On QNX 6.3.2, defining _XOPEN_SOURCE prevents netdb.h from # defining NI_NUMERICHOST. QNX/6.3.2)