diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:32:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:32:02 +0000 |
commit | 9dbd7d10ac81c6445c58f4abb4f0eff240a8f9d2 (patch) | |
tree | 641c1af6e75faf5c55b60b99c6e070c7d0b26d7f /configure | |
parent | 59643d29385fd4fbfed7a5720e90e2c9ffd1fd21 (diff) |
Add threading engine stuff. Docs to follow, untested and not used anywhere yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8874 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1542,14 +1542,17 @@ sub write_dynamic_makefile } elsif ($line =~ /\/\* \$If: (\w+) \*\//i) { - if (($config{$1} !~ /y/i) and ($config{$1} ne "1")) + if (defined $config{$1}) { - # Skip to 'endif' - while (defined($line = <CPP>)) + if (($config{$1} !~ /y/i) and ($config{$1} ne "1")) { - chomp($line); - die ("\$If buildsystem instruction within another \$If in file $dir/$name") if ($line =~ /\/\* \$If: (\w+) \*\//i); - last if ($line =~ /\/\* \$EndIf \*\//i); + # Skip to 'endif' + while (defined($line = <CPP>)) + { + chomp($line); + die ("\$If buildsystem instruction within another \$If in file $dir/$name") if ($line =~ /\/\* \$If: (\w+) \*\//i); + last if ($line =~ /\/\* \$EndIf \*\//i); + } } } } |