From: Gurusamy Sarathy Date: Sun, 5 Jul 1998 07:41:50 +0000 (+0000) Subject: sundry win32 config tweaks X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=10609e9a342de3bae37d4ac9f8d8bc93c0a4e896;p=p5sagit%2Fp5-mst-13.2.git sundry win32 config tweaks p4raw-id: //depot/perl@1321 --- diff --git a/Todo.5.005 b/Todo.5.005 index 37ee139..404e5ec 100644 --- a/Todo.5.005 +++ b/Todo.5.005 @@ -55,6 +55,7 @@ Miscellaneous upgrade to newer versions of all independently maintained modules add new modules (Data-Dumper, Storable?) test it with large parts of CPAN + fix pod2html to generate relative URLs Documentation comprehensive perldelta.pod diff --git a/t/op/stat.t b/t/op/stat.t index 4a2b4be..03bfd8d 100755 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -48,7 +48,7 @@ if ($Is_MSWin32 || $Is_Dos || $Config{dont_use_nlink} || $nlink == 2) if ( ($mtime && $mtime != $ctime) || $Is_MSWin32 || $Is_Dos - || ($cwd eq '/tmp' and $mtime && $mtime==$ctime) # Solaris tmpfs bug + || ($cwd =~ m#^/tmp# and $mtime && $mtime==$ctime) # Solaris tmpfs bug || $cwd =~ m#/afs/# || $^O eq 'amigaos') { print "ok 4\n"; diff --git a/win32/Makefile b/win32/Makefile index 8cc01bb..715e496 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -25,7 +25,7 @@ INST_TOP = $(INST_DRV)\perl # versioned installation can be obtained by setting INST_TOP above to a # path that includes an arbitrary version string. # -INST_VER = \5.00469 +INST_VER = \~VERSION~ # # uncomment to enable threads-capabilities diff --git a/win32/config.bc b/win32/config.bc index d25e815..615ead8 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -449,7 +449,7 @@ osvers='4.0' package='perl5' pager='more /e' passcat='' -patchlevel='2' +patchlevel='~PATCHLEVEL~' path_sep=';' perl='perl' perladmin='' @@ -543,6 +543,7 @@ usethreads='undef' usevfork='false' usrinc='/usr/include' uuname='' +version='~VERSION~' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' diff --git a/win32/config.gc b/win32/config.gc index 7cdeffe..c31c53a 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -449,7 +449,7 @@ osvers='4.0' package='perl5' pager='more /e' passcat='' -patchlevel='2' +patchlevel='~PATCHLEVEL~' path_sep=';' perl='perl' perladmin='' @@ -543,6 +543,7 @@ usethreads='undef' usevfork='false' usrinc='/usr/include' uuname='' +version='~VERSION~' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' diff --git a/win32/config.vc b/win32/config.vc index 2364789..1ecdd50 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -449,7 +449,7 @@ osvers='4.0' package='perl5' pager='more /e' passcat='' -patchlevel='2' +patchlevel='~PATCHLEVEL~' path_sep=';' perl='perl' perladmin='' @@ -543,6 +543,7 @@ usethreads='undef' usevfork='false' usrinc='/usr/include' uuname='' +version='~VERSION~' vi='' voidflags='15' xlibpth='/usr/lib/386 /lib/386' diff --git a/win32/config_H.bc b/win32/config_H.bc index 3d8501d..1e29d62 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -34,8 +34,8 @@ * This symbol is the filename expanded version of the BIN symbol, for * programs that do not want to deal with that at run-time. */ -#define BIN "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ -#define BIN_EXP "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ +#define BIN "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ +#define BIN_EXP "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ /* CPPSTDIN: * This symbol contains the first part of the string which will invoke @@ -1471,7 +1471,7 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define ARCHLIB "c:\\perl\\5.00469\\lib\\MSWin32-x86" /**/ +#define ARCHLIB "c:\\perl\\5.00470\\lib\\MSWin32-x86" /**/ /*#define ARCHLIB_EXP "" /**/ /* CAT2: @@ -1773,8 +1773,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "c:\\perl\\5.00469\\lib" /**/ -#define PRIVLIB_EXP (win32_get_privlib("5.00469")) /**/ +#define PRIVLIB "c:\\perl\\5.00470\\lib" /**/ +#define PRIVLIB_EXP (win32_get_privlib("5.00470")) /**/ /* SIG_NAME: * This symbol contains a list of signal names in order of @@ -1820,7 +1820,7 @@ * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITEARCH "c:\\perl\\site\\5.00469\\lib\\MSWin32-x86" /**/ +#define SITEARCH "c:\\perl\\site\\5.00470\\lib\\MSWin32-x86" /**/ /*#define SITEARCH_EXP "" /**/ /* SITELIB: @@ -1836,8 +1836,8 @@ * This symbol contains the ~name expanded version of SITELIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITELIB "c:\\perl\\site\\5.00469\\lib" /**/ -#define SITELIB_EXP (win32_get_sitelib("5.00469")) /**/ +#define SITELIB "c:\\perl\\site\\5.00470\\lib" /**/ +#define SITELIB_EXP (win32_get_sitelib("5.00470")) /**/ /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an diff --git a/win32/config_H.gc b/win32/config_H.gc index d5ddf5d..f11ca85 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -34,8 +34,8 @@ * This symbol is the filename expanded version of the BIN symbol, for * programs that do not want to deal with that at run-time. */ -#define BIN "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ -#define BIN_EXP "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ +#define BIN "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ +#define BIN_EXP "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ /* CPPSTDIN: * This symbol contains the first part of the string which will invoke @@ -1471,7 +1471,7 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define ARCHLIB "c:\\perl\\5.00469\\lib\\MSWin32-x86" /**/ +#define ARCHLIB "c:\\perl\\5.00470\\lib\\MSWin32-x86" /**/ /*#define ARCHLIB_EXP "" /**/ /* CAT2: @@ -1773,8 +1773,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "c:\\perl\\5.00469\\lib" /**/ -#define PRIVLIB_EXP (win32_get_privlib("5.00469")) /**/ +#define PRIVLIB "c:\\perl\\5.00470\\lib" /**/ +#define PRIVLIB_EXP (win32_get_privlib("5.00470")) /**/ /* SIG_NAME: * This symbol contains a list of signal names in order of @@ -1820,7 +1820,7 @@ * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITEARCH "c:\\perl\\site\\5.00469\\lib\\MSWin32-x86" /**/ +#define SITEARCH "c:\\perl\\site\\5.00470\\lib\\MSWin32-x86" /**/ /*#define SITEARCH_EXP "" /**/ /* SITELIB: @@ -1836,8 +1836,8 @@ * This symbol contains the ~name expanded version of SITELIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITELIB "c:\\perl\\site\\5.00469\\lib" /**/ -#define SITELIB_EXP (win32_get_sitelib("5.00469")) /**/ +#define SITELIB "c:\\perl\\site\\5.00470\\lib" /**/ +#define SITELIB_EXP (win32_get_sitelib("5.00470")) /**/ /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an diff --git a/win32/config_H.vc b/win32/config_H.vc index 09a6dbb..1678bcd 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -34,8 +34,8 @@ * This symbol is the filename expanded version of the BIN symbol, for * programs that do not want to deal with that at run-time. */ -#define BIN "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ -#define BIN_EXP "c:\\perl\\5.00469\\bin\\MSWin32-x86" /**/ +#define BIN "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ +#define BIN_EXP "c:\\perl\\5.00470\\bin\\MSWin32-x86" /**/ /* CPPSTDIN: * This symbol contains the first part of the string which will invoke @@ -1471,7 +1471,7 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define ARCHLIB "c:\\perl\\5.00469\\lib\\MSWin32-x86" /**/ +#define ARCHLIB "c:\\perl\\5.00470\\lib\\MSWin32-x86" /**/ /*#define ARCHLIB_EXP "" /**/ /* CAT2: @@ -1773,8 +1773,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "c:\\perl\\5.00469\\lib" /**/ -#define PRIVLIB_EXP (win32_get_privlib("5.00469")) /**/ +#define PRIVLIB "c:\\perl\\5.00470\\lib" /**/ +#define PRIVLIB_EXP (win32_get_privlib("5.00470")) /**/ /* SIG_NAME: * This symbol contains a list of signal names in order of @@ -1820,7 +1820,7 @@ * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITEARCH "c:\\perl\\site\\5.00469\\lib\\MSWin32-x86" /**/ +#define SITEARCH "c:\\perl\\site\\5.00470\\lib\\MSWin32-x86" /**/ /*#define SITEARCH_EXP "" /**/ /* SITELIB: @@ -1836,8 +1836,8 @@ * This symbol contains the ~name expanded version of SITELIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITELIB "c:\\perl\\site\\5.00469\\lib" /**/ -#define SITELIB_EXP (win32_get_sitelib("5.00469")) /**/ +#define SITELIB "c:\\perl\\site\\5.00470\\lib" /**/ +#define SITELIB_EXP (win32_get_sitelib("5.00470")) /**/ /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an diff --git a/win32/config_h.PL b/win32/config_h.PL index 26a2430..62a83dc 100644 --- a/win32/config_h.PL +++ b/win32/config_h.PL @@ -13,6 +13,7 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/) } my $patchlevel = $opt{INST_VER}; $patchlevel = s|^[\\/]||; +$patchlevel = s|~VERSION~|$]|g; $patchlevel ||= $]; $patchlevel = qq["$patchlevel"]; diff --git a/win32/config_sh.PL b/win32/config_sh.PL index 45c1ba4..59e64f9 100644 --- a/win32/config_sh.PL +++ b/win32/config_sh.PL @@ -5,6 +5,8 @@ while (@ARGV && $ARGV[0] =~ /^([\w_]+)=(.*)$/) shift(@ARGV); } +$opt{VERSION} = $]; +$opt{INST_VER} =~ s|~VERSION~|$]|g; if ($] =~ /\.(\d\d\d)?(\d\d)?$/) { # should always be true $opt{PATCHLEVEL} = int($1 || 0); $opt{SUBVERSION} = $2 || '00'; diff --git a/win32/makefile.mk b/win32/makefile.mk index 60fc2e7..87c0e6f 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -29,7 +29,7 @@ INST_TOP *= $(INST_DRV)\perl # versioned installation can be obtained by setting INST_TOP above to a # path that includes an arbitrary version string. # -INST_VER *= \5.00469 +INST_VER *= \~VERSION~ # # uncomment to enable threads-capabilities