Use the versiononly instead of the installscripts,
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 10 Oct 2000 21:09:30 +0000 (21:09 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 10 Oct 2000 21:09:30 +0000 (21:09 +0000)
retract the changes 7146 and 7147.

p4raw-id: //depot/perl@7195

13 files changed:
Configure
INSTALL
Makefile.SH
Porting/Glossary
Porting/config.sh
Porting/config_H
epoc/config.sh
installperl
uconfig.sh
vos/config.def
win32/config.bc
win32/config.gc
win32/config.vc

index e53b148..25f9cad 100755 (executable)
--- 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$$ <<EOF
@@ -709,7 +709,6 @@ inc_version_list=''
 inc_version_list_init=''
 installprefix=''
 installprefixexp=''
-installscripts=''
 installstyle=''
 installusrbinperl=''
 intsize=''
@@ -6271,26 +6270,6 @@ case "$inc_version_list" in
 esac
 $rm -f getverlist
 
-: determine whether to install the scripts
-
-echo " "
-$cat <<EOM
-Do you want to install the various scripts accompanying Perl?
-Usually you do want this.
-EOM
-case "$installscripts" in
-"$undef"|[nN]*)        dflt='n';;
-*)             dflt='y';;
-esac
-rp="Do you want to install the scripts?"
-. ./myread
-case "$ans" in
-[yY]*) val="$define";;
-*)     val="$undef" ;;
-esac
-set installscripts
-eval $setvar
-
 : determine whether to install perl also as /usr/bin/perl
 
 echo " "
@@ -15767,7 +15746,6 @@ installprefix='$installprefix'
 installprefixexp='$installprefixexp'
 installprivlib='$installprivlib'
 installscript='$installscript'
-installscripts='$installscripts'
 installsitearch='$installsitearch'
 installsitebin='$installsitebin'
 installsitelib='$installsitelib'
diff --git a/INSTALL b/INSTALL
index 82810a0..f961024 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1831,16 +1831,11 @@ anything, you can run
 
 make install will install the following:
 
-    binaries
-
        perl,
            perl5.nnn   where nnn is the current release number.  This
                        will be a link to perl.
        suidperl,
            sperl5.nnn  If you requested setuid emulation.
-
-    scripts
-
        a2p             awk-to-perl translator
        cppstdin        This is used by perl -P, if your cc -E can't
                        read from stdin.
@@ -1854,21 +1849,13 @@ make install will install the following:
        pl2pm           Convert Perl 4 .pl files to Perl 5 .pm modules
        pod2html,       Converters from perl's pod documentation format
        pod2latex,      to other useful formats.
-       pod2man,
-       pod2text,
-       pod2checker,
-       pod2select,
-       pod2usage
+       pod2man, and
+       pod2text
        splain          Describe Perl warnings and errors
        dprofpp         Perl code profile post-processor
 
-    library files
-
-                       in $privlib and $archlib specified to
+       library files   in $privlib and $archlib specified to
                        Configure, usually under /usr/local/lib/perl5/.
-
-    documentation
-
        man pages       in $man1dir, usually /usr/local/man/man1.
        module man
        pages           in $man3dir, usually /usr/local/man/man3.
@@ -1877,22 +1864,11 @@ make install will install the following:
 Installperl will also create the directories listed above
 in L<"Installation Directories">.
 
-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.
index 50a81e2..392386b 100644 (file)
@@ -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!
 
index 7988b4f..8657346 100644 (file)
@@ -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
index 7c4e219..c491fe8 100644 (file)
@@ -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'
index a9fa6da..a8f9456 100644 (file)
@@ -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 
  */
  */
 #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.
  */
 #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.
 #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
index a3b2872..d9be3a7 100644 (file)
@@ -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=''
index b027d02..c65af5a 100755 (executable)
@@ -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");
     }
 }
 
index e5af70c..373db77 100755 (executable)
@@ -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'
index 92b9dfb..cdb8f81 100644 (file)
@@ -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"'
index 055c1c0..b617117 100644 (file)
@@ -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'
index 75b2921..639be82 100644 (file)
@@ -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'
index 3622a3a..2dfe830 100644 (file)
@@ -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'