From 920ddd918001b84f34c2f8a797a40a85694c6893 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 2 Mar 2008 01:10:35 +0000 Subject: Forgot about .*.inc files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9054 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'configure') 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"); } -- cgit v1.2.3