summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-10-15 03:09:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-10-15 03:09:58 +0000
commit1cfa4ec74d4933da0d98282eed6171cc7ac307b6 (patch)
tree16e2d6216053294709570ec219063df3229545f4 /hints
parent1e2878e610af032604518a9feca8663968d7369a (diff)
downloadperl-1cfa4ec74d4933da0d98282eed6171cc7ac307b6.tar.gz
check in all confperl changes as of change#1964 into cfgperl
p4raw-link: @1964 on //depot/confperl: 2d85315bb227e0962a693eaaadc3f40ca2fbf49b p4raw-id: //depot/cfgperl@1971
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh22
-rw-r--r--hints/irix_6.sh2
-rw-r--r--hints/linux.sh21
-rw-r--r--hints/os390.sh3
4 files changed, 30 insertions, 18 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 912ec12ecd..c139d4694b 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -160,23 +160,6 @@ if [ "$xxOsRevMajor" -eq 10 -a "X$usethreads" = "X$define" ]; then
selecttype='int *'
fi
-# Under 10.X, a threaded perl can be built, but it needs
-# libcma and OLD_PTHREADS_API. Also <pthread.h> needs to
-# be #included before any other includes (in perl.h)
-if [ "$xxOsRevMajor" -eq 10 -a "X$usethreads" = "X$define" ]; then
- # HP-UX 10.X uses the old pthreads API
- case "$d_oldpthreads" in
- '') d_oldpthreads="$define" ;;
- esac
- # include libcma before all the others
- libswanted="cma $libswanted"
- # tell perl.h to include <pthread.h> before other include files
- ccflags="$ccflags -DPTHREAD_H_FIRST"
- # CMA redefines select to cma_select, and cma_select expects int *
- # instead of fd_set * (just like 9.X)
- selecttype='int *'
-fi
-
# Remove bad libraries that will cause problems
# (This doesn't remove libraries that don't actually exist)
# -lld is unneeded (and I can't figure out what it's used for anyway)
@@ -250,4 +233,9 @@ EOM
exit 1
fi
ccflags="$ccflags +DD64 -D_FILE_OFFSET_BITS=64"
+ ldflags="$ldflags +DD64"
+ ld=/usr/bin/ld
+ set `echo " $libswanted " | sed -e 's@ dl @ @'`
+ libswanted="$*"
+ glibpth="/lib/pa20_64"
fi
diff --git a/hints/irix_6.sh b/hints/irix_6.sh
index 0f6637bfe7..515a94fd36 100644
--- a/hints/irix_6.sh
+++ b/hints/irix_6.sh
@@ -234,7 +234,7 @@ if [ "X$use64bits" = "X$define" ]; then
cat << 'EOM' >&2
You will see a *** WHOA THERE!!! *** message from Configure for
-d_open64. Keep the recommended value. See hints/irix6_2.sh
+d_open64. Keep the recommended value. See hints/irix6.sh
for more information.
EOM
diff --git a/hints/linux.sh b/hints/linux.sh
index 545f50eb3d..b34967b856 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -18,6 +18,27 @@
# No version of Linux supports setuid scripts.
d_suidsafe='undef'
+# Debian and Red Hat, and perhaps other vendors, provide both runtime and
+# development packages for some libraries. The runtime packages contain shared
+# libraries with version information in their names (e.g., libgdbm.so.1.7.3);
+# the development packages supplement this with versionless shared libraries
+# (e.g., libgdbm.so).
+#
+# If you want to link against such a library, you must install the development
+# version of the package.
+#
+# These packages use a -dev naming convention in both Debian and Red Hat:
+# libgdbmg1 (non-development version of GNU libc 2-linked GDBM library)
+# libgdbmg1-dev (development version of GNU libc 2-linked GDBM library)
+# So make sure that for any libraries you wish to link Perl with under
+# Debian or Red Hat you have the -dev packages installed.
+#
+# Some operating systems (e.g., Solaris 2.6) will link to a versioned shared
+# library implicitly. For example, on Solaris, `ld foo.o -lgdbm' will find an
+# appropriate version of libgdbm, if one is available; Linux, however, doesn't
+# do the implicit mapping.
+ignore_versioned_solibs='y'
+
# perl goes into the /usr tree. See the Filesystem Standard
# available via anonymous FTP at tsx-11.mit.edu in
# /pub/linux/docs/linux-standards/fsstnd.
diff --git a/hints/os390.sh b/hints/os390.sh
index 1cf945dca3..d7ade09315 100644
--- a/hints/os390.sh
+++ b/hints/os390.sh
@@ -54,3 +54,6 @@ case "$archname" in
esac
archobjs=ebcdic.o
+
+# We have our own cppstdin.
+echo 'cat >.$$.c; '"$cc"' -E -Wc,NOLOC ${1+"$@"} .$$.c; rm .$$.c' > cppstdin