summaryrefslogtreecommitdiff
path: root/hints/irix_6.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-30 22:25:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-30 22:25:02 +0000
commit2abd9cc848c81a8cfcaea88f772f2103503d6123 (patch)
tree44ce59dc6d7414ed629615e89e08602e7cc84973 /hints/irix_6.sh
parent5ba99574b995836e37952cfa1f94ae1305814178 (diff)
downloadperl-2abd9cc848c81a8cfcaea88f772f2103503d6123.tar.gz
(Retracted by #10375.)
IRIX hints patch from Merijn Broeren. TODO: (this and the earlier Linux hints patch) should be solved at Configure level. Merijn: -ldb should not be used on any platform for perl, just when linking DBFile itself. Trying to be helpful here is counterproductive. p4raw-id: //depot/perl@10333
Diffstat (limited to 'hints/irix_6.sh')
-rw-r--r--hints/irix_6.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 6f4ca17881..bac68c312e 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -282,6 +282,20 @@ set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /'
shift
libswanted="$*"
+#
+# XXX -- This isn't right, since you still don't want perl itself
+# linked with -ldb, even if you *do* build the DB_File extension.
+# Linking perl with -ldb will prevent you from building the
+# Sybase::DBlib extension, due to a conflict between dbopen() in both
+# libdb.so and libsybdb.so.
+#
+case "$i_db" in
+undef)
+ set `echo X "$libswanted "|sed -e 's/ db / /'`
+ shift
+ libswanted="$*" ;;
+esac
+
cat > UU/usethreads.cbu <<'EOCBU'
# This script UU/usethreads.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use threads.