1*5759b3d2Safresh1#!/bin/sh 2*5759b3d2Safresh1# 3*5759b3d2Safresh1# This script can be used to keep Porting/config_H (which is an example 4*5759b3d2Safresh1# config.h) up-to-date with the latest Configure. 5*5759b3d2Safresh1 6*5759b3d2Safresh1# Original author: Andy Dougherty July 14, 1998 7*5759b3d2Safresh1 8*5759b3d2Safresh1rm -f config.sh Policy.sh 9*5759b3d2Safresh1cat >Policy.sh <<'EOP' 10*5759b3d2Safresh1libswanted="cl pthread $libswanted" 11*5759b3d2Safresh1EOP 12*5759b3d2Safresh1 13*5759b3d2Safresh1sh ./Configure -Dprefix=/opt/perl \ 14*5759b3d2Safresh1 -Dcf_by='yourname' \ 15*5759b3d2Safresh1 -Dcf_email='yourname@yourhost.yourplace.com' \ 16*5759b3d2Safresh1 -Dperladmin='yourname@yourhost.yourplace.com' \ 17*5759b3d2Safresh1 -Dmydomain='.yourplace.com' \ 18*5759b3d2Safresh1 -Dmyhostname='yourhost' \ 19*5759b3d2Safresh1 -Duse64bitint \ 20*5759b3d2Safresh1 -Dusedevel \ 21*5759b3d2Safresh1 -dE 22*5759b3d2Safresh1test $? = 0 || exit 1 23*5759b3d2Safresh1chmod u+w Porting Porting/config* 24*5759b3d2Safresh1cp config.sh Porting/config.sh 25*5759b3d2Safresh1sh config_h.SH 26*5759b3d2Safresh1cat <<'EOCP' > Porting/config_H 27*5759b3d2Safresh1/* This file (config_H) is a sample config.h file. If you are unable 28*5759b3d2Safresh1 to successfully run Configure, copy this file to config.h and 29*5759b3d2Safresh1 edit it to suit your system. 30*5759b3d2Safresh1*/ 31*5759b3d2Safresh1EOCP 32*5759b3d2Safresh1cat config.h >> Porting/config_H 33*5759b3d2Safresh1rm config.sh config.h 34