From afdbc67a333f4bc8d37cf9ad1e463372dde14e42 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 22 Oct 2007 20:16:58 +0000 Subject: Make this a little more bulletproof git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8309 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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 = )) -- cgit v1.2.3