From: Jarkko Hietaniemi Date: Tue, 10 Oct 2000 21:09:30 +0000 (+0000) Subject: Use the versiononly instead of the installscripts, X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=22e779421fc9644bbe208a576056f86ee9e45388;p=p5sagit%2Fp5-mst-13.2.git Use the versiononly instead of the installscripts, retract the changes 7146 and 7147. p4raw-id: //depot/perl@7195 --- diff --git a/Configure b/Configure index e53b148..25f9cad 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Mon Oct 9 21:51:54 EET DST 2000 [metaconfig 3.0 PL70] +# Generated on Wed Oct 11 00:00:47 EET DST 2000 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >/tmp/c1$$ <. -Perl's *.h header files and the libperl library are also installed +Perl's *.h header files and the libperl.a library are also installed under $archlib so that any user may later build new modules, run the optional Perl compiler, or embed the perl interpreter into another program even if the Perl source is no longer available. -Sometimes you do no want to install the scripts. This may be the case -for example when installing a newer version of perl alongside an -already installed production version of perl without disabling -installation of new modules for the production version. To not to -install the scripts run - - Configure -Uinstallscripts - -(note the plural 'scripts') or by answering 'no' to the appropriate -Configure prompt. - =head1 Coexistence with earlier versions of perl5 In general, you can usually safely upgrade from one version of Perl (e.g. diff --git a/Makefile.SH b/Makefile.SH index 50a81e2..392386b 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -205,9 +205,8 @@ SHELL = $sh TRNL = '$trnl' # not used by Makefile but by installperl; -# mentioned here so that metaconfig picks these up +# mentioned here so that metaconfig picks it up INSTALL_USR_BIN_PERL = $installusrbinperl -INSTALL_SCRIPTS = $installscripts !GROK!THIS! diff --git a/Porting/Glossary b/Porting/Glossary index 7988b4f..8657346 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -2351,10 +2351,6 @@ installscript (scriptdir.U): a system running AFS, in which case they may differ slightly. You should always use this variable within your makefiles for portability. -installscripts (installscripts.U): - This variable tells whether the various scripts accompanying - Perl should be installed. Usually this is the case. - installsitearch (sitearch.U): This variable is really the same as sitearchexp but may differ on those systems using AFS. For extra portability, only this variable diff --git a/Porting/config.sh b/Porting/config.sh index 7c4e219..c491fe8 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -8,7 +8,7 @@ # Package name : perl5 # Source directory : /m/fs/work/work/permanent/perl/pp4/perl -# Configuration time: Thu Oct 5 01:56:14 EET DST 2000 +# Configuration time: Wed Oct 11 00:01:55 EET DST 2000 # Configured by : jhi # Target system : osf1 alpha.hut.fi v4.0 878 alpha @@ -62,7 +62,7 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_ ccversion='V5.6-082' cf_by='jhi' cf_email='yourname@yourhost.yourplace.com' -cf_time='Thu Oct 5 01:56:14 EET DST 2000' +cf_time='Wed Oct 11 00:01:55 EET DST 2000' charsize='1' chgrp='' chmod='' @@ -530,7 +530,6 @@ installprefix='/opt/perl' installprefixexp='/opt/perl' installprivlib='/opt/perl/lib/5.7.0' installscript='/opt/perl/bin' -installscripts='define' installsitearch='/opt/perl/lib/site_perl/5.7.0/alpha-dec_osf-thread' installsitebin='/opt/perl/bin' installsitelib='/opt/perl/lib/site_perl/5.7.0' diff --git a/Porting/config_H b/Porting/config_H index a9fa6da..a8f9456 100644 --- a/Porting/config_H +++ b/Porting/config_H @@ -17,7 +17,7 @@ /* * Package name : perl5 * Source directory : /m/fs/work/work/permanent/perl/pp4/perl - * Configuration time: Thu Oct 5 01:56:14 EET DST 2000 + * Configuration time: Wed Oct 11 00:01:55 EET DST 2000 * Configured by : jhi * Target system : osf1 alpha.hut.fi v4.0 878 alpha */ @@ -224,17 +224,6 @@ */ #define HAS_GETPGID /**/ -/* HAS_GETPGRP: - * This symbol, if defined, indicates that the getpgrp routine is - * available to get the current process group. - */ -/* USE_BSD_GETPGRP: - * This symbol, if defined, indicates that getpgrp needs one - * arguments whereas USG one needs none. - */ -#define HAS_GETPGRP /**/ -/*#define USE_BSD_GETPGRP / **/ - /* HAS_GETPGRP2: * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) * routine is available to get the current process group. @@ -489,18 +478,6 @@ */ #define HAS_SETPGID /**/ -/* HAS_SETPGRP: - * This symbol, if defined, indicates that the setpgrp routine is - * available to set the current process group. - */ -/* USE_BSD_SETPGRP: - * This symbol, if defined, indicates that setpgrp needs two - * arguments whereas USG one needs none. See also HAS_SETPGID - * for a POSIX interface. - */ -#define HAS_SETPGRP /**/ -#define USE_BSD_SETPGRP /**/ - /* HAS_SETPGRP2: * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) * routine is available to set the current process group. @@ -3173,4 +3150,27 @@ #define PERL_XS_APIVERSION "5.7.0" #define PERL_PM_APIVERSION "5.005" +/* HAS_GETPGRP: + * This symbol, if defined, indicates that the getpgrp routine is + * available to get the current process group. + */ +/* USE_BSD_GETPGRP: + * This symbol, if defined, indicates that getpgrp needs one + * arguments whereas USG one needs none. + */ +#define HAS_GETPGRP /**/ +/*#define USE_BSD_GETPGRP / **/ + +/* HAS_SETPGRP: + * This symbol, if defined, indicates that the setpgrp routine is + * available to set the current process group. + */ +/* USE_BSD_SETPGRP: + * This symbol, if defined, indicates that setpgrp needs two + * arguments whereas USG one needs none. See also HAS_SETPGID + * for a POSIX interface. + */ +#define HAS_SETPGRP /**/ +#define USE_BSD_SETPGRP /**/ + #endif diff --git a/epoc/config.sh b/epoc/config.sh index a3b2872..d9be3a7 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -494,7 +494,6 @@ installprivlib='/home/of/PERL/perl/lib/5.6.0/' installscript='/home/of/PERL/bin/' installsitearch='/home/of/PERL/site/lib/site_perl/5.6.0/epoc' installsitelib='/home/of/PERL/perl/lib/site_perl/5.6.0' -installscripts='define' installstyle='' installusrbinperl='undef' installvendorlib='' diff --git a/installperl b/installperl index b027d02..c65af5a 100755 --- a/installperl +++ b/installperl @@ -364,30 +364,26 @@ if (! $versiononly && (-f 'cppstdin') && (! samepath($installbin, '.'))) { chmod(0755, "$installbin/cppstdin"); } -if ($Config{installscripts} eq 'define') { - # Install scripts. +# Install scripts. - mkpath($installscript, $verbose, 0777); +mkpath($installscript, $verbose, 0777); - if (! $versiononly) { - for (@scripts) { - (my $base = $_) =~ s#.*/##; - copy($_, "$installscript/$base"); - chmod(0755, "$installscript/$base"); - } +if (! $versiononly) { + for (@scripts) { + (my $base = $_) =~ s#.*/##; + copy($_, "$installscript/$base"); + chmod(0755, "$installscript/$base"); } +} - # pstruct should be a link to c2ph - - if (! $versiononly) { - safe_unlink("$installscript/pstruct$scr_ext"); - if ($^O eq 'dos' or $Is_VMS or $^O eq 'transit') { - copy("$installscript/c2ph$scr_ext", - "$installscript/pstruct$scr_ext"); - } else { - link("$installscript/c2ph$scr_ext", - "$installscript/pstruct$scr_ext"); - } +# pstruct should be a link to c2ph + +if (! $versiononly) { + safe_unlink("$installscript/pstruct$scr_ext"); + if ($^O eq 'dos' or $Is_VMS or $^O eq 'transit') { + copy("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); + } else { + link("$installscript/c2ph$scr_ext", "$installscript/pstruct$scr_ext"); } } diff --git a/uconfig.sh b/uconfig.sh index e5af70c..373db77 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -406,7 +406,6 @@ i_varargs='undef' i_varhdr='stdarg.h' i_vfork='undef' ignore_versioned_solibs='y' -installscripts='undef' installstyle='lib/perl5' installusrbinperl='undef' intsize='4' diff --git a/vos/config.def b/vos/config.def index 92b9dfb..cdb8f81 100644 --- a/vos/config.def +++ b/vos/config.def @@ -379,7 +379,6 @@ $i_varargs='undef' $i_vfork='undef' $Id='$Id' $inc_version_list_init='0' -$installscripts='define' $installusrbinperl='undef' $intsize='4' $ivdformat='"d"' diff --git a/win32/config.bc b/win32/config.bc index 055c1c0..b617117 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -513,7 +513,6 @@ installhtmldir='~INST_TOP~~INST_VER~\html' installhtmlhelpdir='~INST_TOP~~INST_VER~\htmlhelp' installprivlib='~INST_TOP~~INST_VER~\lib' installscript='~INST_TOP~~INST_VER~\bin' -installscripts='define' installsitearch='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~' installsitebin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' installsitelib='~INST_TOP~\site~INST_VER~\lib' diff --git a/win32/config.gc b/win32/config.gc index 75b2921..639be82 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -513,7 +513,6 @@ installhtmldir='~INST_TOP~~INST_VER~\html' installhtmlhelpdir='~INST_TOP~~INST_VER~\htmlhelp' installprivlib='~INST_TOP~~INST_VER~\lib' installscript='~INST_TOP~~INST_VER~\bin' -installscripts='define' installsitearch='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~' installsitebin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' installsitelib='~INST_TOP~\site~INST_VER~\lib' diff --git a/win32/config.vc b/win32/config.vc index 3622a3a..2dfe830 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -513,7 +513,6 @@ installhtmldir='~INST_TOP~~INST_VER~\html' installhtmlhelpdir='~INST_TOP~~INST_VER~\htmlhelp' installprivlib='~INST_TOP~~INST_VER~\lib' installscript='~INST_TOP~~INST_VER~\bin' -installscripts='define' installsitearch='~INST_TOP~\site~INST_VER~\lib~INST_ARCH~' installsitebin='~INST_TOP~~INST_VER~\bin~INST_ARCH~' installsitelib='~INST_TOP~\site~INST_VER~\lib'