about summary refs log tree commit diff
path: root/zshconfig.ac
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-06-29 14:59:42 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-06-29 14:59:42 +0000
commitfcd204718ef7b3636232b5136f5a8465a3b6c8e3 (patch)
tree73cc8ff66305ad536881c675974ada5f0f9603b6 /zshconfig.ac
parent0b8e4008b63cafea7d13cd6340261c9af12362e3 (diff)
downloadzsh-fcd204718ef7b3636232b5136f5a8465a3b6c8e3.tar.gz
zsh-fcd204718ef7b3636232b5136f5a8465a3b6c8e3.tar.xz
zsh-fcd204718ef7b3636232b5136f5a8465a3b6c8e3.zip
15180: final AIX touch - default to termcap and add -shared flag (or
-bM:SRE for native compiler) for modules
Diffstat (limited to 'zshconfig.ac')
-rw-r--r--zshconfig.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/zshconfig.ac b/zshconfig.ac
index 376529be7..fae7f3982 100644
--- a/zshconfig.ac
+++ b/zshconfig.ac
@@ -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: