From: "Andrej Borsenkow" <borsenkow.msk@sni.de>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: PATCH: zsh-3.1.5-pws-5: avoid shared library on ReliantUNIX (updated)
Date: Tue, 26 Jan 1999 18:36:47 +0300 [thread overview]
Message-ID: <004501be4941$af7b7c40$21c9ca95@mowp.siemens.ru> (raw)
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,
reply other threads:[~1999-01-26 15:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004501be4941$af7b7c40$21c9ca95@mowp.siemens.ru' \
--to=borsenkow.msk@sni.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).