summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-22 20:16:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-22 20:16:58 +0000
commitafdbc67a333f4bc8d37cf9ad1e463372dde14e42 (patch)
tree9f26908dbd89b9e876f191307ae9b896a4a08f86 /configure
parentaf70c6767612942ded955e6e4e2edb709930050d (diff)
Make this a little more bulletproof
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8309 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 68dd50293..1907e380c 100755
--- a/configure
+++ b/configure
@@ -1482,7 +1482,7 @@ sub write_dynamic_makefile
}
elsif ($line =~ /\/\* \$If: (\w+) \*\//i)
{
- if (($config{$1} ne "y") and ($config{$1} ne "yes") and ($config{$1} ne "1"))
+ if (($config{$1} !~ /y/i) and ($config{$1} ne "1"))
{
# Skip to 'endif'
while (chomp($line = <CPP>))