about summary refs log tree commit diff
path: root/zshconfig.ac
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-10-23 06:44:05 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-10-23 06:44:05 +0000
commit848a3ba24a409eacd98a3f453acb90b4b011791a (patch)
tree519f8de6dc329495ffb67e7daa53635c261794e4 /zshconfig.ac
parent9f89b1da103c5feb289e779b81edb8fcbf2abd6e (diff)
downloadzsh-848a3ba24a409eacd98a3f453acb90b4b011791a.tar.gz
zsh-848a3ba24a409eacd98a3f453acb90b4b011791a.tar.xz
zsh-848a3ba24a409eacd98a3f453acb90b4b011791a.zip
15180, 15181 from HEAD
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac9
1 files changed, 7 insertions, 2 deletions
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