From a886f098944f183e0fc70bb3672cbef0f4e18b6b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 27 Sep 2001 15:50:15 +0000 Subject: fix build and test problems in Mac OS X (15882) --- ChangeLog | 5 +++++ Etc/MACHINES | 3 +++ Test/C02cond.ztst | 4 +--- zshconfig.ac | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a2b1081d..f5f8b1782 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-09-27 Oliver Kiddle + + * 15882: zshconfig.ac, Etc/MACHINES, Test/C02cond.ztst: fix + build and test problems on MacOS X (Darwin). + 2001-09-27 Clint Adams * 15886: Src/Modules/tcp.c: use select if poll diff --git a/Etc/MACHINES b/Etc/MACHINES index 22f7e7c03..eba4cb77c 100644 --- a/Etc/MACHINES +++ b/Etc/MACHINES @@ -17,6 +17,9 @@ The format of entries is thus: Machines -------- +Apple: MacOS X/Darwin 1.4 + Should build `out-of-the-box'. Dynamic loading does not work. + Red Hat Inc.: Cygwin Should build `out-of-the-box'. The compilation directory should be on a file system mounted as binary (the mount command shows diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 94c86789d..83f9b6de3 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -18,9 +18,7 @@ mkdir modish chgrp $EGID modish - chmod g+xs modish - chmod u+s modish - chmod +t modish + chmod 7710 modish # g+xs,u+s,+t touch unmodish chmod 000 unmodish diff --git a/zshconfig.ac b/zshconfig.ac index c01421c41..a3442e4be 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -307,6 +307,7 @@ fi if test -n "$auto_ldflags"; then case "${enable_zsh_debug}$host_os" in yesaix*|yeshpux*|yesnetbsd*|yesopenbsd*) ;; # "ld -g" is not valid on these systems + darwin*) LDFLAGS=-Wl,-x ;; yes*) LDFLAGS=-g ;; *) LDFLAGS=-s ;; esac -- cgit 1.4.1