diff options
author | Cliff Woolley <jwoolley@apache.org> | 2002-06-05 21:08:55 +0200 |
---|---|---|
committer | Cliff Woolley <jwoolley@apache.org> | 2002-06-05 21:08:55 +0200 |
commit | 1710d9a47beff3bce849070cf3d19c0386bd635b (patch) | |
tree | fe0ec98c28c6ebf66335d1fc15e9fa547dbbfdfd /support/apxs.in | |
parent | fix a compile failure on platforms where apr_atomic_t is a structure. (diff) | |
download | apache2-1710d9a47beff3bce849070cf3d19c0386bd635b.tar.xz apache2-1710d9a47beff3bce849070cf3d19c0386bd635b.zip |
Get rid of some uninitialized value errors with apxs -q.
Submitted by: Stas Bekman <stas@stason.org>
Reviewed by: Heinrich Gļæ½tzger <goetzger@gmx.net>, Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95530 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apxs.in')
-rw-r--r-- | support/apxs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/apxs.in b/support/apxs.in index e57d5ed6d8..f6f1e38f84 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -269,7 +269,7 @@ sub get_vars { ? $config_vars{$arg} : $config_vars{lc $arg}; $val =~ s/[()]//g; - $result .= eval "qq($val)"; + $result .= eval "qq($val)" if defined $val; $result .= ";;"; $ok = 1; } @@ -277,7 +277,7 @@ sub get_vars { if (exists $internal_vars{$arg} or exists $internal_vars{lc $arg}) { my $val = exists $internal_vars{$arg} ? $arg : lc $arg; $val = eval "\$CFG_$val"; - $result .= eval "qq($val)"; + $result .= eval "qq($val)" if defined $val; $result .= ";;"; $ok = 1; } |