summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-02-02 18:52:27 -0800
committerLarry Wall <lwall@sems.com>1996-02-02 18:52:27 -0800
commitc07a80fdfe3926b5eb0585b674aa5d1f57b32ade (patch)
tree6d56135571eb9ea6635748469bdaf72ad481247a /hints/linux.sh
parent91b7def858c29dac014df40946a128c06b3aa2ed (diff)
downloadperl-c07a80fdfe3926b5eb0585b674aa5d1f57b32ade.tar.gz
perl5.002beta3
[editor's note: no patch file was found for this release, so no fine-grained changes] I can't find the password for our ftp server, so I had to drop it into ftp://ftp.sems.com/pub/incoming/perl5.002b3.tar.gz, which is a drop directory you can't ls. The current plan is that Andy is gonna whack on this a little more, and then release a gamma in a few days when he's happy with it. So don't get carried away. This is now *late* beta. In other words, have less than the appropriate amount of fun. :-) Larry
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh30
1 files changed, 14 insertions, 16 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index b8dbc25698..abe8bbcad1 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -8,12 +8,8 @@
#
# Consolidated by Andy Dougherty <doughera@lafcol.lafayette.edu>
#
-# Last updated Tue May 30 14:25:02 EDT 1995
-#
-# If you wish to use something other than 'gcc' for your compiler,
-# you should specify it on the Configure command line. To use
-# gcc-elf, for exmample, type
-# ./Configure -Dcc=gcc-elf
+# Updated Tue May 30 14:25:02 EDT 1995
+# Add ability to use command-line overrides for optinal settings.
# perl goes into the /usr tree. See the Filesystem Standard
# available via anonymous FTP at tsx-11.mit.edu in
@@ -23,28 +19,27 @@ case "$prefix" in
'') prefix='/usr' ;;
esac
-# Perl expects BSD style signal handling.
+# 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"
-# The following functions are gcc built-ins, but the Configure tests
-# may fail because they don't supply proper prototypes.
-# This should be fixed as of 5.001f. I'd appreciate reports.
-d_memcmp=define
-d_memcpy=define
-
# Configure may fail to find lstat() since it's a static/inline
# function in <sys/stat.h>.
d_lstat=define
# Explanation?
-d_dosuid='define'
+case "$d_dosuid" in
+'') d_dosuid='define' ;;
+esac
# I think Configure gets this right now, but I'd appreciate reports.
malloctype='void *'
# Explanation?
-usemymalloc='n'
+case "$usemymalloc" in
+'') usemymalloc='n' ;;
+esac
case "$optimize" in
'') optimize='-O2' ;;
@@ -89,6 +84,7 @@ EOM
# Linux ELF values.
ccdlflags=' '
cccdlflags=' '
+ ccflags="-DOVR_DBL_DIG=14 $ccflags"
so='sa'
dlext='o'
## If you are using DLD 3.2.4 which does not support shared libs,
@@ -119,5 +115,7 @@ fi
# This will generate a harmless message:
# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
# Propagating recommended variable d_dbm_open
-d_dbm_open=undef
+case "$d_dbm_open" in
+'') d_dbm_open=undef ;;
+esac