mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-04 08:30:54 +02:00
Hiramatsu Yoshifumi: 30621 patch-ac (from NetBSD pkgsrc)backported to configure.ac: compilation on interix, also
change linker flags for NetBSD.
This commit is contained in:
parent
97cf64a7ee
commit
402e5fb2ab
2 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,11 @@
|
||||||
2012-08-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2012-08-16 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
|
* Hiramatsu Yoshifumi: 30621 patch-ac (from NetBSD pkgsrc)
|
||||||
|
backported to configure.ac: compilation on interix, also
|
||||||
|
change linker flags for NetBSD.
|
||||||
|
|
||||||
* Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):
|
* Hiramatsu Yoshifumi: 30621 patch-ab (from NetBSD pkgsrc):
|
||||||
compilation on __INTERIX
|
Src/zsh.h: compilation on __INTERIX
|
||||||
|
|
||||||
2012-08-16 Peter Stephenson <pws@csr.com>
|
2012-08-16 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
@ -66,5 +70,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.5697 $
|
* $Revision: 1.5698 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -2709,6 +2709,10 @@ char *argv[];
|
||||||
DLLD="${DLLD=$CC}"
|
DLLD="${DLLD=$CC}"
|
||||||
DLLDARG=""
|
DLLDARG=""
|
||||||
;;
|
;;
|
||||||
|
*interix*)
|
||||||
|
DLLD="${DLLD=$CC}"
|
||||||
|
DLLDARG=""
|
||||||
|
;;
|
||||||
* )
|
* )
|
||||||
DLLD="${DLLD=ld}"
|
DLLD="${DLLD=ld}"
|
||||||
DLLDARG=""
|
DLLDARG=""
|
||||||
|
@ -2719,6 +2723,7 @@ char *argv[];
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
|
hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
|
||||||
darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;;
|
darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;;
|
||||||
|
interix*) DLCFLAGS="${DLCFLAGS=}" ;;
|
||||||
*) DLCFLAGS="${DLCFLAGS=-fPIC}" ;;
|
*) DLCFLAGS="${DLCFLAGS=-fPIC}" ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
@ -2733,10 +2738,9 @@ char *argv[];
|
||||||
fi
|
fi
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;;
|
osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;;
|
||||||
*freebsd*|linux*|irix*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
|
*freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;;
|
||||||
sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
|
sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;;
|
||||||
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
|
sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;;
|
||||||
netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;;
|
|
||||||
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
|
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
|
||||||
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
|
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
|
||||||
darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;;
|
darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;;
|
||||||
|
|
Loading…
Reference in a new issue