Re: [AD] Linux: Demo not building on current CVS

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2005-07-16 at 13:31 +0100, Peter Hull wrote:
> 
> make depend did fix it, sorry!
> 

Speaking of make depend, I attached a patch to remove a part of
configure.in dealing with makefile.dep, which I can make no sense out
of.

-- 
Elias Pschernig
Index: configure.in
===================================================================
RCS file: /cvsroot/alleg/allegro/configure.in,v
retrieving revision 1.91
diff -u -p -r1.91 configure.in
--- configure.in	12 Jun 2005 08:03:23 -0000	1.91
+++ configure.in	16 Jul 2005 12:43:38 -0000
@@ -840,15 +840,7 @@ EOF
 fi
 
 dnl Prepare initial dependencies file (if missing).
-if test -f "$srcdir/makefile.dep"; then
-  if test `cd "$srcdir" ; pwd` != `cd . ; pwd`; then
-    cp "$srcdir/makefile.dep" makefile.dep
-    dnl Wait for a moment, to ensure the makefile gets a nice late
-    dnl timestamp, otherwise `makefile.dep' looks too new.
-    echo 'Having a snooze...'
-    sleep 1
-  fi
-elif test ! -f makefile.dep; then
+if test ! -f makefile.dep; then
   allegro_make_depend="yes"
 fi
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/