ConfigPerl revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# 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