Commit | Line | Data |
---|---|---|
959f3c4c JH |
1 | #!/bin/sh |
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 | |
959f3c4c JH |
5 | |
6 | rm -f config.sh Policy.sh | |
da5e3307 MB |
7 | cat >Policy.sh <<'EOP' |
8 | libswanted="cl pthread $libswanted" | |
9 | EOP | |
10 | ||
974341ad | 11 | sh ./Configure -Dprefix=/opt/perl \ |
da5e3307 | 12 | -Dcf_by='merijn' \ |
959f3c4c JH |
13 | -Dcf_email='yourname@yourhost.yourplace.com' \ |
14 | -Dperladmin='yourname@yourhost.yourplace.com' \ | |
15 | -Dmydomain='.yourplace.com' \ | |
16 | -Dmyhostname='yourhost' \ | |
da5e3307 | 17 | -Duse64bitint \ |
974341ad JH |
18 | -Dusedevel \ |
19 | -dE | |
cf8c45ec | 20 | test $? = 0 || exit 1 |
959f3c4c JH |
21 | chmod u+w Porting Porting/Glossary Porting/config* |
22 | cp config.sh Porting/config.sh | |
23 | sh config_h.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. | |
28 | */ | |
29 | EOCP | |
30 | cat config.h >> Porting/config_H | |
31 | rm config.sh config.h | |
32 | if newer Configure Porting/Glossary; then | |
33 | pwd=`pwd` | |
da5e3307 MB |
34 | U/mkgloss.pl >Porting/Glossary |
35 | # cd Porting | |
36 | # rm -f Glossary.rej | |
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!' | |
42 | # exit 2 | |
43 | # fi | |
44 | # cd $pwd | |
959f3c4c | 45 | fi |
974341ad | 46 | # Remove detritus. |
da5e3307 MB |
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 | |
49 | # fi |