]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Add support for CAP to this via multi-prefix. NOTE, the OnNamesList for this and...
[user/henk/code/inspircd.git] / configure
index ff83fab19a8544d0161e04da12219429c93abf44..21e283ef85fe2336fd2a862f4ef0b4088a984094 100755 (executable)
--- a/configure
+++ b/configure
@@ -493,6 +493,7 @@ sub svnupdate
        my $configurechanged = 0; # Needs ./configure -update
        my $coredirchanged = 0; # Needs ./configure -update
        my $moduledirchanged = 0; # Needs ./configure -modupdate
+       my $rootincchanged = 0;
        my @conflicted = ();
        while (defined(my $line = <$fd>))
        {
@@ -507,7 +508,7 @@ sub svnupdate
                        {
                                $configurechanged = 1;
                        }
-                       if ($file =~ m#^src/modules#)
+                       elsif ($file =~ m#^src/modules#)
                        {
                                $moduledirchanged = 1;
                        }
@@ -515,6 +516,10 @@ sub svnupdate
                        {
                                $coredirchanged = 1;
                        }
+                       elsif ($file =~ m/^\..*\.inc$/)
+                       {
+                               $rootincchanged = 1;
+                       }
                }
                elsif ($action eq "U" || $action eq "G")
                {
@@ -522,6 +527,10 @@ sub svnupdate
                        {
                                $configurechanged = 1;
                        }
+                       elsif ($file =~ m/^\..*\.inc$/)
+                       {
+                               $rootincchanged = 1;
+                       }
                }
                elsif ($action eq "A" || $action eq "D")
                {
@@ -556,7 +565,7 @@ sub svnupdate
        {
                system("perl configure -update");
        }
-       elsif ($moduledirchanged)
+       elsif ($moduledirchanged || $rootincchanged)
        {
                system("perl configure -modupdate");
        }