diff options
author | lloyd <[email protected]> | 2008-09-28 16:57:50 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-28 16:57:50 +0000 |
commit | 722c92122487850e974a14b5e4b90be4b952a6da (patch) | |
tree | 59b7f12c4066340c5872b15fc86b2f693c35fc92 | |
parent | ae478c48af11cf4e148dddfb4b748d56d311ca67 (diff) |
Fix undef warning
-rwxr-xr-x | configure.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.pl b/configure.pl index b35349304..dc67adca3 100755 --- a/configure.pl +++ b/configure.pl @@ -530,7 +530,9 @@ sub get_options { foreach my $mod (split(/,/, $mods)) { # -1 means disabled by user, do not load - $$config{'modules'}{$mod} = 1 unless($$config{'modules'}{$mod} == -1); + $$config{'modules'}{$mod} = 1 unless( + defined($$config{'modules'}{$mod}) && + $$config{'modules'}{$mod} == -1); } } |