summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-15 08:24:00 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-15 08:24:00 +0000
commit4bf4dbb313bb52738a09662a2b9a2474c1ea92ff (patch)
tree2973c057735ebbdc4c23283f7fa979c604299e16 /hints/linux.sh
parenta2c75dc2571a8447475cb62d22a998ab5aa3d54b (diff)
downloadperl-4bf4dbb313bb52738a09662a2b9a2474c1ea92ff.tar.gz
Update
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index cbeafcb5de..4e13fd36bd 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -19,10 +19,14 @@ case "$prefix" in
'') prefix='/usr' ;;
esac
-# Perl users typically expect BSD style signal handling.
# This may not be needed in 5.002 since sigaction is used.
# gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool.
-ccflags="-D__USE_BSD_SIGNAL -Dbool=char -DHAS_BOOL $ccflags"
+ccflags="-Dbool=char -DHAS_BOOL $ccflags"
+
+# BSD compatability library no longer needed
+set `echo X "$libswanted "| sed -e 's/ bsd / /'`
+shift
+libswanted="$*"
# Configure may fail to find lstat() since it's a static/inline
# function in <sys/stat.h>.
@@ -64,6 +68,7 @@ if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then
You appear to have ELF support. I'll try to use it for dynamic loading.
EOM
+ nm_so_opt='-dynamic'
else
cat <<'EOM'