Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
7fb4c30e
Commit
7fb4c30e
authored
Sep 05, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 146134 - checksetup.pl gives weird error message
r=justdave x2
parent
a0af1dbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
checksetup.pl
checksetup.pl
+5
-9
No files found.
checksetup.pl
View file @
7fb4c30e
...
...
@@ -248,21 +248,17 @@ my $modules = [
];
my
%
missing
=
();
# Modules may change $SIG{__DIE__} and $SIG{__WARN__}, so localise them here
# so that later errors display 'normally'
foreach
my
$module
(
@
{
$modules
})
{
local
$::SIG
{
__DIE__
};
local
$::SIG
{
__WARN__
};
unless
(
have_vers
(
$module
->
{
name
},
$module
->
{
version
}))
{
$missing
{
$module
->
{
name
}}
=
$module
->
{
version
};
}
}
# If CGI::Carp was loaded successfully for version checking, it changes the
# die and warn handlers, we don't want them changed, so we need to stash the
# original ones and set them back afterwards -- justdave@syndicomm.com
my
$saved_die_handler
=
$::SIG
{
__DIE__
};
my
$saved_warn_handler
=
$::SIG
{
__WARN__
};
unless
(
have_vers
(
"CGI::Carp"
,
0
))
{
$missing
{
'CGI::Carp'
}
=
0
}
$::SIG
{
__DIE__
}
=
$saved_die_handler
;
$::SIG
{
__WARN__
}
=
$saved_warn_handler
;
print
"\nThe following Perl modules are optional:\n"
unless
$silent
;
my
$charts
=
0
;
$charts
++
if
have_vers
(
"GD"
,
"1.19"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment