X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=21e283ef85fe2336fd2a862f4ef0b4088a984094;hb=9a2481ebf1109adc4b626414108d92674793cd5d;hp=ff83fab19a8544d0161e04da12219429c93abf44;hpb=741682d5c54bcf9bb2c0dc79dc2c318b7df9381c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index ff83fab19..21e283ef8 100755 --- 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"); }