This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Specify afs entries in configure.com.
authorCraig A. Berry <craigberry@mac.com>
Fri, 1 Dec 2017 17:45:50 +0000 (11:45 -0600)
committerCraig A. Berry <craigberry@mac.com>
Fri, 1 Dec 2017 17:55:01 +0000 (11:55 -0600)
This prevents op/stat.t from failing due to an undefined variable
warning when $Config{'afsroot'} is checked.

configure.com

index aeb7d36..735dff5 100644 (file)
@@ -5853,6 +5853,8 @@ $ WC "PERL_CONFIG_SH='true'"
 $ WC "_a='" + lib_ext + "'"
 $ WC "_exe='" + exe_ext + "'"
 $ WC "_o='" + obj_ext + "'"
+$ WC "afs='undef'"
+$ WC "afsroot='/afs'"
 $ WC "alignbytes='" + alignbytes + "'"
 $ WC "aphostname='write sys$output f$edit(f$getsyi(\""SCSNODE\""),\""TRIM,LOWERCASE\"")'"
 $ WC "api_revision='" + api_revision + "'"