]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Make this a little more bulletproof
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 22 Oct 2007 20:16:58 +0000 (20:16 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 22 Oct 2007 20:16:58 +0000 (20:16 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8309 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 68dd5029306a97a6985c14cdcd05119bc5d4f5c3..1907e380c2e51fd651f78d73fd18becfd12497bb 100755 (executable)
--- 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>))