From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14434 invoked from network); 29 Apr 2002 17:54:03 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Apr 2002 17:54:03 -0000 Received: (qmail 10339 invoked by alias); 29 Apr 2002 17:53:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17055 Received: (qmail 10303 invoked from network); 29 Apr 2002 17:53:53 -0000 Date: Mon, 29 Apr 2002 13:52:49 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: hurd builds Message-ID: <20020429175249.GA2177@dman.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Hurd recently changed it's ABI. This should let it build modules again. Index: zshconfig.ac =================================================================== RCS file: /cvsroot/zsh/zsh/zshconfig.ac,v retrieving revision 1.26 diff -u -r1.26 zshconfig.ac --- zshconfig.ac 19 Mar 2002 14:34:01 -0000 1.26 +++ zshconfig.ac 29 Apr 2002 16:39:26 -0000 @@ -1660,7 +1660,7 @@ fi case "$host_os" in hpux*) DLLDFLAGS="${DLLDFLAGS=-b}" ;; - freebsd*|linux*|irix*|osf*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + freebsd*|linux*|irix*|osf*|gnu*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; @@ -1684,7 +1684,7 @@ esac case "$host" in *-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;; - *-freebsd[3-9]*|*-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;; + *-freebsd[3-9]*|*-linux*|gnu*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;; *openbsd*) if test $zsh_cv_sys_elf = yes; then EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}"