freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] always re-generate dependencies


From: Richard Guenther
Subject: [PATCH] always re-generate dependencies
Date: Mon, 4 Aug 2003 21:38:20 +0200 (CEST)

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 <address@hidden>

        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");
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]