[PATCH] always re-generate dependencies
Richard Guenther
rguenth at tat.physik.uni-tuebingen.de
Mon Aug 4 19:38:20 UTC 2003
The following patch causes dependencies always to be re-generated at
configure time. Fixes unexpected failures due to broken dependencies.
Ok?
Richard.
2003Aug04 Richard Guenther <richard.guenther at uni-tuebingen.de>
configure: always re-create dependencies.
Index: configure
===================================================================
RCS file: /home/pooma/Repository/r2/configure,v
retrieving revision 1.110
diff -u -r1.110 configure
--- configure 30 Jan 2003 20:46:24 -0000 1.110
+++ configure 4 Aug 2003 19:35:09 -0000
@@ -2179,14 +2179,10 @@
# if the directory still does not exist, we should just quit
-d $suitelib or die "Could not find directory '$suitelib'. Exiting.\n";
- # check for dependency info. create it if not already there.
+ # run the 'make depend' command to create the dependency info
my $dependfile = "$suitelib/depend.mk";
- if (not -f $dependfile)
- {
- # run the 'make depend' command to create the dependency info
- print "Running 'make depend' to create dependency info ...\n" if $dbgprnt;
- system("$makecmd depend SUITE=$suite");
- }
+ print "Running 'make depend' to create dependency info ...\n" if $dbgprnt;
+ system("$makecmd depend SUITE=$suite");
}
More information about the pooma-dev
mailing list