2 # This is the script I use to keep the Porting/ stuff up-to-date
3 # with the latest Configure.
4 # Andy Dougherty July 14, 1998
5 # Jarkko Hietaniemi Sept 15, 1998 Added -Duse64bits
7 rm -f config.sh Policy.sh
8 sh Configure -Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bits \
10 -Dcf_email='yourname@yourhost.yourplace.com' \
11 -Dperladmin='yourname@yourhost.yourplace.com' \
12 -Dmydomain='.yourplace.com' \
13 -Dmyhostname='yourhost' \
15 chmod u+w Porting Porting/Glossary Porting/config*
16 cp config.sh Porting/config.sh
18 cat <<'EOCP' > Porting/config_H
19 /* This file (config_H) is a sample config.h file. If you are unable
20 to successfully run Configure, copy this file to config.h and
21 edit it to suit your system.
24 cat config.h >> Porting/config_H
26 if newer Configure Porting/Glossary; then
29 perl mkglossary > $pwd/Porting/Glossary
32 patch < $pwd/U/Glossary.patch
33 if test -f Glossary.rej; then
34 echo 'Check possible failed patch to Porting/Glossary!'