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
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.