3 # This script can be used to keep Porting/config_H (which is an example
4 # config.h) up-to-date with the latest Configure.
6 # Original author: Andy Dougherty July 14, 1998
8 rm -f config.sh Policy.sh
10 libswanted="cl pthread $libswanted"
13 sh ./Configure -Dprefix=/opt/perl \
15 -Dcf_email='yourname@yourhost.yourplace.com' \
16 -Dperladmin='yourname@yourhost.yourplace.com' \
17 -Dmydomain='.yourplace.com' \
18 -Dmyhostname='yourhost' \
23 chmod u+w Porting Porting/config*
24 cp config.sh Porting/config.sh
26 cat <<'EOCP' > Porting/config_H
27 /* This file (config_H) is a sample config.h file. If you are unable
28 to successfully run Configure, copy this file to config.h and
29 edit it to suit your system.
32 cat config.h >> Porting/config_H