1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

15180: final AIX touch - default to termcap and add -shared flag (or

-bM:SRE for native compiler) for modules
This commit is contained in:
Andrey Borzenkov 2001-06-29 14:59:42 +00:00
parent 0b8e4008b6
commit fcd204718e
3 changed files with 19 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2001-06-29 Andrej Borsenkow <bor@zsh.org>
* 15180: zshconfig.ac, Etc/MACHINES: make AIX default to termcap
as workaround for apparent AIX curses bug; add flags to create
modules with shared object type. Mention curses problem.
2001-06-29 Clint Adams <clint@zsh.org>
* Bart: 15083 plus comments: Functions/Zle/bash-backward-kill-word:

View file

@ -72,7 +72,7 @@ HP: HP-UX 9, 10.20, 11.0
Compiling with gcc 2.7.1 is known to fail with header file
conflicts on HP-UX 11. Use the HP ANSI C compiler.
IBM: AIX 3.2, 4.1
IBM: AIX 3.2, 4.x
Should build `out-of-the-box', but --enable-zsh-mem will not work.
On 3.2, for 64-bit integer support you need to compile with gcc, as
@ -82,6 +82,12 @@ IBM: AIX 3.2, 4.1
4.1, though native cc works. More information about this problem
would be appreciated.
It was reported, that at least some 4.x versions have problem
with curses - variables boolcodes and some other are declared
in term.h but missing is libcurses.a. That makes native compiler
very unhappy (GCC 3.0 apparently does not mind). Zsh now defaults
to termcap on AIX; any info about this problem is appreciated.
Linux: Linux 2.* (various 32-bit and 64-bit processors)
Should build `out-of-the-box'.

View file

@ -553,7 +553,7 @@ else
termcap_curses_order="termcap curses ncurses"
fi],
[case "$host_os" in
aix*|hpux10.*|hpux11.*|solaris*)
hpux10.*|hpux11.*|solaris*)
termcap_curses_order="curses ncurses termcap" ;;
*) termcap_curses_order="termcap curses ncurses" ;;
esac])dnl
@ -1535,6 +1535,11 @@ if test "x$aixdynamic" = xyes; then
DL_EXT="${DL_EXT=so}"
DLLD="${DLLD=$CC}"
zsh_cv_func_dlsym_needs_underscore=no
if test -n "$GCC"; then
DLLDFLAGS=${DLLDFLAGS=-shared}
else
DLLDFLAGS=${DLLDFLAGS=-bM:SRE}
fi
DLLDFLAGS=${DLLDFLAGS=}
EXTRA_LDFLAGS=${EXTRA_LDFLAGS=}
EXPOPT=${LDARG}-bE: