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
6 rm -f config.sh Policy.sh
8 libswanted="cl pthread $libswanted"
11 sh ./Configure -Dprefix=/opt/perl \
13 -Dcf_email='yourname@yourhost.yourplace.com' \
14 -Dperladmin='yourname@yourhost.yourplace.com' \
15 -Dmydomain='.yourplace.com' \
16 -Dmyhostname='yourhost' \
21 chmod u+w Porting Porting/Glossary Porting/config*
22 cp config.sh Porting/config.sh
24 cat <<'EOCP' > Porting/config_H
25 /* This file (config_H) is a sample config.h file. If you are unable
26 to successfully run Configure, copy this file to config.h and
27 edit it to suit your system.
30 cat config.h >> Porting/config_H
32 if newer Configure Porting/Glossary; then
34 U/mkgloss.pl >Porting/Glossary
37 # # The standard 'dist' units contain some strings that upset
38 # # pod2man. This patch silences pod2man's warnings.
39 # patch < $pwd/U/Glossary.patch
40 # if test -f Glossary.rej; then
41 # echo 'Check possible failed patch to Porting/Glossary!'
47 #if test -f makeaperl -a -f pod/Makefile; then
48 # rm -f cflags config.h cppstdin makeaperl makedepend makedir Makefile myconfig pod/Makefile Policy.sh writemain x2p/cflags x2p/Makefile Obsolete Wanted