Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zsh-3.1.5-pws-5: avoid shared library on ReliantUNIX (updated)
- X-seq: zsh-workers 5021
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: PATCH: zsh-3.1.5-pws-5: avoid shared library on ReliantUNIX (updated)
- Date: Tue, 26 Jan 1999 18:36:47 +0300
- Importance: Normal
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
This replaces my patch in 4966. I just realised, that we have several
compilers that use different options. This one tries to account for that.
/andrej
--- configure.in.org Thu Jan 21 12:02:34 1999
+++ configure.in Tue Jan 26 18:28:20 1999
@@ -1008,9 +1008,24 @@
aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;;
solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;;
esac
- case "$host_os" in
- hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
- linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+ case "$host" in
+ *-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
+ *-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+ mips-sni-sysv4)
+ #
+ # unfortunately, we have different compilers
+ # that need different flags
+ #
+ sni_cc_version=`$CC -V 2>&1 | head -1`
+ case "$sni_cc_version" in
+ CDS* )
+ EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-Blargedynsym}"
+ ;;
+ * )
+ EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-LD-Blargedynsym}"
+ ;;
+ esac
+ ;;
esac
AC_CACHE_CHECK(if your dlsym() needs a leading underscore,
zsh_cv_func_dlsym_needs_underscore,
Messages sorted by:
Reverse Date,
Date,
Thread,
Author