ConfigPerlGcc 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 to support
# the use of gcc to build perl extensions against perl 5.8.4 as shipped in ON.
# This script should be run from within the perl source directory.
#
# Delete any old configuration files.
# Die on error.
set -e
# Global settings.
# Create the config.over file to override some common settings.
ccversion='GNU gcc'
cf_by='perl-bugs'
cf_email='perl-bugs@sun.com'
cf_time=''
cppflags=''
gccosandvers=''
gccversion=''
installusrbinperl='undef'
lddlflags='-G'
ldflags=''
#libsdirs=`echo $libsdirs | sed -e "s! *${CC}[^ ]* *! !"`
#libsfound=`echo $libsfound | sed -e "s! *${CC}[^ ]* *! !"`
#loclibpth=`echo $loclibpth | sed -e 's!${CC}! !' -e 's!${CC}! !'`
#loclibpth=`echo $loclibpth | sed -e "s! *${CC}[^ ]* *! !"`
make_set_make='#'
myhostname='localhost'
if [ `uname -p` = "sparc" ]; then
myuname='sunos localhost 5.10 sun4u sparc SUNW,Ultra-2'
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
sed -e "s/^config_args=.*/config_args=''/" \
-e "s/^config_argc=.*/config_argc=0/" \
-e "/^config_arg[1-9][0-9]*=/d" \
-e "s/ threads threads\\/shared//" \
-e "s/' */'/g" \
-e "s/ *'/'/g" \
# Expand config.sh into the generated files used during the build
./Configure -S