diff options
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3522,6 +3522,13 @@ sub absolutedir { return rel2abs($dir); } + # realpath() on Windows seems to check if the directory actually exists, + # which isn't what is wanted here. All we want to know is if a directory + # spec is absolute, not if it exists. + if ($^O eq "MSWin32") { + return rel2abs($dir); + } + # We use realpath() on Unix, since no other will properly clean out # a directory spec. use Cwd qw/realpath/; |