From 848a3ba24a409eacd98a3f453acb90b4b011791a Mon Sep 17 00:00:00 2001 From: Andrey Borzenkov Date: Tue, 23 Oct 2001 06:44:05 +0000 Subject: 15180, 15181 from HEAD --- zshconfig.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'zshconfig.ac') diff --git a/zshconfig.ac b/zshconfig.ac index 35c24a0e6..4dc5c823f 100644 --- a/zshconfig.ac +++ b/zshconfig.ac @@ -554,7 +554,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: @@ -1632,7 +1637,7 @@ char *argv[]; case "$host_os" in hpux*) DLCFLAGS="${DLCFLAGS=+z}" ;; sunos*) DLCFLAGS="${DLCFLAGS=-pic}" ;; - solaris*|sysv4*|esix*) DLCFLAGS="${DLCFLAGS=-Kpic}" ;; + solaris*|sysv4*|esix*) DLCFLAGS="${DLCFLAGS=-KPIC}" ;; esac fi case "$host_os" in -- cgit 1.4.1