summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAndrew Burt <isis!aburt>1988-01-23 14:57:57 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1988-01-23 14:57:57 +0000
commit135863df38bea8d721a115b5d13e08b816104784 (patch)
treed5947cc711fcade4b0dd8528ee65a70a5d5d189d /Configure
parent36ce8bec6e5bbc05c8d60ee17f105fc8b751cada (diff)
downloadperl-135863df38bea8d721a115b5d13e08b816104784.tar.gz
perl 1.0 patch 2: Various portability fixes.
Some things didn't work right on System V and Pyramids.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure43
1 files changed, 42 insertions, 1 deletions
diff --git a/Configure b/Configure
index 66d8a6eae5..7327e1ce7e 100755
--- a/Configure
+++ b/Configure
@@ -8,7 +8,7 @@
# and edit it to reflect your system. Some packages may include samples
# of config.h for certain machines, so you might look for one of those.)
#
-# $Header: Configure,v 1.0.1.1 88/01/21 21:21:47 root Exp $
+# $Header: Configure,v 1.0.1.2 88/01/24 03:51:55 root Exp $
#
# Yes, you may rip this off to use in other distribution packages.
# (Note: this Configure script was generated automatically. Rather than
@@ -68,10 +68,13 @@ cc=''
contains=''
cpp=''
cppminus=''
+d_bcopy=''
d_charsprf=''
d_index=''
+d_statblks=''
d_stdstdio=''
d_strctcpy=''
+d_tminsys=''
d_vfork=''
d_voidsig=''
libc=''
@@ -638,6 +641,16 @@ else
fi
rm -f testcpp.c testcpp.out
+: see if bcopy exists
+echo " "
+if $contains bcopy libc.list >/dev/null 2>&1; then
+ echo 'bcopy() found.'
+ d_bcopy="$define"
+else
+ echo 'bcopy() not found.'
+ d_bcopy="$undef"
+fi
+
: see if sprintf is declared as int or pointer to char
echo " "
if $contains 'char.*sprintf' /usr/include/stdio.h >/dev/null 2>&1 ; then
@@ -671,6 +684,21 @@ else
esac
fi
+: see if stat knows about block sizes
+echo " "
+if $contains 'st_blocks;' /usr/include/sys/stat.h >/dev/null 2>&1 ; then
+ if $contains 'st_blksize;' /usr/include/sys/stat.h >/dev/null 2>&1 ; then
+ echo "Your stat knows about block sizes."
+ d_statblks="$define"
+ else
+ echo "Your stat doesn't know about block sizes."
+ d_statblks="$undef"
+ fi
+else
+ echo "Your stat doesn't know about block sizes."
+ d_statblks="$undef"
+fi
+
: see if stdio is really std
echo " "
if $contains 'char.*_ptr;' /usr/include/stdio.h >/dev/null 2>&1 ; then
@@ -708,6 +736,16 @@ else
fi
$rm -f try.*
+: see if struct tm is defined in sys/time.h
+echo " "
+if $contains 'struct tm' /usr/include/time.h >/dev/null 2>&1 ; then
+ echo "You have struct tm defined in <time.h> rather than <sys/time.h>."
+ d_tminsys="$undef"
+else
+ echo "You have struct tm defined in <sys/time.h> rather than <time.h>."
+ d_tminsys="$define"
+fi
+
: see if there is a vfork
echo " "
if $contains vfork libc.list >/dev/null 2>&1 ; then
@@ -1260,10 +1298,13 @@ cc='$cc'
contains='$contains'
cpp='$cpp'
cppminus='$cppminus'
+d_bcopy='$d_bcopy'
d_charsprf='$d_charsprf'
d_index='$d_index'
+d_statblks='$d_statblks'
d_stdstdio='$d_stdstdio'
d_strctcpy='$d_strctcpy'
+d_tminsys='$d_tminsys'
d_vfork='$d_vfork'
d_voidsig='$d_voidsig'
libc='$libc'