ConfigPerl revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
#
# This script was used to generate the perl configuration files used in the
# integration of perl 5.6.1 into ON. The previous 5.005_03 integration was
# done by hand-editing the files generated by Configure to make them conform to
# the ON perl directory layout. Hopefully this script will make it easier to
# recreate the same configuration for future integrations of perl into ON,
# without relying on error-prone manual edits of the files generated by
# Configure. This script should be run from within the perl source directory.
#
# Die on error
set -e
# Global settings
# Delete any old configuration files
# Create the config.over file to override some common settings
ccversion='Sun WorkShop'
cf_by='perl-bugs'
cf_email='perl-bugs@sun.com'
cf_time=''
cppflags=''
installusrbinperl='undef'
lddlflags='-G'
ldflags=''
myhostname='localhost'
if [ `uname -p` = "sparc" ]; then
myuname='sunos localhost 5.10 sun4u sparc sunw,ultra-1'
else
myuname='sunos localhost 5.10 i86pc i386 i86pc'
fi
osvers='2.10'
perladmin='perl-bugs@sun.com'
# Run Configure with the correct flags to give the required config files
# Manually remove the record of the Configure command-line and extra whitespace
sed -e "s/^config_args=.*/config_args=''/" \
-e "s/^config_argc=.*/config_argc=0/" \
-e "/^config_arg[1-9][0-9]*=/d" \
-e "s/' */'/g" \
# Expand config.sh into the generated files used during the build
./Configure -S