Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Compiling zsh-4.0.2 on Mac OS X



Brian Boonstra wrote:
> 
>   I solved this by running
>           autoconf
> in the top-level source directory.  That gave me a configure script with
> more options, including one for the ldflags, which I then set to be nothing.

I take it there no problems with the clear ldflags then?

>   I suppose this is ultimately a problem with autoconf.

What version of autoconf do you have? I'd be suprised if 2.5x doesn't
handle MacOS X.

Judging by one section of zshconfig.ac, it is probably a zsh problem.
Can you try with this patch. You will need to rerun autoconf (or
Util/preconfig) or manually apply this to configure itself.

Does anyone know if ${enable_zsh_debug} is definitely empty for a no
value as I've assumed here? The -x option may not be right in which case
we could use nothing.

Oliver

Index: zshconfig.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v
retrieving revision 1.17
diff -u -r1.17 zshconfig.ac
--- zshconfig.ac        2001/07/03 17:34:33     1.17
+++ zshconfig.ac        2001/08/31 17:47:17
@@ -307,6 +307,7 @@
 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=-x ;;
     yes*)    LDFLAGS=-g ;;
     *)       LDFLAGS=-s ;;
   esac

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp



Messages sorted by: Reverse Date, Date, Thread, Author